has anybody made...

Discussion in 'Archived: Plugin Requests' started by Blackveil, Feb 22, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    Blackveil

    Has anybody made a plugin that updates an item's name, lore, and whatever else told to update?

    Like lets say you're playing on an RPG server, and you pick up an item. It has a special name and certain stats and a description. Let's say you are the server owner and said item is overpowered, so you decide to make an alteration. This change to an item of that particular kind is made, then if you're a player and you trigger the event, the item is refreshed with it's new stats, description...etc. Has anybody released a plugin to do this?
     
  2. Offline

    Garris0n

    It would sort-of work with ItemRenamer, but it's not exactly what you're looking for. The way I would do it would be to have unique names configured in a file along with item id/lore/etc and then to have the item's actual lore be said unique name. Then just change it before it gets to the client via ProtocolLib.
     
    lol768 likes this.
  3. Offline

    Blackveil

    Lol, well I actually already made it. I was just curious if anybody else has made it.

    I'm curious if anybody wants me to release it.

    The plugin requires a MySQL Database (I can add support for local files though).

    The way it works is: an item is received somehow. The lore of the item is ignored, the only thing the plugin actually checks is the name. The item's name is stripped of any color (items that are dropped brand new only have a color stripped (white) name, with no lore), and the server queries the database for any entries with the existing name. The server then takes the data in the database and then constructs item lore with the new item name colors, stats, descriptions, etc... whatever is inputted into the database.

    Example:
    [​IMG]
    Full Image Link: http://i.imgur.com/dUloP52.png

    But let's say the server owner wanted to update those items....he makes his alterations, and then whenever a player triggers the updater, either one of those two items above can become the new updated item...

    Updated Item (Can occur to brand new items, and items that have already been loaded)
    [​IMG]
    Full Image Link: http://i.imgur.com/rN1Wg2C.png

    Just if anyone is wondering, the item is checked even if it has all the information loaded anyways. This allows server owners to update current items aswell, without needing to actually modify a user's item individually.

    My system also supports player modifications, so a player can create modifications to items (such as the one above), such as color modifications, stat modifications, enchantments, custom text, etc...

    Those modifications a player makes are also affected by original item stats..etc. So a server owner could still update the original item, and all the modifications a player makes does not ignore all the updates made for that particular item.

    Does anybody have a need for this? I can turn it into a public release depending on whoever needs a plugin like this.
     
  4. Offline

    reider45

    Blackveil I personally haven't seen a plugin like this, nor do I need one, but I do think other people have been looking for one of these.
     
  5. Offline

    Blackveil

    Okay, I decided I am going to make my idea into something bigger. Check it out and make suggestions please.

    dev.bukkit.org/bukkit-plugins/ubermmo/
     
  6. Offline

    nateracecar5

    Omg, this is amazing. Although, this isn't the section to place this in. :)
     
  7. Offline

    Blackveil

  8. Offline

    Necrodoom

    Locked. Plugin requests is for people needing a certain plugin, not for showing off your own plugin.
     
Thread Status:
Not open for further replies.

Share This Page