ModsFinder

World Start Commands and Global Gamerules

by acewins

This server-side mod runs a list of commands from a config file the first time a world loads, so a server can apply settings without manual setup.

ForgeNeoForgeServer-side onlyGNU General Public License v3.0 onlyOpen source1.19 – 1.21.11

What it does

The mod reads a WSCommands config file in the config folder and runs its commands in order when a new world loads. Each entry can be set to run once per world, to run for a random player, or to run when a player joins for the first time, depending on the flags in the file. Commands that set gamerules are run after the world is created, so commands that depend on an existing world state behave as written. Gamerule names are matched exactly as Minecraft expects them, so the spelling and capitalization in the config have to match the game's own names.

World Start Commands and Global Gamerules is a Server-side only mod, so only the server needs to run it and players join without installing anything. It is released under the GNU General Public License v3.0 only and is open source, with source code publicly available. Files exist for Forge and NeoForge across 21 release versions 1.19 – 1.21.11, and the latest Forge file is 2.0.0 for 1.20.1, published on 2025-04-09.

Key features

  1. Commands run on world load

    Entries in the config file run in the order they are listed as soon as a world loads.

  2. Run once or for every load

    A Repeat flag decides whether a command runs a single time for the world or on each load.

  3. Join-based triggers

    Entries can run when a player joins for the first time or when a random player joins, and the dedicated server mode can be set separately.

  4. Global gamerule settings

    Gamerules such as keepInventory and doInsomnia can be set from the config, with examples given in the file.

  5. Config file generation

    The config file WSCommands.toml is generated in the config folder, with the main options and an example of the command format.

Compatibility

Latest build for each game version and loader.

1.21.x12 of 12 versions with builds
1.21.11Not available2.0.0
1.21.10Not available2.0.0
1.21.9Not available2.0.0
1.21.8Not available2.0.0
1.21.7Not available2.0.0
1.21.6Not available2.0.0
1.21.5Not available2.0.0
1.21.4Not available2.0.0
1.21.3Not available2.0.0
1.21.2Not available2.0.0
1.21.1Not available2.0.0
1.21Not available2.0.0
1.20.x4 of 4 versions with builds
1.19.x5 of 5 versions with builds
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

How it compares

Full comparison

Global Gamerules (Neoforge) is a NeoForge-only server mod for 1.21.1, open source under the GNU Lesser General Public License v3.0 or later. Per-Dimension Game Rules applies to Fabric, Forge, NeoForge and Quilt for 1.19.2 – 1.21.1, is server-side only and is not open source. Selective Keepinventory covers 1.19 – 1.21 on four loaders, is server required with client optional, and is released under the MIT License.

ModLoadersGame versionsEnvironmentUpdated
World Start Commands and Global GamerulesForge and NeoForge1.19 – 1.21.11Server-side only2025-04-09
Global Gamerules (Neoforge)NeoForge1.21.1Server-side only2026-04-20
Per-Dimension Game RulesFabric, Forge, NeoForge and Quilt1.19.2 – 1.21.1Server-side only2025-10-18
Selective KeepinventoryFabric, Forge, NeoForge and Quilt1.19 – 1.21Server required, client optional2024-12-12

Questions

Does the server need this mod installed for its commands to run?

Yes. It runs on the server alone, so players need nothing extra to join.

Why do commands not run after the config is edited?

Commands run when a world loads, so an edit applies to worlds that load afterward. Check that every line except the last ends with a comma, since a missing comma stops the file from parsing.

Do gamerule names need exact capitalization?

Yes. The config expects gamerule names spelled as Minecraft writes them, such as keepInventory, so mismatched capitalization can cause a setting to fail.

In the catalog

World Start Commands and Global Gamerules is one of 8,016 Management mods on ModsFinder, and one of 2,698 Management mods for Forge. 19,862 mods support Minecraft 1.21.11.

More from acewins

All projects

Similar mods

What the author says

Check out BoxToPlay for cheap and powerful minecraft servers (seriously, it's the one I use daily, it's great) This mod is originally made for setting global gamerules that will apply to every world but it works with any other commands.
acewins, on the Modrinth page

Official listing

Owner
acewins
Published
2024-09-27
Updated on Modrinth
2025-04-09
Facts verified
2026-10-15

Tags