diff --git a/src/mineverse/Aust1n46/chat/MineverseChat.java b/src/mineverse/Aust1n46/chat/MineverseChat.java index c9c0b99..df114ed 100644 --- a/src/mineverse/Aust1n46/chat/MineverseChat.java +++ b/src/mineverse/Aust1n46/chat/MineverseChat.java @@ -268,6 +268,7 @@ public class MineverseChat extends JavaPlugin implements PluginMessageListener { commands.put("rangedspy", new RangedSpy("rangedspy")); commands.put("removemessage", new Removemessage("removemessage")); commands.put("reply", new Reply("reply")); + commands.put("r", new Reply("r")); commands.put("setchannel", new Setchannel("setchannel")); commands.put("setchannelall", new Setchannelall("setchannelall")); commands.put("spy", new Spy("spy")); @@ -281,7 +282,11 @@ public class MineverseChat extends JavaPlugin implements PluginMessageListener { this.getCommand(command).setExecutor(commandExecutor); } - this.getCommand("message").setExecutor(new MessageCommandExecutor()); + MessageCommandExecutor messageCommandExecutor = new MessageCommandExecutor(); + this.getCommand("message").setExecutor(messageCommandExecutor); + this.getCommand("msg").setExecutor(messageCommandExecutor); + this.getCommand("tell").setExecutor(messageCommandExecutor); + this.getCommand("whisper").setExecutor(messageCommandExecutor); this.getCommand("ignore").setExecutor(new IgnoreCommandExecutor()); channelListener = new Channel(); diff --git a/src/plugin.yml b/src/plugin.yml index fcb85fc..3e5ec5b 100644 --- a/src/plugin.yml +++ b/src/plugin.yml @@ -17,10 +17,25 @@ commands: usage: /unmute [playername] [channel] aliases: [ump,vunmute] description: Unmutes player in a channel so they can talk again. + permission-message: You don't have + msg: + usage: /msg [playername] [msg] + aliases: [vmsg] + description: Send a message to a player + permission-message: You don't have + tell: + usage: /tell [playername] [msg] + aliases: [vtell] + description: Send a message to a player + permission-message: You don't have + whisper: + usage: /whisper [playername] [msg] + aliases: [vwhisper,w] + description: Send a message to a player permission-message: You don't have message: usage: /message [playername] [msg] - aliases: [vmessage,msg,pm,tell,vtell,whisper,w,vwhisper] + aliases: [vmessage,pm] description: Send a message to a player permission-message: You don't have ignore: @@ -105,8 +120,13 @@ commands: permission-message: You don't have reply: usage: /reply [msg] - aliases: [r,vreply] + aliases: [vreply] description: Reply to a message + permission-message: You don't have + r: + usage: /r [msg] + aliases: [] + description: Reply to a message permission-message: You don't have spy: usage: /spy