mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 15:16:45 +01:00
<GJ> MOAR PERMISSIONS!
This commit is contained in:
parent
efc9a10fdf
commit
c25ddd0dbc
@ -196,6 +196,14 @@ public class Permissions {
|
|||||||
return player.hasPermission("mcmmo.ability.repair.toolrepair");
|
return player.hasPermission("mcmmo.ability.repair.toolrepair");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean otherMaterialRepair(Player player) {
|
||||||
|
return player.hasPermission("mcmmo.ability.repair.othermaterialrepair");
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean otherRepair(Player player) {
|
||||||
|
return player.hasPermission("mcmmo.ability.repair.otherrepair");
|
||||||
|
}
|
||||||
|
|
||||||
public boolean stringRepair(Player player) {
|
public boolean stringRepair(Player player) {
|
||||||
return player.hasPermission("mcmmo.ability.repair.stringrepair");
|
return player.hasPermission("mcmmo.ability.repair.stringrepair");
|
||||||
}
|
}
|
||||||
|
@ -264,6 +264,8 @@ permissions:
|
|||||||
mcmmo.ability.repair.armorrepair: true
|
mcmmo.ability.repair.armorrepair: true
|
||||||
mcmmo.ability.repair.toolrepair: true
|
mcmmo.ability.repair.toolrepair: true
|
||||||
mcmmo.ability.repair.stringrepair: true
|
mcmmo.ability.repair.stringrepair: true
|
||||||
|
mcmmo.ability.repair.othermaterialrepair: true
|
||||||
|
mcmmo.ability.repair.otherrepair: true
|
||||||
mcmmo.ability.repair.repairbonus:
|
mcmmo.ability.repair.repairbonus:
|
||||||
description: Allows access to Super Repair bonus
|
description: Allows access to Super Repair bonus
|
||||||
mcmmo.ability.repair.repairmastry:
|
mcmmo.ability.repair.repairmastry:
|
||||||
@ -288,6 +290,10 @@ permissions:
|
|||||||
description: Allows ability to repair tools
|
description: Allows ability to repair tools
|
||||||
mcmmo.ability.repair.stringrepair:
|
mcmmo.ability.repair.stringrepair:
|
||||||
description: Allows ability to repair Bow and Fishing rod
|
description: Allows ability to repair Bow and Fishing rod
|
||||||
|
mcmmo.ability.repair.othermaterialrepair:
|
||||||
|
description: Allows ability to repair items of material type OTHER
|
||||||
|
mcmmo.ability.repair.otherrepair:
|
||||||
|
description: Allows ability to repair items of type OTHER
|
||||||
mcmmo.ability.unarmed.*:
|
mcmmo.ability.unarmed.*:
|
||||||
description: Allows access to all Unarmed abilities
|
description: Allows access to all Unarmed abilities
|
||||||
children:
|
children:
|
||||||
|
Loading…
Reference in New Issue
Block a user