Skip to content
This repository has been archived by the owner on Jan 18, 2021. It is now read-only.

Configuration

Weissnix4711 edited this page Jun 17, 2020 · 6 revisions

Configuration (custom.yaml)

Logs

Here you can change how the server logs certain events, where they are stored, and edit the colours of different console messages.

user-database: user.db # player database

log-settings:

  format: "%6$s %1$c [%2$s] (%3$s:%4$d) %5$s"
  # %6$s date and time %1$c priority %2$s tag %3$s source %4$d line
  
  database: log.db # Log database
  
  hide-verbose: false # hide verbose log (still store in database)
  filters: [Database] # filter out log tag (still store in database)
  
  verbose:
    before: "\x1b[90m"
    after: "\x1b[0m"
  information:
    before: "\x1b[37m"
    after: "\x1b[0m"
  warning:
    before: "\x1b[93m"
    after: "\x1b[0m"
  error:
    before: "\x1b[31m"
    after: "\x1b[0m"
  unknown:
    before: "\x1b[91m"
    after: "\x1b[0m"

Use ansicolor for console colours

Mods

To enable mods, make sure you change mod-enabled to true, and enable each mod individually. For more advanced setup, you can change mod-default-enabled.

mod-enabled: true # enable global mod support
mod-default-enabled: false # mods disabled by default

mods:

  ExampleMod: # this is an example mod
    enabled: true # enable this mod
    example-bool: true # optional extra settings
    example-list:
      - one
      - two
    example-database: example.db
    
  ExampleMod2: # this is another example mod
    enabled: false # not enabled

Each mod may have their own special options (see Mod Documentation), but all have the enabled: true|false option.

Example file

mod-enabled: true
mod-default-enabled: false
user-database: user.db
log-settings:
  format: "%6$s %1$c [%2$s] (%3$s:%4$d) %5$s"
  database: log.db
  hide-verbose: false
  filters: [Database]
  verbose:
    before: "\x1b[90m"
    after: "\x1b[0m"
  information:
    before: "\x1b[37m"
    after: "\x1b[0m"
  warning:
    before: "\x1b[93m"
    after: "\x1b[0m"
  error:
    before: "\x1b[31m"
    after: "\x1b[0m"
  unknown:
    before: "\x1b[91m"
    after: "\x1b[0m"
mods:
  Audit:
    enabled: false
  BasicAntiCheat:
    enabled: true
  Blacklist:
    enabled: true
    database: blacklist.db
    enable-commands: true
  BossBarSupport:
    enabled: true
  ChatAPI:
    enabled: true
    database: chat.db
  CommandSupport:
    enabled: true
  CrashHandler:
    enabled: false
  DebugTool:
    enabled: true
    command:
      log-register: false
      enable-all: false
  DynamicMotd:
    enabled: true
    list:
      - test1
      - test2
    interval: 5
  Economy:
    enabled: true
    database: economy.db
    command: true
  Essentials:
    enabled: true
    commands:
      transferserver: true
      custom-name: true
      tpa:
        enabled: true
        timeout: 30
      home: true
      warp: true
    database: essentials.db
    world-database: essentials.db
  NoEncryption:
    enabled: true
  PacketDumper:
    enabled: true
    database: packet.db
  ScriptingSupport:
    enabled: true
  SimpleVote:
    enabled: false
  SpawnProtection:
    enabled: true
    allow-operator: false
    start:
      x: -12
      z: -12
    end:
      x: 12
      z: 12