HeightMapper 1.0.1

Run a configurable heightmapper on your worlds!

  1. Shortninja
    Tested Minecraft Versions:
    • 1.7
    • 1.8
    Contributors:
    Shortninja
    HeightMapper
    by Shortninja

    +------------------------------+

    Main Features:

    - Begin Height Mapping -

    (/heightmap [world] {seed} {iterations} {max-x} {min-x} {max-z} {min-z})

    Begins height mapping with the set options. You only need to input the world you want, the other parameters are completely optional. If you do not input a certain parameter, values from the configuration file will be used.


    World: The world that you would like to run a heightmapper on.
    Seed: Seed for the randomization of locations. This can be used for reduplications of heightmaps!
    Iterations: The total amount of times that the heightmapper will attempt to find a height.
    Max X: The maximum X value for height mapping.
    Min X: The minimum X value for height mapping.
    Max Z: The maximum Z value for height mapping.
    Min Z: The minimum Z value for height mapping.

    - Stop Height Mapping -
    (/heightmap stop)

    Ends the current heightmap. If there is not heightmap running, then the plugin will attempt to run a heightmap for the world "stop".


    +------------------------------+

    Config:

    All permission nodes are contained in the configuration file so you can edit them!

    # Made with love by Shortninja - ?

    ############################################################
    # +------------------------------------------------------+ #
    # | General | #
    # +------------------------------------------------------+ #
    ############################################################

    # The permission required in order to map world heights.
    permission: "heightmapper.use"

    # Whether or not percentage updates will be sent while mapping is occurring.
    show-updates: true

    # The default seed that will be used for randomizing locations during iteration.
    # This seed should allow for rerunning tests with the same randomization every time.
    # Be sure to change it if you do not want to have duplicate height mappings.
    seed: 42

    # The default amount of random locations that will be iterated through for mapping.
    iterations: 1000

    # The default highest x-value that will in a location randomization.
    max-x: 1000

    # The default lowest x-value that will in a location randomization.
    min-x: -1000

    # The default highest z-value that will in a location randomization.
    max-z: 1000

    # The default lowest z-value that will in a location randomization.
    min-z: -1000

    # The interval at which the heightmapper will check a new location.
    # Lower values directly impact your server performance negatively.
    # 20 = one second; 10 = half second; 5 = quarter second; etc.
    interval: 5

    +------------------------------+

    Analysis:

    [​IMG]

    Total different heights: The amount of different heights that were used for the math of the results. This does not mean overall iterations.
    Highest height: The highest height within the set of found heights.
    Mean height: This height is not actually rude, just shows the average of all heights (sum of heights / amount of heights).
    Median height: The height within the middle of a list ordered ascendingly ("3 2 5 1 4" to "1 2 3 4 5"; "3" is the median).
    Mode height: The height that occurs the most in the set of heights ("1 2 2 3 4 5"; "2" is the mode).
    Lowest height: The lowest height within the set of found heights.

    +------------------------------+

    Mapping of All Heights:

    It is completely possible to map every single height in your world, you just have to run the right command and have a limited world ("infinite" worlds would be still finite due to you eventually having to set a border).

    1. Get the total amount of blocks in your world. Just do the extremely simple area formula for a quadrilateral, s1 x s2. This value is what we'll use for total iterations.
    2. Set the max-x, min-x, max-z, and min-z accordingly to what you used. For example, if your world border is a radius of 1,000 from spawn then all of your maximum values will be 1,000 and your minimum values will be -1,000.
    3. Run the command! For example, we will use "/heightmap world 1337 6400 1000 -1000 1000 -1000"! In this case, our seed is an arbitrary value and our iteration value is from a square with a side of 80 (80 squared).

    +------------------------------+

    GitHub source
    Like the plugin? Donations are highly appreciated!

    This plugin requires no dependencies!

Recent Updates

  1. Fixed download
  2. Fixed command argument checking