Cobblemon 1.7.1+ and Flan 1.12+ claiming extension for cobblemon specific actions
Protect your Flan claims from unwanted Pokémon activities! This server-side mod integrates Cobblemon with the Flan claim protection system, giving claim owners full control over Pokémon-related actions within their claims.
This mod adds the following permissions to Flan's claim GUI:
| Permission | Description | Default |
|---|---|---|
| Pokemon Spawn | Control wild Pokémon spawning in claims | Allowed |
| Pokemon Catch | Control catching Pokémon in claims | Denied |
| Pokemon Battle | Control starting battles in claims | Denied |
| Pokemon Send Out | Control sending out Pokémon in claims | Denied |
| Pokemon Ride | Control riding Pokémon in claims | Denied |
| Display Case | Control interacting with display cases | Denied |
All protections can be enabled/disabled globally via config. Each protection can also be configured per-claim through Flan's permission GUI.
Claim owners automatically bypass all restrictions in their own claims (configurable).
All denial messages are fully customizable with MiniMessage formatting support.
Config file located at config/cobblemon-flan/config.json:
{
"protections": {
"preventWildSpawns": true,
"preventCatching": true,
"preventBattles": true,
"preventSendOut": true,
"preventRiding": true,
"preventDisplayCaseInteraction": true,
"ownerBypass": true
},
"messages": {
"prefix": "<red>[Flan] </red>",
"cannotCatch": "<yellow>You cannot catch Pokemon in this claim!</yellow>",
"cannotBattle": "<yellow>You cannot battle Pokemon in this claim!</yellow>",
"cannotSendOut": "<yellow>You cannot send out Pokemon in this claim!</yellow>",
"cannotRide": "<yellow>You cannot ride Pokemon in this claim!</yellow>",
"cannotUseDisplayCase": "<yellow>You cannot interact with display cases in this claim!</yellow>"
}
}
Dependencies
Required:
- Minecraft 1.21.1
- Fabric Loader 0.16.5+
- Fabric API
- Fabric Language Kotlin
- https://modrinth.com/mod/cobblemon 1.6.0+
- https://modrinth.com/mod/flan 1.12.0+
Installation
1. Install all required dependencies
2. Place the mod JAR in your server's mods folder
3. Start the server
4. Configure permissions through Flan's claim GUI or edit the config file
Server-Side Only
This mod is server-side only and does not need to be installed on clients.
---
Source Code: https://github.com/Cobblemon-Eclipse/cobblemon-flan
Issues & Feedback: https://github.com/Cobblemon-Eclipse/cobblemon-flan/issues
Conversation