diff options
| author | Léo Kosman <leo.kosman@proton.me> | 2024-08-25 21:54:40 +0200 |
|---|---|---|
| committer | Léo Kosman <leo.kosman@proton.me> | 2024-08-25 21:54:40 +0200 |
| commit | 83bce2a4a909404de581ead99a80955dd07d1c59 (patch) | |
| tree | 86f04c418d525f7276e489212f514634e0e083a5 /Writerside | |
| parent | 8bf4b866e444bad6bba899abaa345806c393605e (diff) | |
docs: add troubleshooting solution to config file
Diffstat (limited to 'Writerside')
| -rw-r--r-- | Writerside/topics/config-file.md | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/Writerside/topics/config-file.md b/Writerside/topics/config-file.md index 745cc44..91288e2 100644 --- a/Writerside/topics/config-file.md +++ b/Writerside/topics/config-file.md @@ -20,7 +20,8 @@ You can find the `molehunt.properties` file in your server's `config` folder. If it is not present, make sure the mod is installed, and start your server. Every setting available in the config file reflects a gamerule (they have very -similar names). To know what each setting does, you can check [the gamerules documention](gamerules.md). +similar names, even though different). To know what each setting does, you can +check [the gamerules documention](gamerules.md). The config syntax is very simple : - `name_of_the_setting = value` to set a setting to a `value`. Only one setting @@ -38,6 +39,20 @@ solutions before making an issue on GitHub. Make sure the config file you're editing is located in your server's `config` directory, and that the file's name is `molehunt.properties`. +### Check that you use the config file's setting names, and not the gamerule names + +For example, to change the game duration in the config file : +```yaml +# Do this : +game_duration = 30 + +# And NOT this : +gameDurationMinutes = 30 +molehunt:GameDurationMinutes = 30 +``` + +You can see the list of all config file setting in [the default configuration file](#default-configuration). + ### Make sure the syntax is correct A comment line starts with a `#`, not with `//` nor with anything else. |
