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 May 13, 2013@Ne0nx3r0:
== BUG REPORT ==
In my aliases.yml I have this defined:
shopclaim:
0: reply &cERROR&r - You must specify the shop ID! Use &6/shopclaim <ID>
When someone types "/shopclaim shop1" instead of getting a reply only to them, they say into public chat "reply ERROR - You must specify the shop ID! use /shopclaim <ID>"
The colours are working, but the "reply" function doesn't seem to work at all, it just says whatever it's supposed to reply into public chat, as the person it's supposed to be replying privately to.
EDIT: Scratch that, thought I had the most recent version but in fact I did not. Updated, and now the reply function is working properly. However, there's still a bug to report. That same command now results in the user getting this error:
&cERROR&r - You must specify the shop ID! Use &6/shopclaim <ID>
ie, the colour formatting codes are not being interpreted, they're just being sent as plaintext.
-
View User Profile
-
Send Message
Posted May 12, 2013@Habbomod
Yes they do.
-
View User Profile
-
Send Message
Posted May 12, 2013The commands don't work in the console.
-
View User Profile
-
Send Message
Posted May 11, 2013Cooldown? I'm guessing you mean a delay between executed commands? You can use "wait" function for that, refer to the page of examples.
-
View User Profile
-
Send Message
Posted May 11, 2013Can you add a cooldown please?! Because this doesn´t go with boosColdowns ;(
-
View User Profile
-
Send Message
Posted May 10, 2013@nicknds
The node is betteralias.make.mod
This is to protect server admins from accidentally specifying a permission node they didn't mean to, they have to explicitly say this is a betteralias permission.
-
View User Profile
-
Send Message
Posted May 10, 2013I seem to be having problems with the 'permission:' line, unless a person is OP, they don't have permission to use the alias. I didn't notice until I tried using aliases to set ranks given they have the permission. For example, my mod with the permissions 'make.mod' does not have permission to use the alias. An opped player without 'make.mod' has permission. I use PEX. I threw this in a YAML code section because it wouldn't keep the formatting.
On a side note, I haven't used anything but aliases made with BetterAlias. '/f power' is '/power', '/warp shop' is '/shop', etc. Most useful plugin I've ever used, I wish I had money to donate.
-
View User Profile
-
Send Message
Posted May 2, 2013Ok, so I currently use a script to run this, but I thought it would be cool to allow all our admins to use it with a in game command. It currently does this when run in game,
http://i.imgur.com/hXVRpum.png
I assume it's trying to use some of the symbols instead of send them?
EDIT: I see the derps I made in forgetting the double-slash on those two outsets, but that is not causing the other problems.
-
View User Profile
-
Send Message
Posted May 2, 2013The wait time is measured in ticks: 20 ticks = 1 second, so 100 ticks = 5 seconds
Have you got the most recent release of the plugin?
-
View User Profile
-
Send Message
Posted May 2, 2013Can't use the wait alias. Just says the commands in chat. Example:
wait: permission: your.node 0: - wait 100 console /me thinks this message will come last!
This doesn't wait 100 seconds, it makes the user say "wait 100 console /me thinks this message will come last!"
-
View User Profile
-
Send Message
Posted May 2, 2013One of the most useful plugins I have. However, I did have some troubles setting up bigger commands. Making a command for something like /manuadd [name] [group] [world] six times (one for each world) took me a couple hours to figure out. I'd suggest making the examples a little more clear in the next update. Expect a donation from me. :P
-
View User Profile
-
Send Message
Posted Apr 28, 2013@Crafter6432
I'll see what I can do with the next release
-
View User Profile
-
Send Message
Posted Apr 28, 2013For things like this: /getdiamond
getdiamond: cost: 100 0: console /give !name diamond 1
-
View User Profile
-
Send Message
Posted Apr 28, 2013@Crafter6432
Howso?
-
View User Profile
-
Send Message
Posted Apr 28, 2013Can you add Economy Support?
-
View User Profile
-
Send Message
Posted Apr 27, 2013@broomy123
There were some spacing issues, also you forgot to put "reply" before a reply type. If you check your event log it should tell you when you do /bareload what the issues are, but I've created a fixed version of your aliases file: http://pastebin.com/un0CwSPX
-
View User Profile
-
Send Message
Posted Apr 27, 2013Hey! I've been using BetterAlias successfully for a while now, but just now I added two new entries and it has stopped working. Can you identify the errors and/or correct them for me?
http://pastebin.com/XmUv1eph
-
View User Profile
-
Send Message
Posted Apr 20, 2013Hey,
Is it possible to have several files to keep a bunch of aliases organized? Like for example CSS allows the @import function to add another in it by linking only one into the html header.
It would come in handy for those who have a lot of aliases, I myself use this plugin mostly to translate commands into my native language, so there is quite a bit of scrolling. This isn't essential of course, but if it's not too difficult to implement, then - in my situation - it would prove to be very useful.
-
View User Profile
-
Send Message
Posted Apr 20, 2013Epic :DDD
-
View User Profile
-
Send Message
Posted Apr 19, 2013@Lyrixn
Thank you, I appreciate it!
I'll let you know when I sort out how to best implement sub-commands.