Head Drop
? 我们的合作伙伴
需要游戏服务器?我们与 Voltra 合作,一个计划涵盖所有游戏,每月仅需 $1.99,并提供 2 天免费试用且无需立即扣款。
结账时使用代码 GAB10,或直接点击上方的横幅,无论哪种方式您均可享受 10% 的折扣。
点击上方的横幅将支持本插件的开发,且不会向您收取额外费用 ♥️
? 简介
这款 Minecraft 插件会在玩家死亡时掉落其头颅。您可以从单个 config.yml 文件中配置头颅掉落、发光效果、粒子效果、广播消息、按玩家统计等功能,应有尽有。
原生支持 Spigot、Paper、Purpur 和 Folia,无需任何额外依赖
? 功能特性
-
PvP / PvE / 全部掉落模式
选择头颅掉落的时机:在任意死亡时掉落,仅玩家击杀时掉落(pvp),或仅环境伤害死亡时掉落(pve) -
自定义掉落几率
配置头颅掉落的精确概率(0% → 100%) -
按玩家掉落上限
可选择限制单个玩家总共能掉落的头颅数量(非常适合防止刷怪农场)。可通过命令重置任何玩家的计数 -
世界黑名单
完全禁用特定世界中的头颅掉落 -
隐身保护
可选地在死亡玩家处于隐身状态时阻止头颅掉落 -
作为物品掉落或放置在地面上
选择头颅是作为普通物品掉落,还是直接以头颅方块的形式放置在地面上,并朝向玩家面朝的方向。当地面放置时,HeadDrop 会搜索附近可用的支撑位置(若未找到,则配置为回退到普通掉落) -
自定义头颅物品
- 可编辑显示名称
- 单行或多行描述
- 10 个占位符(玩家、击杀者、武器、世界、坐标、经验值、死亡原因、日期和时间等)
- 可配置的日期格式 和时区
- 可选的消失计时器
- 可选禁止在铁砧中重命名(仅限插件生成的头颅)
- 可选的名称与描述 持久化:即使头颅被放置、挖掘或炸毁(TNT、苦力怕、末影水晶等),它仍保留其身份标识
-
Hex 颜色与传统颜色
所有文本选项(头颅名称、描述、广播消息)均支持传统颜色代码(&a)和 Hex 颜色(&#FF00AA),不再局限于原版 16 种颜色 -
广播消息
开启全局聊天消息广播,每当有头颅掉落时触发,完整支持占位符和颜色代码 -
可选特效
- 视觉闪电效果(无伤害)
- 掉落时的自定义音效
- 粒子效果,包含 7 种形状(向上、圆形、爆发、循环、脉冲、波浪、螺旋)以及可配置的持续时间(或无限)
- 彩色发光轮廓(16 种颜色,支持 Hex 颜色并匹配至最接近的颜色,可定时或无限)
-
统计系统
游戏内 GUI(/head stats)展示每位玩家的头颅掉落次数及上次掉落时间,包含:- 全服统计数据(总头颅数、独立玩家数、最近及最早掉落记录)
- 按次数、上次掉落时间或名称排序(升序 / 降序)
- 单人视图及实时玩家皮肤
- 持久化存储,重启后数据不丢失
-
给予命令
通过/head give命令向指定玩家赠送任意玩家的头颅,样式与掉落头颅的名称和描述完全一致 -
自动配置迁移
更新插件绝不会破坏您的配置:启动时,过期的config.yml会自动备份并升级至新版本,保留您已配置的所有设置 -
内置更新检查器
当 Modrinth 上发布新版本时,控制台会收到通知
所有这些功能均可在 config.yml 中完全配置
默认行为:
如果您不修改配置文件,头颅掉落的功能将与原版一致:无特效、无广播、无特殊视觉效果
?️ 安装
- 下载与您 Minecraft 服务器版本匹配的插件版本
- 将
.jar文件放入plugins文件夹 - 重启服务器以激活插件
大多数设置可在 config.yml 文件中进行自定义,请查阅该文件以获取完整的配置选项
? 命令与权限
| 命令 | 描述 | 权限(默认) |
|---|---|---|
/head help |
显示帮助菜单 | head.command.help (所有人) |
/head stats [player|page] |
打开统计 GUI | head.command.stats (所有人) |
/head give <headName> <player> |
将某玩家的头颅给予他人 | head.command.give (OP) |
/head reset <player> |
重置玩家的掉落计数器 | head.command.reset (OP) |
/head reload |
重新加载配置 | head.command.reload (OP) |
如果您不希望该命令在服务器上运行,可以在配置文件中完全禁用 /head stats 命令。
?️ 占位符
可用于头颅名称、描述和广播消息:
%head_player% · %head_player_uuid% · %head_killer% · %head_weapon% · %head_world% · %head_coordinates% · %head_datetime% · %head_xp% · %head_id% · %head_death_cause%
⚙️ 配置文件
修改 config.yml 后,请使用 /head reload 命令应用更改而无需重启服务器
此命令仅限 OP(管理员)玩家使用
更新插件时,过时的 config.yml 会自动迁移:在进行任何更改之前,会先保存带时间戳的备份到 plugins/HeadDrop/config-backups/ 目录中,因此您配置的内容永远不会丢失
? 社区与支持
需要帮助、发现了 bug,或者只是想聊聊天?
加入我们的 Discord 社区,我们非常乐意听取您的反馈和建议!
如果您喜欢这个插件并希望支持其开发,可以考虑在 Ko-fi 上请我喝杯咖啡 ❤️
❓ 常见问题
问:我在哪里可以找到 config.yml 文件?
答:首次启动后,该文件会出现在:/plugins/HeadDrop/config.yml
问:这个插件兼容 Folia 吗?
答:是的!HeadDrop 原生支持 Folia,同时也兼容 Spigot、Paper 和 Purpur,无需单独的构建版本
问:如何将插件更新到新版本?
答:下载最新版本,将旧的 .jar 文件替换到您 plugins 文件夹中的对应文件,然后重启服务器。您的 config.yml 会自动迁移,并且会先保存一份备份
问:如何报告 bug?
答:加入 Discord 服务器 并在 bug 报告频道中发布问题
问:如果我删除了 config.yml 文件会发生什么?
答:插件会在服务器下次启动时自动生成一个新的默认配置文件
? 指标数据
本插件通过两个开放的统计服务收集匿名使用数据(玩家数量、服务器数量、服务器软件及版本等):FastStats 和 bStats
FastStats 以隐私保护为首要原则:它不存储 IP 地址或任何可识别您身份的数据,且完全符合 GDPR 规范。您可以在公开的 项目页面 查看实时数据
bStats 是开源的,同样保持匿名。如果您希望禁用它,请打开 /plugins/bStats/config.yml 并将 enabled 设置为 false
Head Drop
? Our Partner
Need a game server ? We're partnered with Voltra, one plan, every game, from $1.99/mo, with a 2 day free trial and no card charged today.
Use code GAB10 at checkout, or just click the banner above, either way you get 10% off.
Clicking the banner above supports the development of this plugin at no extra cost to you ♥️
? About
This Minecraft plugin makes players drop their head upon death. Configure head drops, glowing effects, particles, broadcast messages, per-player statistics, and much more, all from a single config.yml
Runs natively on Spigot, Paper, Purpur and Folia, with no extra dependencies
? Features
-
PvP / PvE / All Drop Modes
Choose when heads drop : on any death, only player kills (pvp), or only environmental deaths (pve) -
Custom Drop Chance
Configure the exact probability of a head dropping (0% → 100%) -
Per-Player Drop Limit
Optionally cap how many heads a single player can ever drop (great for farm prevention). Reset any player with a command -
World Blacklist
Disable head drops entirely in specific worlds -
Invisibility Protection
Optionally prevent head drops when the dying player is invisible -
Drop as Item or Place on the Ground
Choose whether heads drop as a normal item, or are placed directly on the ground as a head block, facing the direction the player was looking. When placing on the ground, HeadDrop searches nearby for a free, supported spot (with a configurable fallback to a normal drop if none is found) -
Custom Head Item
- Editable display name
- Single-line or multi-line lore
- 10 placeholders (player, killer, weapon, world, coordinates, XP, death cause, date & time…)
- Configurable date format and timezone
- Optional despawn timer
- Option to block renaming in anvils (only for plugin heads)
- Optional name & lore persistence : heads keep their identity even after being placed, mined, or blown up (TNT, creepers, end crystals…)
-
Hex & Legacy Colors
Every text option (head name, lore, broadcast message) supports both legacy color codes (&a) and hex colors (&#FF00AA), so you're no longer limited to the 16 vanilla colors -
Broadcast Messages
Toggle a global chat message whenever a head drops, with full placeholder and color-code support -
Optional Effects
- Visual lightning bolt (no damage)
- Custom sound on drop
- Particles with 7 shapes (upward, circle, burst, cycle, pulse, wave, spiral) and a configurable duration (or infinite)
- Colored glowing outline (16 colors, hex accepted and matched to the closest one, timed or infinite)
-
Statistics System
An in-game GUI (/head stats) showing every player's head-drop count and last drop time, with :- Global server stats (total heads, unique players, most recent & oldest drop)
- Sorting by count, last drop, or name (ascending / descending)
- Single-player view and live player skins
- Persistent storage that survives restarts
-
Give Command
Hand out any player's head by username with/head give, styled with the exact same name and lore as a dropped head -
Automatic Config Migration
Updating the plugin never breaks your config : on startup, an outdatedconfig.ymlis automatically backed up and upgraded to the new version, keeping every setting you've already configured -
Built-in Update Checker
Get notified in the console when a new version is released on Modrinth
All these features can be fully configured in the config.yml
Default behavior :
If you don't modify the config, head drops function just like vanilla : no effects, no broadcasts, no special visuals
?️ Setup
- Download the version of the plugin that matches your Minecraft server
- Place the
.jarfile in yourpluginsfolder - Restart your server to activate the plugin
Most settings can be customized in the config.yml file, make sure to review it for full configuration options
? Commands & Permissions
| Command | Description | Permission (default) |
|---|---|---|
/head help |
Show the help menu | head.command.help (everyone) |
/head stats [player|page] |
Open the statistics GUI | head.command.stats (everyone) |
/head give <headName> <player> |
Give a player's head to someone | head.command.give (OP) |
/head reset <player> |
Reset a player's drop counter | head.command.reset (OP) |
/head reload |
Reload the configuration | head.command.reload (OP) |
The /head stats command can be fully disabled from the config if you don't want it on your server
?️ Placeholders
Usable in the head name, lore and broadcast message :
%head_player% · %head_player_uuid% · %head_killer% · %head_weapon% · %head_world% · %head_coordinates% · %head_datetime% · %head_xp% · %head_id% · %head_death_cause%
⚙️ Config
After modifying your config.yml, use the command /head reload to apply your changes without restarting the server
This command is only available to OP players
When you update the plugin, an outdated config.yml is migrated automatically : a timestamped backup is saved to plugins/HeadDrop/config-backups/ before anything changes, so nothing you configured is ever lost
? Community & Support
Need help, found a bug, or just want to chat ?
Join our Discord community, we're always happy to hear your feedback and suggestions !
If you enjoy this plugin and want to support its development, consider buying me a coffee on Ko-fi ❤️
❓ FAQ
Q: Where can I find the config.yml file ?
A: After the first launch, the file appears at : /plugins/HeadDrop/config.yml
Q: Does this plugin work on Folia ?
A: Yes ! HeadDrop runs natively on Folia, as well as Spigot, Paper and Purpur, no separate build required
Q: How do I update the plugin to a newer version ?
A: Download the latest release, replace the old .jar file in your plugins folder, then restart your server. Your config.yml is migrated automatically, with a backup saved first
Q: How do I report bugs ?
A: Join the Discord server and post the issue in the bug-reporting channel
Q: What happens if I delete the config.yml file ?
A: The plugin automatically regenerates a fresh default configuration file the next time the server starts
? Metrics
This plugin collects anonymous usage data (player and server counts, server software and version…) through two open statistics services : FastStats and bStats
FastStats is privacy-first : it does not store IP addresses or any data that could identify you, and is fully GDPR-compliant. You can see the live numbers on the public project page
bStats is open-source and equally anonymous. If you prefer to disable it, open /plugins/bStats/config.yml and set enabled to false
下载 Head Drop
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Head Drop
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Head Drop
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Head Drop
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Head Drop
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Head Drop
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Head Drop
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Head Drop
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Head Drop
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Head Drop
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
- 头颅现在可以放置在地面上作为方块,而不是掉落为物品
- 在所有地方支持十六进制颜色代码(
&#FF00AA),同时保留传统的&a格式 - 你的
config.yml在更新时会自动迁移,并首先保存备份 - 修复了
/head give命令生成无特殊名称和描述的头颅,而非使用你配置的名称和 Lore
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
自定义你的Minecraft头像!
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
评论 0
登录后参与评分
还没有评论,来抢沙发吧