Pigly 的玩家头颅掉落
当玩家死亡时,他们会掉落自己的头颅。
其他玩家可以使用该头颅,使其对头颅的所有者隐形。
玩家还可以运行 /decorate 命令,使这些头颅仅作为装饰用途。
隐身效果持续 1 分钟,或者直到该玩家的攻击击中头颅所有者为止。
默认情况下,头颅有 20 秒的冷却时间,但可以在配置文件中修改。
是否在使用后消耗头颅,可以分别为普通头颅和伪装头颅进行设置。
当前版本 1.4.0 撤销了“死亡羁绊”功能的添加,并在更新插件时重置配置文件。
1.4.0 还修复了一些涉及伪装头颅的重大漏洞。
目标保护 (1.4.1+)
此功能默认禁用,但可以在配置文件中启用。支持以下类型:
- 限制玩家对处于隐身状态的目标造成的伤害上限或最终/有效伤害
- 阻止玩家攻击处于隐身状态的目标
1.5.1 更改内容
- 生命文件现在异步更新
- 冷却时间现在由 APIManager 处理
- 冷却类型可以进行注册
- 将 APIManager 和 CooldownManager 的构造函数设为 protected
1.5.0 更改内容
- 扩展了功能扩展能力
- 其他插件可以访问 APIManager
- 头颅类型通过 API 管理器控制
- 扩展程序可以通过 PlayerInteractListener 添加头颅类型
- 冷却时间现在在内存中处理,而不是存储在配置文件中
- 断开连接时清除伪装效果
- 添加了伪装头颅的冷却时间(在配置文件中设置)
- 管理员可以使用
/head 获取其他玩家的头颅
- (错误修复)所有情况下均正确应用配置设置的冷却时间
- (错误修复)如果
headUse.consumeHead 设置为 false,则不会消耗普通头颅
1.4.0 更改内容
- 回退到 1.3.0 之前的状态
- 玩家死亡时会失去伪装效果
- 更新插件时自动更新配置文件
- (错误修复)当伪装成另一名玩家时,玩家不再能通过死亡或
/head 命令获取其所伪装对象的头颅
- (错误修复)伪装过期时皮肤会正确重置
1.2.0 更改内容
- 生命值系统
- 扩展配置文件选项
- 配置文件结构重组
- 简易禁用系统
- 复活机制
- 额外生命值(使用头颅制作)
- 修复了 NBTCraftingRecipe API 的问题,该问题会导致无法注册多个配方
- 添加了允许插件扩展的 API
1.1.0 中的更改
- 使用后消耗头颅的配置选项
- 头颅使用持续时间的配置选项
- 头颅使用冷却时间的配置选项
- 伪装头颅
- 伪装持续时间的配置选项
- NBT 合成 API(可作为依赖项供其他插件使用)
- 适用于涉及玩家头颅的合成配方
- 所有者存储变更(改用 PlayerProfile 而非 Player)
Pigly's Player Head Drops
When a player dies, they drop their head.
This head can be used by another player to make them invisible to the head's owner.
Players can also run /decorate to make the heads purely decorative.
Invisibility lasts for 1 minute or until the head's owner is hit by the player.
Heads have a 20-second cooldown by default, but it can be modified in the config.
Whether heads are consumed on use can be set for normal and disugise heads.
The current version, 1.4.0, reverts the death bond addition and resets config when updating the plugin.
1.4.0 also fixes some major exploits involving disguise heads.
Target Protection (1.4.1+)
This is disabled by default, but can be enabled in the config. The following types can be used:
- Cap dealt or final/effective damage on person a player is invisible to
- Prevent a player from damaging a person a player is invisible to
Changes 1.5.1
- Lives file is updated asynchronously
- Cooldowns are now handled by the APIManager
- Cooldown types can be registered
- Made constructors for APIManager and CooldownManager protected
Changes 1.5.0
- Expanded capabilities for extending functionality
- Other plugins can access the APIManager
- Head types are controlled through the API manager
- Extensions can add head types, handled through PlayerInteractListener
- Cooldowns are now handled in memory and not in a config file
- Disguises are cleared when disconnecting
- Added cooldown for disguise heads (set in config)
- Operators can use
/head to get heads from other players
- (Bug Fix) Config-set cooldown is properly applied in all cases
- (Bug Fix) Normal heads will not be consumed if
headUse.consumeHead is set to false
Changes 1.4.0
- Reverted 1.3.0
- Players will lose their disguise on death
- Config updates automatically when updating the plugin
- (Bug Fix) While disguised as another player, a player can no longer use death or /head to obtain the head of the player they are disguised as
- (Bug Fix) Skin is properly reset when their disguise expires
Changes 1.2.0
- Lives system
- Expanded config options
- Config restructuring
- Easy disable system
- Revives
- Extra lives (crafted with heads)
- Fixed a problem with the NBTCraftingRecipe API that would prevent registering multiple recipes
- Added an API to allow for extensions of the plugins
Changes in 1.1.0
- Config option for consuming the head on use
- Config option for head use duration
- Config option for head use cooldown
- Disguise heads
- Config option for disguise duration
- NBT Crafting API (can be used in plugins with this as a dependency)
- Useful for crafting recipes involving player heads
- Owner storage changes (using PlayerProfile instead of Player)
评论 0
登录后参与评分
还没有评论,来抢沙发吧