customMOTD
- 8.6K
- Bukkit Plugins
Customize the MOTD for different ranks with in-text variables
- 8.6K
- October 12, 2011
customMOTD
- 8.6K
- Bukkit Plugins
Customize the MOTD for different ranks with in-text variables
- 8.6K
- October 12, 2011

Current Version: 1.1.0
Recommended Build: 1.2.5-R1
Thanks to Unscrewed for one awesome logo!
Have you ever found yourself typing the same command over and over? Do you want to simplify vanilla Bukkit commands without installing a great bunch of plugins? This plugin allows you to do so. With Alias, you can add aliases to existing commands, shortening the text you have to type.
Breakdown of the command:
Now, instead of typing /tp <yourname> <other name>, you shortened it to /a tp <other name>. Shorter, isn't it?
Breakdown:
Usage: /a farm <radius> - Creates an area (2*radius)+1 long and wide, makes it farmland, places water under it, places seeds on top of it.
The explanation of the rest of the commands can be looked up here. Please note that I do not have much experience with WorldEdit, so some of the used commands may be outdated or wrong. This is only supposed to be a proof-of-concept.
All commands start with either /a or /alias (Both are equivalent):
There is only one permission:
Alias allows you to replace words with place holders, which will be filled in when you issue the command.
Q: Does Alias support command <X>?
A: As long as X is a vanilla bukkit command or you have a plugin the uses command X, yes. Otherwise, no.
Q: What is with permissions?
A: If a user attempts to use a command he has no permissions for, he will be denied.
Q: Do all users have the same aliases?
A: No. Every user has his own set of aliases, as does the console.
Q: Can I edit other users aliases?
A: No. As mentioned above, there is no reason to do so permission-wise, and people should be able to trust their aliases as much as standard commands. No one wants to risk getting lava dumped over their had by a moderator who messed with their alias.
Q: I tried to open "aliases.data", but it seems to be corrupted!
A: The aliases are not saved in plain text, but in a format that the JVM can easily load and save. This is both for speed and security reasons.
There is one file: /plugins/Alias/aliases.data. This stores all players aliases in a non-editable, non-readable format. Please, don't try to edit it. You will only corrupt the file. Right now, there is no configuration file, as there is not much configure.
Example usage: /a set b broadcast {1:} /a b <your text> is now equivalent to /broadcast <yourtext>
Ticket here or contact me on IRC: irc://irc.esper.net:6667/arcticraft (I'm not always active, but if you just talk to me, my bouncer will tell me when I come back)
Customize the MOTD for different ranks with in-text variables
Customize the MOTD for different ranks with in-text variables