ClaimFly Reloaded
一款轻量级的 Paper 插件,允许玩家仅在 GriefPrevention 领地内飞行,同时在其他所有地方禁用飞行。
ClaimFly Reloaded 专为希望提供基于领地的便捷飞行功能,但又不想给予玩家无限制的创造模式飞行的生存服务器而设计。
飞行生效范围?
| 位置 |
是否允许 |
| 你自己的领地 |
✅ 是 |
| 受信任玩家的领地 + 权限 |
✅ 是 |
| 受信任玩家的领地(无权限) |
❌ 否 |
| 未认领的土地 |
❌ 否 |
| 管理员领地 + 权限 |
✅ 是 |
玩家离开允许的领地后,会自动失去受管理的飞行能力。
命令
玩家
| 命令 |
权限 |
描述 |
/claimfly |
claimfly.command |
切换领地飞行 |
/cfly |
claimfly.command |
/claimfly 的别名 |
/claimfly boundary |
claimfly.commands.boundary.toggle |
切换领地边界粒子效果 |
/claimfly boundary <distance> |
claimfly.commands.boundary.set |
设置边界粒子距离 |
管理员
| 命令 |
权限 |
描述 |
/claimfly reload |
claimfly.commands.admin |
重载插件配置 |
/claimfly checkinterval <ticks> |
claimfly.commands.admin |
更改飞行检测间隔 |
/claimfly version |
claimfly.commands.admin |
显示已安装版本 |
权限
| 权限 |
默认值 |
描述 |
claimfly.* |
OP |
授予所有 ClaimFly 权限 |
claimfly.use |
false |
允许基于领地的飞行 |
claimfly.command |
false |
使用 /claimfly |
claimfly.commands.admin |
false |
管理员命令 |
claimfly.commands.boundary.toggle |
false |
切换边界粒子效果 |
claimfly.commands.boundary.set |
false |
更改边界距离 |
claimfly.claims.others |
false |
在受信任玩家的领地中飞行 |
claimfly.claims.admin |
false |
在管理员领地中飞行 |
特性
- 在已拥有领地内飞行
- 可选:在受信任玩家领地里飞行
- 可选:管理员领地飞行权限
- 超出允许领地范围时自动禁用飞行
- 领地边界粒子可视化
- 可配置的消息与冷却时间
- 支持 YAML 或 SQLite 存储
- 可选的 bStats 数据统计
- 轻量级,适合生存模式的设计
- 支持 GriefPrevention 的信任系统
依赖要求
| 要求 |
版本 |
| 服务端软件 |
Paper 1.21.11+ |
| Java |
Java 21+ |
| 依赖项 |
GriefPrevention |
必须安装 GriefPrevention。
安装步骤
- 安装 ClaimFly。
- 将
ClaimFlyReloaded.jar 放入 /plugins 目录。
- 启动或重启服务器。
- 编辑
plugins/ClaimFly/ 目录下生成的文件。
- 配置权限。
- 完成。
插件文件
ClaimFly Reloaded 会生成以下文件:
| 路径 |
用途 |
config.yml |
主要设置与存储配置 |
lang.yml |
可编辑的插件消息 |
players.db |
SQLite 玩家数据(可选) |
players/ |
使用本地存储时的 YAML 玩家数据 |
配置说明
默认配置:
check-interval: 5
flight-toggle-cooldown: 10
storage: "sqlite"
enable-metrics: true
boundary:
show-distance: 10
show-by-default: true
消息配置:
message:
flight-toggle-on: "&a飞行已启用。"
flight-toggle-off: "&c飞行已禁用。"
cannot-fly-outside-claims: "&c你无法在领地外飞行。"
存储选项:
storage: sqlite
或者
storage: yaml
重要行为说明
ClaimFly Reloaded 会在玩家离开允许的领地时,主动移除受管理的飞行权限。
此举旨在防止以下情况:
- 在领地外保留
allowFlight 状态
- 在荒野中飞行
- 绕过正常的生存模式移动限制
- 意外获得摔落伤害保护
ClaimFly 不会授予无限制的飞行权限。
若要在其他玩家的领地内飞行,需同时满足以下条件:
claimfly.claims.others
并且
拥有 GriefPrevention 的访问信任权限。
仅拥有权限是不够的。
注意事项
- ClaimFly 仅在受允许的领地范围内管理飞行。
- 未认领的土地永远不会授予飞行权限。
- 仅拥有访问信任无法允许飞行。
- 支持 SQLite 和 YAML 存储。
- 飞行检查以可配置的间隔运行。
- 玩家可以选择禁用边界粒子效果。
支持
发现 bug 或有建议?
请提交 Issue,并提供以下信息:
- 服务器版本
- ClaimFly 版本
- 控制台错误日志
- 相关配置设置
作者
许可证
ClaimFly Reloaded
A lightweight Paper plugin that allows players to fly inside GriefPrevention claims only, while keeping flight disabled everywhere else.
ClaimFly Reloaded is designed for survival servers that want convenient claim-based flight without giving players unrestricted creative-style flying.
Where does flight work?
| Location |
Allowed |
| Your own claim |
✅ Yes |
| Trusted player claim + permission |
✅ Yes |
| Trusted player claim without permission |
❌ No |
| Unclaimed land |
❌ No |
| Admin claims + permission |
✅ Yes |
Players leaving allowed claims automatically lose managed flight.
Commands
Player
| Command |
Permission |
Description |
/claimfly |
claimfly.command |
Toggle claim flight |
/cfly |
claimfly.command |
Alias for /claimfly |
/claimfly boundary |
claimfly.commands.boundary.toggle |
Toggle claim boundary particles |
/claimfly boundary <distance> |
claimfly.commands.boundary.set |
Set boundary particle distance |
Admin
| Command |
Permission |
Description |
/claimfly reload |
claimfly.commands.admin |
Reload plugin config |
/claimfly checkinterval <ticks> |
claimfly.commands.admin |
Change flight check interval |
/claimfly version |
claimfly.commands.admin |
Show installed version |
Permissions
| Permission |
Default |
Description |
claimfly.* |
OP |
Grants all ClaimFly permissions |
claimfly.use |
false |
Allow claim-based flight |
claimfly.command |
false |
Use /claimfly |
claimfly.commands.admin |
false |
Admin commands |
claimfly.commands.boundary.toggle |
false |
Toggle boundary particles |
claimfly.commands.boundary.set |
false |
Change boundary distance |
claimfly.claims.others |
false |
Fly in trusted player claims |
claimfly.claims.admin |
false |
Fly in admin claims |
Features
- Flight inside owned claims
- Optional flight in trusted player claims
- Optional admin claim flight
- Automatic flight disable outside allowed claims
- Claim boundary particle visualization
- Configurable messages and cooldowns
- YAML or SQLite storage
- Optional bStats metrics
- Lightweight survival-friendly design
- Supports GriefPrevention trust systems
Requirements
| Requirement |
Version |
| Server Software |
Paper 1.21.11+ |
| Java |
Java 21+ |
| Dependencies |
GriefPrevention |
GriefPrevention is required.
Installation
- Install ClaimFly.
- Place
ClaimFlyReloaded.jar into /plugins.
- Start or restart the server.
- Edit generated files in
plugins/ClaimFly/.
- Configure permissions.
- Done.
Plugin Files
ClaimFly Reloaded generates:
| Path |
Purpose |
config.yml |
Main settings and storage |
lang.yml |
Editable plugin messages |
players.db |
SQLite player data (optional) |
players/ |
YAML player data when using local storage |
Configuration
Default config:
check-interval: 5
flight-toggle-cooldown: 10
storage: "sqlite"
enable-metrics: true
boundary:
show-distance: 10
show-by-default: true
Messages:
message:
flight-toggle-on: "&aFlight enabled."
flight-toggle-off: "&cFlight disabled."
cannot-fly-outside-claims: "&cYou cannot fly outside claims."
Storage options:
storage: sqlite
or
storage: yaml
Important Behavior
ClaimFly Reloaded intentionally removes managed flight when players leave an allowed claim.
This prevents:
- Keeping
allowFlight outside claims
- Flying through wilderness
- Bypassing normal survival movement
- Unintended protection from fall damage
ClaimFly does not grant unrestricted flight.
For flight inside another player's claim, both are required:
claimfly.claims.others
AND
GriefPrevention access trust.
Permission alone is not enough.
Important Notes
- ClaimFly only manages flight inside allowed claims.
- Unclaimed land never grants flight.
- Access trust alone does not allow flight.
- SQLite and YAML storage are supported.
- Flight checks run on configurable intervals.
- Boundary particles may be disabled by players.
Support
Found a bug or have a suggestion?
Open an issue with:
- Server version
- ClaimFly version
- Console errors
- Relevant config settings
Authors
License
评论 0
登录后参与评分
还没有评论,来抢沙发吧