Skip to content
This repository was archived by the owner on May 9, 2021. It is now read-only.

Configuration

Dkrieger edited this page Apr 3, 2019 · 2 revisions

The standard configuration file.

Index


Advanced mode

If the advanced mode in DKPerms is enabled, the advanced mode brings extra feature for managing permissions on different servers.

  • advanced If the advanced mode is enabled.

Example:

advanced: true

Storage settings

Which storage DKPerms should use, see here for more information.

Example:

storage:
  type: MYSQL
  folder: "plugins/DKPerms/datas/"
  mysql:
    host: localhost
    port: '3306'
    user: root
    password: password
    database: DKPerms

Security settings

Permission security options on your network.

  • security
    • operator.enabled Enable or disable operator (/op), we recommend to disable the default minecraft operator mode.
    • disablecommands Disable all permission commands from DKPerms, if you use BungeeCord, we recommend to disable all permission commands on your spigot servers.

Example:

security:
  operator:
    enabled: false
  disablecommands: false

Synchronisation settings

You are able to configure the network synchronisation.

  • synchronise
    • task Synchronisation rhythm.
      • enabled If the synchronisation task is enabled.
      • delay In which rhythm the network is synchronized.
    • groups
      • onfirstplayerjoin If all groups should be reloaded when the first player joined the server.
      • onlastplayerleave If all groups should be reloaded when the lat player leaved the server.
    • channel If the network should be synchronized over network channels, we recommend to use this feature for a optimal usage.

Example:

synchronise:
  task:
    enabled: false
    delay: 10
  groups:
    onfirstplayerjoin: true
    onlastplayerleave: false
  channel: true

Servergroup settings

Settings for server groups (not permission groups).

  • servergroup
    • split Where a server group is splited.

Bedwars-1 Bedwars-2 = Group Bedwars Bedwars-3

Example:

servergroup:
  split: '-'

Display name settings (Default bukkit player display names)

Settings for the default display name.

  • displayname
    • enabled If the default display mode should be changed by DKPerms.
    • format The display format.

Example:

player:
  displayname:
    enabled: true
    format: '[color][player]'

Clone this wiki locally