mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-23 05:36:46 +01:00
Adding a permission for the /mcc command.
This commit is contained in:
parent
07df5edc86
commit
6d486401b5
@ -17,6 +17,10 @@ public class MccCommand implements CommandExecutor {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!Permissions.hasPermission(sender, "mcmmo.commands.mcc")) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
Player player = (Player) sender;
|
Player player = (Player) sender;
|
||||||
|
|
||||||
player.sendMessage(LocaleLoader.getString("Commands.mcc.Header"));
|
player.sendMessage(LocaleLoader.getString("Commands.mcc.Header"));
|
||||||
|
@ -728,6 +728,7 @@ permissions:
|
|||||||
mcmmo.commands.herbalism: true
|
mcmmo.commands.herbalism: true
|
||||||
mcmmo.commands.inspect: true
|
mcmmo.commands.inspect: true
|
||||||
mcmmo.commands.mcability: true
|
mcmmo.commands.mcability: true
|
||||||
|
mcmmo.commands.mcc: true
|
||||||
mcmmo.commands.mchud: true
|
mcmmo.commands.mchud: true
|
||||||
mcmmo.commands.mcmmo: true
|
mcmmo.commands.mcmmo: true
|
||||||
mcmmo.commands.mcrank: true
|
mcmmo.commands.mcrank: true
|
||||||
@ -790,6 +791,8 @@ permissions:
|
|||||||
description: Allows access to the mcability command
|
description: Allows access to the mcability command
|
||||||
mcmmo.commands.mcability.others:
|
mcmmo.commands.mcability.others:
|
||||||
description: Allows access to the mcability command for other players
|
description: Allows access to the mcability command for other players
|
||||||
|
mcmmo.commands.mcc:
|
||||||
|
description: Allows access to the mcc command
|
||||||
mcmmo.commands.mcgod:
|
mcmmo.commands.mcgod:
|
||||||
description: Allows access to the mcgod command
|
description: Allows access to the mcgod command
|
||||||
mcmmo.commands.mcgod.others:
|
mcmmo.commands.mcgod.others:
|
||||||
|
Loading…
Reference in New Issue
Block a user