name: gProtector
version: 2.4
description: Fork of eZProtector, with more stuff and stability.
authors: [DoNotSpamPls, Gianluca, Soliikaa]
website: https://www.spigotmc.org/resources/73045/
api-version: "1.13"
softdepend: [ViaVersion, ProtocolSupport, ProtocolLib]

main: com.Soliikaa.gProtector.gMain
database: false

commands:
  gprotector:
    description: Command for gProtector
    usage: /gprotector
    aliases: gpr

permissions:
  gprotector.notify:
    description: Notifies admins about players that try to use illegal commands or join with a blocked mod
    children:
      gprotector.notify.command: true
      gprotector.notify.mod: true

  gprotector.notify.command:
    description: Notifies admins about players that try to use illegal commands
    children:
      gprotector.notify.command.hiddensyntaxes: true
      gprotector.notify.command.plugins: true
      gprotector.notify.command.version: true
      gprotector.notify.command.custom: true
  gprotector.notify.command.hiddensyntaxes:
    description: "Notifies about players that try to use a command containing the : character"
    default: op
  gprotector.notify.command.plugins:
    description: Notifies about players that try to see the server version (only if custom-plugins is enabled)
    default: op
  gprotector.notify.command.version:
    description: Notifies about players that try to see the server version (only if custom-version is enabled)
    default: op
  gprotector.notify.command.custom:
    description: Notifies about players that try to use a blocked command
    default: op

  gprotector.notify.mod:
    description: Notifies admins about players that try to join with a mod the plugin blocks
    children:
      gprotector.notify.mod.fabric: true
      gprotector.notify.mod.forge: true
      gprotector.notify.mod.liteloader: true
      gprotector.notify.mod.rift: true
  gprotector.notify.mod.fabric:
    description: Notifies about players that try to join while having Fabric installed
    default: op
  gprotector.notify.mod.forge:
    description: Notifies about players that try to join while having Forge installed
    default: op
  gprotector.notify.mod.liteloader:
    description: Notifies about players that try to join while having LiteLoader installed
    default: op
  gprotector.notify.mod.rift:
    description: Notifies about players that try to join while having Rift installed
    default: op

  gprotector.bypass:
    descrption: Allows the usage of all features blocked by the plugin.
    children:
      gprotector.bypass.command: true
      gprotector.bypass.mod: true

  gprotector.bypass.command:
    description: Allows the usage of all features blocked by the plugin, except for mods
    children:
      gprotector.bypass.command.tabcomplete: true
      gprotector.bypass.command.hiddensyntaxes: true
      gprotector.bypass.command.fake: true
      gprotector.bypass.command.custom: true
  gprotector.bypass.command.tabcomplete:
    description: Allows the tab completion of all commands
    default: op
  gprotector.bypass.command.hiddensyntaxes:
    description: "Allows using commands that contain the : character"
    default: op
  gprotector.bypass.command.fake:
    description: Allows seeing the real plugins list and server version
    default: op
  gprotector.bypass.command.custom:
    description: Allows the usage of commands that are blocked by the plugin
    default: op

  gprotector.bypass.mod:
    description: Allows the usage of all the mods the plugin blocks
    children:
      gprotector.bypass.mod.5zig: true
      gprotector.bypass.mod.betterpvp: true
      gprotector.bypass.mod.bettersprinting: true
      gprotector.bypass.mod.fabric: true
      gprotector.bypass.mod.forge: true
      gprotector.bypass.mod.liteloader: true
      gprotector.bypass.mod.rift: true
      gprotector.bypass.mod.schematica: true
      gprotector.bypass.mod.voxelmap: true
      gprotector.bypass.mod.wdl: true
      gprotector.bypass.mod.winterware: true
      gprotector.bypass.mod.vape: true
      gprotector.bypass.mod.pixelclient: true
      gprotector.bypass.mod.lunarclient: true
      gprotector.bypass.mod.hyperium: true
      gprotector.bypass.mod.emc: true
      gprotector.bypass.mod.badlionclient: true
  gprotector.bypass.mod.5zig:
    description: Allows the usage of the 5Zig mod
    default: op
  gprotector.bypass.mod.betterpvp:
    description: Allows the usage of the BetterPvP mod
    default: op
  gprotector.bypass.mod.bettersprinting:
    description: Allows the usage of the BetterSprinting mod
    default: op
  gprotector.bypass.mod.fabric:
    description: Allows logging in while having Fabric installed
    default: op
  gprotector.bypass.mod.forge:
    description: Allows logging in while having Forge installed
    default: op
  gprotector.bypass.mod.liteloader:
    description: Allows logging in while having LiteLoader installed
    default: op
  gprotector.bypass.mod.rift:
    description: Allows logging in while having Rift installed
    default: op
  gprotector.bypass.mod.schematica:
    description: Allows the usage of the Schematica mod
    default: op
  gprotector.bypass.mod.voxelmap:
    description: Allows the usage of the VoxelMap mod
    default: op
  gprotector.bypass.mod.wdl:
    description: Allows the usage of the WorldDownloader mod
    default: op

  gprotector.command:
    description: Allows the usage of all commands and subcommands of gProtector command.
    children:
      gprotector.command.use: true
      gprotector.command.reload: true
  gprotector.command.use:
    description: Allows use the main command and see basic information of the plugin.
    default: not op
  gprotector.command.reload:
    description: Allows to use the reload command of gProtector.
    default: op