Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Links
Tags
Creators
Details
Cobblemon SaveGuard is a tool that prevents Cobblemon Pokémon data loss in case of disconnection by forcing synchronous saves and periodic automatic saves. It also allows you to manually trigger a save. You can also create manual backups, which will not be deleted unless you create another manual backup.
REQUIREMENTS
Minecraft | 1.21.1
Fabric Loader | 0.16.5+
Fabric API | 0.104.0+1.21.1
Fabric Kotlin | 1.12.3+
Cobblemon | 1.7.3 (1.7.0+)
Java | 21
COMMANDS
For all players (no permissions)
/saveguard backup — creates a backup of your Pokémon (party + PC). A new backup overwrites the previous one.
/saveguard backup info — shows info about your backup (date, number of Pokémon).
Staff only (OP level 2)
/saveguard force [player] — forces a save. With no argument, saves all online players; with a name, saves only that one.
/saveguard status — shows the configuration (values are clickable to modify them on the fly).
/saveguard set <key> <value> — edits and saves a setting. Keys: autoSave, saveOnDisconnect, verboseLogging, extraDelay.
/saveguard reload — reloads the config from disk.
/saveguard inspect <player> party — shows the player’s party.
/saveguard inspect <player> box <1-50> — shows a specific PC box.
/saveguard verify <player> — integrity check: counts Pokémon in party/PC and checks that the factory is reachable (read‑only).
/saveguard backups — lists all existing backups on the server, with date and Pokémon count.
/saveguard restore <player> — restores a player’s backup. Also accepts offline players (uses the name → profile). If the player is online, they are disconnected and will see their restored Pokémon upon rejoining.
Note: restore uses GameProfileArgumentType, so you can restore players who are offline by typing their name (as long as they have already created a backup).
This mod includes protection systems against duping. If a glitch is discovered, please report it immediately. You can use the discord link and open a ticket there.


