author: Hogofwar
database: false
main: info.hogofwar.plugins.nightattack.NightAttack
name: NightAttack
startup: postworld
version: '0.3.5'
description: Turns PVP on at night.
commands:
  pvpstatus:
    description: Get the current PVP status of the plugin in the current world, or another world
    aliases: [pvpget, na_status]
    permission: nightattack.status
    permission-message: You do not have the permission required to use this command.
    usage: "Usage: /pvpstatus [world]"
  pvpswitch:
    description: Switches the pvpNight setting, turns PVP on at day if at night before.
    aliases: [pvpswap, na_switch]
    permission: nightattack.switch
    permission-message: You do not have the permission required to use this command.
    usage: "Usage: /pvpswitch"
permissions:
  nightattack.*:
    description: Gives access to all NightAttack capabilities
    children:
      nightattack.join: true
      nightattack.sound: true
      nightattack.msg: true
      nightattack.status: true
      nightattack.status.others: true
      nightattack.switch: true
      nightattack.change: true
      nightattack.norestrict: true
  nightattack.join:
    description: Show a join message when a player joins.
    default: true
  nightattack.change:
    description: Show a message on change of world.
    default: true
  nightattack.sound:
    description: Play sounds to the player when PVP starts/ends.
    default: true
  nightattack.msg:
    description: Send a message to the player on PVP start/end.
    default: true
  nightattack.status:
    description: Lets the user use the /pvpstatus command to check the PVP status.
    default: true
  nightattack.status.others:
     description: Lets the user use the /pvpstatus command to check other worlds.
     default: true
     children:
       nightattack.status: true
  nightattack.switch:
    description: Lets the user use /pvpswitch to temporarily flip the PVP setting for the current time.
    default: op
  nightattack.norestrict:
    description: The player's block placement is not restricted.
    default: op
  