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
-
Could you add a custom message for when players don't have a permission.
test: permission: test.test message: Sorry, no can do.
Can you make a Option: costs: 350 so that when they don't have 350 $ a message comes: You don't have enough money for that. Furthermore can you make a custom deny message? So that i can write: permissionfail: You are too low for that
Could you make it so there is an arguement for block IDS?
Having players Sparta and sparta9950, "/randomcommand sparta" detects sparta9950 and not Sparta. :/
Hello, the config says that if you put dumb in the parameters, it will replace the dumb with the player, but if i run an alias it says, player dumb not found. what do i need to do?
@stgram
That's a fair idea; I'll take a look at * tonight.
@Ne0nx3r0
Hey, can you check out the following please? The reference bellow points to my original comment, a problem with the * node.
@stgram
Also, when the player is not found, I suggest showing an error to the invoker, instead of passing BetterAliasPlayerNotFound as an argument, I jailed a few times that player already. xD
@EN7
Generally this plugin doesn't break with new Bukkit versions because it has a pretty light footprint. It should work fine.
@Ne0nx3r0
Does this work with 1.6.4?
Would you be willing to add a feature to detect what world in a multiworld server the player was on, and assign that value to a variable such as !world?
Think you could add multiworld support? I'm trying to make so that the same command do different actions depending on the world the user is on.
I've tried adding the command twice to the configuration each with its corresponding actions, creating different permissions nodes for each and using the Perms manager to deny/accept each permission according to the world but doesn't seems to work, it always executes the first command that was added.
Aliasez seems to be able to do this, but it doesn't support arguments like BetterAlias does. Think you could look into it?
@Enitoni
http://dev.bukkit.org/server-mods/betteralias/pages/examples/
Is there a list of all the parameters you can use? I'd like to see one.
When I type /bareload it says that it reloaded, but when I type the command it just says it isnt a command
Thanks for creating and sharing this plugin.
From what I have seen, BetterAlias 1.4.2 works with CraftBukkit 1.7.2-R0.1 on Ubuntu Server 12.04.3 LTS (64-bit) with Java 1.7.0_45 (64-bit) and PermissionsEx 1.20.4
I got this plugin mainly so I could map "/warp spawn" to just "/spawn" since bukkit.yml cannot handle mapping anything with parameters like this.
Thanks,
LHammonds
@godlessgreg
Now now, not that simple. If you set the 0: argument, when they type in /pay, they do /fe send. But if they do /pay stgram 10 (that is 2 arguments), they really do the /pay command. You need to insert: 2: /fe send 1!p 2! (1! is the first argument, 2! the second, the p says it will be a player)
Ne0nx3r0, you got a great plugin there. But do you plan to continue supporting it? I have a few suggestions for future versions...
Hello, awesome plugin but I'm having one problem. Maybe someone else has encountered it and can shed some light.
I'm tyring alias pay from Essentials to Fe
I also tried...
But nothing works. :(
Please could you change if the player who sent the command does not have perms to a command in better alias, it doesent give them a permission node, it just says
&4You don't have permissions for this command please do /help for your commands.
Somehow, the "*" node isnt working. It isnt passing the arguments right, the target plugins return an usage error, "wrong arguments". Without arguments it is fine though.
I love you. My server is much better with this plugin! Cookie, pizza, anything for you! Oh my gawd!