diff options
| author | Léo Kosman <leo.kosman@proton.me> | 2024-08-26 13:52:06 +0200 |
|---|---|---|
| committer | Léo Kosman <leo.kosman@proton.me> | 2024-08-26 13:52:06 +0200 |
| commit | 0c9c50f1aa14053bc22dd4032cb9b1e87aeac1e3 (patch) | |
| tree | 4fb628c75155d14642f81ec9ad2589419890747d /Writerside/topics/config-file.md | |
| parent | 35065c8809b0a5c173f38631b28a10d5511aefdc (diff) | |
docs: remove spaces before colons
Diffstat (limited to 'Writerside/topics/config-file.md')
| -rw-r--r-- | Writerside/topics/config-file.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Writerside/topics/config-file.md b/Writerside/topics/config-file.md index 91288e2..bbfbecd 100644 --- a/Writerside/topics/config-file.md +++ b/Writerside/topics/config-file.md @@ -23,7 +23,7 @@ Every setting available in the config file reflects a gamerule (they have very 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 : +The config syntax is very simple: - `name_of_the_setting = value` to set a setting to a `value`. Only one setting can be set on a single line - A line starting with a `#` is a comment, and will not be counted be the mod. @@ -41,12 +41,12 @@ 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 : +For example, to change the game duration in the config file: ```yaml -# Do this : +# Do this: game_duration = 30 -# And NOT this : +# And NOT this: gameDurationMinutes = 30 molehunt:GameDurationMinutes = 30 ``` @@ -57,12 +57,12 @@ You can see the list of all config file setting in [the default configuration fi A comment line starts with a `#`, not with `//` nor with anything else. -Also, you can only set one variable on one line. For exemple, this is incorrect : +Also, you can only set one variable on one line. For exemple, this is incorrect: ```yaml # This is not a valid config file first_setting = 1 second_setting = 2 # The value must also be on the same line as the -#setting name. This is incorrect : +#setting name. This is incorrect: another_setting = 3 ``` |
