Timber (伐木插件-增加砍树的乐趣)
Timber是一个能够为你的服务器增添砍树趣味的插件!该插件能够检测玩家是否砍倒了一棵天然树,并提供了不同的模式来获取木材。
功能:
Timber插件有多种砍树模式:
- ANIMATED:树木会像真实树木一样倒向地面。
- INSTANT:整棵树木瞬间掉落物品。
- BLOCKWISE:整棵树木会在一定延迟后一块一块地掉落物品。
- TROLLING:只是为了好玩。树木会浮在空中,然后在几秒钟后掉落。
配置:
通过以下YAML代码可以对不同的模式进行配置:
The tree cutting mode
ANIMATED: The tree will fall to the ground like a real tree.
INSTANT: The whole tree drops the items instantly.
BLOCKWISE: The whole tree drops the items piece by piece after a given delay.
TROLLING: Just for fun. The tree floats up in the air and drops after a few seconds.
Ingame command: /timber mode mode:ANIMATED
Configuration options for the different modes
modes: BLOCKWISE: # The interval in ticks between dropping the tree blocks. 1 second = 20 ticks delay: 2 ANIMATED: # If set the wood instantly drops as items. Otherwise it falls to the ground. break_stem: true # If falling trees do damage to entities falling_blocks_damage: false # How far the falling tree blocks move speed_multiplier: 1 TROLLING: # If set the tree blocks will fly into random directions after a few seconds. explode: false effects: sound: true particle: true # If set the player must cut the tree with one of the items on the list. tool_required: true # A list of worlds where the plugin is enabled. Add * to enable it everywhere. # Ingame command: /timber world worlds: ["*"]
用法:
玩家可以使用指令“/timber mode”来设置全局砍树模式,并使用“/timber world”来在特定世界启用或禁用Timber插件。
权限:
砍树需要timber.cut权限,如果需要使用其他特殊模式,则需要相应的权限。
通过“/timber reload”指令可以重新加载配置文件。
收录