TextureCoupons
Texture coupons and texture groups for Cobblemon
TextureCoupons is a Fabric mod for Cobblemon servers that lets you define texture groups (custom aspects/skins) and issue coupons that players can redeem to apply those textures to their own Pokemon.
TextureCoupons is opinionated - it's designed to be used in a certain way. While you can use it to do other things, it's primarily for servers who have groups of textures that they sell/distribute in "packs". I.e. they add 30 "Egyptian" textures, with a common aspect to make the texture display like "egyptian".
TextureCoupons is made up of Coupons (tied to a pack, like "egyptian") which can be used to give any Pokemon in that pack the defined texture (by applying the aspect).

Right clicking a coupon opens up a menu that shows all Pokemon it can be used on:

The real reason to use TextureCoupons over something like NeoSpecs is getting pretty Pokemon specific texture coupons with no extra configs.

You can give players Specific Texture Coupons which only work on one Pokemon, which uses the Pokemon Model (/w Texture) as the item. Players love to collect these on top of using them on their Pokemon.
All you need to do to get started is create a group file, then you can use the easy commands /tc give <player> <group> <specific pokemon> to distribute.
How coupons work
TextureCoupons provides two coupon types:
Group coupons
Can be applied to any Pokemon that matches the group's whitelist entries.
Right-click a Pokemon you own with the coupon in hand to apply the texture.
Using the coupon in-hand (right-click air) opens the texture group GUI.
Specific Pokemon coupons
Can only be applied to Pokemon that match the
pokemonPropertiesstring used to create the coupon.Right-click a Pokemon you own with the coupon in hand to apply the texture.
Specific Pokemon coupons are Pokemon Items with the properties + the group aspect applied.
Rules:
The coupon must be used on a Pokemon the player owns.
If the Pokemon does not match the coupon's criteria, nothing happens.
When a coupon successfully applies, it is consumed.
Data folder layout
On first load, TextureCoupons creates a config directory and copies its GUI/resources.
Config root:
<server>/config/TextureCouponsTexture groups directory:
<server>/config/TextureCoupons/TextureGroupsGUI folder:
<server>/config/TextureCoupons/GUIGUI menus:
<server>/config/TextureCoupons/GUI/MenusMessages file:
<server>/config/TextureCoupons/messages.json
Any regular file inside TextureGroups is loaded as a texture group JSON. The registry is cleared and reloaded when the server starts and when /tc reload is run.
Next steps
Configure groups in Texture Groups
Learn the commands in Commands & Permissions
Coupon behavior in Group Texture Coupons and Specific Texture Coupons
GUI and messages in Messages & GUI
Last updated