Skip to content

CMDAlias

A simple command alias mod for Fabric.

Fabric
Loaders
Fabric
Downloads on Modrinth
414
Followers on Modrinth
3
versions
4
Updated
September 15, 2026Sep 15
Published
in 2026

At a glance

Runs on Fabric
For Minecraft 26.1.2–26.3
Server only — players don't need to install it
Latest version — 1.0.5 from September 15, 2026
Requires Fabric API
License AGPL-3.0-or-later — free
Where it's needed
In gamenot neededOn serverrequired

Install on the server only; players don't need it

Game versions26.1.2–26.3

CMDAlias

CMDAlias

CMDAlias is a server-side Fabric mod for Minecraft that adds configurable command aliases and shortcuts.

It lets you turn long or repetitive commands into short, memorable ones such as:

  • /sun -> /weather clear
  • /bp -> /travelbag
  • /gmsp -> /gamemode spectator

Because aliases are registered back into the server command tree, they support tab completion and behave like normal commands for players who are allowed to use the target command.


✨ Features

  • Server-side only: no client installation required
  • Create short aliases for long vanilla or modded commands
  • Replace existing aliases without restarting the server
  • Delete aliases in-game
  • Tab completion updates after aliases are changed
  • Aliases are stored in a simple JSON config file

🔄 Commands

  • `/cmdalias add ` Adds a new alias or updates an existing one.
  • `/cmdalias del ` Deletes an existing alias.
  • /cmdalias list Lists all configured aliases.

These commands require operator permissions.


❗ How It Works

Aliases are saved in:

config/cmdalias.json

When the server starts, CMDAlias loads the configured aliases and injects them into the command dispatcher. When you add or remove an alias in-game, the config is updated immediately and the command tree is resynced to online players.

CMDAlias also prevents alias loops such as:

  • /a -> /b
  • /b -> /a

⚙️ Configuration

Default config:

{
  "aliases": {}
}

Example config:

{
  "aliases": {
    "sun": "/weather clear",
    "bp": "/travelbag",
    "spawn": "/tp 0 64 0"
  }
}

Notes:

  • Alias names are normalized to lowercase.
  • Alias names may only contain a-z, 0-9, _ and -.
  • Target commands may be entered with or without a leading /.
  • Additional arguments typed after an alias are passed through to the target command when possible.

Examples:

  • /msgs Steve Hello there with alias msgs -> /msg
  • /day with alias day -> /time set day

🧾 Example Use Cases

  • Give staff shortcuts for common moderation commands
  • Create short teleports or utility aliases for private servers
  • Simplify long commands added by other mods or datapacks
  • Standardize frequently used admin commands across a server team

🏜️ Test Server

Feel free to join my Minecraft server to test my mods: play.swordfishbe.eu

FAQ

How to install CMDAlias?

Install Fabric for your Minecraft version, download CMDAlias 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 CMDAlias support?

CMDAlias has builds for Minecraft 26.1.2–26.3.

Is CMDAlias needed on the server?

Server only — players don't need to install it

License and source
GNU Affero General Public License v3.0 or laterfree to use and share; changes to the mod itself must be published under the same license
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