Skip to content

history.yml

Jan Kluka edited this page Jul 11, 2026 · 1 revision
# ═══════════════════════════════════════════════════════════════════
#  X-Prison - History module configuration
# ═══════════════════════════════════════════════════════════════════
#  The History module records player actions (currency changes, rank-ups,
#  gang activity, etc.) so staff can review them via /history <player>.
#
#  On a busy server this table can grow very large, so the settings below
#  let you keep it under control.
# ═══════════════════════════════════════════════════════════════════

# ── Automatic cleanup ──────────────────────────────────────────────
# Prevents the history database from growing without bound.
retention:
  # Delete history entries older than this many days. Set to 0 to disable age-based cleanup.
  max-age-days: 30
  # How often (in minutes) the async cleanup task runs. It also runs once shortly after startup.
  cleanup-interval-minutes: 60
  # Run a cleanup pass against EXISTING data on startup (recommended after updating the plugin).
  clean-on-startup: true

# How many of the most-recent entries to load when viewing a player's history (GUI + API).
# Lower values keep the GUI/API fast even on very large tables.
view-limit: 100

# Toggle logging of individual event types. Turn the high-volume ones off if your
# database still grows too quickly for your liking.
log-events:
  currency-receive: true
  currency-lose: true
  rankup: true
  prestige: true
  gang: true
  multiplier: true
  automine: true
  automine-time: true

XPrison Logo

General

Modules

Default Configs

Enchant Configs — Passive

Enchant Configs — Currency Rewards

Enchant Configs — Key & Item Rewards

Enchant Configs — Area of Effect

Enchant Configs — Multipliers

Enchant Configs — Templates

Enchant Configs — Addons

Addons

Support

For Developers

Others

Clone this wiki locally