MonitoringMinecraft MonitoringMinecraft

CMDAlias

Мод Fabric

Мод для Майнкрафт: простые алиасы команд на Fabric.

68 скачиваний 2 подписчика
Оцените первым

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 <alias> <target command> Adds a new alias or updates an existing one.
  • /cmdalias del <alias> 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

Смотри также

Похожие подборки моды — по версиям Майнкрафта, загрузчикам и жанрам.

Сервера Майнкрафт

Играть интереснее на сервере — выбирай в рейтинге серверов Майнкрафт и заходи прямо сейчас.

SkyBars
SkyBars Java + BE
279 онлайн
1.8 — 26.2 версия
🎮 ВЫЖИВАНИЕ ⚔️ АНАРХИЯ 🚗 ГТА РП 🎤 ГОЛОСОВОЙ ЧАТ 🎁 БЕСПЛАТНЫЙ ДОНАТ 🌟 СМП 💻 ПК+ТЕЛЕФОН
MigosMc
MigosMc Java + BE
316 онлайн
1.8 — 26.2 версия
🌿 MigosMc.net | Гриферский сервер с войс-чатом | Награды за онлайн ⭐ ВЫЖИВАНИЕ⭐ ОДИНБЛОК⭐ МИНИ-ИГРЫ
SeasonEra
0 онлайн
26.1.2 версия
Выживание • Экономика • Кланы • Приваты • Ивенты • PVP • Работа
EVY-MC ВАЙП 17.06
1 онлайн
1.21.1 — 1.21.11 версия
Уютное выживание с живой экономикой, голосовым чатом и 50 достижениями
MineLauncher
Лаунчер Майнкрафт без лицензии — все версии
Бесплатный лаунчер для ПК и Андроид — все версии 26.2, 1.21.11, 26.1.2, 1.21.8. Fabric, NeoForge, Forge, шейдеры, моды и скины в один клик.
Без лицензии Fabric, NeoForge, Forge Моды, шейдеры, скины Все версии Майнкрафта ПК и Андроид Для слабых ПК Сервера в лаунчере
Скачать бесплатно
Windows и Андроид · Бесплатно · Без лицензии
Наш чат