Custom Commands
by repulica
Custom Commands lets a server owner define new chat commands by writing a KDL file, with aliases, shorthands and keyword nodes.
What it does
Custom Commands reads a static data file, data/commands.kdl, and turns the entries in it into server commands. Server owners use it to build aliases and shorthands for commands that vanilla Minecraft does not offer in that form, and to write the command tree in the KDL format instead of in code. The mod is open source under the Mozilla Public License 2.0 and is built for Fabric on 1.17 – 1.18.
Each node in the file sets what its parent command executes, and a requirements block decides who may run it, using a required permission level. Keyword nodes allow a command to take fixed words as arguments, and special command triggers can be set up as well. The list of supported node types is part of the project documentation, so server owners can check which nodes work before writing a file.
The mod is server-side only: players join without installing anything, and only the server needs the Fabric loader and the mod. Files are published for 1.17, 1.17.1 and 1.18, with 1.1.0 for 1.18 as the latest build from 2021-11-07. Snapshot builds are published as well, and the source code and issue tracker are public.
Key features
Command aliases
Short names can point to longer commands, so a server can offer shorthands for frequent actions.
KDL command definitions
Commands are written in the KDL format in one static file, without any Java code to compile.
Keyword nodes
A keyword node accepts fixed words as command arguments, letting one command branch into several actions.
Permission requirements
Each command can require a permission level, so only operators or chosen ranks can run it.
Special command triggers
Triggers can be attached to commands to start other behaviour when a command is entered.
Compatibility
Latest build for each game version and loader.
This mod also publishes snapshot builds. Snapshots are not shown in the matrix.
Use cases
Shorthands on a vanilla server
A server owner can give players short commands for common actions without installing a larger command framework.
Operator-only tools
Commands that change the world can be restricted by permission level, keeping them away from regular players.
Who it’s for: Server owners who want custom commands on a Fabric server and are comfortable editing a KDL file. Players need nothing installed.
Questions
Does Custom Commands need to be installed on the client?
Where are the commands defined?
Which Minecraft versions does Custom Commands support?
In the catalog
Custom Commands is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 3,927 mods support Minecraft 1.18.
More from repulica
Similar mods
What the author says
custom commands lets server owners write a file at static_data/commands.kdl to add aliases or shorthands for special commands or triggers current supported nodes: - literal - keyword command node - requires [requirements] - requirements for parent node, properties determine requirements: - permissionLevel - required…
Official listing
- Modrinth page
- modrinth.com/mod/customcommands
- Owner
- repulica
- Published
- 2021-11-04
- Updated on Modrinth
- 2021-11-07
- Facts verified
- 2026-10-15
