Default commands
Every seasoned Minecraft player and server owner knows the ritual: spawn into a fresh world, then immediately start typing the same dozen commands. Gamerules need adjusting, Carpet defaults need setting, scoreboards need building, and datapacks need initializing. It is tedious, error-prone, and easy to forget a step. The Default commands mod exists to eliminate that ritual entirely by running your configured commands automatically at exactly the right moments.
What Default commands Does
Default commands is a lightweight Fabric mod that fires off your chosen commands whenever a specific trigger occurs. Instead of manually typing setup commands, you define them once and let the mod handle the rest. It is designed for players and server owners who repeatedly bootstrap worlds, test setups, or manage admin utilities.
The mod supports three distinct trigger types, each suited to a different workflow:
- On Server Start — runs when the Minecraft server finishes starting. Ideal for server-wide configuration such as /gamerule doDaylightCycle false, /carpet setDefault optimizedTNT true, or /scoreboard objectives add deaths deathCount.
- On World Creation — runs once when a brand-new world is generated, perfect for datapack initialization and testing helpers.
- On Player Join — runs every time a player enters a world, useful for per-player setup and admin utilities.
Key Features at a Glance
Beyond the triggers, Default commands packs in quality-of-life features that make configuration painless. Command presets let you save and reuse groups of commands across worlds. Protected or locked entries prevent accidental edits to critical setup lines, which matters when multiple admins share a server.
Perhaps the most important feature is that commands execute with server-level permissions. This means your setup commands run even when cheats are disabled, so you never have to compromise world integrity just to automate configuration. All settings are stored in a clean config/default_commands.json file, making backups and version control straightforward.
Managing Commands In-Game and on the Client
On the client side, everything is managed through Mod Menu, where you can add, edit, and organize commands with a simple interface. Server owners get an in-game alternative: the /defaultcommands command lets you manage server-start commands without ever leaving the game. This dual approach means you can configure on the fly whether you are running an integrated world or a dedicated server.
If you are ready to download Default commands, you will find it available for Fabric across a broad range of Minecraft versions, from recent 1.20.x and 1.21.x releases back through older snapshots of the game. Because it is Fabric-only, you will need the Fabric Loader and Fabric API installed first. Players using the foxygame.net launcher get a smoother path: the launcher's built-in add-on catalog lists Default commands with one-click installation and automatic version matching, so the right build lands in your mods folder without manual file hunting.
How to Install Default commands
Learning how to install this mod is quick. Follow these steps:
- Install the Fabric Loader for your preferred Minecraft version.
- Place the Fabric API jar in your mods folder.
- Download the Default commands jar matching your game version and drop it into the same folder.
- Launch the game, open Mod Menu, and configure your command presets.
For dedicated servers, install Fabric on the server, add both jars to the server's mods directory, and use /defaultcommands to set up your startup routine. The configuration file will generate automatically on first launch.
Who Should Use It
Default commands shines for three audiences. Modpack creators can bake consistent gamerule and Carpet defaults into every world. Server admins can guarantee scoreboard and admin utility setup on every restart. Testers and map makers can fire off datapack initialization and testing helpers the moment a world loads. If you have ever forgotten to disable daylight cycling on a new survival server, this mod is for you.
Final Thoughts
Default commands for Minecraft turns repetitive setup into a one-time configuration. By automating commands at world creation, player join, and server start, it saves time, prevents mistakes, and keeps every world consistent. Whether you run a public server or just like your test worlds configured exactly right, this small Fabric mod delivers outsized convenience.