Keep Head Names

Discussion in 'Plugin Requests' started by veyronity, May 18, 2024.

  1. Offline

    veyronity

    I use HeadDB on my server and people can purchase crates to get a random head from the DB, they're custom named. Problem though is if they place the head, which is their main purpose (decoration), and break it the name will be reset to vanilla.

    Example:
    if I summon this head (https://minecraft-heads.com/custom-heads/head/83862-discord) and name it "&bTest123", place it, and break it, it's gonna say "Discord's Head" in the vanilla yellow form, regardless of what I had colored it

    I've found https://modrinth.com/mod/keepheadnames and https://modrinth.com/mod/headfix
    problem is, they're Fabric Mods, and obviously that's not gonna work, so I need a Plugin

    EDIT: Server Version 1.20.1
     
    Last edited: May 18, 2024
  2. Offline

    Cainify

    Hi Veyronity, the following plugin should do as you're requesting:
     

    Attached Files:

  3. Offline

    timtower Administrator Administrator Moderator

    There is no need to log the onEnable and onDisable messages yourself.
    Server does that for you.
     
  4. Offline

    veyronity

    Hey, thanks for taking the time to make this Plugin.

    The name-keep feature works fine, however it only saves names and not the head ID.

    See image below
    The NBT image is of the head after I placed it and broke it, which is a steve head compared to the "Gold Chest" original head

    Edit: I think I forgot to mention that Lore should be saved as well, but currently it's not a massive issue. What's way more important is the head ID itself
     

    Attached Files:

    Last edited: May 19, 2024
  5. Offline

    Cainify

    Sorry about this, I am working on fixing this now. I will let you know when it has been fixed.
     

Share This Page