TMDevelopmentTinulica & Maiky

Storage

Economy and storage: YAML, SQLite or MySQL

storage:
  type: sqlite     # yaml (data/data.yml) · sqlite (data/data.db) · mysql / mariadb (shared database)
  • Balances of online players are kept in memory and saved on a separate thread: the server never waits.
  • MySQL: several servers can share the balances (they refresh every few seconds), changes are atomic.
  • MySQL 8 with a normal user needs allowPublicKeyRetrieval=true in storage.mysql.flags (in the default flags since 4.1.1); without it the plugin doesn't start and the console says so. Shop limits and stock are shared too.
  • /mobcoins migrate <yaml|sqlite|mysql> copies every balance to another storage; then set storage.type and restart.
  • Same files and table as 3.x: old data is used as it is (duplicated rows left by 3.x are merged).
  • Balances keep 2 decimals and go up to 90 trillion.
  • (4.1.0+) Stats, boosters, notes and the event are in the table <table>_stats (SQLite / MySQL) or in data/data.yml. They are written together every 30 seconds and when a player leaves. With MySQL boosters, events and the weekly / monthly top are the same on every server, and the rewards are given once. /mobcoins migrate copies them too.
  • (4.2.0+) MySQL: a booster given or removed on another server to a player who is online here shows within storage.refresh-seconds (default 10), with the "you got a booster" message. The kill milestones reached are the same on every server. /mobcoins migrate also copies the shop limits and stock already used.

Last updated

Sign in

New here? Just enter your email: the account is created when you click the link. No password needed.

or

We send you a link that signs you in with one click. It works for new and existing accounts.

Sign in with a password instead

By continuing you accept the Terms & Conditions and the Privacy policy.

Staff: open “Sign in with a password instead” and type your username instead of the email. After the password we ask for your 2FA code.