Compatibility
Minecraft: Java Edition
1.21.11
Platforms
Supported environments
Server-side
Client and server
Links
Tags
Creators
Details
Licensed MIT
Published 2 weeks ago
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


