[1.4.2] Change Item Name

Discussion in 'Archived: Plugin Requests' started by nhoclesnar, Nov 1, 2012.

  1. Offline

    nhoclesnar

    Plugin category: Mechanic | Role Playing

    Suggested name: ItemRenamer

    What I want: I'd like a plugin that can set custom name for any item. This means everyone on the server, when craft, smelt, or spawn that item, will see the new name. In other words, the new name will completely replace the old name. Color code support is appreciated but not necessary.

    Ideas for commands: /irename [NewName] - use this while holding an item to rename that item

    Ideas for permissions: item.rename - by default, only OP has this permission

    When I'd like it by: As soon as possible.

    Additional Notes:
    If renaming item in game isn't possible, being able to rename item in config and use a reload command "/ir reload" would be wonderful.

    Please take a look, these will give you some ideas:
    A discussion on naming item on 1.4.2 here.
    cman1885 shared his source code on renaming item without anvil here, original thread here.
     
  2. Offline

    Woobie

    Why did you post this if someone already made this?
     
  3. Offline

    nhoclesnar

    Really? Can you show me the link to that plugin?
     
  4. Offline

    Woobie

    You even gave us the source code of the plugin...
    http://pastebin.com/TjtwqGjs

    oh wait, do you mean like completely rename item? Diamond sword would be completely renamed to "poop"?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 29, 2016
  5. Offline

    nhoclesnar

    Yes. Please read the description.
     
  6. Offline

    nhoclesnar

    Bump. Can any one do this?
     
  7. Offline

    KeybordPiano459

    There's like three threads on renaming items in the resources forum =/ I could try this out, do you need this really soon?
     
  8. Offline

    nhoclesnar

    Yes, I really need it as soon as possible. I want to change item names into gun names (without Spout), so the sooner, the better :)
     
  9. Offline

    Jogy34

    I actually already made this for someone else. The .jar still has to be approved but if you want is right now I can email it to you or something.
    http://dev.bukkit.org/server-mods/auto-rename/

    EDIT: I have the names set up in a config instead of a command though
     
  10. Offline

    nhoclesnar

    Thank you sooo much. This is exactly what I'm looking for! Set up names in the config is fine. But would you add a command to reload the config file?

    EDIT: I know how to access un-approved file :p , so I will test it out :)
     
  11. Offline

    Jogy34

    I can add the reload command. I realized I forgot to add in the furnace and when a player picks up an item so I'll have those along with the reload command when I update it. I am curious to how you can access unapproved files though.
     
  12. Offline

    nhoclesnar

    I tested it and the features you mentioned work great. Absolutely love it <3! However, there is a little problem tho. Can you add a feature that let items that are spawned using '/give' will automatically change their names as well? It's because some items like ghast tear cannot be crafted.

    About how to access unapproved files, I will PM you (in case bukkit staffs don't allow it).

    EDIT: Please also make it work when spawning an item in creative mode, if possible. I know I request too much. If you think it is unreasonable, please disregard it.
     
  13. Offline

    Jogy34


    I'm not sure if I can get into when someone get's an item from another plugin or by the give command but I added that the name is changed when you pick up an item so if a mob or a block drops something and you pick it up the item will be renamed

    EDIT: I can over-write the /give command actually
     
  14. Offline

    nhoclesnar

    Sounds great :)

    EDIT: I found a bug. The default examples don't go away when you delete them. Now every diamond sword will forever be Excalibur :p
     
  15. Offline

    Jogy34

    Just change the Excalibur part to &fDiamond Sword if you want the original name.

    Also I changed my mind about over-writing the /give command.
     
  16. Offline

    nhoclesnar

    Absolutely fantastic <3
     

Share This Page