关于 TrophyHeads
一个插件,使玩家(或生物)在死亡时掉落其头颅。

功能
- 根据配置设置,玩家死亡时可以掉落自己的头颅。
- 玩家可以通过 /headspawn 命令生成头颅。(需要权限。)
- 玩家可以使用带有名称的纸片加上 crafting box 中的头颅来重命名头颅。
- 生物可以选择性地掉落头颅。
- 右键点击骷髅头可查看其归属者。
安装方法
- 只需将 jar 文件放入你的 plugins 目录并重启服务器即可。
- 根据需要更新 config.yml。
- 更新权限设置。
权限
trophyheads.spawn - 允许玩家运行 /headspawn 命令。(默认:op)
trophyheads.give - 允许玩家运行 /headgive 命令。(默认:op)
trophyheads.drop - 允许玩家掉落头颅。(默认:true)
trophyheads.info - 允许玩家潜行攻击骷髅头以查看所有者。(默认:true)
trophyheads.reload - 允许玩家使用 /trophyreload 命令。(默认:op)
配置
请参阅 config.yml
drop-chance - 玩家掉落头颅的概率百分比。介于 0 到 100 之间的整数。
death-types - 包含以下任意一项的列表。
- ALL
- PVP
- CONTACT
- ENTITY_ATTACK
- PROJECTILE
- SUFFOCATION
- FALL
- FIRE
- FIRE_TICK
- MELTING
- LAVA
- DROWNING
- BLOCK_EXPLOSION
- ENTITY_EXPLOSION
- VOID
- LIGHTNING
- SUICIDE
- STARVATION
- POISON
- MAGIC
- WITHER
- FALLING_BLOCK
- THORNS
- CUSTOM
player-skin - 设置为 true 或 false。如果为 true,则放置的头颅将显示正确的皮肤。
命令
生成玩家头颅。
/headspawn ([player]) ([count])
别名:/head
/headgive [player] [skull name] ([count])
别名:/headg
重新加载配置
/trophyreload
别名:/threload, /thr
附加组件
开发
已知问题
视频
其他
About TrophyHeads
A plugin that causes players (and or mobs) to drop their heads when they die.

Features
- Players can drop their heads when they die based on configuration settings.
- Players can spawn head with the /headspawn command. (Requires permissions.)
- Players can rename heads using a named piece of paper plus a head in a craftbox.
- Mobs optionally drop heads.
- Right click a skull to see who it belonged to.
How to install
- Just drop the jar file in your plugins directory and restart your server.
- Update config.yml as needed.
- Update permissions.
Permissions
trophyheads.spawn - Allow player to run /headspawn command. (Default: op)
trophyheads.give - Allow player to run /headgive command. (Default: op)
trophyheads.drop - Allows players to drop heads. (Default: true)
trophyheads.info - Allows players to sneak punch a skull to see the owner. (Default: true)
trophyheads.reload - Allows players to use /trophyreload command. (Default: op)
Configuration
See config.yml
drop-chance - The percentage chance of player dropping a head. A whole number between 0 and 100.
death-types - A list containing any of the following.
- ALL
- PVP
- CONTACT
- ENTITY_ATTACK
- PROJECTILE
- SUFFOCATION
- FALL
- FIRE
- FIRE_TICK
- MELTING
- LAVA
- DROWNING
- BLOCK_EXPLOSION
- ENTITY_EXPLOSION
- VOID
- LIGHTNING
- SUICIDE
- STARVATION
- POISON
- MAGIC
- WITHER
- FALLING_BLOCK
- THORNS
- CUSTOM
player-skin - Set to true or false. If true then a placed head will display the correct skin.
Commands
Spawn a player head.
/headspawn ([player]) ([count])
Aliases: /head
/headgive [player] [skull name] ([count])
Aliases: /headg
Reload configuration
/trophyreload
Aliases: /threload, /thr
Addons
Development
Known Issues
- Placing the head causes it to lose part of its meta data.
Videos
Other
评论 0
登录后参与评分
还没有评论,来抢沙发吧