A pokepaste importer and battle replay mod for cobblemon
A server-side Fabric mod for Cobblemon that provides PokePaste team importing, automatic battle replay recording, and custom sprite uploads for fakemon.
Import competitive teams directly from PokePaste URLs into your Cobblemon party.
Genesis Forms Integration:
Built-in support for Genesis Forms items out of the box:
Custom Item Mappings:
Configure additional item mappings in config/eclipse_playback/item_mappings.json to support other mods or custom items.
Automatically captures PvP battles and uploads them to the Cobblemon Eclipse Replay Viewer.
Servers running fakemon or custom Pokemon can upload front/back sprites so they display correctly in the replay viewer instead of showing a substitute placeholder.
config/eclipse_playback/sprites/ folder{pokemonname}-front.png or {pokemonname}-back.pngExample:
config/eclipse_playback/sprites/
├── exogon-front.png
├── exogon-back.png
├── fakemon-front.png
└── fakemon-back.png
Each server is automatically assigned a unique UUID on first startup. This UUID is sent with all replay and sprite uploads, allowing the Eclipse website to track which server submitted what data. If a server uploads inappropriate content, an admin can ban that server's UUID and scrub all of its data.
config/eclipse_playback/replays.json| Command | Permission | Description |
|---|---|---|
/giveteam <url> |
pokepaste.giveteam |
Import a PokePaste team to your party |
/pokepaste <url> |
pokepaste.giveteam |
Same as /giveteam |
/giveteamother <player> <url> |
pokepaste.giveteamother |
Import a team to another player's party |
/pokepaste reload |
pokepaste.admin |
Reload configuration files |
/pokepaste eclipse list |
pokepaste.admin |
List all custom Pokemon mappings |
All permissions default to OP level 2 if no permission manager is installed.
| Permission | Description |
|---|---|
pokepaste.giveteam |
Use /giveteam and /pokepaste to import teams |
pokepaste.giveteamother |
Import teams to other players |
pokepaste.admin |
Reload config and view eclipse mappings |
Location: config/eclipse_playback/replays.json
{
"enabled": true,
"serverName": "My Server",
"serverIp": "play.myserver.com",
"serverUuid": "",
"broadcastToServer": true,
"broadcastFormat": "<gradient:#0fd9ff:#9145ff><bold>[Eclipse Replay]</bold></gradient> <white>{player1}</white> <gray>vs</gray> <white>{player2}</white> <gray>-</gray> <aqua><click:open_url:'{url}'><underlined>Watch Replay</underlined></click></aqua>"
}
| Option | Description | Default |
|---|---|---|
enabled |
Enable/disable replay recording and sprite uploads | true |
serverName |
Your server's display name in replays | "My Server" |
serverIp |
Server IP shown to viewers (optional) | "" |
serverUuid |
Unique server identifier (auto-generated, do not change) | "" (auto-fills) |
broadcastToServer |
true = announce to all players, false = only battle participants |
true |
broadcastFormat |
MiniMessage format for chat announcements. Placeholders: {player1}, {player2}, {winner}, {url} |
Eclipse gradient style |
Location: config/pokepaste/eclipse_pokemon.json
Defines custom Pokemon species mappings for servers with custom Pokemon:
{
"eclipseMappings": {
"flygon": {
"eclipseSpecies": "exogon",
"displayName": "Exogon",
"description": "Eclipse variant of Flygon. Use: (eclipse) Flygon"
}
},
"customSpecies": {
"surusypia": {
"cobblemonSpecies": "surusypia",
"displayName": "Surusypia",
"description": "Custom Pokemon. Use directly: Surusypia"
}
}
}
Usage in PokePaste:
(eclipse) Flygon to get the mapped Eclipse speciesSurusypia directly for custom speciesLocation: config/eclipse_playback/item_mappings.json
Maps Showdown item names to actual mod items. Genesis Forms items are included by default.
{
"formItemNamespace": "genesisforms",
"customMappings": {
"cornerstonemask": { "namespace": "genesisforms", "itemId": "cornerstone_mask" },
"charizarditex": { "namespace": "genesisforms", "itemId": "charizardite-x" }
},
"suffixPatterns": {
"ite": { "keepAsIs": true },
"iumz": { "dropLast": 1, "appendSuffix": "-z" }
}
}
| Option | Description |
|---|---|
formItemNamespace |
Default namespace for form-changing items |
customMappings |
Explicit item name to mod item mappings |
suffixPatterns |
Rules for automatically transforming item names by suffix |
Location: config/eclipse_playback/sprites/
Place PNG sprites in this folder to upload them to the Eclipse replay viewer. The folder is created automatically on first startup.
| Requirement | Value |
|---|---|
| File format | PNG only |
| Naming | {name}-front.png or {name}-back.png |
| Max dimensions | 128x128 pixels |
| Max file size | 50KB per file |
Sprites are uploaded once and tracked in config/eclipse_playback/sprites-uploaded.json. If you update a sprite file, the new version will be re-uploaded automatically on the next server restart.