Set Item durability

Discussion in 'Archived: Plugin Requests' started by DaEgo, Dec 12, 2011.

  1. Offline

    DaEgo

    Hi,
    i hate it when the tools and armor brake so fast,
    is it possible to make a (very small) plugin
    with the option to set the durability ?

    config maybe looks like :

    Show Spoiler
    # Standard durability = 100 %

    # 200 will double durability
    # 50 will reduce half durability


    # Tools Wood
    269=100
    270=100
    271=100
    290=100

    # Tools Stone
    273=100
    274=100
    275=100
    291=100

    # Tools Iron
    256=100
    257=100
    258=100
    292=100

    # Tools Gold
    284=100
    285=100
    286=100
    294=100

    # Tools Diamond
    277=100
    278=100
    279=100
    293=100

    # Weapons
    # Bow
    261=100
    # Swords
    268=100
    272=100
    267=100
    283=100
    276=100

    # Armor Leather
    298=100
    299=100
    300=100
    301=100

    # Armor Chain
    302=100
    303=100
    304=100
    305=100

    # Armor Iron
    306=100
    307=100
    308=100
    309=100

    # Armor Gold
    314=100
    315=100
    316=100
    317=100

    # Armor Diamond
    310=100
    311=100
    312=100
    313=100
     
  2. Offline

    DSquirrelGM

    Setting values as percentages wouldn't be the best way to go on this, Just having the actual durability numbers in the configuration would be a more reasonable option.
     
    DaEgo likes this.
  3. Offline

    -_Husky_-

    Yeah, I will code it tomorrow in the car :)
    Consider it "In Progress" Might not get the configuration though, will do my best :)
    //Edit - Just re-read the OP maybe I won't be able to do this :/
    //Re-Edit - Check out my "TheWorkshop" plugin, only supports pickaxes at the moment, if you want me to continue it (add more items) post on here saying so :) (then I will take the one to code it tommorow)
    I'm on iPod :/ bloody auto-correct
     
    DaEgo likes this.
  4. Offline

    DaEgo

    "values as percentages" it was just a example, if there is a better way, fine !

    "Check out my "TheWorkshop"
    yeah i see that but its not the one i need,
    cause i wont to edit "the world" and a player has nothing to do with that,
    i give my players the tools they need and dont care about the rest,
    to many commands there around, thats not funny :(
    thats why i want to set the durability and the player are just happy
    cause they know about the better durability

    sry for my englisch i am german and never learned it
     
  5. Offline

    -_Husky_-

    Ok, I will look for something else to code.
     
    DaEgo likes this.
  6. Offline

    DaEgo

    :'(
     
    DreTaX likes this.

Share This Page