Titocoins banner
Titocoins icon

Titocoins

Add Titocoin coin; reward players for defeating trainers in battle and catching wild Pokemon; amount configurable via a config file

00
cobblemon-fabricBoth1.21.1mod

Titocoins adds a simple currency item and hooks into Cobblemon events to reward play:

  • New item: Titocoin (found in the Ingredients creative tab) with its own texture.
  • Rewards: defeating Cobblemon trainers (NPC battle actors) grants each winning player coins; catching a Pokémon grants the catcher coins. Coins land in the inventory and drop nearby if full.
  • Config: config/titocoins.json is created on first run. Edit trainerWinCoins and captureCoins to change reward amounts (default 10 and 3). Set a value to 0 or below to disable that reward type.

Notes and considerations:

  • Rewards only trigger when the losing side of a battle includes an NPC trainer; wild or PvP wins are ignored.
  • The mod runs on both sides so the item and assets are available; the logic activates server-side via Cobblemon’s events.
  • Existing template code under com.playergames.plugin is left untouched; it isn’t referenced by this mod entrypoint.