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/
@StarFreakOOI
Yes indeed, but you one argument doesn't mean "xyz" it can be "abc def ghi", so as many as you want ;)
Hey i can only make 1 argument :( /tipp = /mail send MyName Does it work too ?
@kyledag500
It depends on the "Permissions" value in the config for an alias, so your user only need the normal permission for that command if "Permissions" is set to "false". (if "Permissions" is set to "true": SimpleAlias.command.YOURALIAS)
People can't use the alias's without OP? What is the alias usage permission?
New version (1.3.5) is now available to download ;)
This plugin is really great but if you could put two or more commands into one alias that would be even better. like for the command it could be /aladd gamemode!1;vanish so maybe instead of having to add args maybe you could make the ! a space so there is no need for the command /argadd
-I would really appreciate this if you added that function. Thanks josh :)
@Nickbbeezy
There's no link yet, but I'll setup one today ;)
@DarkBladee12 Where's the link? o; For each alias would be really cool!
@Nickbbeezy
I'll add that and yes I take donations
EDIT: Do you mean a customizable message for each alias or one that will be used for every alias?
@Machinimatt
Yeah, that'll be in the next version. I would do it like you have to add "%player%" to the arguments, which will be replaced with the player's name ;)
omg this is genius.
Can you add functions to the plugin? For example if I wanted to shorten the /give command to /g I would still need to type /g [player] [amount] so a player() function would be useful to autofill the players name, that way I would only have to type /g [amount] and one of the Arguments would be player()
@DarkBladee12
Cool :D
Config option for custom DisableOrigin messages would be nice. Also, do you take donations?
New version with "DisableOrigin"-Function has been released! Click here
@bobberto7
This occurrs when you're having an older java version than the plugin is compiled with. I've used Java 7 for my plugin, so you just have to update your server/computer to the newest version ;)
i have a error
rg.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: com/DarkBlade12/SimpleAlias/SimpleAlias : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:184) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230) at org.bukkit.craftbukkit.v1_4_R1.CraftServer.loadPlugins(CraftServer.java:239) at org.bukkit.craftbukkit.v1_4_R1.CraftServer.<init>(CraftServer.java:217) at net.minecraft.server.v1_4_R1.PlayerList.<init>(PlayerList.java:52) at net.minecraft.server.v1_4_R1.DedicatedPlayerList.<init>(SourceFile:11) at net.minecraft.server.v1_4_R1.DedicatedServer.init(DedicatedServer.java:104) at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:399) at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849) aused by: java.lang.UnsupportedClassVersionError: com/DarkBlade12/SimpleAlias/SimpleAlias : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$000(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) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:173) ... 9 more
@DarkBladee12
Nice, hope to see it sometime in the future
@Nickbbeezy
Yes, I can add that ;)
Would it be possible to force players to use aliases instead of the real commands? For instance if I had "/goto" set as an alias for "/warp", when players tried to type "/warp" it'd give them a "command does not exist" error?
@JA27035
I think I'll add that in the next version^^