Aliases
作者:moofy
A lightweight, server-side mod that lets you create custom command shortcuts and aliases.
介绍
中文介绍正在准备中,下面暂时显示原文。
Aliases
A simple server-side mod that lets you create custom command shortcuts. Map long commands like /gamemode creative to short ones like /gmc in seconds, either in the config or directly in-game.
Features
- 100% Server-Side: No client mod required. Works in singleplayer and dedicated servers.
- Native Tab Completion: Shortcuts auto-complete in chat natively.
- In-Game Management: Create, edit, and reload aliases on the fly.
- Loop Protection: Built-in safety against infinite command loops.
Default Shortcuts
Pre-configured with classic commands out of the box:
/gmc,/gms,/gma,/gmsp— Quick gamemode switches/day,/night— Time control/sun,/rain— Weather control/ci— Clear inventory/feed,/heal— Restore hunger & health (defaults to yourself if no player is specified)
In-Game Commands
/aliases add <name> <target>— Add or update a shortcut/aliases remove <name>— Delete a shortcut/aliases list— View active shortcuts/aliases reload— Reloadconfig/aliases.json
Config Example
Shortcuts are stored in config/aliases.json:
{
"name": "gmc",
"target": "gamemode creative",
"permissionLevel": 2
}
常见问题
Aliases 支持哪些 Minecraft 版本?
Aliases 支持 Minecraft Java 版 26.2,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
Aliases 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。
评论
登录后评论和评分