? FloorFarm
每一列仅种植一株作物。不再有多层农田塔。
FloorFarm 是一个轻量级插件,用于阻止玩家建造垂直堆叠(多层)的作物农场。在世界中每个 X,Z 坐标列上,从世界底部到顶部只允许存在 一株 植物。
非常适合希望保持农场平衡、减少巨型农场塔带来的延迟,并让土地真正产生价值的生存和经济类服务器。
✨ 功能特性
- ? 每列仅限一株: 如果某处已有植物,其上方或下方的任何位置种植第二株植物都将被阻止
- ? 智能处理高植株: 甘蔗、仙人掌和竹子仍可自行生长和堆叠,因为它们被视为同一株植物
- ?? 村民包含在内: 农夫村民(以及任何其他会种植的生物)遵循相同的规则
- ?️ 非破坏性: 现有的堆叠农场不会被触碰,仅阻止新的种植行为
- ? 按世界生效: 仅在您选择的世界中激活(默认为主主世界)
- ? 可配置的扫描高度: 检查整列或仅检查自定义 Y 轴范围
- ? 绕过系统: 通过权限或命令为特定玩家设置绕过,重启后保存
- ⚡ 轻量级: 仅在种植时运行,无重复任务
- ? 广泛版本支持: 一个 jar 包即可兼容 1.13 → 26.2
? 示例
| 位置 |
现有植物 |
玩家种植 |
结果 |
X=10, Z=5, Y=64 |
小麦 |
Y=70 处的胡萝卜 |
❌ 被阻止 |
X=10, Z=5, Y=64 |
小麦 |
Y=30 处的胡萝卜 |
❌ 被阻止 |
X=11, Z=5, Y=70 |
无 |
胡萝卜 |
✅ 允许 |
X=10, Z=5, Y=64 |
甘蔗 |
在其上方种植甘蔗 |
✅ 允许(同种植物) |
? 命令
| 命令 |
描述 |
/floorfarm reload |
重新加载配置 |
/floorfarm bypass <player> |
切换玩家的绕过状态(适用于之前加入过的离线玩家) |
/floorfarm list |
显示所有拥有命令绕过权限的玩家 |
别名:/ff。玩家名称支持标签补全。
? 权限
| 权限 |
描述 |
默认值 |
floorfarm.admin |
使用所有 /floorfarm 命令 |
OP |
floorfarm.bypass |
忽略“每列仅限一株”的规则 |
无人 |
? floorfarm.bypass 默认不授予操作员,因此您可以以 OP 身份测试该插件。
⚙️ 配置
# 规则生效的世界列表。
# 首次启动时会自动填入您的主世界名称。
worlds:
- world
# 扫描的垂直范围。“auto” = 世界底部 / 顶部。
scan:
min-y: auto
max-y: auto
# 需要检查的来源。
enforce:
players: true
entities: true # 村民和其他生物
# 计为植物的方块类型。
# 如果您的版本中不存在的名称会被安全忽略。
plantables:
- WHEAT
- CARROTS
- POTATOES
- BEETROOTS
- MELON_STEM
- PUMPKIN_STEM
- ATTACHED_MELON_STEM
- ATTACHED_PUMPKIN_STEM
- NETHER_WART
- SUGAR_CANE
- CACTUS
- BAMBOO
- BAMBOO_SAPLING
- COCOA
- SWEET_BERRY_BUSH
- TORCHFLOWER_CROP
- PITCHER_CROP
所有消息均可在 config.yml 中编辑,并支持 & 颜色代码。也想计算树苗或花朵吗?只需将它们添加到 plantables 中即可。
? 兼容性
| 平台 |
支持情况 |
| Paper |
✅ |
| Purpur |
✅ |
| Spigot / Bukkit |
✅ |
| Folia |
❌ |
- Minecraft: 1.13 – 26.2
- Java: 8 或更高版本(取决于您的服务器版本要求)
- 依赖项: 无
❓ 常见问题
它会删除我现有的农场吗?
不会。FloorFarm 永远不会移除方块。旧的堆叠农场将保持原样,但收获后被阻止的位置无法重新种植。
甘蔗和仙人掌还能生长吗?
可以。自然生长永远不会被阻止,且用同种植物延伸是被允许的。
它会导致延迟吗?
不会。它仅在种植时检查一列。
? FloorFarm
One plant per column. No more multi-level farm towers.
FloorFarm is a lightweight plugin that stops players from building vertically stacked (multi-floor) crop farms. In every X,Z column of the world, only one plant is allowed, from the bottom of the world to the top.
Perfect for survival and economy servers that want to keep farming balanced, reduce lag from giant farm towers, and make land actually matter.
✨ Features
- ? One plant per column: a second plant anywhere above or below an existing one is blocked
- ? Smart tall-plant handling: sugar cane, cactus and bamboo can still grow and stack on themselves, since they are a single plant
- ?? Villagers included: farmer villagers (and any other mob that plants) follow the same rule
- ?️ Non-destructive: existing stacked farms are never touched, only new planting is blocked
- ? Per-world: active only in the worlds you choose (defaults to your main overworld)
- ? Configurable scan height: check the whole column or only a custom Y range
- ? Bypass system: by permission, or per player with a command, saved across restarts
- ⚡ Lightweight: only runs when something is planted, no repeating tasks
- ? Wide version support: one jar for 1.13 → 26.2
? Example
| Position |
Existing plant |
Player plants |
Result |
X=10, Z=5, Y=64 |
Wheat |
Carrot at Y=70 |
❌ Blocked |
X=10, Z=5, Y=64 |
Wheat |
Carrot at Y=30 |
❌ Blocked |
X=11, Z=5, Y=70 |
None |
Carrot |
✅ Allowed |
X=10, Z=5, Y=64 |
Sugar cane |
Sugar cane on top of it |
✅ Allowed (same plant) |
? Commands
| Command |
Description |
/floorfarm reload |
Reloads the configuration |
/floorfarm bypass <player> |
Toggles bypass for a player (works for offline players who joined before) |
/floorfarm list |
Shows all players with command bypass |
Alias: /ff. Player names tab-complete.
? Permissions
| Permission |
Description |
Default |
floorfarm.admin |
Use all /floorfarm commands |
OP |
floorfarm.bypass |
Ignore the one-plant-per-column rule |
Nobody |
? floorfarm.bypass is not given to operators by default, so you can test the plugin as an OP.
⚙️ Configuration
# Worlds where the rule is active.
# Filled with your main world name on first start.
worlds:
- world
# Vertical range that is scanned. "auto" = world bottom / top.
scan:
min-y: auto
max-y: auto
# Which sources are checked.
enforce:
players: true
entities: true # villagers and other mobs
# Block types that count as plants.
# Names that don't exist on your version are ignored safely.
plantables:
- WHEAT
- CARROTS
- POTATOES
- BEETROOTS
- MELON_STEM
- PUMPKIN_STEM
- ATTACHED_MELON_STEM
- ATTACHED_PUMPKIN_STEM
- NETHER_WART
- SUGAR_CANE
- CACTUS
- BAMBOO
- BAMBOO_SAPLING
- COCOA
- SWEET_BERRY_BUSH
- TORCHFLOWER_CROP
- PITCHER_CROP
All messages are editable in config.yml and support & color codes. Want saplings or flowers counted too? Just add them to plantables.
? Compatibility
| Platform |
Supported |
| Paper |
✅ |
| Purpur |
✅ |
| Spigot / Bukkit |
✅ |
| Folia |
❌ |
- Minecraft: 1.13 – 26.2
- Java: 8 or newer (whatever your server version requires)
- Dependencies: none
❓ FAQ
Will it delete my existing farms?
No. FloorFarm never removes blocks. Old stacked farms stay as they are, but blocked spots can't be replanted after harvesting.
Can sugar cane and cactus still grow?
Yes. Natural growth is never blocked, and extending a plant with the same plant is allowed.
Does it cause lag?
No. It only checks one column when something is planted.
评论 0
登录后参与评分
还没有评论,来抢沙发吧