mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-12-23 17:47:34 +01:00
Tweak ess version
This commit is contained in:
parent
b8e079ddcb
commit
44584b11c5
@ -362,9 +362,10 @@ public class Essentials extends JavaPlugin implements IEssentials
|
|||||||
}
|
}
|
||||||
|
|
||||||
//Print version even if admin command is not available
|
//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());
|
sender.sendMessage("This server is running Essentials " + getDescription().getVersion());
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check for disabled commands
|
// Check for disabled commands
|
||||||
|
@ -98,7 +98,7 @@ commands:
|
|||||||
essentials:
|
essentials:
|
||||||
description: Reloads essentials.
|
description: Reloads essentials.
|
||||||
usage: /<command>
|
usage: /<command>
|
||||||
aliases: [ess]
|
aliases: [eessentials, ess, eess, essversion]
|
||||||
exp:
|
exp:
|
||||||
description: Give, set or look at a players exp.
|
description: Give, set or look at a players exp.
|
||||||
usage: /<command> [show|set|give] [playername [amount]]
|
usage: /<command> [show|set|give] [playername [amount]]
|
||||||
|
Loading…
Reference in New Issue
Block a user