REQ. edit durability values for tools/armor and disable crafting of nether portals

Discussion in 'Archived: Plugin Requests' started by slimpyman, Jan 1, 2012.

  1. Offline

    slimpyman

    Does a plugin exist which would allow someone to edit the durability values of tools and armor to make leather a bit more useful and diamond less durable?

    Also. Does a plugin exist which would disable the crafting of nether portals. Mostly so I can only have 1 way in and 1 way out of the nether
     
  2. Offline

    dkabot

  3. Offline

    thepig

    The plugin doesn't exist and it's impossible without sprout
     
  4. Offline

    Condamor

    @thepig why exactly must spout be used? I haven't delved too deep into plugin making yet, so there may be something I don't know about how bukkit/mc/etc work. But if items are all server side with client side graphics, wouldn't the server be the one dictating the aspects of the item, such as damage and durability?
     
  5. Offline

    kalez

  6. Offline

    thepig

    But I don't even know if it's possible to cancel the destruction of a tool.
     
  7. Offline

    Condamor

    You have a good point there. How hard do you think it'd be to have an addon detect when somebody crafts an item, and then replace that item with a modified damage value? Or one that changes the initial damage value of all items created? Using InvEdit you can give items a negative damage value, increasing their durability. So essentially if an addon did this automatically you'd be good.
     
  8. Offline

    thepig

    You can't modify or change damage value, it's already set. Negative damage values might work, but you would still have to give it a time to break.
     
  9. Offline

    Chirimorin

    There are some inventory editing plugins out, wouldn't it be possible to just switch the item around with one that has a different damage value?
    Since the damage value only counts up (meaning -1 isn't infinite like most cases where -1 is used) it should be fine.

    I think the hard part would be a proper way of making sure that you aren't applying the change twice to the same item (meaning even less durable diamond or even more durable leather)
     
  10. Offline

    thepig

    Possibly....but I'm not sure, because what I'm trying to say, is the fact that the game already has the damage value set, along with the durability bar, making it nearly impossible to change. I'll take a look and see if I can find a solution.
     

Share This Page