本插件旨在与 Tile Data Saver 配合使用。
在此下载:
2021 年底,一位名叫 TheMasterChief69 的玩家请求我们在所有人游玩的服务器上添加玩家头颅。他对此非常坚持,事实上,正是这种执着促使我们添加了该功能。我曾预言这会给服务器带来糟糕、恐怖且令人讨厌的影响。好吧,如今已是 2023 年,我依然对它们感到厌恶……然而;我被指派创建一个新的玩家头颅插件以替换旧系统。
这是一个非常简单的插件,当玩家死亡时会掉落头颅。所有头颅的名称均为
Player's Head #DEATHS_TOTAL(玩家头颅 #总死亡次数),并且根据死亡类型(PVP 或非 PVP),物品描述中将显示有关死因的信息。
> 死亡记录
普通死亡的物品描述中会包含信息,说明该头颅属于哪位玩家、如何死亡、日期以及玩家死亡时的坐标。在这些信息下方是一个带有骷髅表情的区块,显示了玩家的总死亡次数以及已故玩家的 UUID。
> PVP 死亡
PVP 击杀产生的玩家头颅将附带详尽的数据,展示那场史诗级决斗的精彩细节。包括击杀者的身份、发生时间以及地点。默认情况下,武器名称将显示在物品描述消息中,如果未设置别名,则默认为方块名称。此外,以较暗颜色显示的还有总死亡次数,其下方分别列出了受害者和击杀者的 UUID。
> 武器标志位
这部分对我来说非常令人兴奋。我们的服务器是一个带有一些增强功能(如语音聊天)的原版生存服,涉及一定程度的角色扮演。为了利用这一特性,我希望有一种方法让玩家能够防止自己的身份或坐标被显示出来。
只需在武器的别名后追加插件提供的可用标志位之一即可正常使用。追加的标志位不会显示在玩家头颅物品描述中的武器别名下。
标志位 -anonymous 将隐藏击杀者的名字和 UUID,取而代之的是一串乱码。
标志位 -hidden 将隐藏击杀者的位置(即坐标),显示在死亡物品描述的第二行中,取而代之的是一串乱码。
这两个标志位可以在同一把武器上同时使用。
这里有一段视频,我也将其放在了本页面的顶部。
> 权限
craftersplayerheads.admin
> 命令
/head <player>
注意:该玩家必须曾经加入过服务器。
> 遗留头颅
如果您有其他的玩家头颅插件,现在可以平滑地将它们转换为“遗留头颅”。
如果在配置文件中选择启用转换旧玩家头颅的设置,那么不符合我们信息检查条件的玩家头颅将被重命名并添加新的物品描述,这些内容可在配置文件中调整。
启用此设置后,将阻止所有玩家头颅被自定义命名,请注意,如果中途关闭再重新开启,可能会导致一些问题。该设置应仅开启一次,并在之后关闭一次。我正在研究更好的信息检查解决方案,但目前对于经过重命名的玩家头颅,如果不造成重复的物品描述并将玩家头颅名称重置为遗留配置文件中的名称,则无法正常工作。
Discord: Plexiate#0001
邮箱: hi@plexiate.com
如果您喜欢我的插件,请考虑支持我
This plugin is intended to be used with Tile Data Saver.
Download it here:
Towards the end of 2021 a player by the name of TheMasterChief69 requested the server we all played on have player heads, he was so adamant in-fact that it drove us to add them. I predicted they would be an awful, terrible, no good thing to plague the server. Well here we are in 2023 and I hate them still.. However; I was tasked with creating a new player heads plugin to replace the old system.
It's a very simple plugin that drops heads when players die. The heads are all named as
Player's Head #DEATHS_TOTAL and depending on the type of death, pvp or not, the lore will display information about the cause of death.
> Deaths
Normal deaths will contain information in the lore stating who the player's head is, how they died, the date and the coords of where the player died. Dropped down below that is a section with a skull emoji that states the total deaths of the player and the UUID of the player who died.
> PVP Deaths
A death in PVP will yield a player head decked to the brim with sick stats about the epic duel that took place. Including the player who killed them, when it happened and where it all took place. By default the name of the weapon will be displayed in the lore message, if a nickname is not set then it will default to the block name. Also included in a darker colour is the total deaths with under that being displayed both the victim's and killer's UUIDs.
> Weapon Flags
Okay this part is super exciting to me. Our server is a vanilla SMP with some enhancements, such as voice chat, that involves some levels of roleplay. Playing with this aspect I wanted a way to make it so player's could prevent their identity being displayed or their coords being displayed.
Just append to a weapon's nickname one of the available flags for the plugin and it should be good to go. The appended flag will not display in the nickname of the weapon within the player head's lore.
The flag -anonymous will hide the killer's name and UUID. Instead presenting a scrambled mess.
The flag -hidden will hide the killer's location, the coords, in the death lore's second line. Instead presenting a scrambled mess.
Both of these can be used together on the same weapon.
There is a video here, but I have also placed it at the top of this page.
> Permissions
craftersplayerheads.admin
> Commands
/head <player>
Note: The player must have joined the server previously.
> Legacy Heads
If you have another player head plugin then you can now convert them smoothly into 'legacy heads.'
If you choose to enable the setting to convert old player heads in our config then your player heads that don't match our info check will be renamed and have new lore added to them, adjustable in the config.
When you have this setting enabled it will prevent all player heads from being named, be warned this could cause some issues if you turn it off and back on once more. It should only be turned on once and turned off once after that. I'm working on a better solution to the info check, but for now it doesn't work with renamed player heads without causing some duplicated lore and resetting the player head's name back to the legacy config name.
Discord: Plexiate#0001
Email: hi@plexiate.com
Please consider supporting me if you enjoy my plugins
评论 0
登录后参与评分
还没有评论,来抢沙发吧