Added permission packs to plugin.yml

This commit is contained in:
boy0001 2015-06-25 10:01:08 +10:00
parent 3fc262d1b3
commit 0e2ceda949
2 changed files with 105 additions and 2 deletions

View File

@ -97,6 +97,7 @@ public class FlagCmd extends SubCommand {
MainUtil.sendMessage(player, C.FLAG_TYPE, af.value.getClass().getSimpleName());
// Flag type description
MainUtil.sendMessage(player, C.FLAG_DESC, af.getValueDesc());
return true;
}
case "set": {
if (!Permissions.hasPermission(player, "plots.set.flag")) {

View File

@ -16,8 +16,110 @@ commands:
permission-message: "You are lacking the permission node 'plots.use'"
permissions:
plots.use:
default: op
default: true
plots.admin:
children:
plots.*: true
default: op
plots.permpack.basicflags:
default: op
children:
plots.set.flag: true
plots.flag: true
plots.set.flag.titles: true
plots.set.flag.greeting: true
plots.set.flag.farewell: true
plots.set.flag.notify-enter: true
plots.set.flag.notify-leave: true
plots.set.flag.feed: true
plots.set.flag.heal: true
plots.set.flag.invincible: true
plots.set.flag.instabreak: true
plots.set.flag.fly: true
plots.set.flag.gamemode: true
plots.set.flag.time: true
plots.set.flag.weather: true
plots.set.flag.music: true
plots.set.flag.disable-physics: true
plots.set.flag.pve: true
plots.set.flag.pvp: true
plots.set.flag.explosion: true
plots.set.flag.hostile-interact: true
plots.set.flag.hostile-attack: true
plots.set.flag.animal-interact: true
plots.set.flag.animal-attack: true
plots.set.flag.tamed-interact: true
plots.set.flag.tamed-attack: true
plots.set.flag.misc-interact: true
plots.set.flag.hanging-place: true
plots.set.flag.hanging-break: true
plots.set.flag.vehicle-use: true
plots.set.flag.vehicle-place: true
plots.set.flag.vehicle-break: true
plots.set.flag.place: true
plots.set.flag.break: true
plots.set.flag.use: true
plots.set.flag.forcefield: true
plots.set.flag.price: true
plots.set.flag.no-worldedit: true
plots.permpack.basicinbox:
default: op
children:
comments.notifications.enabled : true
plots.inbox.read.public: true
plots.inbox.modify.public: true
plots.inbox.modify.public: true
plots.inbox.write.public: true
plots.inbox.read.public: true
plots.inbox.read.report: true
plots.inbox.write.report: true
plots.inbox.read.report: true
plots.inbox.read.owner: true
plots.inbox.modify.owner: true
plots.inbox.write.owner: true
plots.inbox.read.owner: true
plots.comment: true
plots.inbox: true
plots.permpack.basic:
default: op
children:
plots.use: true
plots.info: true
plots.claim: true
plots.auto: true
plots.home: true
plots.clear: true
plots.delete: true
plots.list: true
plots.list.mine: true
plots.list.shared: true
plots.list.world: true
plots.list.all: true
plots.list.forsale: true
plots.list.unowned: true
plots.list.unknown: true
plots.set: true
plots.visit: true
plots.visit.owned: true
plots.visit.shared: true
plots.set.flag: true
plots.flag: true
plots.buy: true
plots.chat: true
plots.confirm: true
plots.toggle: true
plots.toggle.titles: true
plots.set.biome: true
plots.set.home: true
plots.merge: true
plots.unlink: true
plots.denied: true
plots.add: true
plots.trust: true
plots.deny: true
plots.remove: true
plots.untrust: true
plots.undeny: true
plots.kick: true
plots.worldedit.bypass:
default: false
default: false