Default commands
Runs configurable default commands on world creation and player join, or server startup.
- Loaders
- Fabric
- Downloads on Modrinth
- 4.1K
- Followers on Modrinth
- 0
- version
- 1
- Updated
- May 31, 2026May 31
- Published
- in 2026
At a glance
Needed on the server; optional in the game
Default Commands
Default Commands is a small Fabric mod that automatically runs your configured commands when a world is created, when a player joins, or when a server starts.
It is built for players and server owners who always find themselves typing the same setup commands: gamerules, Carpet defaults, scoreboard setup, datapack initialization, testing helpers, admin utilities, and other world/server bootstrap commands.
Features
- Run commands automatically when a player joins a world
- Run commands once when a new world is created
- Run commands every time a dedicated or integrated server starts
- Manage commands through Mod Menu on the client
- Manage server-start commands in-game with
/defaultcommands - Supports command presets
- Supports protected/locked entries to avoid accidental edits
- Works even when cheats are disabled, because commands execute with server-level permissions
- Stores configuration in
config/default_commands.json
Command Triggers
Default Commands supports three trigger types:
On Server Start
Runs when the Minecraft server finishes starting.
Best for server-wide world tests setups, such as:
/function ...
/gamerule doDaylightCycle false
/carpet setDefault optimizedTNT true
/scoreboard objectives add deaths deathCount
FAQ
How to install Default commands?
Install Fabric for your Minecraft version, download Default commands for the same version and loader, put the file into the mods folder and launch the game with the loader profile.
Which Minecraft versions does Default commands support?
Default commands has builds for Minecraft 1.21.11.
Is Default commands needed on the server?
Needed on the server; optional in the game