Inactive [EDIT] Bedrock v0.8 - Flatearth/Bedrock fix [1.2.5 R1.0]

Discussion in 'Inactive/Unsupported Plugins' started by freman, Mar 12, 2011.

     
  1. Offline

    freman

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Bedrock - Flatearth/Bedrock fix
    Version: v0.8

    I got tired of trying to work out which bedrock/flatearth plugin was being maintained or disputed or ignored... so I made my own simple plugin to replace the bedrock above level 0 as users walk around

    Features:
    • Tries not to waste time checking blocks it doesn't need to
    • Replaces bedrock with a (weighted) random block
    • Safe for bedrock walled worlds
    • Can disable the level 0 bedrock hole filling
    Configuration:

    Code:
    flatten:
        // Maximum height to flatten up to (normal servers have bedrock over 0-4)
        height: 4
        // Size of the square to check - the larger the square the more time it takes
        square: 5
    check:
        // Check as the player passes below this level
        below: 7
        // Check to see if the bedrock is part of a wall before removing it
        wall: false
    force:
        layer:
            // Set to false to prevent the plugin from filling in holes in layer 0
            zero: true
    materials:
    // Format:
    // - MATERIAL_NAME:weight
    - STONE:1000
    - DIAMOND_ORE:0.1
    - COAL_ORE:1.0
    - IRON_ORE:0.8
    - GOLD_ORE:0.5
    - REDSTONE_ORE:0.5
    - LAPIS_ORE:0.5
    blacklist:
    // Blacklist words
    // - someworld
    


    Download Bedrock

    Changelog:

    Version 0.8
    • Updated to Bukkit 1.2.3 R0.2
    Version 0.7
    • Fixed saving "material" reading "materials"

    Version 0.6
    • Sorted out configuration loading (at last)
    • Added wall detection
    • Added the ability to disable level 0 hole fill
    Version 0.5
    • Attempt at making the randomness seem more random by re-distributing the stone
    Version 0.4
    • Removed unneeded libraries and code
    Version 0.3
    • Re-worked movement detection, turns out it's hard to detect movement from one block to another
    Version 0.2
    • Fixed brain dead logic
    Version 0.1
    • Releasing my awesome plugin


    Support:
    Alcohol makes coding in Java more fun, Caffeine makes it possible to do after a day of coding in other languages at work - both of these habits are expensive - Want to help me feed my addictions and make more, better plugins faster? Consider hitting the button below.
    [IMG]

    This post has been edited 6 times. It was last edited by freman May 1, 2012.
  2.  
  3. Offline

    freman

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I intend to add configuration that lets you change the blocks and the randomness. However I fail to see the point of changing it to support custom level ranges as I've never seen bedrock above block 5.
  4. Offline

    freman

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Updated, now with a fairly complete configuration file.
  5. Offline

    Lathanael

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Is it normal that i do get the following message as soon as i start the server?

    Code:
    19:08:28 [INFO] [Bedrock] Materials not configured, using defaults
    
    And i do have a properties file in "./plugins/Bedrock" with materials and weight defined...
  6. Offline

    Teacup

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    So if I set the flatten height to '0' there will be 1 layer of bedrock at the very bottom of the map?
  7. Offline

    freman

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    You should only get that the fist time you ever load the plugin (edit: this version+)

    No, flatten height is how far off the bottom to look at replacing bedrock

    So if you set it to 1 then you will have no bedrock on layer 1 but you might have some left over bedrock on layers 2, 3 and 4

    It's default configuration leaves 1 layer of bedrock at the very bottom of the map - layer 0 - while removing any bedrock found above that between layers 1 and 4 (inclusive).

    Was probably very tired when I made those config options - the naming doesn't make much sense (they're based on constants that did make sense)

    But essentially, if you just want 1 layer of bedrock on the bottom of the map, and no bedrock above that in the usual 'random' way - then use the default configuration.
  8. Offline

    Teacup

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Alright thanks. I am getting the same issue as Lathanael though, I get that same message every time I start the server.
  9. Offline

    freman

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Ok, I'll have a look at that tonight...
  10. Offline

    freman

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Fixed - was looking for "materials" but writing "material" - plugin will rename the field automatically next time you load it
  11. Offline

    ferretlegs

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hi there, thanks for the plugin. Any chance of multi world support, because if you run skylands, when you jump off the edge to wake up, when you hit the bottom block it turns to bedrock around you - you cant get out of skylands lol. It just keeps making bedrock as you walk around at the bottom. Anychance being able to turn off for specific worlds so plugins like dreamlands continue to work the way it was intended. thanks in advance :)
  12. Offline

    freman

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Change the config
    Code:
    force:
        layer:
            zero: false
    Of course, this means that it won't force layer 0 to be bedrock on any world
  13. Offline

    moose517

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    would it be possible to make this plugin run per world? i have a skylands world and my current bedrock plugin totally ruins it when people fall to their deaths.
  14. Offline

    7eggert

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Just an option to not touch layer 0 would be fine for now.

    edit: Looking at the source, it does not touch layer 0 if !force.layer.zero
  15. Offline

    freman

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Pretty sure that's what I said a couple of posts go...
  16. Offline

    Wolvereness Bukkit Team Member

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I made a pull request on github allowing multiworld support (a simple blacklist).
  17. Offline

    ZeratulsDownfall

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Is it possible to use this plugin to completely remove bedrock so you would fall to your doom (or so you can go through with the Inception mod)?
  18. Offline

    Metonymia

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    This still works as of Bukkit 1185. Please update your title.
  19. Offline

    rikai

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Is this plugin abandoned? No activity from the dev in this thread for 2.5 months and a decent amount of time on github too...

    I'd really like to see the world blacklisting pull request get included and to know if it works with the latest RB...

    This post has been edited 1 time. It was last edited by rikai Oct 24, 2011.
  20. Offline

    freman

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Of course it still works, hence the lack of updating. Use it all the time on my own server.
  21. Offline

    Connor

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    My server has been getting the following error:
    Does this have something to do with your plugin? Or is this another issue?

    This post has been edited 1 time. It was last edited by Connor Nov 6, 2011.
  22. Offline

    freman

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Considering my plugin doesn't do anything with furnaces, I expect not
  23. Offline

    Veteranspy

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    You using lava forge? It causes that error.

    This post has been edited 1 time. It was last edited by Veteranspy Nov 20, 2011.
  24. Offline

    Connor

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Nope. Just the CB #1337 build with some plugins. I suspect it would be an issue with the build of CB itself though.
  25. Offline

    Veteranspy

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Yea it's possible. We should prolly bring the problem up to them
  26. Offline

    Connor

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Will this plugin be updated for Minecraft 1.0.0?
  27. Offline

    freman

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Will there be a RB for Minecraft 1.0.0?
  28. Offline

    Connor

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I would love to see this plugin updated, considering it is the only Bedrock flattening plugin i've been able to find. Any chance of an update for 1.0.0?
    Please???
  29. Offline

    freman

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Should already work.
  30. Offline

    freman

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Plugin Updated, Download here

    This post has been edited 1 time. It was last edited by mbaxter Apr 28, 2012.
  31. Offline

    Chaznuts

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Awesome! Glad you updated!

    Been through so many bedrock flattening plugins.. hope you keep this one active. :)

    Thanks for sharing! Keep up the great work.
  32. Offline

    freman

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    If you can't find the download link for this plugin that would be because the mods for this site have decided I must edit my personal website to suit their policies.

    The issue here being I chose to provide you the option on my website to click on a link that displays advertisements in order to throw a few fractions of a cent my way as a way of saying thanks, no-one is forcing you to click on this link as there is a direct link right beside it that you can use to download without advertisements.

    The mods don't seem to like the way I run my personal website so they've removed my links, they think the comunity is better off without my plugins than with difficult descision of picking which link to click on - worried about making people, who they evidently deem unintelligent enough to make the right decision, jump through hoops.

    Well, they've given you one more hoop to jump through - now you must google my plugins to find them.

    And for the record, statistics from my server logs show me that people prefer the adf.ly links - if you want my links back here you'll have to complain to a mod.

Share This Page