AliasPro
AliasPro - Personal and Global Comand Aliases
Tired of typing long commands like /gamemode 1 and /time set day? You're in luck. AliasPro allows you to configure any command alias and execute it as if you entered the real command. Available in both global and private aliases with full argument support!
By default, the following aliases are enabled:
- /h - Executes /help
- /f - Executes /fly
- /ts - Executes /time set
- /ta - Executes /time add
- /gm - Executes /gamemode
- /stacks - Executes /give <username> 64 64
- /ss - Executes
//set stone
- /rankup [name] [rank] - Executes /pex user $arg0 group set $arg1
You can add as many as you want by entering only a simple line in the config!
Commands
Commands for AliasPro are as simple as /cadd [command] [alias] and /cremove [command] [alias].
Those with the permission nodes alias.add and alias.remove are able to add and remove server-wide aliases while those without it can only set personal aliases.
Variable Tags
Currently, you may use the following variable tags:
- $player - Replaced by name of player who executes command.
- $world - Replaced by name of world of player who executes command.
- $location - Replaced by location of player who executes command. (eg. x, y, z)
- $arg - Replaced by the argument in a command. (eg. in "/give TeeePeee 1 2" $arg0 would be "TeeePeee", $arg1 would be "1" and $arg2 would be "2"
Source Code
The source code can be found in the jar file for this plugin. Simply open the jar with an unarchiving program such as 7zip and open the .java file in notepad or any text viewer.
Um, anyone care to take over this?
Hi guys, i fixed the error, you should open AliasPro.jar (or plugin) and go to the config.yml (THAT IS INSIDE OF THE PLUGIN, NOT THE FOLDER CREATED IN ...\Server\plugins, you should delete ALL commands that are registred and then you will be able to create and delete commands, make sure, if you register a command inside of the .jar (you can open it with WinRar) this command will work permanently :) thank you for this big plugin! :D
I can't remove the /f alias, my users need it to do /f create etc etc... (faction plugin) i tried it by these steps :
1. Stopping server 2. Clearing all the aliases in config.yml 3. Starting server [DON'T WORK] 2. /cremove f 2. /cremove fly [DON'T WORK] 3. /cadd f f 2. /cadd f factions [DON'T WORK] I wanted to use this plugin, but i got forced to remove it because alot of my users(my server) couldn't do /f home or /f create, /f desc etc etc. Thank you for very appreciated plugin but i can't with the errors :/
@xp9kus
Yes !
Thanks ;-)
@Kervinou
It works, lazy you!
Hello, please upgrade to 1.7.x
thanks
Great idea for plugin! Good job!
@Tolmikarc
Sure thing! Just add the alias os: warp oldspawn
What about if you want an alias to do a certain thing out of many arguments like if you want /os to do /warp oldspawn?
This looks like a very good alias plugin. It seems a lot simpler and more advanced than the default aliase system in bukkit.yml. I'm going to try it out on my server. :)
@roblikescake
I realize now this would still be impossible to do with the current setup so I will add an $arg tags. With these tags, you would type this into the alias
And to execute,
Then executing /RankUp roblikescake admin would run /pex user roblikescake group set admin
@roblikescake
Version 2.0 will have many new features which will include a variable tags eg:
Does this support variables? Ex:
Default: /pex user <PlayerName> group set <Group>
New Alias: /RankUp <PlayerName> <Group>
@fungreenfox
because adding a command alias with an argument cannot be done there
I don't get it. Why not just type it into bukkit.yml