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/
@saiismad823
Yes for the tempban you'd simply have to type this: /sa single tb tempban <args>
For the setsuffix you'd have to type this: /sa single setsuffix pex user <args:1> suffix <args:2>
Is it possible to have variables in your alias? For example:
If /tb is an alias of /tempban How do I allow for the <player> <time> and <reason> variables?
Another example is:
/setsuffix is an alias of /pex user <player> suffix <suffix>
Can it be done?
Just wanted to announce that I'm currently recoding it (yeah once again...) to eleminate that alias calling twice problem. This won't take too long since the current version is a good base ;)
@MegaPixelPerfect
You can either disable the permission for an alias or give them the permission SimpleAlias.alias.NAME
SimpleAlias works with the latest version.
Can you add colors to DisableOrigins messages?
Doenst work with 1.7 Testet with Craftbukkit #2982 and Spigot #1235 Nothing Works !!! Please Fix this
[09:15:08] [Server thread/ERROR]: Could not pass event PlayerCommandPreprocessEvent to SimpleAlias v1.5.0 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) [craftbukkit.jar:git-Spigot-1235] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [craftbukkit.jar:git-Spigot-1235] at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30) [craftbukkit.jar:git-Spigot-1235] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:482) [craftbukkit.jar:git-Spigot-1235] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:467) [craftbukkit.jar:git-Spigot-1235] at net.minecraft.server.v1_7_R1.PlayerConnection.handleCommand(PlayerConnection.java:948) [craftbukkit.jar:git-Spigot-1235] at net.minecraft.server.v1_7_R1.PlayerConnection.a(PlayerConnection.java:817) [craftbukkit.jar:git-Spigot-1235] at net.minecraft.server.v1_7_R1.PacketPlayInChat.a(PacketPlayInChat.java:28) [craftbukkit.jar:git-Spigot-1235] at net.minecraft.server.v1_7_R1.PacketPlayInChat.handle(PacketPlayInChat.java:65) [craftbukkit.jar:git-Spigot-1235] at net.minecraft.server.v1_7_R1.NetworkManager.a(NetworkManager.java:147) [craftbukkit.jar:git-Spigot-1235] at net.minecraft.server.v1_7_R1.ServerConnection.c(SourceFile:134) [craftbukkit.jar:git-Spigot-1235] at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:657) [craftbukkit.jar:git-Spigot-1235] at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:273) [craftbukkit.jar:git-Spigot-1235] at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:540) [craftbukkit.jar:git-Spigot-1235] at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:446) [craftbukkit.jar:git-Spigot-1235] at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit.jar:git-Spigot-1235] Caused by: java.lang.NullPointerException at java.lang.String.replace(String.java:2180) [?:1.7.0_45] at com.darkblade12.simplealias.alias.types.TextAlias.prepareText(TextAlias.java:39) [?:?] at com.darkblade12.simplealias.alias.types.TextAlias.execute(TextAlias.java:32) [?:?] at com.darkblade12.simplealias.alias.AliasHandler.onPlayerCommand(AliasHandler.java:127) [?:?] at sun.reflect.GeneratedMethodAccessor631.invoke(Unknown Source) [?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.7.0_45] at java.lang.reflect.Method.invoke(Method.java:606) [?:1.7.0_45] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) [craftbukkit.jar:git-Spigot-1235] ... 15 more
I can't find the permission for players to use any of the commands.. They don't have permission.
Hey, is there anyway to create an alias for a chat prefix like "!" when used for global chat with essentials?
@CapnDuckface
I'm aware of those bugs and currently trying to fix them, I've already had the add command for multiple command aliases and text aliases in my mind, so they will be included in the next version!
It looks like I'm WAY behind since I just switched to 1.5.0 from 1.4.2, but I thought that you should know the errors and incompatibilities that I'm encountering now that I've updated.
Unfortunately Characters such as '?' can no longer be used as commands, the lack of an 'add' feature to multiple command aliases severely limits our capabilities without having to go into the files to fix them and both lowercase and uppercase aliases must be set for commands to be recognized instead of the old way - commands like "/CheckAll" must be spelled C.h.e.c.k.A.l.l. or it won't register.
I have to admit, your plugin has made a HUGE difference for simplifying, protecting, hiding and replacing commands and although the GUI is more readable, it's not nearly worth the severe limitations.
I do hope that you can fix these problems as you go forward and I look forward to your future progress. Switching back to 1.4.2.
@DarkBladee12
Thank you very much and Merry Christmas.
@franklin42
I'll look into that and fix it if possible ;)
@elkidz
happens to me the same
I have made that alias : "/sa single mspawn warp mspawn" and this plugins isn't respecting the cooldown of the warp of Essentials. My players can do that commands and they are teleported instantly. :(
@xATon2x
Can you provide any errors from your latest.log file? If yes please make a ticket with the error code so we can help you!
It stopped working for me ever since spigot 1.7.2/1.7.4, any help? :/
@DarkBladee12
Oh great, I thought I had messed something up xD.
@Nickbbeezy
I actually found the bug that is causing this and I give my best to fix it ;)
@JackzMc
Great! Glad you've got it sorted :)
@xtechgamer735
I've done it with the new. I did /sa single di disguise that's it. I just want /disguise to be /di