Skip to content

Commit fab221b

Browse files
authored
Update README.md
1 parent f108ab7 commit fab221b

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

README.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ available on [modrinth](https://modrinth.com/mod/world-start-commands-and-global
22

33
This mod is originally made for setting global gamerules that will apply to every world but it works with any other commands.
44

5+
<details>
6+
<summary>v1 description</summary>
7+
<p>
58
When you first start your game the mod will create a file called WSCommands.json in your config folder which is formatted like so:
69

710
```
@@ -41,8 +44,18 @@ If `DedicatedMode` is set to `true`, the commands will run for every single play
4144

4245
Commands don't run at world creation ? Try doing `/wsc forcerun` (need OP), if it shows a message in red saying it was unable to run the command, you probably forgot a comma somewhere in your config (all lines have a comma except the last one)
4346
Commands do run but gamerules aren't set ? Minecraft is very specific with the capitalization of the gamerules (`gamerule keepinventory` or `gamerule Keepinventory` for example will NOT work as the correct capitalization is `gamerule keepInventory`)
44-
Be very careful when going to a command block directly to the json file as you have to replace anything inside the command that the json format uses (ex: `\` becomes `\\`, `"` becomes `\"` and `'` becomes `\'`)
47+
Be very careful when going from a command block directly to the json file as you have to replace anything inside the command that the json format uses (ex: `\` becomes `\\`, `"` becomes `\"` and `'` becomes `\'`)
48+
</p>
49+
</details>
4550

46-
Join the [discord server](https://discord.gg/hxbh7UcxgJ) for support.
51+
A config file called WSCommands.toml will be generated in the config folder, most important information should be contained there
52+
53+
### important:
54+
55+
Commands do run but gamerules aren't set ? Minecraft is very specific with the capitalization of the gamerules (`gamerule keepinventory` or `gamerule Keepinventory` for example will NOT work as the correct capitalization is `gamerule keepInventory`)
56+
57+
Be very careful when going from a command block directly to the config file as you have to replace anything inside the command that the format uses by adding an anti-slash before (ex: `\` becomes `\\`, `"` becomes `\"` and `'` becomes `\'`)
58+
59+
Join my discord server for support about my mods!
4760

4861
icon was taken on game-icons.net

0 commit comments

Comments
 (0)