promotional bannermobile promotional banner
header
Command Aliases avatar

Command Aliases

This is a small mod that allows creating aliases for commands. 

 

To register a new alias use the /addAlias command. 

For example: /addAlias "tps" -> "forge tps"  will run "/forge tps" when someone types in "/tps"

(the add Alias command requires op, alias commands use the same requirements as the original command)

 

 

Use /reload to make the server recognize the newly added command. 

 

You can find your registered commands in the config/commandalias.txt file. 

 

Beginning with 1.20.1 you can now also inline replace arguments.

For example like this: /addAlias "kill" -> "kill @e[type=%type%]". This will run "/kill @e[type=cow]" when you type in "kill cow". 

 

 

Questions? Ask on my Discord
https://discord.gg/fdvYUCvezx