Cobblemon Flan 集成
保护你的 Flan 领地免受不必要的宝可梦活动干扰!这是一个服务端模组,将 Cobblemon 与 Flan 的领地保护系统相集成,赋予领地所有者对其领地内宝可梦相关行为的完全控制权。
功能特性
领地权限
此模组在 Flan 的领地 GUI 中添加了以下权限:
| 权限 |
描述 |
默认值 |
| Pokemon Spawn |
控制领地内野生宝可梦的生成 |
允许 |
| Pokemon Catch |
控制领地内捕捉宝可梦 |
禁止 |
| Pokemon Battle |
控制领地内开始战斗 |
禁止 |
| Pokemon Send Out |
控制领地内派出宝可梦 |
禁止 |
| Pokemon Ride |
控制领地内骑乘宝可梦 |
禁止 |
| Display Case |
控制交互展示柜 |
禁止 |
可配置的保护
所有保护均可通过配置文件全局启用/禁用。每个保护也可以通过 Flan 的权限 GUI 针对特定领地进行单独配置。
所有者绕过
领地所有者自动绕过其自身领地的所有限制(可配置)。
自定义消息
所有拒绝提示消息均支持 MiniMessage 格式化,完全可自定义。
配置
配置文件位于 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>"
}
}
依赖项
必需:
- Minecraft 1.21.1
- Fabric Loader 0.16.5+
- Fabric API
- Fabric Language Kotlin
- 1.6.0+
- 1.12.0+
安装
- 安装所有必需的依赖项
- 将模组 JAR 文件放入服务器的 mods 文件夹
- 启动服务器
- 通过 Flan 的领地 GUI 配置权限或编辑配置文件
仅服务端
本模组仅限服务端使用,无需在客户端安装。
源代码:
问题与反馈:
---
<sub>Cobblemon Eclipse 由我们的团队设计、指导、平衡和运营。每一项功能及其行为均由我们创作和决定,随后在该指导下利用 AI 辅助构建,并在发布前在我们的实时网络中进行测试。根据 Modrinth 的 AI 政策,本项目已启用“包含 AI 生成内容”披露(代码)。</sub>
Cobblemon Flan Integration
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.
Features
Claim Permissions
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 |
Configurable Protections
All protections can be enabled/disabled globally via config. Each protection can also be configured per-claim through
Flan's permission GUI.
Owner Bypass
Claim owners automatically bypass all restrictions in their own claims (configurable).
Custom Messages
All denial messages are fully customizable with MiniMessage formatting support.
Configuration
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
Cobblemon Eclipse is designed, directed, balanced, and operated by our team. Every feature and its behavior is authored and decided by us, then built with AI assistance under that direction and tested on our live network before release. Per Modrinth's AI policy, this project has the "Contains AI-generated content" disclosure enabled (code).
评论 0
登录后参与评分
还没有评论,来抢沙发吧