[MECH] OtherDrops 2.8- Ultimate block/mob/player drop editing [1.5.2]

Discussion in 'Archived: Plugin Releases' started by Zarius, Jun 12, 2011.

  1. Offline

    Zarius

    [​IMG]


    Want to fix glass/stairs/boat drops? Want to gather ice/glowstone/grass in a balanced manner? Want to smelt ore with golden tools? Want to cause chaos with undead that rise again? Now you can, simply by enabling the included example files or delve into the more advanced customisation and make drops work the way you want.

    OtherBlocks aims to give you ultimate control over what item that blocks/entities drop when destroyed, depending on how they were destroyed. Compatible with WorldGuard. Lightweight! Only scans what it needs to and ignores the rest.
    Download: BukkitDev (download link on there) | Source Code

    Included Modules
    * Fix undroppables: fix drops for stairs, glass (don't use your hands - ouch), boats & bookshelves (1.8 stairs included)
    * Gold tools (basic): gold tools have a chance of dropping the complete block for grass, ice & glowstone.
    * Gold tools (smelt): gold tools have a chance of mining an ingot directly from ores.
    * Ore Extraction: using the usual tools, ingots are ripped out of ores, leaving the stone behind.
    * Leaf overhaul: adds leaf drops (apples, cocoa, leaves, sticks & a very small chance of golden apple).
    * Undead Chaos: beware the night! Zombies & skeletons rise again and even players rise back from the dead (player deaths spawn more zombies/skeletons).
    * and more...

    Custom Configuration Examples
    Code:
        # Simple glass drop fix
        GLASS:
          - drop: GLASS
     
        # Players drop Zombies on death, 50% of the time
        PLAYER:
          - drop: CREATURE_ZOMBIE
            chance: 50%
     
        # Spiders killed with any sword at night have a 10% chance to drop web,
        # otherwise they drop whatever they normally would
        CREATURE_SPIDER:
          - tool: ANY_SWORD
            time: NIGHT
            drop: WEB
            chance: 10%
     
        # Trees drop apples (or cocoa from birch trees)
        SPECIAL_LEAFDECAY@GENERIC:
          - drop: APPLE
            chance: 5%
        SPECIAL_LEAFDECAY@BIRCH:
          - drop: DYE@BROWN
            chance: 5%
    
    If you are getting errors with the word "snakeyaml" in it, your config file isn't properly formatted.
    Test it on this website (or this one).

    See the dev.bukkit page for full details on how to set up OtherDrops, a complete parameters list and further examples.


    Changelog

    Newest changelog details here.


    Main author: @Zarius
    Contributors: @Celtic Minstrel, raws
    Original author: @cyklo
     
  2. Offline

    Skirmisher

    I've been using the old OtherBlocks by cyklo for a long time until I bothered to look for an updated version :p
    The new features look cool, but I installed it and got an error. I looked around and saw that other person who had the same error, and saw that the issue was MobRider, which I don't want to just do away with because my players (including me) love it. So, long story short, what's the ETA on that fix you mentioned?
     
  3. Offline

    Zarius

    I'm looking into an exclusive flag and perhaps "grouped" drops (eg. I personally want a low chance of maps & compass dropping from sand but always together).

    The aggressiveness for creatures sounds interested, added to my todo list.

    Yeah, I love that plugin too :D Did a quick fix before work (new version release - 0.9.4), let me know how it goes.
     
  4. Offline

    Celtic Minstrel

    I looked into setting spider aggressiveness in my /mobspawn command. There's no Bukkit API to do so, for starters, and it doesn't seem like the spiders have an "aggressive" flag. If they have a target, they'll attack it, but if I recall correctly the only think making them aggressive was based on the time of day or light level, ie they'll look for a new target only in low light levels, and in high light levels they'll have a chance to forget their target.

    ...though some of that, particularly the last sentence, is just speculation.

    Pig zombies, on the other hand, have an aggressiveness counter which is set to 400 when you attack them; I think it decrements over time. There's also no Bukkit API to this, though. Wolves have an Angry flag, as you know. Other creatures are either aggressive or not; there's no way to make an aggressive sheep or a friendly skeleton except by intercepting the entity target event (as Friendly does).

    Ideas/Suggestions...
    • Mob spawners based on the type of mob the spawn (eg MOB_SPAWNER@PIG)
    • Note blocks based on the note they're set to play

    The second is probably useless, but eh, why not.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  5. Offline

    Zarius

    Good ideas, will add to the list. You're right data values for noteblocks probably isn't that useful but it brings us closer to complete control :)
     
  6. Offline

    catballs

    hey Z, on the 1st or 2nd page you mention that OB can do both replace and add to current drops; but my question more specifically is that if I define an OB drop, does the default item not drop at all?

    for instance, if i have:

    CREATURE_ZOMBIE
    -tool ANY_SWORD
    drop: STONE_SWORD
    chance: 0.25

    will feathers never drop? or would i need to add an entry for feathers?
     
  7. Offline

    Celtic Minstrel

    Feathers will still drop. Add an entry for NONE with chance 100 to prevent that, if I recall correctly. Also, I'm pretty sure 0.25 means a quarter of a percent, not 25%, just in case the latter is actually what you meant.

    @Zarius – I think we need some more complete documentation for the new features. The opening post would not be a bad place, or failing that a README with the download. Or just edit the wiki to update it.

    With regards to complete control, I was considering suggesting data values for the other tile entities (chests, furnaces, dispensers, and signs), but I didn't see a logical way for that to work. I suppose you could have matching rules, eg SIGN@<regex> for a sign that matches a regular expression or CHEST@<item> for a chest containing a certain item, but that sounds even more pointless than checking the note of a note block.
     
  8. Offline

    Skirmisher

    Loads fine and works, except (as mentioned previously) the chances/ranged quantities are screwy. Would be great if you could fix that soon. :)
    Also, I'd love it if you could implement that "all except <blah>" thing for tools so I could make saddled pigs drop cooked porkchops when burned like they usually do. :D
     
  9. Offline

    Celtic Minstrel

    Question... I can't remember if cyklo implemented this or not. Is DEFAULT a valid option in the drop field? So I could have saddled pigs drop saddles 100% of the time in addition to whatever they would normally drop?
     
  10. Offline

    Zarius

    Yes, DEFAULT should be a valid drop.
     
  11. Offline

    Skirmisher

    I totally didn't know about this! This makes everything so much easier! *facepalm* :p
    BTW, how should I go about making fully-grown crops drop cocoa beans AND 0-3 seeds 25% of the time, but make them drop their default drop (wheat and 0-3 seeds) the 75% of the time that cocoa beans don't drop? Here's what I have right now:
    Code:
    CROPS@RIPE:
        - tool: ANY
          drop: DYE
          color: BROWN
          chance: 25
    This does the bare minimum (drop cocoa beans only 25% of the time, no seeds), but it obviously can be improved. So, help please?
     
  12. Offline

    Zarius

    I assume that you want the beans and seeds to always drop together? I've got "group drops" and an "exclusive" option in my todo list (see here) but it's not currently possible.
     
  13. Offline

    RugRats

    Erm?
    Code:
    CROPS@RIPE:
        - tool: ANY
          drop: DEFAULT
          chance: 75
        - tool: ANY
          drop: DYE
          color: BROWN
          chance: 25
    This is close it's not what you want, but it's close :p As Zarius said it's on his todo list.

    This will drop the default drop for wheat 75% of the time and only a 25% chance of a cocoa bean drop without wheat and seed drop? Or maybe it also includes the wheat and seed drop. I don't know :p. I don't know if this is even close to what you want but I tried.. :p Your request was a bit confusing.
     
  14. Offline

    Zarius

    I've got a solution coded but I cannot test and build it until tonight (12 hours away). If anyone wants to compile from source the code change is:
    Show Spoiler

    Add these two functions to OtherBlocksContainer.java:
    Code:
            //TODO: restore to original int random quant
        public Integer getRandomQuantityInt() {
                    Double random = getRandomQuantityDouble();
    
                    Integer intPart = random.intValue();
                    // .intValue() discards the decimal place - round up if neccessary
                    if (random - intPart.toDouble() >= 0.5) {
                            intPart = intPart + 1;
                    }
                    return intPart;
        }
    
        public Double getRandomQuantityDouble() {
            //TODO: fix this function so we don't need to multiply by 100
            // this will cause an error if the number is almost max float
            // but a drop that high would crash the server anyway
            Float min = (quantityMin * 100);
            Float max = (quantityMax * 100);
            Integer val = min.intValue() + rng.nextInt(max.intValue() - min.intValue() + 1);
            Double doubleVal = Double.valueOf(val); 
            Double deciVal = doubleVal/100;
            return deciVal;
        }
    
    In OtherBlocks.java:
    Code:
    Change:
    Integer amount = dropData.getRandomQuantity().intValue();
    to
    Integer amount = dropData.getRandomQuantityInt();
    
     
  15. Offline

    RugRats

    I editted it, but eh I don't know how to compile it. I'm using eclipse. So some instructions on how compile your source code would be nice :p I'm a noob at this btw.
     
  16. Offline

    Celtic Minstrel

    @Skirmisher

    Actually, come to think of it, what you want is probably possible thus:
    Code:
    CROPS@RIPE:
      - tool: ANY
        drop: WHEAT
        chance: 75
      - tool: ANY
        drop: DYE
        color: BROWN
        chance: 25
      - tool: ANY
        drop: SEED
        quantity: 0-3
        chance: 100
    @RugRats – I think you should be able to right-click build.xml and go to Run As -> Ant Build.
     
  17. Offline

    Skirmisher

    The problem with that is that the chances are calculated separately (or so I assume), so I might wind up getting wheat and cocoa beans at the same time, which I don't want. Though if it's going to take Zarius long to implement group drops, I might just do that.

    @Zarius - I'll have a go at trying to compile these changes in and see how it works. Of course, my ability to compile it isn't guaranteed. :p
    Edit: Actually, skip it. It's gonna take too long to learn how the heck to do this. :p
     
  18. Offline

    Paradox256

    I love this mod already :D I've only been editing for a couple minutes, but here's what I've got so far.

    Code:
    otherblocks:
        LEAVES@GENERIC:
            - tool: ANY
              drop: APPLE
              quantity: 1-3
              chance: 4
    
            - tool: ANY
              drop: SAPLING
              chance: 25
    
            - tool: DIAMOND_HOE
              drop: GOLDEN_APPLE
              chance: 0.0001
        STONE:
            - tool: DIAMOND_PICKAXE
              drop: STONE
              chance: 25
    
            - tool: ANY
              drop: COBBLESTONE
              chance: 100
        DIAMOND_ORE:
            - tool: DIAMOND_PICKAXE
              drop: DIAMOND
              quantity: 15-20
              chance: 1
    
            - tool: [IRON_PICKAXE, GOLD_PICKAXE, DIAMOND_PICKAXE]
              drop: DIAMOND
              chance: 100
     
  19. Offline

    Zarius

    Glad you like it :) Looks great so far, couple of comments:

    With the leaf drop: keep in mind that the default drop will still occur if none of the other options you added are dropped (you can use a drop: NOTHING, chance: 100 at the start of the block to stop this if you want).
    Also, I can't see any players hacking away at a million leaves with a diamond hoe to try and get the golden apple :D My diamond apple config on leaf decay is rare (and still only .006 or so) because if you think about it the leaf decay event occurs a lot. If you set the chance to 0.1 then players will only get a golden apple for every 1000 leaves they chop with the diamond hoe (or 0.01 for every 10 thousand leaves, etc).

    Stone: the tool: ANY bit means that using an axe or bare hands will now drop cobble - is this is what you intended it's fine, otherwise you can just leave it out and the default drops will occur (except you have a 25% chance of stone with a diamond pickaxe.

    Yeah, the drops are not exclusive so there's definitely a chance of wheat and beans. The group drop or exlusive option will fix this.

    In regards to compiling the changes - I'll probably have my fix out in about 8 hours so if it takes longer than that... :D Though once you get the hang of it you can then tweak plugins (if it has the source code) to your needs. But yes, it is time-consuming :)

    @RugRats

    Make sure you have the latest code from GitHub as I forgot to commit some of the (economy related) source files and fixed it up last night.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  20. Offline

    RugRats

    I do have the lastest. The only problem is when I go to run as 1 ant build I get this
    Code:
    BUILD FAILED
    C:\Users\*****\Desktop\Zarius-Bukkit-OtherBlocks-8b8b001\build.xml:81: Unable to find a javac compiler;
    com.sun.tools.javac.Main is not on the classpath.
    Perhaps JAVA_HOME does not point to the JDK.
    It is currently set to "C:\Program Files\Java\jre6"
    I'm very new to java and eclipse ect. So I don't know why it says that :D
     
  21. Offline

    Zarius

    I agree with more documentation - trying to get version 1.0 out the door first. Issues to complete first: fix for the quantity issue, player drops, toolexcept option, include-config (multiple config files, got most of the code for this done), exclusive option, mobspawners & noteblocks. Not going to worry about chests and signs unless someone can think of a good reason for them :)

    Will look to including the readme in the download along with files for the Material enums, Creature enums, color values and synonyms.

    The multiple configs will make it easier to include a bunch of sample files, I'm thinking of the following to start:

    fix_undroppables.yml (this will have configs for glass dropping glass, bookshelves, stairs, etc)
    leaf_drops.yml (this will contain example leaf drops)
    zarius_overhaul.yml (my own personal config)
    money_drops.yml (examples of different money drops)

    Users can include as many files as they want but obviously you'd want to be careful including multiple "overhaul" type files - need to work out what happens with multiple block definitions from different files (possibly an "override" setting and run in order of listing) - eg. if you load zarius_overhaul then the leaf drops (with override true in both) the leaf drops would override the ones in the overhaul or if the other way around the overhaul's would override the leaf file. With override false the drops would add together possibly causing more drops/higher chances than you want so I'd leave override defaulting to true.

    Have you installed the java development kit (SDK)? Try here.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  22. Offline

    RugRats

    I just did that :p and still got that error.
     
  23. Offline

    Paradox256

    Thanks for the input :)

    What exactly is leaf decay? Do leaves just disappear or break over time?

    And that part about breaking the stone, I'll change that, I forgot about breaking it with your hands :p Changed it to ANY_PICKAXE.
     
  24. Offline

    Zarius

    Just go into the game, chop down just the trunk of a tree (ensuring you get all the logs) and stand back to watch the leaves slowly disappear - that's the leaf decay. Use this as a test:

    Code:
        SPECIAL_LEAFDECAY:
            - drop: APPLE
              chance: 100
    
            - drop: STICK
              chance: 50
    
    and watch a heap of apples & sticks drop. Add extra drops or tweak the chance values as you prefer.
     
  25. Offline

    Paradox256

    Ahhh, alright. I have seen that many times before. Cool, I'll think of something neat for it to drop.
     
  26. Offline

    catballs

    i keep getting snakeyaml errors; even when i do what the instant YAML site said.

    can someone help check my config?

    Code:
    verbosity: normal
    priority: lowest
    enableblockto: false
    usepermissions: false
    
    otherblocks:
        CLAY:
            -tool: ANY
             drop: CREATURE_SLIME
             chance: 1
             message: ["The slimy creature seems perturbed you removed it's home."]
        LEAVES:
            -tool: ANY_HOE
             drop: APPLE
             chance: 1
            -tool: ANY_HOE
             drop: LEAVES
        BOOKSHELF
            -tool: ALL
             drop: BOOKSHELF
        BOAT
            -tool: ALL
             drop: BOAT
        GLASS
            -tool: ALL
             drop: GLASS
        CREATURE_CREEPER
            -tool: ANY_SWORD
             drop: TNT
             chance: 1
             message: ["You slice through the green monster so quickly, it's explosive brain falls out."]
        CREATURE_SPIDER
            -tool: ANY_SWORD
             drop: WEB
             chance: 1
             message: ["Puncturing the abdomen if the arachnid reveals it's sticky web glands."]
        CREATURE_SKELETON
            -tool: ANY_SWORD
             drop: BOW
             chance: 1
            -tool: ANY_SWORD
             drop: CHAINMAIL_HELMET
             chance: .25
             message: ["A little dusty, but this chainmail helmet might look good on you."]
            -tool: ANY_SWORD
             drop: CHAINMAIL_CHESTPLATE
             chance: .25
             message: ["The rusty rings of this chainmail chestplate might offer a little protection"]
            -tool: ANY_SWORD
             drop: CHAINMAIL_LEGGINGS
             chance: .25
             message: ["Unfortunately, the undergarments disintigrated long ago."]
            -tool: ANY_SWORD
             drop: CHAINMAIL_BOOTS
             chance: .25
             message: ["You really should shake the toe bones out from these boots."]
        CREATURE_PIG_ZOMBIE
            -tool: ANY_SWORD
             drop: GOLD_SWORD
             chance: .25
             message: ["A former warrior king, trapped forever in hell."]
            -tool: ANY_SWORD
             drop: GOLD_SPADE
             chance: .25
             message: ["An opulent scepter..."]
            -tool: ANY_SWORD
             drop: GOLD_PICKAXE
             chance: .25
             message: ["A Trophy...Useless as a tool."]
            -tool: ANY_SWORD
             drop: GOLD_AXE
             chance: .25
             message: ["Shiny...But silly..."]
            -tool: ANY_SWORD
             drop: GOLD_HELMET
             chance: .25
             message: ["A crown falls!"]
            -tool: ANY_SWORD
             drop: GOLD_CHESTPLATE
             chance: .25
             message: ["It's only for show..."]
            -tool: ANY_SWORD
             drop: GOLD_LEGGINGS
             chance: .25
             message: ["I like his style."]
            -tool: ANY_SWORD
             drop: GOLD_BOOTS
             chance: .25
             message: ["Spit Shined!"]
            -tool: ANY_SWORD
             drop: GOLD_HOE
             chance: .25
             message: ["It won't make the food taste any better."]
        CREATURE_SQUID
            -tool: ANY
             drop: FISHING_ROD
             chance: 2
             message: ["Looks like you got the one who got away."]
            -tool: ANY
             drop: GOLD_INGOT
             chance: .25
             message: ["Neptune's treasure! Too bad it's not Ariel."]
            -tool: ANY
             drop: IRON_INGOT
             chance: .5
             message: ["An old piece of anchor."]
            -tool: ANY
             drop: FLINT_AND_STEEL
             chance: 1
             message: ["This did him no good underwater."]
            -tool: ANY
             drop: GOLD_RECORD
             chance: 1
             message: ["Hopefully this is not a song from Under The Sea."]
            -tool: ANY
             drop: BOAT
             chance: 2
             message: ["The Kraken's gullet was a lot bigger than perceived."]
            -tool: ANY
             drop: RAW_FISH
             chance: 50
             message: ["Well, waste not, want not."]
        CREATURE_ZOMBIE
            -tool: ANY_SWORD
             drop: IRON_SWORD
             chance: .25
             message: ["Rusty, but the edge is true."]
            -tool: ANY_SWORD
             drop: IRON_SPADE
             chance: .25
             message: ["The poor miner's friend."]
            -tool: ANY_SWORD
             drop: IRON_PICKAXE
             chance: .25
             message: ["Let's hope you don't receive the same fate as this ghoul miner."]
            -tool: ANY_SWORD
             drop: IRON_AXE
             chance: .25
             message: ["This ghoul must have been a lumberjack."]
            -tool: ANY_SWORD
             drop: IRON_HOE
             chance: .25
             message: ["Hopefully what caused the demise of this farmer was not in his crops."]
            -tool: ANY_SWORD
             drop: IRON_HELMET
             chance: .25
             message: ["You slice the head clean from the zombie's shoulders!"]
            -tool: ANY_SWORD
             drop: IRON_CHESTPLATE
             chance: .25
             message: ["A little snug, but it should do if you suck in."]
            -tool: ANY_SWORD
             drop: IRON_LEGGINGS
             chance: .25
             message: ["A little short; but you go wading alot anyway."]
            -tool: ANY_SWORD
             drop: IRON_BOOTS
             chance: .25
             message: ["10 and a half...You know what they say about zombies with big fee."]
            -tool: ANY_SWORD
             drop: COMPASS
             chance: .12
             message: ["Maybe this will help you keep from wandering the shambler's same path."]
            -tool: ANY_SWORD
             drop: WATCH
             chance: .25
             message: ["Slashing the monster's hand off, his gold watch is yours more easily now."]
        CREATURE_GHAST
            -tool: ANY
             drop: DIAMOND_SWORD
             chance: .12
             message: ["The Ghost gives up a most precious weapon!"]
            -tool: ANY
             drop: DIAMOND_HELMET
             chance: .12
             message: ["A Helmet of Diamond!"]
            -tool: ANY
             drop: DIAMOND_CHESTPLATE
             chance: .12
             message: ["You will feel invincible; if you can get that."]
            -tool: ANY
             drop: DIAMOND_LEGGINGS
             chance: .12
             message: ["The ultimate protection for your lower half."]
            -tool: ANY
             drop: DIAMOND_BOOTS
             chance: .12
             message: ["No polishing required."]
    running b860 if it helps; maybe i should use an older version?
     
  27. Offline

    Celtic Minstrel

    You need to tell Eclipse where you installed it. I don't quite remember how to do this, but it's probably something like Preferences -> Java -> Compiler, and then probably click an "Add" button or something. (Or reinstall it into the C:/Program Files/Java/jre6 directory.) If you want to do the ant build thing you'll probably also need to download and installAnt and tell Eclipse where to find it in a similar manner; if you prefer not to, you can probably use the Export Jar option, but I've found that to be a bit confusing and sometimes not do quite what you want.

    For starters, you need a space after each hyphen. I think you also don't need the square brackets around the messages, but double-check with @Zarius on that one.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  28. Offline

    Zarius

    You need to check the yaml check website more carefully - I got heaps of errors. Like Celtic said you need spaces after the dash "- tool" and whilst you started with colons after the block names you then left them off (eg. "CLAY:" is correct, "GLASS" is not). If you fix these errors and still have problems let me know.

    Love the config though - very creative :) As Celtic said - the brackets around the messages are not required but don't hurt. Brackets are only required if you put multiple messages per drop - the plugin then chooses one at random.
     
  29. Offline

    godsyn

    Bug report:
    CB : 935
    OtherBlocks-0.9.4z.jar
    Issue:
    Code:
    02:50:22 [INFO] [OtherBlocks 0.9.4z] Config loaded.
    02:50:22 [SEVERE] Another plugin is trying to enable Essentials manually. Don't do this! It's probably com.gmail.zariust.register.payment.Methods
     
  30. Offline

    RugRats

    I had this to. It was fixed in 9.3, I think. Just put verbosity on low and priority normal? That's what stopped it for me. Also make sure your Essential's is up to date.
     
  31. Offline

    catballs

    ok, this passes the yaml tester,

    Code:
    verbosity: normal
    priority: lowest
    enableblockto: false
    usepermissions: false
    
    otherblocks:
    CLAY:
        - tool: ANY
          drop: CREATURE_SLIME
          chance: 1
          message: ["The slimy creature seems perturbed you removed it's home."]
    SPECIAL_LEAFDECAY:
          drop: stick
          chance: 25
    LEAVES:
        - tool: ANY_HOE
          drop: APPLE
          chance: 1
        - tool: ANY_HOE
          drop: LEAVES
          chance: 100
    BOOKSHELF:
        - tool: ALL
          drop: BOOKSHELF
    BOAT:
        - tool: ALL
          drop: BOAT
    GLASS:
        - tool: ALL
          drop: GLASS
    CREATURE_CREEPER:
        - tool: ANY_SWORD
          drop: TNT
          chance: 1
          message: ["You slice through the green monster so quickly, it's explosive brain falls out."]
    CREATURE_SPIDER:
        - tool: ANY_SWORD
          drop: WEB
          chance: 1
          message: ["Puncturing the abdomen if the arachnid reveals it's sticky web glands."]
    CREATURE_SKELETON:
        - tool: ANY_SWORD
          drop: BOW
          chance: 1
        - tool: ANY_SWORD
          drop: CHAINMAIL_HELMET
          chance: .25
          message: ["A little dusty, but this chainmail helmet might look good on you."]
        - tool: ANY_SWORD
          drop: CHAINMAIL_CHESTPLATE
          chance: .25
          message: ["The rusty rings of this chainmail chestplate might offer a little protection"]
        - tool: ANY_SWORD
          drop: CHAINMAIL_LEGGINGS
          chance: .25
          message: ["Unfortunately, the undergarments disintigrated long ago."]
        - tool: ANY_SWORD
          drop: CHAINMAIL_BOOTS
          chance: .25
          message: ["You really should shake the toe bones out from these boots."]
    CREATURE_PIG_ZOMBIE:
        - tool: ANY_SWORD
          drop: GOLD_SWORD
          chance: .25
          message: ["A former warrior king, trapped forever in Hell."]
        - tool: ANY_SWORD
          drop: GOLD_SPADE
          chance: .25
          message: ["An opulent scepter..."]
        - tool: ANY_SWORD
          drop: GOLD_PICKAXE
          chance: .25
          message: ["A Trophy...Useless as a tool."]
        - tool: ANY_SWORD
          drop: GOLD_AXE
          chance: .25
          message: ["Shiny...But silly..."]
        - tool: ANY_SWORD
          drop: GOLD_HELMET
          chance: .25
          message: ["A crown falls!"]
        - tool: ANY_SWORD
          drop: GOLD_CHESTPLATE
          chance: .25
          message: ["It's only for show..."]
        - tool: ANY_SWORD
          drop: GOLD_LEGGINGS
          chance: .25
          message: ["I like his style."]
        - tool: ANY_SWORD
          drop: GOLD_BOOTS
          chance: .25
          message: ["Spit Shined!"]
        - tool: ANY_SWORD
          drop: GOLD_HOE
          chance: .25
          message: ["It won't make the food taste any better."]
    CREATURE_SQUID:
        - tool: ANY
          drop: FISHING_ROD
          chance: 2
          message: ["Looks like you got the one who got away."]
        - tool: ANY
          drop: GOLD_INGOT
          chance: .25
          message: ["Neptune's treasure! Too bad it's not Ariel."]
        - tool: ANY
          drop: IRON_INGOT
          chance: .5
          message: ["An old piece of anchor."]
        - tool: ANY
          drop: FLINT_AND_STEEL
          chance: 1
          message: ["This did him no good underwater."]
        - tool: ANY
          drop: GOLD_RECORD
          chance: 1
          message: ["Hopefully this is not a song from Under The Sea."]
        - tool: ANY
          drop: BOAT
          chance: 2
          message: ["The Kraken's gullet was a lot bigger than perceived."]
        - tool: ANY
          drop: RAW_FISH
          chance: 50
          message: ["Well, waste not, want not."]
    CREATURE_ZOMBIE:
        - tool: ANY_SWORD
          drop: IRON_SWORD
          chance: .25
          message: ["Rusty, but the edge is true."]
        - tool: ANY_SWORD
          drop: IRON_SPADE
          chance: .25
          message: ["The poor miner's friend."]
        - tool: ANY_SWORD
          drop: IRON_PICKAXE
          chance: .25
          message: ["Let's hope you don't receive the same fate as this ghoul miner."]
        - tool: ANY_SWORD
          drop: IRON_AXE
          chance: .25
          message: ["This ghoul must have been a lumberjack."]
        - tool: ANY_SWORD
          drop: IRON_HOE
          chance: .25
          message: ["Hopefully what caused the demise of this farmer was not in his crops."]
        - tool: ANY_SWORD
          drop: IRON_HELMET
          chance: .25
          message: ["You slice the head clean from the zombie's shoulders!"]
        - tool: ANY_SWORD
          drop: IRON_CHESTPLATE
          chance: .25
          message: ["A little snug, but it should do if you suck in."]
        - tool: ANY_SWORD
          drop: IRON_LEGGINGS
          chance: .25
          message: ["A little short; but you go wading alot anyway."]
        - tool: ANY_SWORD
          drop: IRON_BOOTS
          chance: .25
          message: ["10 and a half...You know what they say about zombies with big feet."]
        - tool: ANY_SWORD
          drop: COMPASS
          chance: .12
          message: ["Maybe this will help you keep from wandering the shambler's same path."]
        - tool: ANY_SWORD
          drop: WATCH
          chance: .25
          message: ["Slashing the monster's hand off, his gold watch is yours more easily now."]
    CREATURE_GHAST:
        - tool: ANY
          drop: DIAMOND_SWORD
          chance: .12
          message: ["The Ghost gives up a most precious weapon!"]
        - tool: ANY
          drop: DIAMOND_HELMET
          chance: .12
          message: ["A Helmet of Diamond!"]
        - tool: ANY
          drop: DIAMOND_CHESTPLATE
          chance: .12
          message: ["You will feel invincible; if you can get that."]
        - tool: ANY
          drop: DIAMOND_LEGGINGS
          chance: .12
          message: ["The ultimate protection for your lower half."]
        - tool: ANY
          drop: DIAMOND_BOOTS
          chance: .12
          message: ["No polishing required."]
    problem was too many spaces before the entries; however when i start the server, i get this:

    01:56:28 [INFO] [OtherBlocks] Permissions not enabled in config.
    01:56:28 [INFO] OtherBlocks: no values found in config file!

    any ideas?
     

Share This Page