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/config-file.md | 12 ++++++------ Writerside/topics/gamerules.md | 8 ++++---- Writerside/topics/resource-pack.md | 16 ++++++++-------- Writerside/topics/usage.md | 2 +- 4 files changed, 19 insertions(+), 19 deletions(-) (limited to 'Writerside') 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 ``` 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`). diff --git a/Writerside/topics/resource-pack.md b/Writerside/topics/resource-pack.md index 6ae8915..b71e44f 100644 --- a/Writerside/topics/resource-pack.md +++ b/Writerside/topics/resource-pack.md @@ -15,10 +15,10 @@ the mod, and also change to default skin that is applied to all players ## First steps First, create a folder with your resource pack name (it can be whatever you want!). Then, -inside of this folder, create a file named `pack.mcmeta`. This file is very important : it tells +inside of this folder, create a file named `pack.mcmeta`. This file is very important: it tells the game that it is indeed a resource pack. -Now, edit the `pack.mcmeta` file with your favorite text editor, and write the following : +Now, edit the `pack.mcmeta` file with your favorite text editor, and write the following: ```json { "pack": { @@ -36,7 +36,7 @@ Now, edit the `pack.mcmeta` file with your favorite text editor, and write the f You can now close the `pack.mcmeta` file. Now, inside your resource pack's main folder, create a folder named `assets`, and inside it make another folder name `molehunt`. -You file tree you look like that : +You file tree you look like that: ``` 📁 MyAwesomeResourcePack ├── 📄 pack.mcmeta @@ -44,7 +44,7 @@ You file tree you look like that : └── 📁 molehunt ``` -> If you want, you can also add an icon to your resource pack : just add a png file named +> If you want, you can also add an icon to your resource pack: just add a png file named > `pack.png` in your resource pack's main folder. {style=tip} @@ -57,7 +57,7 @@ a lot online). Then grab your skin file (make sure it's a `.png` file!), name it `skin.png` and put it inside a `textures` folder, inside the `molehunt` folder. It should -look like that : +look like that: ``` ... 📁 assets @@ -82,13 +82,13 @@ First, create a new folder in the `molehunt` folder named `lang`, then create a `en_us.json` file. > If you want to target another language, name the file according to your language -> and region. For example : `fr_fr.json` for French in France. +> and region. For example: `fr_fr.json` for French in France. {style=note} Now copy the content of the [default `en_us.json` file](#default-en-us-json-language-file) in you language file, and start editing the lines you want to change! -Finally, your file structure should look like that : +Finally, your file structure should look like that: ``` ... 📁 assets @@ -106,7 +106,7 @@ supported in `titles` and `subtitles`. ## Final file tree, and installing your resource pack -If you followed every step of this tutorial, the final resource apck should look like this : +If you followed every step of this tutorial, the final resource apck should look like this: ``` 📁 MyAwesomeResourcePack ├── 📄 pack.mcmeta diff --git a/Writerside/topics/usage.md b/Writerside/topics/usage.md index 2ebab75..1170ba8 100644 --- a/Writerside/topics/usage.md +++ b/Writerside/topics/usage.md @@ -4,7 +4,7 @@ To start a game, execute `/molehunt start` (you must be OP). -The game ends automatically if one of these two condition is met : +The game ends automatically if one of these two condition is met: - Every alive player is a mole. - The timer has run out. -- cgit v1.2.3