TreeCutter
TreeCutter 是一个轻量且可配置的 Minecraft 插件,允许玩家在潜行并破坏底部原木时瞬间砍倒整棵天然树木。该插件尊重工具耐久度,命令兼容 LuckPerms,管理员拥有完全控制权。
功能
- 潜行并破坏底部原木时瞬间砍伐树木。
- 支持 Unbreaking(无损)附魔的工具耐久度处理。
- 耐久度耗尽确认机制(再次蹲下 + 破坏),静默确认破坏。
- 通过专用开关
behavior.block-player-made-trees阻止玩家建造的树木。 - 追踪玩家放置和命令放置的原木(
setblock/fill),支持配置最大填充体积。 - 兼容 WorldGuard,提供严格的方块破坏检查及可选的插件标志支持。
- 黑名单系统,配合动作栏警告,使用
/tcmsg off可隐藏黑名单警告。 - 解除黑名单的动作栏通知,包括玩家稍后上线时的投递通知。
- 前缀和消息可通过
config.yml和messages.yml完全自定义。 - 兼容 Paper、Purpur 和 Spigot 1.21+。
安装
- 下载
TreeCutter.jar。 - 将其放入服务器的
plugins文件夹中。 - 启动服务器以生成默认配置文件:
config.ymlmessages.yml - 根据需要配置选项。
- 重启服务器(或运行
/tcadmin reload)以应用更改。
命令
玩家命令
| 命令 | 权限 | 描述 |
|---|---|---|
/tc on |
treecutter.command.tc.on |
为玩家启用 TreeCutter |
/tc off |
treecutter.command.tc.off |
为玩家禁用 TreeCutter |
/tc status |
treecutter.command.tc.status |
显示玩家状态 |
/tc help |
treecutter.command.tc.help |
显示可用的玩家命令 |
/tcmsg off |
treecutter.command.tcmsg |
隐藏黑名单动作栏警告 |
管理员命令
| 命令 | 权限 | 描述 |
|---|---|---|
/tcadmin on |
treecutter.command.tcadmin.on |
全局启用插件 |
/tcadmin off |
treecutter.command.tcadmin.off |
全局禁用插件 |
/tcadmin reload |
treecutter.command.tcadmin.reload |
重新加载配置和消息 |
/tcadmin check <player> |
treecutter.command.tcadmin.check |
查看玩家统计信息 |
/tcadmin blacklist add <player> |
treecutter.command.tcadmin.blacklist |
将玩家加入黑名单 |
/tcadmin blacklist remove <player> |
treecutter.command.tcadmin.blacklist |
从黑名单移除玩家 |
/tcadmin blacklist list |
treecutter.command.tcadmin.blacklist |
列出被拉黑玩家 |
/tcadmin help |
treecutter.command.tcadmin.help |
显示管理员命令 |
管理员命令仅对具有相应权限的用户可见。
权限
treecutter.use-> 允许砍树treecutter.command.tc-> 基础访问/tctreecutter.command.tcmsg-> 访问/tcmsgtreecutter.command.tc.on-> 访问/tc ontreecutter.command.tc.off-> 访问/tc offtreecutter.command.tc.status-> 访问/tc statustreecutter.command.tc.help-> 访问/tc helptreecutter.command.tcadmin-> 基础访问/tcadmintreecutter.command.tcadmin.on-> 访问/tcadmin ontreecutter.command.tcadmin.off-> 访问/tcadmin offtreecutter.command.tcadmin.reload-> 访问/tcadmin reloadtreecutter.command.tcadmin.blacklist-> 访问黑名单管理操作treecutter.command.tcadmin.check-> 访问/tcadmin checktreecutter.command.tcadmin.help-> 访问/tcadmin helptreecutter.bypass.worldguard-> 绕过 WorldGuard 检查
权限由 LuckPerms 完全强制执行。仅在未安装 LuckPerms 时适用 OP 回退机制。
配置文件
config.yml
Configs
enabled: true
disabled-players: []
blacklist: []
blacklist-message-disabled: []
pending-unblacklist-notice: []
prefix: "&8[&3T&bC&8]"
behavior:
sneak-required: true
block-player-made-trees: true
require-axe: false
max-tree-size: 256
cooldown-seconds: 1.0
confirmation-required: true
confirmation-time-seconds: 10
tree-detection:
max-leaf-search-radius: 3
max-leaf-search-up: 5
min-leaf-count: 4
max-horizontal-spread: 6
require-upward-growth: true
placed-log-tracking:
player-placed: true
command-placed: true
max-fill-volume: 50000
notifications:
blacklist-actionbar-seconds: 10
unblacklist-actionbar-seconds: 10
drops:
drop-items: true
preserve-tool-durability: false
allow-vanilla-drops: false
hooks:
worldguard:
enabled: true
deny-partial-breaks: true
placeholderapi:
enabled: true
messages.yml
- 完全可自定义的玩家/管理员消息。
- 支持占位符替换(
{prefix}、{player}、{time}、{tool}、{count}等)。 - 黑名单操作栏警告文本可配置,包括
/tcmsg off提示。
注意事项
/tcmsg默认不显示 Tab 补全建议。- 如果玩家在离线状态下被解除黑名单,下次登录时会显示绿色的解除黑名单通知。
- 对于区域保护,请保持
hooks.worldguard.enabled: true,并且除非有意为之,否则不要给予treecutter.bypass.worldguard权限。
TreeCutter
TreeCutter is a lightweight and configurable Minecraft plugin that allows players to cut down entire natural trees instantly by sneaking and breaking the bottom log. Tool durability is respected, commands are LuckPerms-friendly, and admins have full control.
Features
- Instant tree cutting when sneaking and breaking the bottom log.
- Tool durability handling with Unbreaking support.
- Durability break confirmation (crouch + break again) with silent confirmed break.
- Player-made tree blocking with a dedicated toggle:
behavior.block-player-made-trees. - Tracking for player-placed and command-placed logs (
setblock/fill) with configurable max fill volume. - WorldGuard compatibility with strict block-break checks and optional plugin flag support.
- Blacklist system with action-bar warnings and
/tcmsg offto hide blacklist warnings. - Unblacklist action-bar notice, including delivery when the player joins later.
- Prefix and messages fully configurable through
config.ymlandmessages.yml. - Compatible with Paper, Purpur, and Spigot 1.21+.
Installation
- Download
TreeCutter.jar. - Place it in the server's
pluginsfolder. - Start the server to generate default config files:
config.ymlmessages.yml - Configure options as needed.
- Restart the server (or run
/tcadmin reload) to apply changes.
Commands
Player Commands
| Command | Permission | Description |
|---|---|---|
/tc on |
treecutter.command.tc.on |
Enable TreeCutter for the player |
/tc off |
treecutter.command.tc.off |
Disable TreeCutter for the player |
/tc status |
treecutter.command.tc.status |
Show player status |
/tc help |
treecutter.command.tc.help |
Show available player commands |
/tcmsg off |
treecutter.command.tcmsg |
Hide blacklist action-bar warnings |
Admin Commands
| Command | Permission | Description |
|---|---|---|
/tcadmin on |
treecutter.command.tcadmin.on |
Enable plugin globally |
/tcadmin off |
treecutter.command.tcadmin.off |
Disable plugin globally |
/tcadmin reload |
treecutter.command.tcadmin.reload |
Reload config and messages |
/tcadmin check <player> |
treecutter.command.tcadmin.check |
View player stats |
/tcadmin blacklist add <player> |
treecutter.command.tcadmin.blacklist |
Add player to blacklist |
/tcadmin blacklist remove <player> |
treecutter.command.tcadmin.blacklist |
Remove player from blacklist |
/tcadmin blacklist list |
treecutter.command.tcadmin.blacklist |
List blacklisted players |
/tcadmin help |
treecutter.command.tcadmin.help |
Show admin commands |
Admin commands are only visible to users with permission.
Permissions
treecutter.use-> Allows cutting treestreecutter.command.tc-> Base access to/tctreecutter.command.tcmsg-> Access to/tcmsgtreecutter.command.tc.on-> Access to/tc ontreecutter.command.tc.off-> Access to/tc offtreecutter.command.tc.status-> Access to/tc statustreecutter.command.tc.help-> Access to/tc helptreecutter.command.tcadmin-> Base access to/tcadmintreecutter.command.tcadmin.on-> Access to/tcadmin ontreecutter.command.tcadmin.off-> Access to/tcadmin offtreecutter.command.tcadmin.reload-> Access to/tcadmin reloadtreecutter.command.tcadmin.blacklist-> Access to blacklist admin actionstreecutter.command.tcadmin.check-> Access to/tcadmin checktreecutter.command.tcadmin.help-> Access to/tcadmin helptreecutter.bypass.worldguard-> Bypass WorldGuard checks
Permissions are fully enforced with LuckPerms. OP fallback only applies if LuckPerms is not installed.
Configuration Files
config.yml
Configs
enabled: true
disabled-players: []
blacklist: []
blacklist-message-disabled: []
pending-unblacklist-notice: []
prefix: "&8[&3T&bC&8]"
behavior:
sneak-required: true
block-player-made-trees: true
require-axe: false
max-tree-size: 256
cooldown-seconds: 1.0
confirmation-required: true
confirmation-time-seconds: 10
tree-detection:
max-leaf-search-radius: 3
max-leaf-search-up: 5
min-leaf-count: 4
max-horizontal-spread: 6
require-upward-growth: true
placed-log-tracking:
player-placed: true
command-placed: true
max-fill-volume: 50000
notifications:
blacklist-actionbar-seconds: 10
unblacklist-actionbar-seconds: 10
drops:
drop-items: true
preserve-tool-durability: false
allow-vanilla-drops: false
hooks:
worldguard:
enabled: true
deny-partial-breaks: true
placeholderapi:
enabled: true
messages.yml
- Fully customizable player/admin messages.
- Supports placeholder replacements (
{prefix},{player},{time},{tool},{count}, etc). - Blacklist action-bar warning text is configurable, including
/tcmsg offhint.
Notes
/tcmsgdoes not show tab suggestions by design.- If a player is unblacklisted while offline, the green unblacklist notice appears on next join.
- For region protection, keep
hooks.worldguard.enabled: trueand avoid givingtreecutter.bypass.worldguardunless intended.
下载 Tree Cutter
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Tree Cutter
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Tree Cutter
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Tree Cutter
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Tree Cutter
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Tree Cutter
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Tree Cutter
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Tree Cutter
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Tree Cutter
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Tree Cutter
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
TreeCutter v3.0.0 是一个重大更新,包含完全重制的插件、新增命令以及改进的功能。
- 添加了树叶自然腐烂机制
- 完全更新了插件
- 新增了多个命令
- 提升了整体性能与稳定性
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。


评论 0
登录后参与评分
还没有评论,来抢沙发吧