Aliases - pantherman594/BungeeEssentials GitHub Wiki
Aliases are an extremely powerful way to "make" your own commands.
Command
Put in your own commands. There are two examples in the config. When players run the main command (under aliases.alias) the commands are all run. This may be used to support multiple COMMAND handles for messaging filters, to simplify a long command, or anything else you want! Note: this works ONLY with Bungee commands.
| Variable | Replacement |
|---|---|
{0}, {1}, ... |
These are replaced with arguments the player uses when running the command. |
{*} |
These are replaced with every argument the player uses when running the command. |
{{ SERVER }} |
The server of the command sender |
{{ PLAYER }} |
The player who ran the command |
Configuration
announcement is enabled by default in the enabled section of the config, but can be easily removed.
| Key | Explanation |
|---|---|
aliases.AliasName |
AliasName is the name of the alias and the command the players run. It is used to check for the gssentials.alias.AliasName permission. The commands to run are listed underneath. |
There are 2 special specifiers (shown in 4 use cases) to change the command.
| Specifier | Output |
|---|---|
CONSOLE: ... |
Runs the command as console. |
TELL: ... |
Tells the CommandSender the message. |
TELL name: ... |
Tells a specific player the message. |
TELL ALL: ... |
Tells all players the message. |