VZone Plugins/VContainer/Database and Storage

Storage Backends

LOCAL   - JSON files
MYSQL   - MySQL tables
MARIADB - MariaDB tables
H2      - embedded SQL database

Local Storage Layout

plugins/VContainer/storage/
|- player_data/
|- global_storage_blocks/
`- personal_storage_blocks/

SQL Tables

With the default prefix, the plugin creates vcontainer_player_data, vcontainer_global_storage_blocks, and vcontainer_personal_storage_blocks. Item data is stored as Paper/Bukkit serialized blobs so display names, lore, enchantments, and persistent data survive.

Save Timing

Changes are kept in memory and flushed every 2 minutes, on plugin disable, and when the API flush() method is called. Failed saves remain dirty and are retried later.

Backup, Migration, and Repair

Backups export zip archives, imports lock the plugin until restart, migrations write only to empty targets, and repair commands scan/export corrupt local or SQL entries.