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 Jun 21, 2015would you consider making it possible to run scripts from custom commands set in this plugin? for instance say i wanted to have players be able to write a value to my database using sql.
-
View User Profile
-
Send Message
Posted Jun 13, 2015Posted a Ticket instead.
-
View User Profile
-
Send Message
Posted Jun 3, 2015Put it in quotes: "vt send"
-
View User Profile
-
Send Message
Posted Jun 1, 2015@CloudeLecaw
Yeah, that's something. Huh. It's definitely the same code.
-
View User Profile
-
Send Message
Posted May 12, 2015Is there any way to make a command choose a random line?
-
View User Profile
-
Send Message
Posted Apr 24, 2015It works but i get this error: http://pastebin.com/Bnrqzgqw More i would like to ask you if you can add the option to block the origin command like in simplealias thanks. [18:33:31 INFO]: This server is running CraftBukkit version git-Spigot-2ec6f06-7722428 (MC: 1.8.3) (Implementing API version 1.8.3-R0.1-SNAPSHOT)
-
View User Profile
-
Send Message
Posted Apr 18, 2015@EnderSandman
~Can you get me a pastebin of the error?~
Oh nevermind, I kind of see what you mean. I don't have a bungee setup to test with, but I suspect wherever the plugin is loaded it's not receiving the command preprocess events.
-
View User Profile
-
Send Message
Posted Apr 18, 2015This plugin is great and just what I was looking for. Thanks for creating it and keeping it up to date. I have one issue. I want to create an alias for a command that is for a bungeecord plugin that is on my bungeecord server and I get an unknown command error even though I can run the bungeecord command in-game on the same bukkit server.
-
View User Profile
-
Send Message
Posted Apr 17, 2015@Adnan2000
This is covered in the examples page.
-
View User Profile
-
Send Message
Posted Apr 17, 2015Is there a way you can put a delay when someone does it would reply Hello and wait a second before it does /warp
Never mind know how to.
-
View User Profile
-
Send Message
Posted Apr 12, 2015@Adnan2000
Check out the examples page for more info.
-
View User Profile
-
Send Message
Posted Apr 12, 2015@Ne0nx3r0
Hello, is there a way you can make the reply text have colours? I tried using the standard codes but it didn't seem to recognise them. E.G &6 and &5
-
View User Profile
-
Send Message
Posted Apr 9, 2015I use this plugin on my server for things like /spawn to warp the player to the lobby and /head to give a player skull. This plugin is great and a huge help, thanks heaps :)
-
View User Profile
-
Send Message
Posted Apr 8, 2015I figured out what was wrong with my command :D
http://gyazo.com/71f43ef05808428d9e2ddccc1125beb4
Turns out when I typed /give 1, it went into the console as /give Neoblade298 1, and then the console fed it back into BetterAlias, and since the !1 parameter was now my name, it fed my name into the command twice and now I'm rambling on. Anyway, great plugin and it works without a hitch. Thanks for the support.
Regards, Neo
-
View User Profile
-
Send Message
Posted Apr 8, 2015@Neoblade298
The number at the beginning is the number of parameters that alias should run for (i.e. 0=/ban, 1=/ban ne0nx3r0, 2=/ban ne0nx3r0 reason_here).
The !x parameter is the argument number. In your example, !name is referring to the player who sent the command, and !1 would be referring to the first parameter (/give <1> <2> <3>)
You might take a look at the examples page for more info:
http://dev.bukkit.org/bukkit-plugins/betteralias/pages/examples/
-
View User Profile
-
Send Message
Posted Apr 8, 2015Hi, I've been messing around with your plugin and it looks great. But can you clarify a bit how the config works?
First of all:
What does that 1: stand for? I noticed you used 0: for some of your commands and 1: for others. Is there a difference? Can you just start from whatever number?
Second of all:
I'm making a simple command change:
This works when I type /give 1 (gives me 64 stone), but when I type /give 1 2 it says Error: player not found. This can be fixed when I do:
However, now when I type /give 1 it says Error: unknown item name: Neoblade298. /give 1 2 now works properly (gives me 2 of stone). If it helps, I am using Essentials to give me these items.
I'm guessing I just don't quite understand exactly how the config works and it probably has something to do with the 2: I put. Could you write down how I would properly fix this so I can use it as an example? If it's hard to understand let me know, I'll re-explain with screenshots. Thanks in advance and again, wonderful plugin. I will probably be using this once I figure out how to configure it properly.
Regards, Neo
-
View User Profile
-
Send Message
Posted Apr 6, 2015@Adnan2000
You could accomplish this with a permission node, but I'll consider this for future versions.
-
View User Profile
-
Send Message
Posted Apr 6, 2015@Ne0nx3r0
Thanks for the quick reply, it worked. If only all plugin devs were like this...
-
View User Profile
-
Send Message
Posted Apr 5, 2015Could you add a function where you can have a alias to only work in one world ?
Thanks.
-
View User Profile
-
Send Message
Posted Apr 5, 2015@Eshonbel
Change the 0: to 1:, the number is the amount of parameters you want the alias to trigger for.
So you might do 0: /warps