TMDevelopmentTinulica & Maiky

Network

Network and MySQL

Put the same MySQL/MariaDB database in storage on every server (storage.type: mysql):

  • balances are the same everywhere; a change on one server shows on the others within about a second
  • history, purchase limits, stock and sales are shared
  • give each server a name in network.server-name to see it in the history (lobby, survival...)
  • (4.0.1+) players get "You received ..." when another server gives or takes their tokens (network.notify-changes)
  • web stores can run tokens give {username} 1000 or tokens give {uuid} 1000: it works with the player offline or on another server

Moving from SQLite/YAML to MySQL: set the MySQL details, then /tokens migrate mysql.

Last updated 25 October 2026