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

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

  1. Offline

    freman

    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:
    Show Spoiler

    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"
    Show Spoiler

    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]
     
  2. Offline

    Geremy

    im having a bit of troubble making this work.

    it's not creating a config file on startup. how do i make one manualy.

    also is there a way to reduce the update speed. its pretty low already but my goal is for bedrock to flatten an entire chunch or more when players enter. so constant updates realy arnt too nessesary.


    thanks.
     
  3. Offline

    freman

    Yeh they changed the way configs work and I never really had the time to figure out how.

    Here's a copy of the default config
    https://github.com/freman/Bukkit-Bedrock/blob/master/src/config.yml

    There is no "update speed" persay, the mod checks around the player as they walk around below a certain level, so the update speed is how fast how many people walk around below level 5 (I think)
     

Share This Page