Backpack Storage Artifact
The backpack_storage_artifact is responsible for persisting the inventory state of all player backpacks defined in the RpgCoreConfigurationEntry.
Type: Artifact Entry
ID: backpack_storage_artifact
Configuration
| Field | Type | Default | Description |
|---|---|---|---|
artifactId | String | "backpack_storage" | The unique ID used to reference this storage in TypeWriter. |
Stored Data
It stores a collection of backpack states for each player:
- Unlocked Slots: How many slots the player has unlocked in a specific backpack.
- Pages: The item contents of each page.
- Items: Custom items are serialized efficiently (base64) while preserving custom data.
Usage
Referenced by InventorySection in the main configuration. It ensures that players' extra inventory space is saved across server restarts.