From aaf054130989c269af52394251df1a0ca6415373 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Kosman?= Date: Sun, 25 Aug 2024 00:57:08 +0200 Subject: docs: change configuration page --- Writerside/topics/gamerules.md | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 Writerside/topics/gamerules.md (limited to 'Writerside/topics/gamerules.md') diff --git a/Writerside/topics/gamerules.md b/Writerside/topics/gamerules.md new file mode 100644 index 0000000..9090f28 --- /dev/null +++ b/Writerside/topics/gamerules.md @@ -0,0 +1,40 @@ +# Gamerules + +To change the mods behavior, you can change your world's gamerules. Every gamerule added +by this mod starts with the prefix `molehunt:`. + +> If plan on making multiple worlds, and don't want to set the gamerules each time, +> [edit the configuration file](config-file.md) +{style=note} + +Here's a list of all the Molehunt gamerules. + +## Molehunt gamerule list + +### Molehunt game configuration : + +- `gameDurationMinutes`: sets the game's duration in minutes (default: `90 minutes`). +- `molePercentage`: sets the mole percentage among all players (default: `25 %`). +- `moleCount`: the absolute mole amount. Overwrites `molePercentage`. To disable + this setting, set it to `-1` (default: `-1`). + +### Client-side settings : + +> These gamerules affect client-side features, but are still applied to all players. +> +> Also, they will only be effective when the game starts. +{style=note} + +- `showNametags`: players' nametags are shown (default: `false`). +- `showSkins`: players' custom skin is visible. Setting this to false will + result in everyone having the same skin. This skin can be customized by [creating + a custom resource pack](resource-pack.md) (default: `false`). +- `showTab`: The server player list will be shown (default: `false`). + +### World-border settings : + +- `initialWorldSize`: the world size when starting the game (default: `200 blocks`). +- `finalWorldSize`: the target world size on the end of the game (default: `50 blocks`). +- `borderMovingStartingTimeOffsetMinutes`: the time before the world borders start to move in minutes (default: `5 minutes`). + > Setting this to a value greater than `gameDuration` will make the borders never move. + {style=note} -- cgit v1.2.3 From 4bdcab3243c8b24e7f16993215d6ac5193adb16a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Kosman?= Date: Sun, 25 Aug 2024 01:06:20 +0200 Subject: docs: change introduction --- Writerside/topics/gamerules.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Writerside/topics/gamerules.md') diff --git a/Writerside/topics/gamerules.md b/Writerside/topics/gamerules.md index 9090f28..5b37ec4 100644 --- a/Writerside/topics/gamerules.md +++ b/Writerside/topics/gamerules.md @@ -5,7 +5,7 @@ by this mod starts with the prefix `molehunt:`. > If plan on making multiple worlds, and don't want to set the gamerules each time, > [edit the configuration file](config-file.md) -{style=note} +{style=tip} Here's a list of all the Molehunt gamerules. -- cgit v1.2.3 From 2df45c639867b33f72802a3cde7ff709342101cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Kosman?= Date: Sun, 25 Aug 2024 21:19:25 +0200 Subject: docs: add `enablePortals` gamerule doc --- Writerside/topics/gamerules.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Writerside/topics/gamerules.md') diff --git a/Writerside/topics/gamerules.md b/Writerside/topics/gamerules.md index 5b37ec4..10c895d 100644 --- a/Writerside/topics/gamerules.md +++ b/Writerside/topics/gamerules.md @@ -4,7 +4,7 @@ To change the mods behavior, you can change your world's gamerules. Every gameru by this mod starts with the prefix `molehunt:`. > If plan on making multiple worlds, and don't want to set the gamerules each time, -> [edit the configuration file](config-file.md) +> [edit the configuration file](config-file.md). {style=tip} Here's a list of all the Molehunt gamerules. @@ -31,7 +31,11 @@ Here's a list of all the Molehunt gamerules. a custom resource pack](resource-pack.md) (default: `false`). - `showTab`: The server player list will be shown (default: `false`). -### World-border settings : +### Server-side settings : + +- `enablePortals`: enables all portals to other dimensions (default: `false`). + +#### World-border settings : - `initialWorldSize`: the world size when starting the game (default: `200 blocks`). - `finalWorldSize`: the target world size on the end of the game (default: `50 blocks`). -- cgit v1.2.3 From 0c9c50f1aa14053bc22dd4032cb9b1e87aeac1e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Kosman?= Date: Mon, 26 Aug 2024 13:52:06 +0200 Subject: docs: remove spaces before colons --- Writerside/topics/gamerules.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Writerside/topics/gamerules.md') diff --git a/Writerside/topics/gamerules.md b/Writerside/topics/gamerules.md index 10c895d..c838643 100644 --- a/Writerside/topics/gamerules.md +++ b/Writerside/topics/gamerules.md @@ -11,14 +11,14 @@ Here's a list of all the Molehunt gamerules. ## Molehunt gamerule list -### Molehunt game configuration : +### Molehunt game configuration - `gameDurationMinutes`: sets the game's duration in minutes (default: `90 minutes`). - `molePercentage`: sets the mole percentage among all players (default: `25 %`). - `moleCount`: the absolute mole amount. Overwrites `molePercentage`. To disable this setting, set it to `-1` (default: `-1`). -### Client-side settings : +### Client-side settings > These gamerules affect client-side features, but are still applied to all players. > @@ -31,11 +31,11 @@ Here's a list of all the Molehunt gamerules. a custom resource pack](resource-pack.md) (default: `false`). - `showTab`: The server player list will be shown (default: `false`). -### Server-side settings : +### Server-side settings - `enablePortals`: enables all portals to other dimensions (default: `false`). -#### World-border settings : +#### World-border settings - `initialWorldSize`: the world size when starting the game (default: `200 blocks`). - `finalWorldSize`: the target world size on the end of the game (default: `50 blocks`). -- cgit v1.2.3