Merge pull request #263 from kukelekuuk00/patch-1

Add some command aliases to RegionMemberCommands
This commit is contained in:
Albert Pham 2014-07-06 15:55:43 -07:00
commit b0ed119585

View File

@ -45,7 +45,7 @@ public RegionMemberCommands(WorldGuardPlugin plugin) {
this.plugin = plugin;
}
@Command(aliases = {"addmember", "addmember"},
@Command(aliases = {"addmember", "addmember", "addmem", "am"},
usage = "<id> <members...>",
flags = "w:",
desc = "Add a member to a region",
@ -102,7 +102,7 @@ public void addMember(CommandContext args, CommandSender sender) throws CommandE
}
}
@Command(aliases = {"addowner", "addowner"},
@Command(aliases = {"addowner", "addowner", "ao"},
usage = "<id> <owners...>",
flags = "w:",
desc = "Add an owner to a region",
@ -172,7 +172,7 @@ public void addOwner(CommandContext args, CommandSender sender) throws CommandEx
}
}
@Command(aliases = {"removemember", "remmember", "removemem", "remmem"},
@Command(aliases = {"removemember", "remmember", "removemem", "remmem", "rm"},
usage = "<id> <owners...>",
flags = "aw:",
desc = "Remove an owner to a region",
@ -236,7 +236,7 @@ public void removeMember(CommandContext args, CommandSender sender) throws Comma
}
}
@Command(aliases = {"removeowner", "remowner"},
@Command(aliases = {"removeowner", "remowner", "ro"},
usage = "<id> <owners...>",
flags = "aw:",
desc = "Remove an owner to a region",