name: ProLamp
main: sk.cooder.prolamp.ProLampPlugin
version: 0.12
website: https://play.cooder.sk/spigot/prolamp
description: ProLamp is a plugin that opens up a lot of new possibilities with Redstone lamps, like photocells, wireless or street lamps.
author: CooderSK
api-version: 1.16
commands:
  lamp:
    description: ProLamp menu
    use: /lamp
    aliases: [ prolamp, lamppro, plamp, lamps ]
    permission: prolamp.command.lamp
permissions:
  ### - All raw permissions - ###
  # Default perms
  prolamp.command.lamp: { default: true }
  prolamp.create: { default: true }
  prolamp.remove: { default: true }
  prolamp.menu: { default: true }
  # Lamp amount limitation
  prolamp.lamps.10: { default: true }
  prolamp.lamps.unlimited: { default: false }
  # ServerMode which allows player to add lamps owned by server
  prolamp.servermode: { default: false }
  # Destroy lamps by breaking block
  prolamp.destroy: { default: true }
  prolamp.destroy.others: { default: false }
  prolamp.destroy.server: { default: false }
  # Item Tools
  prolamp.tool.bindcmd: { default: true }
  prolamp.tool.add: { default: true }
  prolamp.tool.remove: { default: true }
  prolamp.tool.remove.others: { default: false }
  prolamp.tool.remove.server: { default: false }
  prolamp.tool.info: { default: true }
  prolamp.tool.coomand: { default: true }
  prolamp.tool.command.others: { default: false }
  prolamp.tool.command.server: { default: false }
  ### - Star permissions - ###
  prolamp.*:
    default: false
    children:
      prolamp.admin: true
      prolamp.servermode: true
      prolamp.destroy.*: true
      prolamp.tool.*: true
  prolamp.destroy.*:
    default: false
    children:
      prolamp.destroy: true
      prolamp.destroy.others: true
      prolamp.destroy.server: true
  prolamp.tool.*:
    default: false
    children:
      prolamp.tool.bindcmd: true
      prolamp.tool.add: true
      prolamp.tool.remove: true
      prolamp.tool.remove.others: true
      prolamp.tool.remove.server: true
      prolamp.tool.info: true
      prolamp.tool.coomand: true
      prolamp.tool.command.others: true
      prolamp.tool.command.server: true
  ### - Grouped permissions - ###
  prolamp.admin:
    default: false
    children:
      prolamp.player: true
      prolamp.tool.command.others: true
      prolamp.tool.remove.others: true
      prolamp.destroy.others: true
      prolamp.lamps.unlimited: true
  prolamp.player:
    default: true
    children:
      prolamp.command.lamp: true
      prolamp.create: true
      prolamp.remove: true
      prolamp.menu: true
      prolamp.lamps.10: true
      prolamp.destroy: true
      prolamp.tool.bindcmd: true
      prolamp.tool.add: true
      prolamp.tool.remove: true
      prolamp.tool.info: true
      prolamp.tool.coomand: true
  # OP default
  prolamp.op:
    default: op
    children:
      prolamp.*: true