Plugin Help what does "damage value" mean?

Discussion in 'Plugin Help/Development/Requests' started by Blunderblast, Dec 10, 2014.

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

    Blunderblast

    What does "damage value" mean in this context? I'm confused as heck.. This plugin configuration thing seems unnecessarily difficult.. -_-

    "
    • denominations A key-value map, defining the item id of the actual item type to use as currency, and the value of the item. The keys may be either a single number for the item id, or two numbers in the format "id;damage", where "damage" is the damage aka data value of the item. The value can be a whole or fractional number denoting the value of a denomination. However the number of fractional digits in a currency value should not exceed the number defined as digits."
     
  2. Offline

    timtower Administrator Administrator Moderator

    @Blunderblast The number that changes the block type at wool or stained glass.
    The number that shows durability at tools
     
  3. Offline

    Blunderblast

    The example item they used was a creeper head:

    "The following setup shows how to specify a currency with Lapis Lazuli as minor denomination with a value of 0.05, Skeleton Heads with a value of 10 and Creeper Heads with a value of 60:

    denominations:
    351;4: 0.05
    397: 10
    397;4: 60"

    What the hell does the ;4 mean? Why is it called "damage?! Clearly it's not reffering to durability, because creeper heads have no durability.

    So did some smart person just make "damage" mean something complety different than it's actual English definition to make people like me feel stupid? Because that's basically what it seems like.
     
  4. Offline

    timtower Administrator Administrator Moderator

    @Blunderblast Data value is the original name. Not damage, used for that though.
     
  5. Offline

    Blunderblast

    @timtower Oh, so then why does the creeper head have a ;4 after it? It has no durabity more alternate blocks.
     
  6. Offline

    timtower Administrator Administrator Moderator

    @Blunderblast Same thing for wool, it is to define the block type.
     
  7. Offline

    Blunderblast

    Okay, so heads are all one block type? 397? Then why doesn't the skeleton skull have a number after it?
     
  8. Offline

    timtower Administrator Administrator Moderator

  9. Offline

    Blunderblast

    Ahh, thanks!
     
Thread Status:
Not open for further replies.

Share This Page