DenizenMC

Storage & Networks

SQLite for a single server, MySQL to share spawners across a network.

EliteSpawner keeps every spawner in a database. Which one you want depends on whether you run one server or a whole network.

The default. No setup at all, stored in plugins/EliteSpawner/database/. The right choice for a single server.

Switching to MySQL

Set the storage type

In config.yml, set the storage type to MySQL:

config.yml
storage:
  type: mysql

Add your connection details

Fill in the database connection details in the same section of config.yml.

Repeat on every server

Use the same connection details on every server that should share spawners, then restart them.

Decide early

Switching from SQLite to MySQL on a server that already has spawners doesn't move the existing data for you. Pick your storage type before players start building farms, and always back up plugins/EliteSpawner/database/ before changing it.

Did this page help?

Last updated on