Command Aliases
Typing long, repetitive commands in Minecraft can be a real drag, especially when you're managing a server or just want to speed up your gameplay. Command Aliases is a lightweight mod that solves this problem elegantly. It lets you define your own short, memorable aliases for any command, so you can execute complex instructions with just a few keystrokes. Whether you're a server admin tired of typing /forge tps every few minutes or a mapmaker who needs quick access to custom functions, this mod puts the power of customization right at your fingertips.
What Is Command Aliases?
Command Aliases is a server-side utility mod that allows you to register custom shortcuts for any existing command. Once an alias is set, you can use it just like a regular command, and the mod will automatically expand it to the full command string. It's perfect for reducing typing, avoiding mistakes, and making your server's command set more intuitive for players. The mod is designed to be simple and unobtrusive—no complex configuration files, no learning curve. Just a couple of commands and you're ready to go.
Key Features
- Easy alias creation: Use the
/addAliascommand to link a short name to any longer command. - Argument replacement: In newer versions, you can pass arguments into your aliases, making them dynamic and even more powerful.
- Server-friendly: Works entirely on the server side; players don't need to install anything to use the aliases you create.
- Persistent storage: All aliases are saved in a simple text file, so they survive server restarts.
- Lightweight: Minimal performance impact, perfect for any modded or vanilla server.
Supported Minecraft Versions and Loader
Command Aliases is built for the Forge mod loader and currently supports Minecraft versions 1.20.1 and above. The mod's argument replacement feature, which lets you insert dynamic parameters into your aliases, is available starting from the 1.20.1 release. If you're running an older Forge server, you can still use the basic alias functionality, but upgrading is recommended to unlock the full potential. For those who prefer a seamless modding experience, the foxygame.net launcher offers one-click installation of Command Aliases alongside your favorite modpacks, ensuring version compatibility and automatic updates without the hassle of manual file management.
How to Install Command Aliases
Installing the mod is straightforward, even if you're new to server administration. Follow these steps:
- Download the Command Aliases .jar file from a trusted source like CurseForge or Modrinth.
- Place the file into your server's
modsfolder. Make sure your server is running Forge for the correct Minecraft version. - Restart the server. The mod will generate a default configuration file if needed.
- Log in as an operator (or give yourself op) to start creating aliases.
If you're using a launcher like foxygame.net, you can skip the manual steps entirely—just search for Command Aliases in the mod library, add it to your instance, and launch. The launcher handles all dependencies and version matching automatically.
Creating Your First Alias
Once installed, open the chat window and use the /addAlias command. The syntax is simple:
/addAlias "shortcut" -> "full command"
For example, to make /tps run the Forge TPS command, type:
/addAlias "tps" -> "forge tps"
Now, whenever you or any player types /tps, the server will execute /forge tps. Aliases respect the original command's permission level, so if a player doesn't have permission for the underlying command, the alias won't work for them either.
Dynamic Aliases with Argument Replacement
Starting with version 1.20.1, Command Aliases supports inline argument replacement. This means you can create aliases that accept parameters and insert them into the final command. For instance:
/addAlias "kill" -> "kill @e[type=%type%]"
Now, typing /kill cow will execute /kill @e[type=cow]. The %type% placeholder gets replaced by whatever argument you provide. You can use multiple placeholders and even combine them with static text. This feature is a game-changer for server admins who want to create powerful, user-friendly shortcuts for complex commands.
Managing Your Aliases
All registered aliases are stored in a plain text file located at config/commandalias.txt inside your server directory. You can edit this file directly to add, remove, or modify aliases without using in-game commands. After making changes, run /reload in the server console or in-game (if you have op) to apply them without restarting. The file format is straightforward: each line contains one alias in the same syntax as the /addAlias command.
Why Use Command Aliases?
This mod is a must-have for server owners who want to streamline administration and improve the player experience. Instead of remembering and typing lengthy commands, you can create intuitive shortcuts that even casual players can use. It reduces the risk of typos, speeds up common tasks, and makes complex command chains accessible. Whether you're running a minigame server, a survival world, or a modded network, Command Aliases saves time and frustration.
Compatibility and Community
Command Aliases is designed to work seamlessly with other popular server mods and plugins. It doesn't alter core game mechanics, so it's safe to add to existing modpacks. The mod is actively maintained, with updates for the latest Minecraft versions. If you encounter any issues or have feature requests, the mod author encourages you to reach out via their Discord server. For a hassle-free setup, many players use the foxygame.net launcher, which includes Command Aliases in its curated mod library and ensures you always have the correct version for your game instance.
Conclusion
Command Aliases is a small but mighty tool that can transform how you interact with Minecraft commands. By letting you define custom shortcuts and even dynamic aliases, it puts the power of command-line efficiency right into your chat box. Whether you're a server admin, a modpack creator, or just a player who loves convenience, this mod is a valuable addition to your toolkit. Download Command Aliases today and start simplifying your Minecraft experience.