Compatibility
Minecraft: Java Edition
1.21โ1.21.10
Platforms
Tags
Creators
Details
Licensed BSD-3-Clause
Published 7 months ago
EssentialsX MySQL
Seamlessly synchronize your EssentialsX player data with a MySQL database across single or multiple servers.
Supports Minecraft 1.21.4+, fully automatic, resilient, and configurable.
๐ Website: secvers.org/plugins/essentials-mysql
Whatโs New
- ๐ Multi-Server Network Sync โ balances, homes, inventories, and profiles sync seamlessly across servers
- โก Smart Auto-Sync โ decides at join whether DB or Player data should be trusted
- ๐ ๏ธ Dedicated Workers:
PlayerDataWorkerโ XP, health, hunger, inventories, potion effectsHomeDataWorkerโ Homes synced instantly when set, deleted, or renamedEssentialsXDataWorkerโ Balances, groups, and last-locations
- ๐ Only-if-newer Guards โ prevents overwriting fresh data with stale states
- ๐ก Telemetry & Update Checker โ optional, minimal data (plugin version, OS, server name)
Features
โ Real-time MySQL sync
โ Multi-server awareness
โ Async DB I/O, dirty-flagged flushing
โ Safe imports/exports at join
โ Debug-friendly logging & metrics
โ๏ธ Configuration Example
# EssentialsX MySQL Sync config.yml
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
# Database Connection Settings
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
mysql:
# Database hostname or IP
host: "localhost"
# Port number of the database
port: 3306
# Name of the database schema
database: "essentials"
# MySQL or MariaDB user credentials
user: "minecraft"
password: "yourPassword"
# SSL usage (true/false)
enableSSL: false
# Whether to use autocommit for statements
autoCommit: false
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
# Server Identification
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
# This name is stored with per-server profile data
# and must be unique across your network.
serverName: "default"
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
# Telemetry
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
# We only collect minimal info (plugin version, OS, server name).
telemetry:
enabled: true # set to false to opt-out
send_interval_seconds: 3600 # how often telemetry pings are sent
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
# Update Checker
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
checkUpdate: true
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
# Worker Settings
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
playerdata: #experimantal
enabled: false
flush_interval_seconds: 20
homes:
# How often homes are flushed to DB
flush_interval_seconds: 20
# Debounce delay in ticks after sethome/delhome/renamehome before writing
debounce_ticks: 10
essx:
# If true, this server writes global balances back to DB.
# If false, balances are imported from DB but never exported.
balance_write_enabled: true
# How often EssentialsX profile data (balance, group, last location) is flushed
flush_interval_seconds: 20
#experimantal do not enable only for testing
dupeProtection:
enabled: false
action: "LOG"
auditLog: true
suppressMsAfterImport: 1500
rescanSeconds: 60
embedUidForShulkersOnly: true
cleanupOldUidsOnStart: true


