Configuring World Start Commands and Global Gamerules
Setting Up Commands and Gamerules
This mod runs commands automatically whenever you create a new world, and it can apply global gamerules to every world you play. Everything is controlled through a config file called WSCommands.toml, created in your config folder.
Open that file and add the commands you want to run at world start. To set a gamerule globally, type it exactly as you would in chat, for example gamerule keepInventory. Spelling and capitalization matter, so double-check each rule before saving.
If you copy commands from elsewhere, watch for special symbols. Backslashes must be escaped, so a single \ becomes \\ in the file. Other symbols may need similar treatment.
Once saved, your commands run on every new world. To trigger them immediately in your current world, use /wsc [target] forcerun while opped.