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/

-
View User Profile
-
Send Message
Posted Jul 20, 2013Hi DarkBladee12,
First, I love SimpleAlias; it's just working as I want!
I realised a french documentation for SimpleAlias, it could be usefull for your french users.
http:nefald.fr/wiki/SimpleAlias
Thanks for your work! :)
-
View User Profile
-
Send Message
Posted Jul 18, 2013@zedadiaswick
That's actually a good idea, I had this idea too, but was a bit too lazy to add this due to time issues! I'm going to implement that in the next version!
-
View User Profile
-
Send Message
Posted Jul 15, 2013Would it be possible to separate out the %args%? I'd like to create a single command for when I ban a player, (which is currently 3 commands to ban, log and rollback). The first arg would be the player name, which I would need to give to each command. The rest would be details for the log. So: "/grief zedwick set fire to house at 0,0,0" = "/ban zedwick grief ; /report ban zedwick set fire to house at 0,0,0 ; /pr rb p:zedwick r:global". I'd suggest allowing %arg1% to specify a specific arg given. It would be nice to have %coords% available, too. So in the above it would always log the current coordinates in the log.
-
View User Profile
-
Send Message
Posted Jul 15, 2013@jeffreykcorporation
You obviously want to create an alias for multiple commands, but you didn't set it up correctly. Here's how you do it correctly: "
/sa create testmode" -> "/sa add testmode | manpromote %player% tester" -> "/sa add testmode | deop %player%"-
View User Profile
-
Send Message
Posted Jul 14, 2013@DarkBladee12
Ah, brilliant. My understanding of the permissions option was that if set to false, it allowed the player to perform the alias regardless of if they had permission to the command it was aliasing. I assume it does not do this at all? (besides when sending as console) (this is fine by me, I have no reason to need this)
Thanks very much :)
-
View User Profile
-
Send Message
Posted Jul 14, 2013Any way of getting tab completion to work with aliases? It doesn't work for some reason.
-
View User Profile
-
Send Message
Posted Jul 14, 2013i get this error: review your arguments count: use /manpromote player group. this is my alias: /sa create testmode | manpromote %player% tester ; deop %player%
help me
-
View User Profile
-
Send Message
Posted Jul 14, 2013@zedadiaswick
Well you can already do that with the permissions if you type "/sa set ALIAS -p true", which actives the permission "SimpleAlias.alias.ALIAS" for that alias. There's already the dynamic argument "%player%" which will be replaced with the players' name!
-
View User Profile
-
Send Message
Posted Jul 13, 2013Would it be possible to only allow an alias be used by a player if they had permissions set for that alias? For example, the alias "/cam" could be set to activate a series of commands, including "permissions player addgroup <playername> cam" via the console. I don't want them to need permission to the /permissions command, but I only want a few players to have permission to run /cam.
Another request which I don't think is currently possible, as above I would like to be able to use <playername> in a command, where <playername> is the player who entered the alias.
Looks like a super simple and very useful plugin, if both of the above are possible it will be perfect! :D
-
View User Profile
-
Send Message
Posted Jul 12, 2013@DarkBladee12
I'm not really sure what to change. Here's my start file:
-
View User Profile
-
Send Message
Posted Jul 12, 2013@1Achmed1
Make sure that your server start file starts it with java 7 and not java 6.
-
View User Profile
-
Send Message
Posted Jul 12, 2013@I9hdkill
That's because Bungee detects commands in another way :/
-
View User Profile
-
Send Message
Posted Jul 9, 2013This doesnt work with Bungee Commands such /server xxx
-
View User Profile
-
Send Message
Posted Jul 9, 2013@DarkBladee12
I installed it and it still doesn't work. :/
-
View User Profile
-
Send Message
Posted Jul 9, 2013@1Achmed1
Install Java 7 and all will be fine ;)
-
View User Profile
-
Send Message
Posted Jul 8, 2013I just installed the plugin and got this error:
21:50:29 [SEVERE] Could not load 'plugins/SimpleAlias_1.4.2.jar' in folder 'plugins' org.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_6_R1.CraftServer.loadPlugins(CraftServer.java:239) at org.bukkit.craftbukkit.v1_6_R1.CraftServer.reload(CraftServer.java:603) at org.bukkit.Bukkit.reload(Bukkit.java:275) at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:23) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:189) at org.bukkit.craftbukkit.v1_6_R1.CraftServer.dispatchCommand(CraftServer.java:523) at org.bukkit.craftbukkit.v1_6_R1.CraftServer.dispatchServerCommand(CraftServer.java:512) at net.minecraft.server.v1_6_R1.DedicatedServer.ar(DedicatedServer.java:262) at net.minecraft.server.v1_6_R1.DedicatedServer.t(DedicatedServer.java:227) at net.minecraft.server.v1_6_R1.MinecraftServer.s(MinecraftServer.java:486) at net.minecraft.server.v1_6_R1.MinecraftServer.run(MinecraftServer.java:419) at net.minecraft.server.v1_6_R1.ThreadServerApplication.run(SourceFile:582) Caused 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(ClassLoader.java:631) at java.lang.ClassLoader.defineClass(ClassLoader.java:615) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) 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(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:249) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:173) ... 14 more
-
View User Profile
-
Send Message
Posted Jul 6, 2013@MGbeenieboy
Yeah, you have to delete your old config file and setup the aliases again! Sorry :x
-
View User Profile
-
Send Message
Posted Jul 6, 2013I used v1.3.6 and now on my 1.6.1 v1.4.2 doesn't work and all my old aliases don't work 2013-07-06 13:13:14 [SEVERE] Error occurred while enabling SimpleAlias v1.4.2 (Is it up to date?) java.lang.NullPointerException at com.DarkBlade12.SimpleAlias.Manager.AliasManager.loadAliases(AliasManager.java:31) at com.DarkBlade12.SimpleAlias.Manager.AliasManager.<init>(AliasManager.java:16) at com.DarkBlade12.SimpleAlias.SimpleAlias.onEnable(SimpleAlias.java:29) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:382) at org.bukkit.craftbukkit.v1_6_R1.CraftServer.loadPlugin(CraftServer.java:284) at org.bukkit.craftbukkit.v1_6_R1.CraftServer.enablePlugins(CraftServer.java:266) at net.minecraft.server.v1_6_R1.MinecraftServer.l(MinecraftServer.java:319) at net.minecraft.server.v1_6_R1.MinecraftServer.f(MinecraftServer.java:296) at net.minecraft.server.v1_6_R1.MinecraftServer.a(MinecraftServer.java:256) at net.minecraft.server.v1_6_R1.DedicatedServer.init(DedicatedServer.java:160) at net.minecraft.server.v1_6_R1.MinecraftServer.run(MinecraftServer.java:397) at net.minecraft.server.v1_6_R1.ThreadServerApplication.run(SourceFile:582)
-
View User Profile
-
Send Message
Posted Jun 25, 2013@Xybane
That's already on the TODO-List in my head :D
-
View User Profile
-
Send Message
Posted Jun 25, 2013@DarkBladee12
Ah! Thank you so much :P
I feel like such an idiot now xD.