SimpleAlias
Description
SimpleAlias is a little plugin that makes you able to create aliases which execute commands or send messages. These actions can be ordered, based on certain conditions and highly customised. It also allows you to disable commands from other plugins, so you can for example enforce the usage of an alias. Every alias has its own config file where you can customise the settings!
Features
- Creation of an infinite amount of aliases
- Aliases have several actions which are highly customisable
- Aliases have many settings for checks like cost, permission, cooldown, delay etc.
- Aliases act like normal commands so they support tab completion and /? <alias> works
- The usage of aliases can be logged
- Supports dynamic variables like <sender_name>, <world_name>, <group_name>, <faction_name> etc.
- Respects command blockage from every plugin
- Aliases can be fully edited via ingame commands
- Commands can be blocked with a message
All listed features above are referring to version 1.6.1+ of SimpleAlias!
Upcoming Features
- Customisable tab completion for alias arguments
- More action conditions
Wiki
Click here to get to the wiki page where everything of SimpleAlias is explained. There are also installation tutorials and examples for setting up aliases!
Contribute
If you find a bug, encounter an error or have new ideas or suggestions for this plugin feel free to create a ticket so we can react to things faster than posting it in the comments! However you can post feedback in the comments, but please use the ticket system for the things I mentioned.
Source
The source can be found right here!
Metrics
This plugin uses Metrics by BtoBastian to collect various data from servers.
If you don't want Metrics to collect your data you can disable it easily by setting enabled to false in the config file at plugins/bStats/
It would be nice to have a delay/wait option, like Nentify described it in post #87.
Thanks for this useful plugin (:
@PassWordE
Just download version 1.4.2 and all will be fine :P
@SyncCraft
Well just use "%args%". Example:
"
/sa create welcome
" -> "/sa add welcome | groupadd %args% Member
" -> "/sa add welcome | money give %args% 1000
" -> "/welcome SyncCraft
". I hope this helps you out ;)@DarkBladee12
Ah I updated and it's working, thanks.
I was also wondering if it's possible to have multiple commands, which both have arguments under one alias. For example, I want to add a player to a group, and give them in game money, and claim blocks. I assume the only way this would be possible, is if you could create an option like %player%, but where you can enter the name of any other player.
12:56:46 [WARNING] Unexpected exception while parsing console command "sa create temp" org.bukkit.command.CommandException: Unhandled exception executing command 'sa' in plugin SimpleAlias v1.4.1 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:18 9) at org.bukkit.craftbukkit.v1_5_R3.CraftServer.dispatchCommand(CraftServe r.java:525) at org.bukkit.craftbukkit.v1_5_R3.CraftServer.dispatchServerCommand(Craf tServer.java:514) at net.minecraft.server.v1_5_R3.DedicatedServer.an(DedicatedServer.java: 269) at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:2 34) at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:4 72) at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java :404) at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:5 73) Caused by: java.lang.NoClassDefFoundError: com/sk89q/worldguard/protection/flags /Flag at com.DarkBlade12.SimpleAlias.Commands.SimpleAliasCE.onCommand(SimpleAl iasCE.java:41) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ... 8 more Caused by: java.lang.ClassNotFoundException: com.sk89q.worldguard.protection.fla gs.Flag at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader .java:80) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader. java:53) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 10 more
Can you possibly fix it so aliases don't completely bypass cooldown & wamup plugins?
@SyncCraft
Yeah, that's a known issue of 1.4.1, try the latest version 1.4.2 which fixes this bug ;)
Hi,
I just installed this plugin after having problems with CommandHelper, but it doesn't seem to work. When I try to create a test alias (/sa create test | help), I get an Internal Error:
http://pastie.org/8070219
Any ideas why?
@Gamerboy59
Uploaded a version which fixes this bug!
@ynotinc
Thanks for your feedback ;)
This plugin really kicks ass. I was using another alias program and it was doing all right, but I couldn't get rid of some errors, so I decided to try SimpleAlias. Wow. No errors, it is so easy to use that I am in amazement. It is so user friendly, I can't say enough. Thank you DarkBladee12.
I get this error: http://pastebin.com/wUBaENCr
Could you add a delay option? For example:
(start, /sr (spleef reset))
/say Spleef reset in 30 seconds
<delay 20 sec>
/say Spleef reset in 10 seconds
<delay 10 sec>
/say Speed resetting
/rg select <reg>
replace 0 snow
(end)
@josh_Cropper
Thanks for reporting this bug, forgot to replace %player% with the players name when using the alias with no arguments! Fixed version will be uploaded quickly ;)
EDIT: New version has been uploaded! :P
Hi, I tried using the plugin to determine a group of suffix that player could choose from, I.E. /builder gives the suffix [builder] etc. So I did the command /sa create builder | pex user %player% suffix [builder] But it simply gives the "%player%" user the suffix, and not the person running the command, am I doing something wrong? Or has the %player% argument not been implemented in 1.4?
THE BEST UPDATE! i love this! i dont need to use other plugins for text now! and multiple commands!
I'm done with recoding the plugin, which will be uploaded soon! Now what I want to ask is which plugins that block commands should SimpleAlias respect?
@levisn1
Thank you :)
What is causing this issue?
http://pastebin.com/FFqwgg13
@Mortiloche
for the accents try to use double '' :) for example for รจ do e''
Tried CommandHelper devs on their IRC were rude and unhelpful. Saw your plugin. Simple, easy to use, no errors on my server. Will be looking forward to future releases.