🌲 TreeChopper: 带下落动画的伐木插件 | Paper · Spigot · Folia 1.16.5–26.3
击倒一根原木,见证整棵树倒下。
TreeChopper 是一款适用于 Paper、Spigot 和 Folia 的轻量级伐木插件。使用斧头破坏 TreeChopper 识别到的树上的原木时,原木会按照 Minecraft 的物理规则逐层倒塌。随后,TreeChopper 会清理树叶,并在启用自动补种功能后种植一棵新的树苗。
无需客户端模组或必需的插件依赖。将 TreeChopper-1.8.0.jar 放入服务器的 plugins/ 文件夹并重启服务器即可。
✨ 为什么选择 TreeChopper?
TreeChopper 支持 Minecraft 1.16.5–26.3,并在 Folia 可用的版本中为 Folia 带来了原木下落动画。在 Folia 上,TreeChopper 会在拥有这些方块的区域内以小批量方式调度方块更改。
在 Paper、Spigot 和 Folia 上利用原木物理效果砍伐整棵树。
🪓 核心功能
下落动画
TreeChopper 从顶部向下破坏原木,并将它们作为带有 Minecraft 物理效果的 FallingBlock(掉落物实体)向外发送。
智能树木分离
TreeChopper 检查哪些树拥有原木、树叶、根系和附着的植被,以避免在砍伐时损坏邻近的树木。
2×2 巨型树支持
TreeChopper 能够检测并将具有 2×2 树干的巨大丛林树、云杉树和黑橡树作为单棵树进行砍伐。
改进的原版树木处理
TreeChopper 处理自然的樱花树、苍翠之木和红树林,包括不规则树干、悬挂植被、红树幼苗、可可果和红树林根系。
支持的原版木材类型
橡木 · 白桦木 · 云杉木 · 丛林木 · 深色橡木 · 金合欢木 · 樱花木 · 苍翠之木 · 红树林木 · 绯红木栓 · 诡异木栓 · 蘑菇茎
自动清理树叶
原木倒塌后,TreeChopper 会清除被砍伐树木的树叶,并跳过它识别为与邻近树木共享的树叶。
附着植被清理
当 TreeChopper 识别藤蔓、可可果、苍翠悬挂苔藓、红树幼苗等植被属于被砍伐树木的一部分时,会将其移除。
⚖️ 平衡性与游戏体验
耐久度与经验修补
只有 TreeChopper 移除的原木会计入斧头的磨损。经验修补可以防止每根原木造成的磨损。如果后续批次发现你不再手持原始斧头,TreeChopper 会停止剩余的下落过程。
抢夺与精准采集
TreeChopper 使用你的斧头来计算额外原木掉落的物品,包括适用的附魔。在创造模式下,动画仍然播放,但额外原木或树叶不会掉落物品。
玩家放置的原木保护
TreeChopper 追踪由玩家放置的原木,以防止它们触发大规模砍伐。当活塞移动原木(包括粘性活塞收缩)时,它会保留这些标记。
结构检测
TreeChopper 检查附近是否存在暗示结构的方块,从而降低将村庄房屋、前哨站或其他生成建筑误认为树木的可能性。
潜行激活模式
选择插件的激活方式:
ALWAYS_ON(始终开启):无论是否潜行,手持斧头即生效SNEAK_DISABLE(潜行禁用):手持斧头生效;潜行以一次只破坏一个方块SNEAK_ENABLE(潜行启用):使用斧头时需保持潜行状态以激活 TreeChopper
玩家独立开关
玩家可以使用 /treechopper toggle 命令为自己启用或禁用伐木功能。TreeChopper 会在会话之间保存他们的选择。
群组级别权限
使用 treechopper.use 来控制谁可以使用 TreeChopper 砍伐树木、清理树叶和自动补种。默认情况下所有人都有此权限。禁止该权限会使普通方块破坏保持不变,并且优先于玩家的切换设置。
🔗 插件集成
| 插件 | 行为 |
|---|---|
| WorldGuard | TreeChopper 在破坏方块或补种前检查区域权限。 |
| GriefPrevention | TreeChopper 检查玩家是否在领地内可以破坏或放置方块。 |
| CoreProtect | CoreProtect 通过 Bukkit 事件记录方块破坏,包括原木和树叶。TreeChopper 以玩家名称记录自动补种的放置操作,而不会重复记录这些破坏。 |
| PlaceholderAPI | 向兼容插件暴露玩家统计数据和排行榜数据。 |
所有集成均为可选。您可以不安装任何上述插件来运行 TreeChopper。
🌱 自动补种
启用自动补种后,TreeChopper 会在成功砍伐后尝试在底部种植新树。默认情况下此功能处于禁用状态。
- 支持普通树和巨型树(2×2);需单独启用巨型树补种
- 选择是要求并从玩家库存中消耗种植物品,还是免费种植
- 在启用放置保护时尊重 WorldGuard 和 GriefPrevention
- 当保护机制拒绝放置时不消耗种植物品
- 可限制仅对自然生成的树木生效
- 使用每个世界的列表来禁用选定世界中的补种功能
⚙️ 配置
config.yml 默认值(节选):点击展开
language:
default: en # en · ru · uk · pl · de · fr · es · it · cs
fallback: en
limits:
max-logs: 512
leaf-search-radius: 6
foreign-log-scan-radius: 6
performance:
max-blocks-per-task: 12
activation:
mode: SNEAK_DISABLE # ALWAYS_ON · SNEAK_DISABLE · SNEAK_ENABLE
player-toggle:
enabled: true
default-enabled: true
save-on-change: true
detection:
min-leaf-contacts: 2
min-mega-leaf-contacts: 4
max-structure-contacts: 8
protection:
enabled: true
use-worldguard: true
use-griefprevention: true
mode: FAIL_WHOLE_TREE
integrations:
coreprotect:
enabled: true
auto-replant:
enabled: false
require-sapling: true
consume-sapling: true
delay-ticks-after-fell: 2
replant-mega-trees: false
mega-mode: single # single · four-saplings
respect-protection: true
only-natural-trees: true
disabled-worlds: []
💬 命令与权限
| 命令 | 权限节点 | 默认值 | 描述 |
|---|---|---|---|
| 砍伐原木 | treechopper.use |
everyone | 使用 TreeChopper 的砍伐、树叶清理和自动补种机制 |
/treechopper toggle |
treechopper.toggle |
everyone | 启用或禁用你个人的树木砍伐功能 |
/treechopper reload |
treechopper.reload |
op | 取消待处理的砍树任务,并重新加载游戏设置和消息提示,无需重启服务器 |
/treechopper stats |
treechopper.stats |
everyone | 查看你的砍树数量、原木破坏数及排行榜排名 |
/treechopper top |
treechopper.top |
everyone | 查看服务器的砍树排行榜 |
若要在 LuckPerms 中拒绝某组的访问权限,请运行 /lp group <group> permission set treechopper.use false。拥有 treechopper.toggle 权限的玩家仍可使用个人开关,但这并不能授予他们使用 TreeChopper 机制的权限。更改统计设置后需重启服务器。
🌍 本地化
内置翻译支持:English、Russian、Ukrainian、Polish、German、French、Spanish、Italian 和 Czech。
编辑 plugins/TreeChopper/lang/ 目录下的语言文件,并在 config.yml 的 language.default 下设置你偏好的语言。
🚀 完美适用
- SMP 服务器: 在生存模式下加快砍树速度,同时保留斧头耐久度损耗
- Vanilla+ 服务器: 保持 Minecraft 原版方块物理特性及标准斧头掉落规则
- 经济类服务器: 额外原木的斧头耐久度消耗及附魔效果依然有效
- Folia 服务器: 利用区域感知调度运行下落动画
- 使用 WorldGuard / GriefPrevention / CoreProtect 的服务器: 保留区域检查、领地保护及方块历史记录
📋 依赖要求
- 服务端: Paper, Spigot, 或 Folia
- Java: 请使用你的服务端构建所要求的 Java 版本。Paper 26.1 及更高版本使用 Java 25。
- Minecraft: 1.16.5–26.3。请查看 发布页面 以获取列出的 Minecraft 版本支持情况。
TreeChopper 1.8.0 通过了全部 82 项自动化测试。采用 MIT 许可证授权。
🌲 TreeChopper: Tree Felling Plugin with Falling Animation | Paper · Spigot · Folia 1.16.5–26.3
Break one log. Watch the whole tree fall.
TreeChopper is a lightweight tree-felling plugin for Paper, Spigot, and Folia. Break a log with an axe on a tree TreeChopper recognizes, and the logs tumble down layer by layer with Minecraft physics. TreeChopper then clears the tree's foliage and can plant a replacement sapling if you enable auto-replant.
No client mods or required plugin dependencies. Drop TreeChopper-1.8.0.jar into your server's plugins/ folder and restart the server.
✨ Why TreeChopper?
TreeChopper supports Minecraft 1.16.5–26.3 and brings falling log animation to Folia on versions where Folia is available. On Folia, TreeChopper schedules block changes in small batches on the regions that own those blocks.
Fell whole trees with falling log physics on Paper, Spigot, and Folia.
🪓 Core Features
Falling animation
TreeChopper breaks logs from the top down and sends them outward as FallingBlock entities with Minecraft physics.
Smart tree separation
TreeChopper checks which tree owns the logs, leaves, roots, and attached vegetation to avoid damaging a neighboring tree when you chop.
2×2 mega tree support
TreeChopper detects and fells large Jungle, Spruce, and Dark Oak trees with 2×2 trunks as a single tree.
Improved vanilla tree handling
TreeChopper handles natural Cherry, Pale Oak, and Mangrove trees, including irregular trunks, hanging vegetation, propagules, cocoa, and mangrove roots.
Supported vanilla wood types
Oak · Birch · Spruce · Jungle · Dark Oak · Acacia · Cherry · Pale Oak · Mangrove · Crimson Stem · Warped Stem · Mushroom Stem
Automatic leaf cleanup
After the logs fall, TreeChopper clears the felled tree's leaves and skips leaves it identifies as shared with a neighboring tree.
Attached vegetation cleanup
TreeChopper removes vines, cocoa, pale hanging moss, mangrove propagules, and similar vegetation when it identifies them as part of the felled tree.
⚖️ Balance & Gameplay Feel
Durability & Unbreaking
Only logs TreeChopper removes count toward axe wear. Unbreaking can prevent that wear on each log. TreeChopper stops the remaining fell if a later batch finds you no longer holding the original axe.
Fortune & Silk Touch
TreeChopper uses your axe to calculate drops from the extra logs, including applicable enchantments. In Creative, the animation still plays without item drops from extra logs or foliage.
Player-placed log protection
TreeChopper tracks logs placed by players so they don't trigger mass felling. It keeps those markers when pistons move logs, including sticky piston retraction.
Structure detection
TreeChopper checks for nearby blocks that suggest a structure, reducing the chance of mistaking village houses, outposts, or other generated buildings for trees.
Sneak activation modes
Choose how the plugin activates:
ALWAYS_ON: active with an axe whether or not you're sneakingSNEAK_DISABLE: active with an axe; sneak to break one block at a timeSNEAK_ENABLE: hold sneak while using an axe to activate TreeChopper
Per-player toggle
Players can enable or disable tree chopping for themselves with /treechopper toggle. TreeChopper saves their choice across sessions.
Group-level access
Use treechopper.use to control who can fell trees, clear foliage, and auto-replant with TreeChopper. Everyone has this permission by default. Denying it for a group leaves ordinary block breaking unchanged and takes precedence over the player's toggle setting.
🔗 Plugin Integrations
| Plugin | Behavior |
|---|---|
| WorldGuard | TreeChopper checks region permissions before breaking blocks or replanting. |
| GriefPrevention | TreeChopper checks whether the player can break or place blocks in a claim. |
| CoreProtect | CoreProtect logs block breaks, including logs and foliage, through Bukkit events. TreeChopper records auto-replant placements under the player's name without logging those breaks twice. |
| PlaceholderAPI | Exposes player statistics and leaderboard data to compatible plugins. |
All integrations are optional. You can run TreeChopper without installing any of them.
🌱 Auto-Replant
When you enable auto-replant, TreeChopper attempts to plant at the base after a successful fell. It starts disabled by default.
- Supports regular and mega (2×2) trees; enable mega-tree replanting separately
- Choose whether to require and consume planting items from the player's inventory or plant for free
- Respects WorldGuard and GriefPrevention when placement protection is enabled
- Doesn't consume planting items when protection denies placement
- Can be limited to natural trees only
- Uses a per-world list to disable replanting in selected worlds
⚙️ Configuration
config.yml defaults (excerpt): click to expand
language:
default: en # en · ru · uk · pl · de · fr · es · it · cs
fallback: en
limits:
max-logs: 512
leaf-search-radius: 6
foreign-log-scan-radius: 6
performance:
max-blocks-per-task: 12
activation:
mode: SNEAK_DISABLE # ALWAYS_ON · SNEAK_DISABLE · SNEAK_ENABLE
player-toggle:
enabled: true
default-enabled: true
save-on-change: true
detection:
min-leaf-contacts: 2
min-mega-leaf-contacts: 4
max-structure-contacts: 8
protection:
enabled: true
use-worldguard: true
use-griefprevention: true
mode: FAIL_WHOLE_TREE
integrations:
coreprotect:
enabled: true
auto-replant:
enabled: false
require-sapling: true
consume-sapling: true
delay-ticks-after-fell: 2
replant-mega-trees: false
mega-mode: single # single · four-saplings
respect-protection: true
only-natural-trees: true
disabled-worlds: []
💬 Commands & Permissions
| Command | Permission | Default | Description |
|---|---|---|---|
| Breaking a log | treechopper.use |
everyone | Use TreeChopper's felling, foliage cleanup, and auto-replant mechanics |
/treechopper toggle |
treechopper.toggle |
everyone | Enable or disable tree chopping for yourself |
/treechopper reload |
treechopper.reload |
op | Cancel pending tree tasks and reload gameplay settings and messages without restarting |
/treechopper stats |
treechopper.stats |
everyone | See your trees felled, logs broken, and leaderboard rank |
/treechopper top |
treechopper.top |
everyone | View the server's tree-felling leaderboard |
To deny access for a group in LuckPerms, run /lp group <group> permission set treechopper.use false. Players with treechopper.toggle can still use the personal toggle, but it cannot grant access to TreeChopper's mechanics. Restart the server after changing statistics settings.
🌍 Localization
Built-in translations: English, Russian, Ukrainian, Polish, German, French, Spanish, Italian, and Czech.
Edit the language files in plugins/TreeChopper/lang/ and set your preferred language under language.default in config.yml.
🚀 Perfect For
- SMP servers: fell trees faster while keeping axe wear in Survival
- Vanilla+ servers: keep Minecraft's block physics and the standard axe drop rules
- Economy servers: axe durability and applicable enchantments still matter on extra logs
- Folia servers: run falling animations with region-aware scheduling
- Servers using WorldGuard / GriefPrevention / CoreProtect: keep region checks, claim protection, and block history
📋 Requirements
- Server: Paper, Spigot, or Folia
- Java: use the Java version your server build requires. Paper 26.1 and later use Java 25.
- Minecraft: 1.16.5–26.3. Check the release page for the listed Minecraft versions.
TreeChopper 1.8.0 passed all 82 automated tests. MIT licensed.
下载 TreeChopperUltra
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 TreeChopperUltra
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 TreeChopperUltra
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 TreeChopperUltra
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 TreeChopperUltra
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 TreeChopperUltra
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 TreeChopperUltra
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 TreeChopperUltra
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 TreeChopperUltra
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
-
在 CoreProtect 已安装但被禁用或无法链接其 API 时,保持 TreeChopper 正常运行。
-
让 CoreProtect 记录来自 Bukkit 事件的方块破坏行为,以避免日志和树叶出现重复的历史条目。
-
新增
treechopper.use权限,用于控制群体伐木、树叶清理和自动补种。该权限默认值为 true。 -
将 Minecraft 26.2 和 26.3 添加到发布元数据中,并更新了构建工具。
-
在延迟执行期间重新检查权限和保护机制。如果配置的保护钩子失败,则拒绝插件操作。
-
等待初始破坏以及每批原木完成后,再记录已完成的树木并开始树叶清理或自动补种。
-
对每次伐木强制执行配置的原木数量限制,并在延迟清理树叶时跳过未加载的区块。
-
仅对移除的原木消耗斧头耐久度;若原始斧头被替换,则停止剩余的伐木动作。
-
跳过玩家 Folia 区域外的延迟玩家操作,并为每个玩家序列化切换保存状态。
-
在重载时取消待处理的延迟工作,包括通过 Paper 的区域调度器安排的任务。
-
在创造模式下抑制额外原木和树叶掉落的生成,同时保留动画效果。
-
使用活塞移动玩家放置的原木标记,包括粘性活塞收回的情况,且不改变已被取消的移动操作。
TreeChopper 1.7.0
此版本新增了玩家统计、占位符、新翻译以及更广泛的服务器兼容性。
新增内容
- 通过
/treechopper stats查看玩家统计数据 - 通过
/treechopper top查看服务器排行榜 - 为个人统计数据和排行榜数据提供 PlaceholderAPI 占位符支持
- 内置波兰语、德语、法语、西班牙语、意大利语和捷克语翻译
兼容性
- 支持 Paper / Spigot / Folia
- 恢复对 Java 8+ 的运行时支持
- 在更多受支持的旧版 Minecraft 服务器版本中实现更广泛的兼容性
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
使床在所有维度中爆炸的模组
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
评论 0
登录后参与评分
还没有评论,来抢沙发吧