hTreecapitator

插件

· 作者 Haily

通过破坏一个方块来砍倒整棵树!(Timber 模组)

0 本站下载 0 关注 更新于 7 个月前

最新 1.2.1 · 26.3 · Paper / Purpur

一键开服(送7天)

hTreecapitator

一款简单的插件,允许你一次性砍伐整棵树!

Tree cut animation

?功能特性

  • 支持 Jobs 插件
  • 工具会损坏
  • 权限系统
  • 自定义附魔
  • 完全可配置
  • 支持 WorldGuard / GriefPrevention / Towny / Lands 区域保护!
  • 开启/关闭 玩家命令

?命令

命令 权限 说明
/htc htreecapitator.help 帮助
/htc reload htreecapitator.reload 重载 config.yml
/htc toggle htreecapitator.toggle 开启/关闭砍树功能
/htc enchant [player] htreecapitator.enchant 给予附魔书
htreecapitator.updatenotify 获取更新通知

⭐PlaceholderAPI

占位符 说明
%htreecapitator_toggle% 获取玩家砍树功能的开关状态
%htreecapitator_raw_toggle% 获取玩家砍树功能的原始开关状态(布尔值)

⚙️配置文件

config.yml
#-------------------------------------------------------------------------------------------------#
#                                                                                                 #
# ██  ██ ██████ █████▄  ██████ ██████ ▄█████ ▄████▄ █████▄ ██ ██████ ▄████▄ ██████ ▄████▄ █████▄  #
# ██████   ██   ██▄▄██▄ ██▄▄   ██▄▄   ██     ██▄▄██ ██▄▄█▀ ██   ██   ██▄▄██   ██   ██  ██ ██▄▄██▄ #
# ██  ██   ██   ██   ██ ██▄▄▄▄ ██▄▄▄▄ ▀█████ ██  ██ ██     ██   ██   ██  ██   ██   ▀████▀ ██   ██ #
#                                                                                                 #
#-------------------------------------------------------------------------------------------------#

# hTreecapitator by Haily

# github: https://github.com/haiilyyy
# discord: https://discord.com/invite/kyr5PYQZr8
# x: https://x.com/hailyxie

#---------------------------------------#
#               [Config]                #
#---------------------------------------#

messages:
  permission: '&c&l» &7你没有权限使用此命令!'
  console: '&c&l» &7只有玩家才能使用此命令!'
  help:
    - '&8[&m------------------------------------------------]'
    - ''
    - ' &8&l» &8/&ahtc reload &8- &7重载插件!'
    - ' &8&l» &8/&ahtc toggle &8- &7开启/关闭!'
    - ' &8&l» &8/&ahtc enchant [player] &8- &7给予附魔书!'
    - ''
    - '&8[&m------------------------------------------------]'
  reload:
    start: '&e&l» &7正在重载插件...'
    end: '&a&l» &7插件已重载!'
  toggle:
    enable: '&a&l» &7已启用砍树功能!'
    disable: '&c&l» &7已禁用砍树功能!'
  enchant:
    give: '&a&l» &7你获得了一本 &aTreecapitator &7附魔书!'
    give-other: '&a&l» &7向 &a{player}&7 给予了一本 &aTreecapitator &7附魔书!'
  inventory-full: '&c&l» &7你的背包已满,物品被丢弃在地面上!'

# 一次最多砍伐的方块数量
max-blocks: 128

# 禁用 Treecapitator 的世界列表
blocked-worlds:
  - 'example_world'

# 砍下的方块是否自动进入玩家背包
auto-pickup-drops: false

# 如果为 true,所有原木将瞬间破碎而非逐步破碎
instant-break-logs: false

# 如果为 true,所有树叶将瞬间破碎而非逐步破碎
instant-break-leaves: false

# 砍树时播放音效
# 音效类型:WOOD, BELL, ORB
sound: false
sound-type: WOOD

# 如果为 true,只有拥有权限的玩家才能砍树
use-permissions: false
permission: 'htreecapitator.use'

# 仅当玩家手持斧头时才允许砍树
axe-only: true

# 如果为 true,玩家必须按住 Shift 键才能砍树
shift-mining: false

# 如果为 true,红树林根须会与原木一起破碎
mangrove-roots: false

# 如果为 true,斧头必须具有 Treecapitator 附魔
# 使用 /htc enchant 获取附魔书,然后在铁砧上应用
require-enchantment: false

# %htreecapitator_toggle% (PlaceholderAPI)
placeholder:
  toggle-on: '&a&lON'
  toggle-off: '&c&lOFF'

?统计

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源