Inactive [INACTIVE][WGEN] BananaImageToMap v3.1 - now with proper ores! [1000]

Discussion in 'Inactive/Unsupported Plugins' started by codename_B, Jun 22, 2011.

  1. BananaImageToMap
    turn any image into a world!

    Version 3.1
    Download Here

    Configuration options:
    • image to use
    This plugin allows you to turn any image into a world - this means it can be generated with, for example, BananaMapRender, and do stuff like this!

    That's right, heightmaps translated to maps in-game, for zero effort, just configure the worldname and the image and you're away!

    You need to configure your bukkit.yml correctly and start with a fresh world before using this or it will not work.
    Code (Text):
    2. worlds:
    3.       worldname:
    4.              generator: BananaImageToMap
    • CavePopulator
    • DesertPopulator
    • DungeonPopulator
    • FlowerPopulator
    • LakePopulator
    • Mushroom Populator
    • QuarryPopulator
    • Ruins Populator - thanks @Nightgunner5
    • Snow Populator
    • SpookyRoomPopulator
    • TorchPopulator - thanks @Nightgunner5
    • Tree Populator - thanks @heldplayer and @SpaceManiac
    • Ores! - thanks @Notch
    Fun extras:
    • Will generate a heightmap image if you don't specify any!


    • v1 - released awesome plugins
    • v2 - added block populator for ores, thanks @Pandarr also added awesome cavegen, thanks me!
    • v3 - added fixed populators and cleaned up code, thanks @SpaceManiac (no extra configuration options this time - sorry) :p
    • v3.1 - re-added caves (minus the memory leak) - added proper ore population :D
    glen3b, hammale, TAT and 9 others like this.
  2. Offline



    You never cease to amaze me. +1 internetz
    rockxz2135 likes this.
  4. Holy mother hubbin' son of a gum chewing funk beast.

    codename_B, you are one of the best plugin coders in the history of Minecraft server modification.

    Bless you.
  5. Aww thanks, do let me know what you decide to do with it.
  6. Offline


    so any picture? so could i use an aerial map of STALKER Shadow of Chernobyl's PDA Map To Make a Mine craft map?
  7. That's correct.
    Black and white heightmaps work best though - I was experimenting with some Quake3 heightmaps and they looked damn good in-game!
  8. D:

    Just got done getting my map ready, then I get 403 forbidden! Naooo!
  9. Using this

    Here's a bit of that Quake3 heightmap.
    I've added tree generation to my dev version - working on resources etc to make it a viable map alternative :D

    But yeah, atm you can have maps from any file you want - yes... ANY, but I wouldn't recommend having an online map if your map is formed from something... unsavoury.

    Remember, with great power, comes great responsibility.
    Try a different webhost? Or upload to tinypic or something? How are you rendering it?
  10. Offline


    same i wanna try this :D
  11. No, I can't dowload your plugin. D:
  12. Oops - I had some experimental .htaccess stuff leftover :p my bad.

    You should be able to download it now ^^
  13. Can you download it now? :)
  14. Offline


    ok it works fine now thanks
  15. Keep me posted on the image you use, and how it turns out etc :)
  16. Offline


  17. You wouldn't happen to have forgotten to place earth.jpg into your plugins folder would you?
  18. Offline


    nope i put it in. still errors. then i tried my own picture and still error
  19. so plugins/earth.jpg exists?
    What operating system?
  20. Offline


    windows 7 ultimate edition. x86 back compatible.
  21. Hi, I've just uploaded a new version with more error logging.

    Redownload and try now? I'm going to get this working for you tonight.
  22. I'm on the same OS and am having no problems. Try the new version and make sure that plugins/earth.jpg exists.
  23. Offline


    well im getting this now. Some times it will work and sometimes i get this null pointer error.

    but a config file did show up and a *noisy* map file showed up....

  24. Perhaps change the directory to use the windows \
    so change your config file to have 'plugins\earth.jpg' instead of 'plugins/earth.jpg'

    Try that for me.
  25. Offline


    Wow I just finished writing a quick windows application to do the same thing. I'm not sure if you're considering this but one thing I did was to give the options of specifying a second image that is colored and would determine the block types above sea level. This way you don't have to write code to randomly generate different areas and users can specify how everything looks and if they want lakes in certain areas, etc. Although judging from this I assume you set transparency to water?

    One question in terms of speed and efficiency, did you go pixel by pixel and place blocks up to the height for that xyz coordinate? Or did you do something more clever and if so are you willing to share?
  26. Hi, I finally managed to replicate your error.

    If you could please re-download for me, that would be great :)
  27. It's all hooked into the terrain generation api, what I'm doing is creating an array of integers. I can certainly look into the blocktypes above sea level, at the minute I'm working on getting rid of this wierd bug that has just been uncovered. We have "biomes" to handle "randomly" generated areas though!

    As far as sharing goes, source is in the .jar, as always.
  28. Offline


    Ok nice the issue is fixed :D!!! lol ok now once i use my own photo it errors out all over again
  29. YAAAY :D

    I'm very happy to hear that, if you post some screenshots of the heightmap you used and how it turned out I would be very appreciative! :D

    Remember, the smoother the heightmap, the smoother the map. An ideal size for a heightmap is 1000x1000px - which is a decent sized minecraft server map too, so if you have a smaller heightmap and resize it to that size, the terrain will be a lot smoother :)
  30. Offline


    Im using the Earth.jpg since my photo wont work.


    Uploaded with

Share This Page