World Start Commands and Global Gamerules

⭐ — (9 endorsements) 📥 77,778 downloads 📌 v2.0.0 📅 10/1/2024
🟠 Updated over a year ago

By acewins · forge

⬇ Download Mod Source: Modrinth ↗ 📅 Updated: 4/9/2025 📅 Created: 10/1/2024
⚠️ Install Order · 2 steps
1🛠️ Forge — Minecraft Forge (mod loader) Download ↗
2🛠️ Fabric — Fabric Loader Download ↗

Install in this order, then this mod last — most mods fail to load without their framework and dependencies in place.

🔍 Analysis

  • 👍 0.0% endorsement rate
  • 🏆 #56 of 386 forge mods in this game by downloads

📋 About This Mod

[!(https://cdn.modrinth.com/data/cached_images/c8b7363c6efe6ca2a42eac08732aedec25d355ab.png)](https://www.boxtoplay.com/en/minecraft-hosting/minecraft-server) Check out BoxToPlay for cheap and powerful minecraft servers (seriously, it's the one I use daily, it's great)

also available on (https://www.curseforge.com/minecraft/mc-mods/world-start-commands-and-global-gamerules) (much worse)

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

v1 description

When you first start your game the mod will create a file called WSCommands.json in your config folder which is formatted like so:

``` { "Repeat": false, "DedicatedMode": false, "1": "", "2": "", "3": "" } ``` The mod will run the commands in order every time you load into a new world. Make sure to not skip any numbers. Don't forget the commas. The commands don't include the / \ example:

``` { "Repeat": false, "DedicatedMode": false, "1": "effect give @a minecraft:resistance", "2": "gamerule keepInventory true", "3": "gamerule doInsomnia false", "4": "give @r minecraft:diamond" } ``` this will first give the resistance effect to every player, then set keepInventory to true and doInsomnia to false, then give a diamond to a random player in the world \ If `Repeat` is set to `true`, the commands will run every single time the world is loaded (or every time a player joins the world if `DedicatedMode` is set to `true`.) If `DedicatedMode` is set to `true`, the commands will run for every single player that joins the world for the first time.

### important: `/wsc forcerun` will run the commands directly `/wsc reset` will run the commands again the next time you load the current world `/wsc null` is a command that does not do anything

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)

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`)

Be very careful when going from a command block directly to the toml file as you have to escape anything inside the command that the json format uses (ex: \ becomes \\, " becomes \") (very useful resource here https://www.freeformatter.com/json-escape.html just type the command you want in the box don't press enter and just press "escape JSON" and it should give you exactly what you need to copy paste (don't forget to put what you copied from the website between quotation marks in the command list!!)

A config file called WSCommands.toml will be generated in the config folder, most important information should be contained there

Join my (https://discord.com/invite/hxbh7UcxgJ) for support about my mods!

icon was taken on game-icons.net

🤖 AI-enhanced — based on mod data

📊 Mod Details

Game
Minecraft Mods
Author
acewins
Version
2.0.0
Downloads
77,778
Endorsements
9
Category
forge
Created
10/1/2024
Updated
4/9/2025
Game Versions
1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2
Tags
game-mechanics, management, utility

🔧 How to Install Minecraft Mods Mods

Download from Modrinth. Use Prism Launcher or drop into your mods folder.

📖 Full step-by-step install guide for Minecraft Mods →

Visit the official mod page for specific installation instructions for this mod.

🎮 Need cheat codes or console commands? Check ur gaming wiki for Minecraft Mods commands, item IDs, and more.

❓ Frequently Asked Questions

Which Minecraft Mods versions does World Start Commands and Global Gamerules support?

The author lists 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3. Other versions may work but are untested by the author.

What is the latest version of World Start Commands and Global Gamerules?

Version 2.0.0, published 2025-04-09 with 77,778 downloads recorded at the source.

Keep browsing — more Minecraft Mods mods await

📋 All Minecraft Mods Mods 🏆 Top 25 📂 More forge 👤 More by acewins 🔎 Similar Mods 🌐 Best forge (All Games) 🔀 Check Compatibility ⚖️ Compare Mods 🆕 New Mods