name: SpectatorMode
version: 2.2.0
main: me.ohowe12.spectatormode.SpectatorMode
api-version: 1.16
softdepend: [ Multiverse-Core, LuckPerms, SuperVanish ]
load: POSTWORLD

commands:
  s:
    description: The main command for this plugin
permissions:
  spectator.*:
    description: Give access to the entire permission node
    children:
      smpspectator.use: true
      smpspectator.enable: true
      smpspectator.bypass: true
      smpspectator.force: true
      smpspectator.toggle: true
  smpspectator.use:
    description: Be able to use the /s command
    default: op
  smpspectator.enable:
    description: Be able to enable and disable spectator mode from the /s command
    default: op
  smpspectator.bypass:
    description: Be able to bypass the y-level and block restrictions
    default: op
  smpspectator.force:
    description: Be able to force other players into and out of spectator mode
    default: op
  smpspectator.toggle:
    description: Be able to use the /s effect command
    default: op
  smpspectator.reload:
    description: Be able to reload the config
    default: op