summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandclearinventory.java9
-rw-r--r--Essentials/src/plugin.yml1
2 files changed, 10 insertions, 0 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandclearinventory.java b/Essentials/src/com/earth2me/essentials/commands/Commandclearinventory.java
index 3bfaebff2..a277dba11 100644
--- a/Essentials/src/com/earth2me/essentials/commands/Commandclearinventory.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandclearinventory.java
@@ -17,6 +17,15 @@ public class Commandclearinventory extends EssentialsCommand
}
@Override
+ public String[] getTriggers()
+ {
+ return new String[]
+ {
+ getName(), "ci"
+ };
+ }
+
+ @Override
public void run(Server server, Essentials parent, User user, String commandLabel, String[] args) throws Exception
{
if (args.length > 0 && user.isAuthorized("essentials.clearinventory.others"))
diff --git a/Essentials/src/plugin.yml b/Essentials/src/plugin.yml
index be75b17df..bd882eb58 100644
--- a/Essentials/src/plugin.yml
+++ b/Essentials/src/plugin.yml
@@ -41,6 +41,7 @@ commands:
clearinventory:
description: Clear all items in your inventory.
usage: /<command>
+ aliases: [ci]
compass:
description: Describes your current bearing.
usage: /<command>