Skip to content

Default commands

Runs configurable default commands on world creation and player join, or server startup.

Fabric
Loaders
Fabric
Downloads on Modrinth
4.1K
Followers on Modrinth
0
version
1
Updated
May 31, 2026May 31
Published
in 2026
Settings menu · swipe

At a glance

Runs on Fabric
For Minecraft 1.21.11
Needed on the server; optional in the game
Latest version — 1.0 from May 31, 2026
Requires Fabric API
License MIT — free
Where it's needed
In gameoptionalOn serverrequired

Needed on the server; optional in the game

Game versions1.21.11

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

License and source
MIT Licensefree to use and share with credit to the author
Original — Modrinth↗Files unchanged, verified with SHA-512Is this your mod? For rights holders

The site uses cookies: the necessary ones for sign-in and the theme, plus the Yandex Metrica and LiveInternet visit counters — they show us how the site is used. We have no advertising cookies. More