Spill N' Drop
受到伤害时,物品会真的掉落出来。
SpillNDrop 让受伤带来的后果更具冲击力。当玩家坠落、被山羊顶撞或受到监守者音波冲击攻击时,其背包中的物品可能会散落在地面上。
掉落几率、适用的世界、物品行为以及各项独立功能均可由服务器管理员进行配置。
展示
兼容性
- 支持 1.19 至 26.1.2 版本的 Minecraft
- 兼容 Spigot、Paper 及其他兼容的服务器软件
- 该插件基于 Java 17 编译
- 根据服务器运行的 Minecraft 版本不同,可能需要更高版本的 Java
已在以下环境测试:
- Paper
1.19
- Paper
1.21.11
- Spigot
26.1.2
功能
- 背包掉落 — 玩家背包中的随机物品可能会散落在地上
- 手持物品掉落 — 可选仅影响玩家主手所持的物品
- 泼水效果 — 掉落的桶装水会在玩家脚下生成水源
- 药水破碎 — 饮用型、投掷型和滞留型药水会破碎并施加其效果
- 可配置掉落几率 — 可使用固定百分比或基于伤害倍率的方式
- 按原因控制 — 可独立配置摔落伤害、音波冲击和山羊攻击的掉落设置
- 世界选择 — 精确选择插件生效的世界
- 散落物理效果 — 掉落的物品会以可配置的力度向外飞溅
- 拾取延迟 — 防止掉落的物品被立即拾起
- 多语言支持 — 包含英文和波兰语语言文件
伤害来源
| 来源 |
配置键 |
默认几率 |
| 摔落伤害 |
FALL |
6.0 × 伤害值 |
| 监守者音波冲击 |
SONIC_BOOM |
10.0 × 伤害值 |
| 山羊冲撞 |
GOAT_ATTACK |
20.0 × 伤害值 |
掉落几率可以使用以下任一方式:
配置
默认配置仅在主世界、下界和末地启用 SpillNDrop:
language: en # 可用选项:en, pl
# 启用 SpillNDrop 的世界
# 使用 '*' 可在所有世界中启用 SpillNDrop
enabled-worlds:
- world
- world_nether
- world_the_end
multipliers:
FALL: 6.0
SONIC_BOOM: 10.0
GOAT_ATTACK: 20.0
drop-height-offset: 0.5
pickup-delay: 20
scatter-force: 0.2
features:
drop-items: true
drop-held-item: false
spill-water: true
smash-potions: true
要在所有世界中启用 SpillNDrop:
enabled-worlds:
- '*'
手动编辑配置后,请使用 /snd reload 重新加载。
命令
所有命令均需 spillndrop.admin 权限。
| 命令 |
描述 |
/snd help |
显示命令列表 |
/snd reload |
重新加载配置和语言文件 |
/snd version |
显示插件版本和作者信息 |
/snd set <cause> <value> |
更改特定伤害来源的掉落几率 |
/snd toggle <feature> [true/false] |
启用、禁用或切换某项功能 |
示例:
/snd set FALL 8.0
/snd set SONIC_BOOM 50%
/snd toggle spill-water false
/snd reload
可切换功能
| 功能 |
描述 |
drop-items |
掉落整个背包中的随机物品 |
drop-held-item |
仅影响主手所持物品 |
spill-water |
桶装水改为在脚下生成水源而非直接掉落 |
smash-potions |
药水破碎并施加其效果 |
同时启用 drop-items 和 drop-held-item 时,手持物品将获得额外的掉落几率。
语言支持
SpillNDrop 包含英文和波兰语翻译。
语言文件存储在插件的 langs 目录内。要添加其他语言:
- 复制现有的语言文件,例如
en.yml。
- 将其重命名,例如改为
de.yml。
- 在
config.yml 中设置 language: de。
- 运行
/snd reload。
权限
| 权限 |
描述 |
默认授予 |
spillndrop.admin |
访问所有 /snd 管理命令 |
管理员(Operators) |
Spill N' Drop
Drop your items when you get hurt — literally.
SpillNDrop makes taking damage more impactful. When players fall, get rammed by a goat, or are hit by a Warden's sonic boom, their inventory items may spill onto the ground.
Drop chances, supported worlds, item behavior, and individual features can be configured by server administrators.
Presentation
Compatibility
- Supports Minecraft versions from 1.19 through 26.1.2
- Compatible with Spigot, Paper, and compatible server software
- The plugin is compiled for Java 17
- Your server may require a newer Java version depending on its Minecraft version
Tested on:
- Paper
1.19
- Paper
1.21.11
- Spigot
26.1.2
Features
- Inventory drop — random items from the player's inventory may scatter onto the ground
- Held item drop — optionally only affect the item held in the player's main hand
- Water spill — dropped water buckets place water at the player's feet
- Potion smash — drinking, splash, and lingering potions shatter and apply their effects
- Configurable drop chance — use a flat percentage or damage-based multiplier
- Per-cause control — configure fall damage, sonic boom, and goat attacks independently
- World selection — choose exactly which worlds the plugin affects
- Scatter physics — dropped items fly outward with configurable force
- Pickup delay — prevent dropped items from being immediately picked up
- Multi-language support — includes English and Polish language files
Damage Causes
| Cause |
Config key |
Default chance |
| Fall damage |
FALL |
6.0 × damage |
| Warden sonic boom |
SONIC_BOOM |
10.0 × damage |
| Goat ram |
GOAT_ATTACK |
20.0 × damage |
Drop chances can use either:
- A damage multiplier, such as
6.0
- A fixed percentage, such as
20%
Configuration
The default configuration enables SpillNDrop in the overworld, Nether, and End:
language: en # Available: en, pl
# Worlds in which SpillNDrop is enabled
# Use '*' to enable SpillNDrop in all worlds
enabled-worlds:
- world
- world_nether
- world_the_end
multipliers:
FALL: 6.0
SONIC_BOOM: 10.0
GOAT_ATTACK: 20.0
drop-height-offset: 0.5
pickup-delay: 20
scatter-force: 0.2
features:
drop-items: true
drop-held-item: false
spill-water: true
smash-potions: true
To enable SpillNDrop in every world:
enabled-worlds:
- '*'
Use /snd reload after manually editing the configuration.
Commands
All commands require the spillndrop.admin permission.
| Command |
Description |
/snd help |
Show the command list |
/snd reload |
Reload configuration and language files |
/snd version |
Show plugin version and author |
/snd set <cause> <value> |
Change the drop chance for a damage cause |
/snd toggle <feature> [true/false] |
Enable, disable, or toggle a feature |
Examples:
/snd set FALL 8.0
/snd set SONIC_BOOM 50%
/snd toggle spill-water false
/snd reload
Toggleable Features
| Feature |
Description |
drop-items |
Drops random items from the entire inventory |
drop-held-item |
Only affects the item held in the main hand |
spill-water |
Water buckets place water instead of dropping |
smash-potions |
Potions shatter and apply their effects |
Enabling both drop-items and drop-held-item causes the held item to receive an additional drop chance.
Language Support
SpillNDrop includes English and Polish translations.
Language files are stored inside the plugin's langs directory. To add another language:
- Copy an existing language file, such as
en.yml.
- Rename it, for example to
de.yml.
- Set
language: de inside config.yml.
- Run
/snd reload.
Permissions
| Permission |
Description |
Default |
spillndrop.admin |
Access to all /snd administration commands |
Operators |
评论 0
登录后参与评分
还没有评论,来抢沙发吧