CustomLazyTNT
CustomLazyTNT 是一款适用于 Paper 1.21.11 的灵活插件,添加了具有独特名称、背景故事、计时器、爆炸伤害和特殊效果的自定义 TNT 类型。
该插件已包含 3 种特殊的 TNT 类型,可直接作为现成示例使用。
插件功能
- 创建不同类型的自定义 TNT
- 每种 TNT 类型拥有独特的名称
- 自定义背景故事(lore)
- 每种 TNT 类型拥有独立的引信计时器
- 使用打火石手动点燃
- 使用火焰弹点燃
- 红石激活
- 可配置的爆炸威力
- 可配置对玩家和生物的伤害
- 可配置的爆炸半径
- 实体击退效果
- 爆炸期间的方块变化
- 临时方块
- 刷式球体效果
- 可配置的音效和粒子效果
- 每种 TNT 类型的权限控制
- 通过指令发放 TNT
- 通过
config.yml 配置主要设置
该插件高度灵活,允许你创建几乎任何行为的 TNT,所有行为均可通过配置文件进行设置。
Fragment TNT(碎片 TNT)
Fragment TNT 的爆炸方式与普通 TNT 类似,但对黑曜石有特殊规则:
- 普通方块像常规 TNT 一样被破坏
- 普通黑曜石也会被破坏
- 哭泣黑曜石不会被破坏
- 哭泣黑曜石会转化为普通黑曜石
- 使用普通的爆炸音效和粒子效果
- 引信计时器可在配置文件中设置
Snow TNT(雪 TNT)
Snow TNT 会创建一个由临时冰块组成的球体:
- 空气会被冰替换
- 水会被冰替换
- 固体方块不会改变
- 岩浆不会改变
- 现有的冰不会被替换
- 冰会在配置的时长后消失
- 冰消失时会播放碎裂音效
- 如果冰提前被破坏,它将不会重新出现
- 球体半径可配置
默认情况下,冰持续 5 秒。
Destructive TNT(破坏性 TNT)
Destructive TNT 专为强力爆炸设计:
- 破坏普通方块
- 破坏黑曜石
- 将哭泣黑曜石转化为普通黑曜石
- 对玩家造成高伤害
- 对生物造成高伤害
- 击退实体
- 支持基于距离的伤害缩放
- 拥有独立的伤害半径
- 拥有独立的引信计时器
手动点燃
自定义 TNT 放置时表现为普通 TNT 方块,且不会自动点燃。
它可以通过以下方式激活:
引信计时器仅在 TNT 被点燃后才开始计算。
Snow Wand(雪法杖)
该插件包含一个特殊的雪法杖,其工作方式类似于:
/brush ice 3
你可以使用以下指令获取法杖:
/customlazytnt wand
之后右键点击任意方块即可。
法杖会创建一个临时冰球,替换空气和水。
指令
/customlazytnt give <player> <type> <amount>
/customlazytnt list
/customlazytnt reload
/customlazytnt wand
示例:
/customlazytnt give Steve fragment 1
/customlazytnt give Steve snow 1
/customlazytnt give Steve destructive 1
/customlazytnt wand
/customlazytnt reload
权限
customlazytnt.admin
customlazytnt.use.fragment
customlazytnt.use.snow
customlazytnt.use.destructive
customlazytnt.wand
配置
所有主要设置位于:
plugins/CustomLazyTNT/config.yml
配置文件可用于更改:
- TNT 名称
- 背景故事(lore)
- 物品材质
- 引信计时器
- 爆炸威力
- 冰球半径
- 冰持续时间
- 临时方块材质
- 空气替换逻辑
- 水替换逻辑
- 对玩家的伤害
- 对生物的伤害
- 伤害半径
- 击退强度
- 黑曜石破坏逻辑
- 哭泣黑曜石转化逻辑
- 音效和特效
安装
- 下载
CustomLazyTNT.jar
- 将其移至
plugins 文件夹
- 重启服务器
- 打开
plugins/CustomLazyTNT/config.yml
- 根据需要修改设置
- 运行
/customlazytnt reload
兼容性
Platform: Paper
Version: 1.21.11
作者: Lazzyibyt
版本: 1.0.0
CustomLazyTNT
CustomLazyTNT is a flexible plugin for Paper 1.21.11 that adds custom TNT types with unique names lore timers explosions damage and special effects
The plugin already includes 3 special TNT types that can be used as ready-made examples
Plugin Features
- create different types of custom TNT
- unique name for each TNT type
- custom lore
- separate fuse timer for each TNT type
- manual ignition with flint and steel
- ignition with fire charges
- activation with redstone
- configurable explosion power
- configurable damage to players and mobs
- configurable damage radius
- entity knockback
- block changes during explosions
- temporary blocks
- brush-style spheres
- configurable sounds and particles
- permissions for each TNT type
- give TNT with commands
- configure the main settings through
config.yml
The plugin is flexible and allows you to create TNT with almost any behavior that can be configured through the config
Fragment TNT
Fragment TNT explodes like normal TNT but has special rules for obsidian
- normal blocks are destroyed like with regular TNT
- regular obsidian is also destroyed
- crying obsidian is not destroyed
- crying obsidian is turned into regular obsidian
- normal explosion sounds and particles are used
- the fuse timer can be configured in the config
Snow TNT
Snow TNT creates a sphere made of temporary ice
- air is replaced with ice
- water is replaced with ice
- solid blocks are not changed
- lava is not changed
- existing ice is not replaced
- the ice disappears after the configured amount of time
- an ice breaking sound plays when it disappears
- if the ice is broken early it will not come back
- the sphere radius can be configured
By default the ice lasts for 5 seconds
Destructive TNT
Destructive TNT is made for powerful explosions
- destroys normal blocks
- destroys obsidian
- turns crying obsidian into regular obsidian
- deals high damage to players
- deals high damage to mobs
- knocks entities back
- supports distance-based damage scaling
- has a separate damage radius
- has a separate fuse timer
Manual Ignition
Custom TNT is placed as a normal TNT block and does not ignite by itself
It can be activated with
- flint and steel
- fire charges
- redstone
The fuse timer starts only after the TNT is ignited
Snow Wand
The plugin includes a special snow wand that works similar to
/brush ice 3
You can get the wand with
/customlazytnt wand
After that right-click a block
The wand creates a temporary ice sphere that replaces air and water
Commands
/customlazytnt give <player> <type> <amount>
/customlazytnt list
/customlazytnt reload
/customlazytnt wand
Examples
/customlazytnt give Steve fragment 1
/customlazytnt give Steve snow 1
/customlazytnt give Steve destructive 1
/customlazytnt wand
/customlazytnt reload
Permissions
customlazytnt.admin
customlazytnt.use.fragment
customlazytnt.use.snow
customlazytnt.use.destructive
customlazytnt.wand
Configuration
All main settings are located in
plugins/CustomLazyTNT/config.yml
The config can be used to change
- TNT name
- lore
- item material
- fuse timer
- explosion power
- ice sphere radius
- ice lifetime
- temporary block material
- air replacement
- water replacement
- damage to players
- damage to mobs
- damage radius
- knockback strength
- obsidian destruction
- crying obsidian transformation
- sounds and effects
Installation
- Download
CustomLazyTNT.jar
- Move it to the
plugins folder
- Restart the server
- Open
plugins/CustomLazyTNT/config.yml
- Change the settings if needed
- Run
/customlazytnt reload
Compatibility
Platform Paper
Version 1.21.11
Author: Lazzyibyt
Version: 1.0.0
评论 0
登录后参与评分
还没有评论,来抢沙发吧