Tweak ess version

This commit is contained in:
KHobbits 2013-03-21 21:12:58 +00:00
parent b8e079ddcb
commit 44584b11c5
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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]]