For the complete documentation index, see llms.txt. This page is also available as Markdown.

๐Ÿ“œConfiguration

#  Remote databases
#   - MariaDB
#
#  Don't require any extra configuration
#   - H2
storage-method: h2

entry:
  flush-interval: 30 # (in seconds)
  flush-min-size: 0
  console-log: false

# A list of commands that should be ignored by the plugin.
ignored-commands:
  - "register"
  - "login"
  - "setblock"
  - "minecraft:setblock"
  - "fill"
  - "minecraft:fill"

# ONLY FOR SPIGOT, PAPER, BUKKIT
server-name: 'survival-1'

# The following block defines the settings for remote database storage methods.
data:
  address: localhost
  database: minecraft
  username: root
  password: ''

  pool-settings:
    maximum-pool-size: 5
    minimum-idle: 5
    maximum-lifetime: 1800000 # 30 minutes
    keepalive-time: 0
    connection-timeout: 5000 # 5 seconds
    properties:
      useUnicode: true
      characterEncoding: utf8

  table-prefix: 'datahistory_'

Key reference

Key
Description

storage-method

h2 (embedded, no setup) or mariadb (remote)

entry.flush-interval

How often buffered actions are written to the database, in seconds

entry.flush-min-size

Minimum number of buffered actions before a flush occurs

entry.console-log

Whether to also log actions to the server console

ignored-commands

Commands that are never logged (useful for hiding /login, /register, etc.)

server-name

The name reported for this server in server-switch logs. Bukkit/Spigot/Paper only

data.*

Address, database, credentials and connection-pool settings used by MariaDB

data.table-prefix

Prefix applied to every database table

Last updated