BetterAlias
Tired of entering tedious and repetitive commands? Wish you could group commands into one short and easy to use command?
With BetterAlias you can specify any number of aliases for your commands!
Features
- Create aliases for long repetitive commands:
becomes/permissions player setgroup <playerName> VIP
/vip <playerName>
- Combine multiple commands into one simple command
- Compatible with your existing permissions/plugin commands!
- Supports partial player name lookups (ie "e0n" to find "Ne0nx3r0")
Installation
- Add BetterAlias.jar to your plugins directory
- Once loaded an aliases.yml file will be created
- Customize the file and use /bareload to enable the changes.
- Use the examples inside aliases.yml to setup aliases for everyone to use! (or add a custom permission node for the command)
Usage
See the examples page.
Multiple Commands
Separate multiple commands with dashes (-):
tpthenkick: 1: - /tp !1p !name - /kick !1p
The examples file that comes with the plugin includes examples of every type
-

-
View User Profile
-
Send Message
Posted Nov 8, 2013@Ne0nx3r0
Hello. Can you upgrade !* by adding "except node"/"only this node"? Thanks.
-
View User Profile
-
Send Message
Posted Nov 7, 2013@WizardryPVP
Well that's a global cooldown, which differs from cooldowns in the way that most people think about them.
I'll see what I can do this weekend, but I have some finals to finish up this week so I'll be to busy to tinker with it.
-
View User Profile
-
Send Message
Posted Nov 6, 2013Is there a way to add a cooldown? I want to add a /welcome for everyone to use where it has welcome 1: - Welcome to the SERVERNAME! Have a good time.
But i want a cool down on it, is that possible?
-
View User Profile
-
Send Message
Posted Nov 2, 2013@wiedzmin137
You could remove the permission node and make it have a wait, then re-add said permission node.
-
View User Profile
-
Send Message
Posted Nov 2, 2013@wiedzmin137
maybe get a plugin to handle command cooldowns, depending on their permission group, then set the cooldown to the base command. (not the alias command)
-
View User Profile
-
Send Message
Posted Oct 31, 2013So nice plugin. Thanks for creating!
EDIT: But can you add cost (cooldown, item and money) for using aliases? Thanks. EDIT 2: Money cost I can set by /economy take !name Quantity, but what about cooldown?
-
View User Profile
-
Send Message
Posted Oct 13, 2013@MineLab
you can deny the alias
-
View User Profile
-
Send Message
Posted Oct 8, 2013There is a problem : the player can execute commands even if it is forbidden by another plugin (eg paintball).
It will be really great to add a flag for world guard, like "flag alias deny" and if a player does a command, the plugin ignores him (if the player is in this region).
-
View User Profile
-
Send Message
Posted Sep 18, 2013It's epic!!
-
View User Profile
-
Send Message
Posted Sep 16, 2013@QuietusX
I tested out numbers.
"potato 1":
- reply potato!
"potato 2":
- reply tomato?
just add quotes.
-
View User Profile
-
Send Message
Posted Sep 15, 2013@kamakazi87
I'll take a look at implementing this, it seems feasible.
-
View User Profile
-
Send Message
Posted Sep 14, 2013Hey,
Back once more to ask you a question. First off, I got your plugin working perfectly with the use-case I had for it. I appreciate it.
I was wondering though, do you have any plans for allowing some aliases to run external scripts? An example being my backup.sh script I have running as a cron job. Or my deleteUnUsedRegions.sh scripts I wrote. I would love to link them to some aliases and then invoke them from in-game rather than ssh-ing onto the box to run it.
-KaMa
-
View User Profile
-
Send Message
Posted Sep 12, 2013can I use the "*" for multiple commands? like
-
View User Profile
-
Send Message
Posted Sep 8, 2013@dawm
No I'm not, I'll try it.
-
View User Profile
-
Send Message
Posted Sep 8, 2013@QuietusX
Are you using quotes?
"guest 1":
-
View User Profile
-
Send Message
Posted Sep 8, 2013@QuietusX but I get the same problem with /gm which does not have an existing command.
EDIT: Nevermind I understand what I'm doing wrong. Is there anyway to set betteralias to overwrite the existing command? For instance if I want to add player searching ability to the command /xp without changing the command name.
Ex: ( /xp 30L lor ) rather than ( /xp 30L lordecchi )
-
View User Profile
-
Send Message
Posted Sep 8, 2013@LordEcchi
You're alias is named "gamemode"
Your alias makes you run "gamemode" - which in turns starts an infinite loop.
-
View User Profile
-
Send Message
Posted Sep 8, 2013@Ne0nx3r0
In what way is it aliasing an alias? it is because gamemode is a command in vanilla and then craftbukkit has it as well?
-
View User Profile
-
Send Message
Posted Sep 8, 2013@Ne0nx3r0
Thanks, I appreciate that :D
-
View User Profile
-
Send Message
Posted Sep 7, 2013Would it be possible to make it so we can have a number in the alias?
I'm trying to make a /guest 1 command and when I remove the "1" and replace it with "one" it works.
When the "1" is there, it doesn't recognize the alias.
Edit: I just removed the space between "Guest" and "1" and it works. So its something to do with a space and then a number? I'm not sure.
/guest1 - works /guest 1 - does not work
Hope this helps if this is something you can do anything about.