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/
I made an alias with a cooldown. Whenever the player attempts to run the command during its cooldown, the cooldown is broadcasted to the whole server. I have no idea why or where this is coming from. Thanks for any help.
Didn't checked the newest version, but can you add an argument of displaying owned world guard regions and the regions that he is a member (more useful for text aliases)?
It still takes some time until I'm going to upload the new version due to testing!
Useful tool! downloaded
okay :)
The new version is currently being tested and could be released this week!
OH i have found the bug : THIS PLUGIN DOESNT WORK WITH VAULT
:(
i hope you can fix this :) when the plugin works it is my favourite plugin :)
Just wanted to announce that I recently found some time to work on it again and I'm almost finished with it. So the new version may be released by next week if the testing results are good! The new version will allow more opportunities like alias names with space, so you can make sub aliases and much more so stay tuned!
@Geoneo97
Hmm seems like either the world the player executing the alias, the group or the balance gets null... Have you tried running this also on a CraftBukkit server? If not try that and tell me if get an error though. However I'm not able to give that much support to the current version since a new version is already in the works!
:( best plugin but it doesnt work since 1.7 for me ;( I dont have new plugins snce 1.6 i only update it and have delete the old SImplealias folder ... but it doesnt work ;(
i get the error :
[10:10:19] [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:320) [craftbukkit.jar:git-Spigot-1243] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [craftbukkit.jar:git-Spigot-1243] at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30) [craftbukkit.jar:git-Spigot-1243] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:482) [craftbukkit.jar:git-Spigot-1243] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:467) [craftbukkit.jar:git-Spigot-1243] at net.minecraft.server.v1_7_R1.PlayerConnection.handleCommand(PlayerConnection.java:948) [craftbukkit.jar:git-Spigot-1243] at net.minecraft.server.v1_7_R1.PlayerConnection.a(PlayerConnection.java:817) [craftbukkit.jar:git-Spigot-1243] at net.minecraft.server.v1_7_R1.PacketPlayInChat.a(PacketPlayInChat.java:28) [craftbukkit.jar:git-Spigot-1243] at net.minecraft.server.v1_7_R1.PacketPlayInChat.handle(PacketPlayInChat.java:65) [craftbukkit.jar:git-Spigot-1243] at net.minecraft.server.v1_7_R1.NetworkManager.a(NetworkManager.java:147) [craftbukkit.jar:git-Spigot-1243] at net.minecraft.server.v1_7_R1.ServerConnection.c(SourceFile:134) [craftbukkit.jar:git-Spigot-1243] at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:678) [craftbukkit.jar:git-Spigot-1243] at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:273) [craftbukkit.jar:git-Spigot-1243] at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:540) [craftbukkit.jar:git-Spigot-1243] at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:446) [craftbukkit.jar:git-Spigot-1243] at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit.jar:git-Spigot-1243] Caused by: java.lang.NullPointerException at java.lang.String.replace(String.java:2180) [?:1.7.0_51] at com.darkblade12.simplealias.alias.CommandAlias.prepareCommand(CommandAlias.java:41) [?:?] at com.darkblade12.simplealias.alias.types.SingleAlias.execute(SingleAlias.java:36) [?:?] at com.darkblade12.simplealias.alias.AliasHandler.onPlayerCommand(AliasHandler.java:127) [?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [?:1.7.0_51] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [?:1.7.0_51] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.7.0_51] at java.lang.reflect.Method.invoke(Method.java:606) [?:1.7.0_51] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:318) [craftbukkit.jar:git-Spigot-1243] ... 15 more
@SkymuraiPvP
You say its not possible but I managed to do it while ago to bypass a bug i had :p I changed worldguard flags then reload certain plugin and then rechanged the worldguard flags with one command :p
@VideoGameMasta1
That's not possible in the current version but will be added in the next big update ;)
@VideoGameMasta1
/sa multiple <name> <command1>#<command2>#<command3>...etc
Please change your plugin that you can change the text messages (for example /sa text ... ...) in the config! I can only create a text message which have only the length of a message that you can send in server chat because i canĀ“t change/make the text in the config! Please change that.
How could this execute a command based off the inputted player? For example, I want /visit [IGNofWhoYouWantToVisit] to execute the command /visit [IGNofWhoYouWantToVisit]
How can i make one alias have two commands? For example. /spawn being an alias for /mv spawn and /goto world how do i make to where /spawn does /goto world in a certain and it /mv spawn in all other worlds?
@Geoneo97
Please create a ticket.
@newfization
Nope there aren't because the new version can't be used currently. You'll have to use version 1.5.0, it still works for 1.7 since it doesn't use any version dependant code ;)
Are there any dev builds for 1.7+ yet? If so where can i get them? Thanks by the way, and keep up the great work, I really like this plugin!