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
-
Yay will be happy to see the wait command its perfect to shutdown a server
@Ne0nx3r0
Isn't that supposed to happen with anything? Every other plugin I have allows any case to be used. Nothing you're typing changes, you're only using different casing, and you're still using the same letters.
Anyway, I hope it's a feature soon.
@xDeeKay
Exactly? Because being case insensitive allows players to mix the case of commands and still get to where they wanted to be.
@Ne0nx3r0
Why's that exactly?
@xDeeKay
Possibly, but currently it's purposely case insensitive.
@CommodoreAlpha
I might be able to add something where you can do for example:
- /command one
- wait 20 /command two
- wait 40 /command three
Measuring in ticks, so that command two happens 1 second after command one, and command three happens 2 seconds after command one.
Would it be possible to have an alias run multiple commands, but with a configurable amount of time in between each command within each alias?
e.g. I could make a "/tnt <player>" command which would do the following:
Never mind, it works fine now =)
Anyway, would you possibly be able to add support for case sensitivity? For example I have an alias called /TheEnd which warps to 'TheEnd' but people can't run the command as /theend or /ThEeNd etc.. It would be nice if any cases were compatible.
@Ne0nx3r0
It was when using a 1.4.7 Bukkit build so I can't quite remember. I don't think it caused up and errors though, it simply said "Unknown command. Type "help" for help."
I hadn't changed anything in the aliases.yml
@xDeeKay
The syntax is basically the same, are you getting an error?
Has the layout for everything changed in version 1.0 and higher? I'm running version 0.5 and here's my aliases.yml: http://pastebin.com/P82ZVjQh When updating to version 1.0 or higher, all of these seem to stop working. And I couldn't figure out what had changed in the examples.
Also, would you be able to add support for case sensitivity? For example the command /TheEnd can't currently be run as /theend or /ThEeNd etc..
created a new ticket for an error in 1.5 I have no idea what caused it
@brinaq
What's not working on 1.5?
Any dev builds for 1.5?
same think than MrTehDansorz : Could you make something like a timer between commands? Would be really cool when warning people about shutting down and restarts.
Thanks !
I'm trying to set an alias to toggle the gamemode of a player, or if no player specified the person typing the command. Is it possible to define an alias to do this, like a toggle alias?
Simply amazing plugin! I don't know what I would do without it!
@diannetea
I'm afraid that's not currently possible; I'll consider adding this functionality though.
Is there a way to match a two part command?
like, say I want to match /test command and only that, not /test asdf
Could you make something like a timer between commands? Would be really cool when warning people about shutting down and restarts.