Skip to content

config.yml

Ján Kluka edited this page Mar 19, 2026 · 15 revisions
# Should plugin show debug messages?
debug-mode: false
# Should plugin log all SQL queries?
debug-sql-queries: false
# Should plugin use mini message for all messages/texts/prefixes ?
use-minimessage: true
# Should plugin send your server data to bStats ? (https://bstats.org/)
enable-metrics: false
# Database type (H2, SQLite, MySQL)
database_type: H2
# MySQL connection details
mysql:
  host: localhost
  port: 3306
  database: dbName
  username: dbUser
  password: dbPass
# Connection properties
# HikariCP database connection properties, please refer to https://github.com/brettwooldridge/HikariCP#gear-configuration-knobs-baby for more information
connection_properties:
  connection_timeout: 60000
  idle_timeout: 600000
  keep_alive_time: 0
  max_life_time: 1800000
  minimum_idle: 10
  maximum_pool_size: 10
  leak_detection_threshold: 0
  connection_test_query: "SELECT 1"
  character_encoding: "utf8"
# Enabling / Disabling of specific modules
modules:
  currencies: true
  blocks: true
  ranks: true
  prestiges: true
  rebirths: true
  multipliers: true
  enchants: true
  autosell: true
  autominer: true
  pickaxe_levels: true
  pickaxe_skins: true
  gangs: true
  mines: true
  bombs: true
  history: true
  mining_stats: true
# Item migrator config
item-migrator:
  enabled: true
  bind:
    join: true
    inventory: false
# List of supported pickaxes by UPC Enchants
supported-pickaxes:
  - DIAMOND_PICKAXE
# Aliases for main command
main-command-aliases:
  - xprison
  - prison
# Plugin prefix, usable via PAPI %xprison_prefix%, can be used across all messages
prefix: "<dark_gray>[</dark_gray><gradient:#f7b733:#fc4a1a><bold>X-PRISON</bold></gradient><dark_gray>]</dark_gray> <gray>»</gray> "

Clone this wiki locally