Rename Head in Anvil > Place Head changes to name.

Discussion in 'Archived: Plugin Requests' started by RustyDagger, Feb 20, 2014.

  1. Offline

    RustyDagger

    So me and my admins was looking at some houses on PMC and noticed the use of heads as decoration and thorght gee its a dam shame players on our server cant do that in a smart simple way.


    After talking a little We came up with this idea.

    We have a way to add a crafting for players to obtain a Head but it will show up as Steve.

    So all the plugin needs to do is get the items name and set that as the SKIN when the head item is placed.

    The end goal is the ussage for the player to be this:

    Player Crafts a Blank Steve Head
    Player renames the Head in an anvil.
    Player places head ( plugin goes to work and apply's the Item name as the skin. )




    If there is an existing plugin that does exactly this please let me know i did a quick search of bukkit and found nothing that was named anything logical with this feature.
     
  2. Offline

    felixferr0w

    Hey RustyDagger.

    Programmed a plugin EXACTLY for that purpose :)
    http://dev.bukkit.org/bukkit-plugins/decorheads/

    Also comes with a database of heads for decorative uses.
    Version 0.8 has some missing features, so I suggest that you download Version 0.7 until we update.

    Thanks, and hope you find it useful :)

    Regards,

    felixferr0w
     
  3. Offline

    RustyDagger

    @felixferr0w

    after looking at the plugin page All i see is a command to CHEAT in renamed heads Thats not what this request is at all. Its about Using an anvil. And From the plugins page I see no mention of using the anvil.
     
  4. Offline

    nateracecar5

    RustyDagger If you don't mind, may I take a look at this? I can take a look at his plugin, and make my own version modified for you. If felixferr0w doesn't mind. :)
     
  5. Offline

    RustyDagger

  6. Offline

    nateracecar5

    Just wondering. I finished the plugin for you. There is this annoying bug though where it creates a ghost item. You can put it in your inventory, but when you place it, it disappears. But it all works. Just rename a head with the player you want. Here is the download link: https://shared.com/79cz3p4vul?s=l

    RustyDagger

    By the way, the ghosting is out of my control. It's a bukkit thing.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 6, 2016
  7. Offline

    felixferr0w

    Hello...

    "CHEAT"? What do you mean by that? If you are referring to the fact that heads area spawned in, then sorry... I am merely trying to help. If the plugin does not fit your purpose, then simply don't use it. (One command? Please read the page carefully this time... or read through it completely if you have not done so...) And try to be respectful please, some civility would be nice as well... I am more than happy to help, but, please, remember this, people will be more willing to help you if you are respectful. Also, the plugin modifies the heads metadata, it is not "Cheating"... what would've been more appropriate is requesting me to add an extra feature... not criticising someone's creation, just because it does not fit your needs.

    And no sorry nateracecar5... but I can add it in as a modification if you'd like? If you've programmed your own plugin, it's fine.

    Thanks, and please ask for help RESPECTFULLY, if you require it...

    Regards,

    felixferr0w
     
  8. Offline

    nateracecar5

    felixferr0w I didn't use any of your code, don't worry :)
     
  9. Offline

    RustyDagger


    I Did fully read your plugins page. But its abundantly clear that you did NOT read MY post before Recommending your own Plugin. So I was a little Pissed that you got my Hopes up and wasted my time. Yes its entirely possible that you could expand your plugin and add the feature but again I was annoyed at the time so didn't see the point in wasting any more of my time when you had already made it clear that you had not fully read my post.

    I dont Like letting my players Cheat ( aka spawn in items from nothing ) it opens a Giant door to greifing and sets an attitude up that in the long run ruins all the fun of survival. So Like i said I Have added a way for players to Craft the Steve Head. This way it has a cost and is FAIR.

    I cant see The Ghosting issue your talking about you mean the Head staying in the first slot of the anvil but vanishing as soon as you try to grab it?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 6, 2016
  10. Offline

    nateracecar5

    RustyDagger Yeah, if that's happening for you. For me, I can grab it. It doesn't matter though, it's just a ghost item, you can't use it.
     
  11. Offline

    felixferr0w

    Hello.

    Well, try not to get "pissed" next time. And thank you for clarifying what you mean by "Cheating". The reason I suggested my plugin, was if you wanted me to add some sort of modification to it, as I have plans to update it soon.

    If you are looking for a plugin, or requesting one, it is not a "waste" of time... it's all up to you, YOUR choice... I do not understand what you mean by the plugin "opening big doors for griefing"... that does not make ANY sense at all. The plugin is aimed to make getting heads for DECORATIVE purposes easier.

    Also, your intention for the plugin was very vague.

    "noticed the use of heads as decoration and thorght gee its a dam shame players on our server cant do that in a smart simple way."

    The plugin does use heads as decoration, and attempts to make it simpler to find specific heads you require for decoration by getting heads from a pre-defined database. Smart and simple way? What's more simpler than a command? Also, when you mentioned that you and your admins were searching for a method, I assumed that you were using it for building purposes, more specifically, creative mode.

    I did in fact read through your entire post (I always do, otherwise how would I understand the situation, let alone being able to provide help? So I don't get what you mean by "it's 'abundantly' clear that I didn't read through"), but instead of crafting the head, i decided to recommend the DecorHeads plugin as the command seemed like a simpler alternative to crafting, especially for your decorative intentions... I had no idea that you had other intentions. I was just trying to help you all this time mate, so please calm down.

    As I've said before, and I say again, if it does not suit your needs, don't use it. And if someone is trying to assist you, and they misunderstand, clarify what you are trying to say. Don't just get angry and exacerbate the issue. If you want to get a solution to this, instead of stirring up problems, please let me know how I can be of assistance. I am sorry for the misunderstanding, I was just trying to provide a simpler and and smarter way of getting decorative heads, not create a waste of time.

    Thank you...

    Regards,

    felixferr0w
     
  12. Offline

    L33m4n123

    Update the players inventory after modifing it
     
  13. Offline

    nateracecar5

    I did do that, and it doesn't update anything. It's just a line of wasted code in the inventory pretty much. What the plugin does is when you click on the item to rename to take it out of the anvil, it will modify the NBTData on it, making it have name of the item as the SkullOwner. So I can't update the player inventory, I need to update the anvil inventory. Let me see if that's a feature...
     
  14. Offline

    L33m4n123


    Ah it makes a ghost one in the Anvil ok. my bad. Thought they had a ghost one in their inventory. not sure if you can update that Inventory.
     

Share This Page