Crafter's Player Heads icon

Crafter's Player Heads -----

A simple and lightweight plugin to drop player heads with lots of cool details and features!



[​IMG]
This plugin is intended to be used with Tile Data Saver.
Download it here: https://www.spigotmc.org/resources/tiledatasaver.85624


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.

Examples:
Screenshot 2023-10-23 at 11.28.47 PM.png
Screenshot 2023-10-23 at 11.28.38 PM.png
Screenshot 2023-10-23 at 11.28.30 PM.png




> 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.

Examples:
Screenshot 2023-10-23 at 11.26.32 PM.png



> 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>

> Legacy Heads
When we first added player heads they weren't really what we wanted, but worked to get the job done. The datapack lacked customization for what we wanted, it had lore that was purple stating 'Killed by Player' in italics. After developing this plugin in it's initial state the question came about; How do we handle older player heads?..

Examples:
Screenshot 2023-10-23 at 11.26.48 PM.png
Screenshot 2023-10-23 at 11.26.41 PM.png


After much thought about it I finally landed on just converting the old player heads into legacy player heads! A simple solution to the issue that will convert these old player heads once interacted with inside a player's inventory, or just by being in a container a player opens. In the example image below it can be seen that in this specific case the heads are renamed to include such legacy status, also keeping the older purple text, now with a golden player name. Additional lore text shows information about what time period these heads are from.

Example:
Screenshot 2023-10-23 at 11.26.23 PM.png


> Config
Code (Text):
# Hey you! Thanks for using my plugin. I created it for my own server https://crafters.one.
# We're a small whitelisted vanilla SMP with a permanent map, generated on jan 28th, 2021.

# You can join us at https://crafters.one/Discord or see our plugins here https://www.spigotmc.org/resources/authors/plexiate.117947/
# or at my modrinth here https://modrinth.com/user/Plexiate

# Webhook functionality will only send alerts when a player head is converted. If the 'convert-legacy-heads'
# option is NOT enabled this setting is essentially useless. If you have suggestions I am open to hear them - [email protected]
webhook:
webhook-enabled: true

settings:
  prefix: "&8[&aCrafters&8]"
  allow-anvils: true # Allows players to rename player heads. This should be enabled if you are using the legacy head options.
  no-permissions-msg: "&fUnknown command. Type ''/help'' for help."
  reload-msg: "&fSuccessfully reloaded configuration."

legacy-heads:
  convert-old-heads: false # Converts existing heads into 'legacy' heads.
  new-head-name: "&eLegacy {PLAYER} &eHead"
  lore:
    line1: "&f" # I put this here to add spacing between preserved & new lores.
    line2: "&f☠ 1st Generation Player Head"
    line3: "&fThese heads dropped before &eOctober 12th&f,&e 2023&f."


Resource Information
Author:
----------
Total Downloads: 443
First Release: Oct 24, 2023
Last Update: May 6, 2024
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings