From dfd6fc78f066f06226f9d129aa175204d8ca4a42 Mon Sep 17 00:00:00 2001 From: Necrodoom Date: Sun, 16 Dec 2012 18:03:04 +0200 Subject: [PATCH 1/2] add "w" alias --- .../src/com/earth2me/essentials/EssentialsPlayerListener.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java b/Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java index 56098832e..2b0704779 100644 --- a/Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java +++ b/Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java @@ -335,7 +335,7 @@ public class EssentialsPlayerListener implements Listener }); } } - private final static List COMMANDS = Arrays.asList("msg", "r", "mail", "m", "t", "whisper", "emsg", "tell", "er", "reply", "ereply", "email", "action", "describe", "eme", "eaction", "edescribe", "etell", "ewhisper", "pm"); + private final static List COMMANDS = Arrays.asList("msg", "w", "r", "mail", "m", "t", "whisper", "emsg", "tell", "er", "reply", "ereply", "email", "action", "describe", "eme", "eaction", "edescribe", "etell", "ewhisper", "pm"); @EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true) public void onPlayerCommandPreprocess(final PlayerCommandPreprocessEvent event) @@ -561,4 +561,4 @@ public class EssentialsPlayerListener implements Listener final User user = ess.getUser(event.getPlayer()); user.updateActivity(true); } -} \ No newline at end of file +} From 46645cb39f649def03b2d63cfa2aa08b90cf8da4 Mon Sep 17 00:00:00 2001 From: Necrodoom Date: Sun, 16 Dec 2012 18:05:07 +0200 Subject: [PATCH 2/2] Update Essentials/src/plugin.yml --- Essentials/src/plugin.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Essentials/src/plugin.yml b/Essentials/src/plugin.yml index 95c7e943a..ab9b2438e 100644 --- a/Essentials/src/plugin.yml +++ b/Essentials/src/plugin.yml @@ -233,7 +233,7 @@ commands: msg: description: Sends a private message to the specified player. usage: / - aliases: [m,t,emsg,tell,etell,whisper,ewhisper] + aliases: [w,m,t,emsg,tell,etell,whisper,ewhisper] mute: description: Mutes or unmutes a player. usage: / [datediff] @@ -454,4 +454,4 @@ commands: permissions: essentials.*: default: op - description: Give players with op everything by default \ No newline at end of file + description: Give players with op everything by default