Add Storage

Add data persistence to a Minecraft plugin — pick and wire the right store: PersistentDataContainer on items/entities, a YAML data file, or a real database (SQLite/MySQL via a shaded, relocated JDBC driver). Use this whenever the user wants to save/load data, remember values across restarts, persist per-player stats, store custom item/entity tags, keep a database, homes/economy balances, or 'don't lose it when the server restarts' in their Bukkit/Paper plugin. Reads the target stack from .mcplugin/config.yml.

itamarb2010-jpg Updated

File contents

itamarb2010-jpg/McPluginSkill/tree/main/.claude/skills/add-storage commit 435ee1a423

Frequently asked questions

npx skillmds@latest add itamarb2010-jpg/add-storage