# vim: set tabstop=2 softtabstop=0 expandtab shiftwidth=2:
# This config file will automatically be updated, as long
# as there are no incompatible changes between versions.
# This means that additional comments will not be preserved!

# The language for this module. The corresponding language file must be named
# lang-{lang}.yml. Specifying 'inherit' will load the value set for vane-core.
# Default: "inherit"
lang: "inherit"

# The module will only add functionality if this is set to true.
# Default: true
enabled: true

# Enable plugin metrics via bStats. You can opt-out here or via the global bStats
# configuration. All collected information is completely anonymous and publicly
# available.
# Default: true
metrics_enabled: true

command_permission:
  # Enable command permission
  # Default: true
  enabled: true

command_vouch:
  # Enable command vouch
  # Default: true
  enabled: true

  # The group to assign to players when someone vouches for them.
  # Default: "user"
  vouch_group: "user"

# The permission group that will be given to players that have no other permission
# group.
# Default: "default"
default_group: "default"

# The permission groups. A player can have multiple permission groups assigned.
# Permission groups can inherit other permission groups by specifying
# vane.permissions.groups.<groupname> as a permission.
# Default:
#   default:
#     - bukkit.command.help
#     - bukkit.broadcast
#     - bukkit.broadcast.user
#   verified:
#     - vane.permissions.groups.user
#     - vane.permissions.commands.vouch
#   admin:
#     - vane.permissions.groups.verified
#     - vane.admin.bypass_spawn_protection
#     - vane.portals.admin
#     - vane.regions.admin
#     - vane.*.commands.*
#   user:
#     - vane.permissions.groups.default
#     - vane.admin.modify_world
#     - vane.regions.commands.region
#     - vane.trifles.commands.heads
groups:
  default:
    - bukkit.command.help
    - bukkit.broadcast
    - bukkit.broadcast.user
  verified:
    - vane.permissions.groups.user
    - vane.permissions.commands.vouch
  admin:
    - vane.permissions.groups.verified
    - vane.admin.bypass_spawn_protection
    - vane.portals.admin
    - vane.regions.admin
    - vane.*.commands.*
  user:
    - vane.permissions.groups.default
    - vane.admin.modify_world
    - vane.regions.commands.region
    - vane.trifles.commands.heads

# Remove all default permissions from ANY SOURCE (including other plugins and
# minecraft permissions) to start with a clean preset. This will allow you to
# exactly set which player have which permissions instead of having to resort to
# volatile stateful changes like negative permissions. This will result in OPed
# players to lose access to commands, if not explicitly added back via
# permissions. The wildcard permissions can be viewed using `perms list
# permissions`. The wildcard permissions `minecraft` and `craftbukkit` may be
# especially useful.
# Default: false
remove_defaults: false

# DO NOT CHANGE! The version of this config file. Used to determine if the config
# needs to be updated.
version: 1
