diff options
-rw-r--r-- | Essentials/src/com/earth2me/essentials/Essentials.java | 3 | ||||
-rw-r--r-- | Essentials/src/plugin.yml | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/Essentials/src/com/earth2me/essentials/Essentials.java b/Essentials/src/com/earth2me/essentials/Essentials.java index 1b462d474..bbefda469 100644 --- a/Essentials/src/com/earth2me/essentials/Essentials.java +++ b/Essentials/src/com/earth2me/essentials/Essentials.java @@ -362,9 +362,10 @@ public class Essentials extends JavaPlugin implements IEssentials } //Print version even if admin command is not available - if (command.getName().equals("essentials")) + if (commandLabel.equalsIgnoreCase("essversion")) { sender.sendMessage("This server is running Essentials " + getDescription().getVersion()); + return true; } // Check for disabled commands diff --git a/Essentials/src/plugin.yml b/Essentials/src/plugin.yml index 29afbd11a..b5ed2d7fc 100644 --- a/Essentials/src/plugin.yml +++ b/Essentials/src/plugin.yml @@ -98,7 +98,7 @@ commands: essentials: description: Reloads essentials. usage: /<command> - aliases: [ess] + aliases: [eessentials, ess, eess, essversion] exp: description: Give, set or look at a players exp. usage: /<command> [show|set|give] [playername [amount]] |