VCONTAINER
Commands
Use this page when you want to open containers, manage another player's storage, create storage blocks, back up data, migrate storage, or repair stored entries.
How To Read This Page
/containeris the normal player command./vcontainercommands are for administrators.<required>values must be provided;[optional]values can be skipped.- Backup and migration commands can affect stored items, so run them carefully.
Command List
| Command | Permission | Description |
|---|---|---|
/container | vcontainer.use | Opens your own virtual container. |
/vcontainer | vcontainer.admin | Shows admin help. |
/vcontainer reload | vcontainer.admin | Reloads config, messages, menus, holograms, and hopper timing. |
/vcontainer open <player> | vcontainer.admin | Opens another online player's container. |
/vcontainer clear <player> | vcontainer.admin.clear | Clears another online player's container. |
/vcontainer give <source> <item> [player] [amount] | vcontainer.admin.give | Adds vanilla, Oraxen, MythicMobs, or ItemsAdder items to a virtual container. |
/vcontainer set | vcontainer.admin.blocks | Creates a global storage block from the block you are looking at. |
/vcontainer give-block [player] [amount] -s | vcontainer.admin.blocks | Gives personal storage block items. |
/vcontainer blocks list/info/tp/remove/owner/members | vcontainer.admin.blocks | Manages registered global and personal storage blocks. |
/vcontainer backup export [name] | vcontainer.admin.backup | Creates a zip backup. |
/vcontainer backup import <file.zip> | vcontainer.admin.backup | Imports a backup and locks VContainer until restart. |
/vcontainer migrate dry-run <LOCAL|MYSQL|MARIADB|H2> | vcontainer.admin.migrate | Validates a migration target without writing data. |
/vcontainer migrate <LOCAL|MYSQL|MARIADB|H2> | vcontainer.admin.migrate | Copies loaded data to an empty target backend. |
/vcontainer repair scan/export [current|local|sql] | vcontainer.admin.repair | Checks or exports corrupt storage entries. |
Common Setup
- Give players
vcontainer.useso they can open their own storage. - Keep backup, migration, and repair permissions limited to trusted administrators.
- Use
migrate dry-runbefore a real migration. - Backup imports intentionally lock VContainer until restart so imported data cannot be overwritten by live cached data.
Examples
/container
/vcontainer open Steve
/vcontainer give VANILLA DIAMOND Steve 16
/vcontainer backup export before-maintenance
/vcontainer migrate dry-run MYSQL