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 Aug 25, 2013Something is not working with the permission: here. People without the betteralias.promote.add permissions can still use the /Promote command.
-
View User Profile
-
Send Message
Posted Aug 25, 2013Dont Work Why?
vip !1p: permission: get.vip 1: /manuadd !1p Vip
-
View User Profile
-
Send Message
Posted Aug 24, 2013Thanks for the plugin, It fixed a lot of my "These commands are too long" complaints.
-
View User Profile
-
Send Message
Posted Aug 24, 2013@Ne0nx3r0
Thanks, this fixed my issue too.
-
View User Profile
-
Send Message
Posted Aug 24, 2013thanks for such a quick fix! confirmed working perfectly.
-
View User Profile
-
Send Message
Posted Aug 24, 2013@apesgrapes
This is fixed in v1.4.2
-
View User Profile
-
Send Message
Posted Aug 24, 2013thx, here's the entries I've added:
s:
0: /mvtp survival
c:
0: /mvtp creative
g:
0: /mvtp skygrid
b:
0: /mvtp skyblock
j:
0: /mvtp tnt
n:
0: /mvtp city
f:
0: /mvtp flatworld
chill:
0: /warp chillout
yunkjard:
0: /mv create tnt normal -g Junkyard -t flat
witycorld:
0: mv create city normal -g CityWorld
lu:
0: /lagg unloadchunks
lg:
0: /lagg gc
shop:
0: /warp shop
p:
0: /warp portalstation
lb20:
0: /lb area 20 since 30d coords
lb100:
0: /lb area 100 since 30d coords
-
View User Profile
-
Send Message
Posted Aug 24, 2013the lastest version can't be used...all alias can't use, how?
-
View User Profile
-
Send Message
Posted Aug 23, 2013@apesgrapes
It would be helpful if you could post your aliases file so I can test it
-
View User Profile
-
Send Message
Posted Aug 23, 2013last update (or the last one i updated to) has killed all my aliases. what's changed?
-
View User Profile
-
Send Message
Posted Aug 22, 2013Thanks for a great plugin. I am having a problem though. Better alias 1.4.1 renders all my defined aliases unusable (just says unknown command). 1.4 does not have this problem. There are no errors in the log, it says it starts up normally. How can I troubleshoot this problem? Am I the only one with this issue?
Thanks.
-
View User Profile
-
Send Message
Posted Aug 21, 2013I found out the cause to my last issue, it was this following alias. But I've used this same alias for all the other versions, and it's worked fine.
-
View User Profile
-
Send Message
Posted Aug 20, 2013@Cherry463
Oh I see; that should be fairly straightforward to add. It makes sense anyway.
-
View User Profile
-
Send Message
Posted Aug 20, 2013@Ne0nx3r0
I think you may have misunderstood what I meant by the command being sent to console, it's my fault due to my poor wording.
The word I'm looking for is logging. I meant logging as in, one would type the aliased command and console would then log it and you can it see in the console. i.e. <player> has issued server command: /aliasedcommand
Below is a screen cap of what I mean, as you can see I typed /command ingame and console displays the message KansasJayhawkz15 has issued server command: /command http://i.imgur.com/bRNjNow.png
Note: /command is not one of my aliased commands, but even then it will still appear in console
In the latest version, if I were to type one of my actual aliased commands, like my /admin tools command which gives the player a set of items, it wouldn't show that I ran the /admin tools command but instead it would show the commands that were used to give the player the set of items.
I really hope this wasn't too confusing, I tried wording it as well as I could but I tend to select the wrong word choice pretty often. If this request isn't possible, it's fine, the only reason I want it is because I'm pretty heavy on logging and making sure everything is how it should be. Again, thanks.
-
View User Profile
-
Send Message
Posted Aug 20, 2013@Cherry463
You can actually do this already, see the examples page.
-
View User Profile
-
Send Message
Posted Aug 20, 2013This plugin is quite possibly the greatest plugin I've ever used, I want to thank you so much for it.
I was wondering it would be possible for the command to be sent to console in a future update. i.e. Ne0nx3r0 issued server command: /commandhere
-
View User Profile
-
Send Message
Posted Aug 20, 2013@Ne0nx3r0
This plugin is pure genius. If you added the ability for an if then statement, people could make whole plugins out of your plugin with no knowledge of coding. I still think I might be able to set up a simple duel type thing with your plugin.
I love you.
-
View User Profile
-
Send Message
Posted Aug 19, 2013@QuietusX
Change "1:" to "4:" or however many parameters you want to use for that particular command. The number represents how many arguments the alias will accept.
-
View User Profile
-
Send Message
Posted Aug 18, 2013@Ne0nx3r0
Is this possible? I tried it but didn't work. I thought !1 = variable 1, !2 = variable 2 and so forth.
http://pastebin.com/zkXXH99u
If it is possible and I just messed up, can you let me know. Also if it's not possible, is it hard to add multiple variables? Or could you just add like 10 variables (That should be plenty for any command)
Thanks
-
View User Profile
-
Send Message
Posted Aug 18, 2013@p0358
What methods are you looking for?