Merge pull request #217 from necrodoom/patch-7

add "w" alias
This commit is contained in:
KHobbits 2012-12-16 11:07:10 -08:00
commit 97204c0e8c
2 changed files with 4 additions and 4 deletions

View File

@ -335,7 +335,7 @@ public class EssentialsPlayerListener implements Listener
}); });
} }
} }
private final static List<String> 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<String> 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) @EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true)
public void onPlayerCommandPreprocess(final PlayerCommandPreprocessEvent event) public void onPlayerCommandPreprocess(final PlayerCommandPreprocessEvent event)

View File

@ -233,7 +233,7 @@ commands:
msg: msg:
description: Sends a private message to the specified player. description: Sends a private message to the specified player.
usage: /<command> <to> <message> usage: /<command> <to> <message>
aliases: [m,t,emsg,tell,etell,whisper,ewhisper] aliases: [w,m,t,emsg,tell,etell,whisper,ewhisper]
mute: mute:
description: Mutes or unmutes a player. description: Mutes or unmutes a player.
usage: /<command> <player> [datediff] usage: /<command> <player> [datediff]