Command Aliases
The Command Aliases mod offers a compact solution for creating command shortcuts in Minecraft. Instead of constantly typing long commands, you can set up short and convenient alternatives.
Main Features
To create a new alias, use the /addAlias
command. For example, if you enter /addAlias "tps" -> "forge tps"
, typing /tps
will automatically execute the /forge tps
command.
It's important to note that the alias creation command requires operator permissions, and the aliases themselves have the same access rights as the original commands.
After adding a new alias, you need to execute the /reload
command to activate it and let the server recognize the changes.
Data Storage
All created commands are saved in the configuration file: config/commandalias.txt
, where you can view and edit your list of aliases.
Advanced Functionality
Starting from version 1.20.1, the mod supports inline argument replacement. For example, you can configure /addAlias "kill" -> "kill @e[type=%type%]"
. When you enter the command kill cow
, it gets converted to /kill @e[type=cow]
, making parameter handling more flexible and efficient.