name: MaintenanceAnnouncer
author: Hayden Watson
version: 5.0.1
website: https://sites.google.com/view/haydenwatson/maintenance-announcer
prefix: Maintenance Announcer
main: hjw.maintenanceannouncer.Main
database: false

commands:
  maintenance:
    description: Check if the server is undergoing maintenance.
    permission: hjw.maintenanceannouncer.see
  maintenance start:
    description: Broadcast to players that maintenance has started.
    permission: hjw.maintenanceannouncer.start
    aliases: [begin]
  maintenance end:
    description: Broadcast to players that maintenance has ended.
    permission: hjw.maintenanceannouncer.end
    aliases: [stop]
  maintenance admin:
    description: Check if the server is undergoing maintenance (admin only).
    permission: hjw.maintenanceannouncer.adminsee
  maintenance admin start:
    description: Broadcast to only admins that maintenance has started.
    permission: hjw.maintenanceannouncer.adminstart
    aliases: [admin begin]
  maintenance admin end:
    description: Broadcast to only admins that maintenance has ended.
    permission: hjw.maintenanceannouncer.adminend
    aliases: [admin stop]
  maintenance reload:
    description: Reloads Maintenance Announcer.
    permission: hjw.maintenanceannouncer.reload
    
permissions:
  hjw.maintenanceannouncer.*:
    description: Gives access to all Maintenance Announcer commands.
    children:
     hjw.maintenanceannouncer.see: true
     hjw.maintenanceannouncer.start: true
     hjw.maintenanceannouncer.end: true
     hjw.maintenanceannouncer.adminsee: true
     hjw.maintenanceannouncer.adminstart: true
     hjw.maintenanceannouncer.adminend: true
     hjw.maintenanceannouncer.reload: true
  hjw.maintenanceannouncer.see:
     description: Allows you to see there is server maintenance going on.
     default: op
  hjw.maintenanceannouncer.start:
     description: Allows broadcasting that maintenance has started.
     default: op
  hjw.maintenanceannouncer.end:
     description: Allows broadcasting that maintenance has ended.
     default: op
  hjw.maintenanceannouncer.adminsee:
     description: Allows you to see there is admin only server maintenance going on.
     default: op
  hjw.maintenanceannouncer.adminstart:
     description: Allows broadcasting that maintenance has started to only admins.
     default: op
  hjw.maintenanceannouncer.adminend:
     description: Allows broadcasting that maintenance has ended to only admins.
     default: op
  hjw.maintenanceannouncer.reload:
     description: Reloads the plugin.
     default: op