mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-30 09:06:46 +01:00
Adding permission for the /mcstats command.
This commit is contained in:
parent
6d5cf2b139
commit
b8eb6186ed
@ -17,6 +17,10 @@ public class McstatsCommand implements CommandExecutor {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (CommandHelper.noCommandPermissions(sender, "mcmmo.commands.mcstats")) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
Player player = (Player) sender;
|
Player player = (Player) sender;
|
||||||
|
|
||||||
player.sendMessage(LocaleLoader.getString("Stats.Own.Stats"));
|
player.sendMessage(LocaleLoader.getString("Stats.Own.Stats"));
|
||||||
|
@ -697,19 +697,17 @@ permissions:
|
|||||||
mcmmo.commands.all:
|
mcmmo.commands.all:
|
||||||
description: Implies all mcmmo.commands permissions.
|
description: Implies all mcmmo.commands permissions.
|
||||||
children:
|
children:
|
||||||
mcmmo.commands.ability: true
|
|
||||||
mcmmo.commands.addlevels: true
|
mcmmo.commands.addlevels: true
|
||||||
mcmmo.commands.addlevels.others: true
|
mcmmo.commands.addlevels.others: true
|
||||||
mcmmo.commands.addxp: true
|
mcmmo.commands.addxp: true
|
||||||
mcmmo.commands.addxp.others: true
|
mcmmo.commands.addxp.others: true
|
||||||
mcmmo.commands.inspect: true
|
mcmmo.commands.defaults: true
|
||||||
mcmmo.commands.party.all: true
|
|
||||||
mcmmo.commands.ptp: true
|
|
||||||
mcmmo.commands.defaults:
|
mcmmo.commands.defaults:
|
||||||
description: Implies all default mcmmo.commands permissions.
|
description: Implies all default mcmmo.commands permissions.
|
||||||
children:
|
children:
|
||||||
mcmmo.commands.ability: true
|
mcmmo.commands.ability: true
|
||||||
mcmmo.commands.inspect: true
|
mcmmo.commands.inspect: true
|
||||||
|
mcmmo.commands.mcstats: true
|
||||||
mcmmo.commands.party.all: true
|
mcmmo.commands.party.all: true
|
||||||
mcmmo.commands.ptp: true
|
mcmmo.commands.ptp: true
|
||||||
mcmmo.commands.ability:
|
mcmmo.commands.ability:
|
||||||
|
Loading…
Reference in New Issue
Block a user