Storage
MF-SlimeFun stores block and player-profile information using independently configurable storage backends. The shipped configurations support SQLite, MySQL, and PostgreSQL; the actual backend is selected separately in block-storage.yml and profile-storage.yml.
Storage Locations
Section titled “Storage Locations”For the default SQLite configuration, relevant files include:
data-storage/MF-SlimeFun/block-storage.dbdata-storage/MF-SlimeFun/profile.dbplugins/MF-SlimeFun/licenses/<uuid>.ymlplugins/MF-SlimeFun/Licenses.ymlThe database paths are source-defined defaults, not a guarantee that every existing server uses them. External SQL data is stored on the configured database service and requires a separate backup.
Stored Data
Section titled “Stored Data”| Component | Purpose |
|---|---|
| Block storage | Persistent Slimefun block and machine data. |
| Profile storage | Player profiles, research, and related progression data. |
licenses/<uuid>.yml |
Technology License ownership by player UUID. |
Licenses.yml |
Configuration of registered license definitions. |
Items.yml |
Item-specific configuration and enable/disable settings. |
License Storage
Section titled “License Storage”The built-in file backend writes replacement entitlement sets through temporary-file replacement. Invalid license files are rejected rather than replaced as empty ownership data. Bulk operations on a custom storage implementation are not automatically atomic.
/sf license revoke <player> all also removes stored keys belonging to no-longer-installed addons. It does not erase research.
Migration and Destructive Commands
Section titled “Migration and Destructive Commands”/sf migrate confirm/sf cleardata <world|*> <block|oil|*> confirmmigrate starts legacy block/profile migration jobs; it does not convert SQLite to MySQL or PostgreSQL. cleardata deletes selected persistent world data. Do not run these commands as general repair tools on production.
Backup and Recovery
Section titled “Backup and Recovery”- Stop the server normally before a file-level SQLite backup.
- Copy worlds,
plugins/MF-SlimeFun/, relevantdata-storage/directories, and any legacy data still in use. - Back up external database backends using a consistent database-native procedure.
- Restore the backup onto isolated staging, using separate database credentials.
- Test machines, inventories, networks, research, licenses, and claim permissions before an upgrade.
Restore both the previous JAR and a consistent data snapshot when rolling back a failed upgrade. Reverting only the JAR cannot undo writes made by a newer build.
Verification Status
Section titled “Verification Status”A completed production restore test and runtime database-integrity verification were not supplied for this documentation baseline. The Atomic Delete B8.3 candidate discussed separately is not part of these source-derived guarantees.