Displaying item/weapon damage on hover?

Discussion in 'Bukkit Help' started by bloodless2010, Apr 10, 2013.

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

    bloodless2010

    Hi!
    I'm trying to find a plugin (or a way)
    where I can see the damage a sword/axe/weapon/item does by hovering over it,
    I.e You would hover over a diamond sword and it would be like

    and so on?

    Thanks! :)
     
  2. Offline

    zipfe

    Changing the UI without a client mod is not possible.
     
  3. Offline

    bloodless2010

    Incorrect.
    Dungeonrealms.net,
    they use modifications on teh server side to display the damage an item does from hovering over it.
    and dungeonrealms.net requires NO modifications at all to work.
    [​IMG]
     
  4. Offline

    frymaster

    I don't think they're so much "displaying the damage on the client" so much as "renaming the item so the damage description is part of the name" - quite a cool idea
     
  5. Offline

    Spikes

    ItemMeta :)
    Code:java
    1. List<String> itemdisc = new ArrayList<String>();
    2. itemdisc.add(ChatColor.GRAY + "DAMAGE 10-20."); // Line 1
    3. itemdisc.add(ChatColor.GRAY + "It's awesome!"); // Line 2
    4. ItemStack test = new ItemStack(<ID>,<AMOUNT>);
    5. ItemMeta item = test.getItemMeta();
    6. item.setDisplayName(ChatColor.RED + "AWESOME OP SWORD"); // Item name
    7. item.setLore(itemdisc);
    8. test.setItemMeta(item);
    9. inv.addItem(itemdisc)
     
  6. Offline

    bloodless2010

    Any plugin developers want to take this up?
    I'm sure many users would use it!
    Would be great for support with things like mcMMO, enchants ect :eek:
     
Thread Status:
Not open for further replies.

Share This Page