[INACTIVE][MECH] OtherBlocks v0.7.4 - Customize drops in combo with everything else [617]

Discussion in 'Inactive/Unsupported Plugins' started by cyklo, Feb 11, 2011.

  1. Offline

    cyklo

    OtherBlocks - Customize what broken blocks and dead mobs drop!
    Version: 0.7.4
    Download: Jar File | Source Code
    Like this plugin? [​IMG]

    Main author: @cyklo
    Contributors: @Celtic Minstrel

    See the Wiki page for full details on how to set up OtherBlocks

    If you are getting errors with the word "snakeyaml" in it, your config file isn't properly formatted.
    Test it on this website.


    OtherBlocks is a plugin that lets you apply rules to what blocks drop when destroyed, depending on what tool you used. It is inspired by decino's goldenNether plugin.

    You can set rules in the configuration file to match any item with any block and give it a different drop item. For example, you could allow gathering of Glowstone Dust on the overworld by breaking Redstone ore with a golden pickaxe. Or you could allow ingots to be mined directly from their ores if you use Flint and Steel. Or you could invoke Isaiah Mustafa and decree "THE LEAVES ARE NOW DIAMONDS!"

    To install, simply decompress the contents to your plugins directory. Then, copy otherblocks/config.sample.yml to otherblocks/config.yml and edit away!

    Don't forget - to see how to edit the config file, check out out the Wiki!



    Changelog (open)

    Version 0.7
    • Added new drop types DEFAULT and NOTHING (0.7.4)
    • Fixed: creature drops don't work in specific worlds (0.7.4)
    • Added new mob types: CREATURE_GIANT, CREATURE_MONSTER, CREATURE_WOLF (0.7.3)
    • Will no longer throw problems with new types of mob when out of date (0.7.3)
    • Can specify creatures as the tool of death for mobs (0.7.2)
    • Can specify damage events as the tool of death for mobs (0.7.2)
    • Can specify data (colour) values for when you kill a sheep (0.7.2)
    • Fixed: doesn't work on CB 561+ (0.7.2)
    • Can specify data values for SPECIAL_LEAFDECAY events (0.7.2)
    • Large internal changes (0.7.2)
    • Fixed: number of spawned mobs did not obey config file (0.7.1)
    • Fixed: NullPointerException on mob item drop (0.7.1)
    • "color:" works for more than just wool and dyes, now works for wood, half-height blocks, crops etc. (0.7)
    • Synonyms, allowing you to specify groups such as "ANY_REDSTONE_ORE" and "ANY_PICKAXE" (0.7)
    • Can now specify data value of blocks you are dropping from, e.g. "CROPS@RIPE" (0.7)
    • Can now drop a number of items in a range (0.7) (by Celtic Minstrel)
    • Can now drop "CONTENTS" of containers, e.g. dispensers, furnaces (0.7) (by Celtic Minstrel)
    Version 0.6
    • Added SPECIAL_LEAFDECAY tag. See the wiki. (0.6.2)
    • Back-end changes to build process (0.6.1)
    • Multiworld support! Now you can customize drops on a per-world basis (0.6)
    Version 0.5

    • Now you can change what a mob drops when it is killed by a player! (0.5)
    Version 0.4

    • Fixed the map-break AIR bug (0.4.6)
    • Now specify multiple tools at the same time with syntax [TOOL_A, TOOL_B] (0.4.5)
    • Fixed incorrect colours of dropped dyes (0.4.4)
    • Added "ANY" as synonym for "ALL" (0.4.4)
    • Adjustable priority (0.4.3)
    • Can hide boot messages with "verbosity: low" (0.4.2)
    • Quantity and Damage bugfixes, works with Beta 1.3 (0.4.1)
    • Oh god, now you can spawn creepers (and other mobs) (0.4)
    • Fractional percentage chances such as 0.01% are valid (0.4)
    Version 0.3

    • Conforms to new plugin standards and breaks backwards compatibility (0.3)
    Version 0.2

    • Can now drop multiple items per block (0.2.5)
    • Fixed bug introduced in 0.2.3 (0.2.4)
    • Can now specify color of dropped item for wools and dyes (0.2.3)
    • Once again (and hopefully for the last time) fixed durabilities (0.2.2)
    • Changed to lowest priority, hopefully for better compatibility (0.2.2)
    • Fixed durability bug (0.2.1)
    • Change to config.yml format (0.2)
    • Can now specify multiple drops per block, based on different tools (0.2)
    Version 0.1


    • Added "ALL" selector for tools (0.1.3)
    • Workaround for bug in Bukkit whereby durability and max stack size are mixed up (0.1.3)
    • Added drop probability (0.1.2)
    • Customizable damage on block destruction (0.1.1)
    • First release (0.1)
     
    Steve Cole, g_BonE and tension69 like this.
  2. Offline

    Maoman

    .006%? Why not .005%? XD Gotta have that extra thousandth of a percent?

    Also, this is working wonderfully for me.
     
  3. Offline

    Celtic Minstrel

    I'm not sure either... in fact, it wouldn't be an exact number of decimal places since it's stored in binary. I think more than 10 decimal places is probably stretching it, but again... not sure.
     
  4. Offline

    Celtic Minstrel

    Started working on some new features. Progress is slow, so don't hold your breath, but I'm planning to add vehicles, paintings, water damage, and maybe tilling.
     
  5. Offline

    Greylocke

    is there a -reload command for this? If not, that'd sure be handy. Right now I have to restart the server to see changes.
     
  6. Offline

    Celtic Minstrel

    There isn't. You could use the /reload command, though I think that has the potential of causing problems in other plugins.

    I'm also not going to bother with tilling now that it no longer drops seeds by default in 1.6. This could be considered good news, since paintings and vehicles are (mostly) done, meaning I just need to add water damage and clean stuff up.
     
  7. Offline

    Zarius

    @Celtic Minstrel
    Very glad you've taken this over - I've been using this for a while to make my server more interesting, works great :) Look forward to the new features when you're done and wanted to note that I've had issues with this and LogBlock.

    I've found that after setting glass to drop glass 100% of the time I can no longer read glass block destruction with LogBlock - I've tried different priority settings, lowest, low, normal but doesn't change anything (don't know what level LogBlock works on, I would have assumed the "monitor" level for logging). Have you had any experience with this?
     
  8. Offline

    killgoblen

    Oh yay! This is going to be updated! I have been planning a huge intricate system relying heavily on this for my server, and I almost had a panic attack when I saw this was inactive. XD (Exaggeration is fun!)

    Anyway, glad to see this is still alive! Thanks!
     
  9. Offline

    DontMakeWaves

  10. Offline

    Celtic Minstrel

  11. Offline

    John McFo

    I have the exact same issue. Additionally, even WorldGuard isn't able to prevent the destruction of said glass blocks within protected regions. The log of LogBlock seems to indicate that OtherBlocks fires very early, so that WorldGuard tries to prevent the destruction of Air... what obviously succeeds. (Damn that griefer :eek:)

    Have an example:
    Code:
    [Fri, 20-May-2011 05:10:02] GLASS Used By griefer at (x-209, y-72, z--189)
    [Fri, 20-May-2011 05:10:02] AIR destroyed by griefer at (x-209, y-72, z--189)
    Greetings, McFo
     
  12. Offline

    Zarius

    It's a problem with any of the logging plugins generally. Discovered that LogBlock has an API that this plugin can use to inform logblock to record the destruction before OtherBlocks takes over.

    I grabbed the sourcecode and tinkered a little - managed to get it to say "<player> did an unspecified action." This is still better than having no log - and generally I know what block I'm checking anyway.

    @Celtic Minstrel
    How are your enhancements going?
     
  13. Is this updated, or should i update it?
     
  14. Offline

    John McFo

    @Zarius: I see, thanks for the info.
    My first concern however is that OtherBlocks hinders WorldGuard from protecting regions. Those glass blocks were located in a seemingly secured area. All other blocks in that area were protected from destruction although that griefer tried. Thoroughly.

    Greetings, McFo
     
  15. Offline

    Zarius

    Not sure what you mean by updated - it's working fine with CB820 & Celtic Minstrel is working on a new version with some additional features I believe.

    Yeah, I didn't look into the worldguard issue - there's probably a way around that. At least you can tell who did the damage if the LogBlock api is added.
     
  16. Offline

    Zarius

    Doh - realised I was putting the logblock api call in after the block was changed to air. Fixed it and glass now logs correctly. I've also added simple permissions support in that players (or their group) need to have the otherblocks.active permission in order for otherblocks to work for them. I only use this to stop new players from destroying glass or anything else that otherblocks is set to handle.

    Here's a <Edit by Moderator: Redacted mediafire url>
     
    Last edited by a moderator: Dec 15, 2016
  17. Offline

    killgoblen

    Hey, just checking in. Is there a version available for build 860? And Celtic, how is your build going?
     
  18. Offline

    Zarius

    Due to lack of developer activity I've posted a new thread to increase awareness of the plugin - works fine with 860.

    New thread is here.

    Of course if cyklo or Celtic are still working on it and return I'll pass it back over to them.
     

Share This Page