Updating the permission for the /mcremove command.

This commit is contained in:
Glitchfinder 2013-02-03 13:53:35 -08:00
parent dee384c8b9
commit 15f212c384
2 changed files with 6 additions and 1 deletions

View File

@ -24,7 +24,7 @@ public class McremoveCommand implements CommandExecutor {
String usage = LocaleLoader.getString("Commands.Usage.1", "mcremove", "<" + LocaleLoader.getString("Commands.Usage.Player") + ">"); String usage = LocaleLoader.getString("Commands.Usage.1", "mcremove", "<" + LocaleLoader.getString("Commands.Usage.Player") + ">");
String success; String success;
if (CommandHelper.noCommandPermissions(sender, "mcmmo.tools.mcremove")) { if (CommandHelper.noCommandPermissions(sender, "mcmmo.commands.mcremove")) {
return true; return true;
} }

View File

@ -356,6 +356,8 @@ permissions:
mcmmo.commands.mcgod: true mcmmo.commands.mcgod: true
mcmmo.tools.mcremove: mcmmo.tools.mcremove:
decription: Allows access to mcremove and mcpurge command decription: Allows access to mcremove and mcpurge command
children:
mcmmo.commands.mcremove: true
mcmmo.ability.*: mcmmo.ability.*:
description: Implies all mcmmo.ability permissions. description: Implies all mcmmo.ability permissions.
children: children:
@ -721,6 +723,7 @@ permissions:
mcmmo.commands.mcrank.others.all: true mcmmo.commands.mcrank.others.all: true
mcmmo.commands.mcrefresh: true mcmmo.commands.mcrefresh: true
mcmmo.commands.mcrefresh.others: true mcmmo.commands.mcrefresh.others: true
mcmmo.commands.mcremove: true
mcmmo.commands.mmoedit: true mcmmo.commands.mmoedit: true
mcmmo.commands.mmoedit.others: true mcmmo.commands.mmoedit.others: true
mcmmo.commands.mmoupdate: true mcmmo.commands.mmoupdate: true
@ -799,6 +802,8 @@ permissions:
description: Allows access to the mcrefresh command description: Allows access to the mcrefresh command
mcmmo.commands.mcrefresh.others: mcmmo.commands.mcrefresh.others:
description: Allows access to the mcrefresh command for other players description: Allows access to the mcrefresh command for other players
mcmmo.commands.mcremove:
description: Allows access to the mcremove command
mcmmo.commands.mcstats: mcmmo.commands.mcstats:
description: Allows access to the mcstats command description: Allows access to the mcstats command
mcmmo.commands.mctop: mcmmo.commands.mctop: