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
-
I don't know if this has already been asked, but how would I alias /warp so it works with every warp? This is what I've tried:
w: 0: /warp !1
But it only shows the warp list, it doesn't actually warp to the place (it does nothing then)
Just a suggestion, if you're open to them. Could you see about adding a function to run commands as a specified player in an alias?
Also, one to broadcasts a message to the entire server, instead of having to run a message with /say through the console.
Is there a 1.7.10 version??
@fvqu
I'll take a look at fixing this (patched version will be 1.5.2), in the meantime you can remove the space before !* to patch your aliases file until a release is approved.
@CloudeLecaw
Generally this is accomplished as:
Using !* creates a redundant space that cause some aliases not to work properly. Please fix!
@coolMJW
Ah, I see. Try Release #18
@Ne0nx3r0
http://pastebin.com/Jr9JkSH6
That's the error I got?
@coolMJW
Here's a pic of the example I gave you with v1.5.
Unfortunately since you aren't providing any logs or YML files to inspect I can only tell you what I said before:
1. Look in your server log when the plugin loads for errors
2. Validate your aliases.yml
@Ne0nx3r0
I am having this problem too, I tried regenerating my config but it didn't help.
@little_dude187
1. Look in your server log for errors.
2. Validate your aliases.yml
@coolMJW
I said there's better support for it; you should be able to do what you were doing before and have it work fine.
Here's an example.
@Ne0nx3r0
You said in the update notes that there was a better way of doing "/goto place", how do I use it?
@coolMJW
I suppose that's a use case I hadn't thought of; try version 1.5 and see if that fixes your issue.I need to fix a bug first, but I'll see what I can do.Got it working.
@Ne0nx3r0
It says it's valid, how come "/goto towny" doesn't work but "/goto factions" does?
http://pastebin.com/RZrzC5aL
@coolMJW
Check your aliases against the examples page and try validating your YML file: http://www.yamllint.com/
This plugin hardly ever needs updates because it does one thing fairly well.
Sometime the aliases just straight out don't work, any ideas?
@Ne0nx3r0
Absolutely true. I feel like a twit.
@usevalue
There's no NMS code and the events haven't really changed... It works just the same on 1.8 builds.
Hey, I used this plugin over a year ago. It was handy then. I played around with the commands.yml for my most recent project, but it lacks flexibility. Could you recompile this against Spigot 1.8.1 and/or release source?
ETA: Oh, source code. Thanks.