[INACTIVE][MISC] BananaMapRender 1.6 - generate a flatmap image render of your world [1000]

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

  1. Offline

    codename_B

    [​IMG]
    [​IMG]
    BananaMapRender
    a lightweight dynmap alternative - fater than ever

    Features:
    • Player names and faces on a map
    • ZOOMING!
    • Gorgeous map rendering
    • Monsters on a map
    • Monster spawners on map
    • Signs on map if the first line of the sign is [BMR]
    • Shows time of day
    • Super light on resources
    • Super fast rendering
    • Full multithreading support
    • Worldguard Regions
    • Worldborder borders (circle and square)
    • Permissions support
    • Configure everything the way you want it
    • MultiWorld support
    • Toggleable icons
    [​IMG]
    Version: 1.6
    Download: Download Link
    Commands: /bmr [value between 1 and 4] /bmr length
    Example Render: Here

    Instructions: These assume that you are running BukkitHTTPD as the web server on your host. If this is the case you don't need to change anything. Otherwise, please configure the correct directory for your web server install.

    • Place in plugins/ folder along with all the included libs and extra folders in the zip. The plugin will not create its own if these do not exist!
    • Start the server, then type bmr 1 into the console - wait for this to complete then continue running your server as normal!
    • Players will automatically generate the entire map over a period of weeks as they explore it, but if you wish, you can forcefully render areas of the map using /bmr in-game.
    • Navigate to http://yourip/worldname/
    • If you wish to have certain signs displaying on the map - have the first line of the sign be
    Code:
    [BMR]
    this
    is a
    sign
    Some more information:
    • The plugin keeps each 512px tile for 1 hour after creation. After this they are flagged for updating, either by your players as they wander around your map, or by you using /bmr [value]
    • Each bmr value is equal to (mcregion file+1)^2 so be careful when using large values as bmr 10 renders over 5k by 5k tiles!
    • The plugin will print a report when it is done rendering. It will look something like this.
    Code:
    2011-08-04 14:31:37 [INFO] Map rendering: 1 1 DONE
    2011-08-04 14:31:37 [INFO] Rendering complete: Took 190s to complete : 288 chunks rendered in total
    
    Live Examples:

    [​IMG]

    Credit Where Due:
    • clone1018 for minotar.net
    • Nijikokun for suggestion I use leaflet as the map system, and for the css and coding help
    • Demonen for all the testing and for writing a couple of functions for me
    • All the folks on the United Banana Empire for being super patient with me as I tested this plugin
    • Protected for doing a complete rewrite of some of my code for 0.3 - thankyou so so so much - I don't know what I'd do without you on my team! ^^
    • K900 for all his anti-noob nyan work :)
    Coming soon: progress on GitHub

    • Fun filters (not done)
    • Fix wierd chrome bugs (possibly done)
    • Flash based site (partially done)
    Changelog:

    • 0.0.1 - 01/06/2011 - released privately to beta testers.
    • 0.1 - 04/06/2011 - released publicly after adding lots of shiny features.
    • 0.2 - 06/06/2011 - implemented multiworld and added more entities.
    • 02.1 - 07/06/2011 - implemented biomes, changed mob formula, changed how ice looks to be more "icey" added sign and mob spawner display.
    • 1.0 - 09/06/2011
    • 1.1 - 15/06/2011 - added all sorts of anti-noob nyanerry - thanks K900!
    • 1.2 - 19/07/2011 - removed NMS references - increased performance - hopefully fixed sign bug
    • 1.5 - 04/08/2011 - new index.html - new rendering method - new chunksnapshot method increased performance - decreased lag
    • 1.6 - 16/08/2011 - reordered rendering logic, cleaned up memory leak, took out the cat, introduced the neighbors to my girlfriend, slowed down rendering so you don't even notice its happening when the server is running. Also it's a lot prettier.
     
  2. Offline

    K900

    Wow, thanks :)
     
  3. Offline

    rmb938

    Can you please implement some sort of landmarks? I would like to integrate this plugin with my custom towns plugin I made(not Towny).

    Also show-entities=false is not working. It still shows them.
     
  4. Offline

    codename_B

    Will signs work as landmarks for you?

    We don't use towny regions, we use worldguard regions - wait for 0.3, it's super sexy.
     
  5. Offline

    r3xx0n

    Okay now I understand the concept below this :D But it would be such a nice LiveMap ^^
     
  6. Offline

    clone1018

    o/! Yay!
     
  7. Offline

    codename_B

    Why not use dynmap for a live map?

    A live map requires an AJAX interface with updating player positions (ew)

    +1

    Version 1.0 is out - so many improvements that it needs a whole new version number!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  8. Offline

    andrewpo

    http://2pts.co.uk/mcmaps/servercity/

    Any idea what I've done wrong? XD Everything but map images work (they're all saving into that /mcmaps/servercity/253,253.png (XXX,YYY.png) - just not displaying in the index.html)

    "2011-06-09 19:42:12 [INFO] [BMR] version 0.2.1 is enabled!"

    Contents of folder:
    [​IMG]
     
  9. Offline

    codename_B

    Yes, you need to move the html from the example_html folder into the folder for your world ^^ it doesn't do this for you as it has no idea of knowing where you want the html until you've configged it lol.

    Anyway, you'll find the right folder inside the zip, so just extract the contents and stick em in there. You'll find an index html and two subfolders as well as assorted css and js files. You need all these.

    Also, update to 1.0 - just released - if you're using bukkit #835 or above.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  10. Offline

    andrewpo

    Everything from the HTML folder was copied to where it should be (I just renamed the example folder to the name of my world) - will update to latest now.

    Thanks

    Seems to have some issues:
    If it helps you to find out if something is conflicting, here are my plugins:
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  11. Offline

    codename_B

    What version of bukkit are you using? That's what helps me - also do you have this file?
    plugins/BMR/config.yml

    If you could re-download, I've added some error checking.
     
  12. Offline

    andrewpo

    Bukkit 848 and I have the config file set up (=

    Oh wow it's started to do something :D http://2pts.co.uk/mcmaps/servercity/

    Thanks :)

    Edit: Just like you did with wool - please make it so it detects the correct colour of half-blocks (steps) and double-steps (id 43)
    so damage value 1 would be sandstone, 2 for wood, 3 for cobblestone
    also glowstone (id89) is just black - shouldn't it be more orange/yellow/gold?

    thanks ^.^
     
  13. Offline

    codename_B

    I'll put them on the to-do list sure ^^
    Obviously just adding colors is a slight performance hit - but that shouldn't be too back - and I will fix glowstone asap :D

    Did you know you can now choose custom colors for worldguard regions? :D

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  14. Offline

    chisox8

    whenever I use the command /bmr 30 I get an error message (in red on the screen) that says "I'm sorry, Dave. I'm afraid I can't do that."

    What's up with that?!?
     
  15. Offline

    codename_B

    Perhaps because you're trying to render an area over 30k blocks large at once?

    The maximum allowed area, by default, is configured to 4. You can change this easily in the config file.

    Basically, this is to stop users who don't know what they're doing (like you) from shooting themselves in the foot and whining to me about it.
     
  16. Offline

    chisox8

    I'm sorry if I approached you in a rude manner, I was just doing what the instructions said (/bmr 30) I tried every other number, but to no avail? Or maybe it worked, idk (there was no comfirmation message.) Anyhow, I can't get to my "Page where the map is" either (it should be http://sc22.servercraft.co/world) is it because i'm using a server hoster?
     
  17. Offline

    codename_B

    Did you configure the directory as instructed? Do you have a webserver? Are you using my BukkitHTTPD plugin in order to serve files?

    All these questions depend on what you can do to get this map working.

    Also where in the instructions does it say bmr 30?
     
  18. Offline

    rj89

    This is amazing! All your stuff is amazing. Thanks for this!
     
  19. Offline

    chisox8

    Did you need a webserver? i was not aware of that. Anyway... looks like a great plugin and I hope I can (and i'll try to) get it working soon. And i'm sure it said bmr 30... (did you change it?)
     
  20. Offline

    Oneduality

    Not working so well for me .. I see players and monsters, but not tiles.. bmr 1 generates an error

    Code:
    2:32:29 [INFO] You aren't a player
    12:32:29 [INFO] Starting map render
    12:32:29 [WARNING] Unexpected exception while parsing console command
    org.bukkit.command.CommandException: Unhandled exception executing command 'bmr' in plugin BMR v1.0
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:128)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:273)
            at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:430)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:415)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NoClassDefFoundError: [[Lorg/bukkit/ChunkSnapshot;
            at com.ubempire.render.BananaMapRender.prepareRegion(BananaMapRender.java:147)
            at com.ubempire.render.BananaMapRender.onCommand(BananaMapRender.java:202)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 6 more
    1. Yes I uploaded all the folders to plugins ( there's BMR/config.yml )
    2. No I'm not using bukkithttpd, I'm using apache2
    3. The directory param has the full path to the document root folder, and it's writeable


    Nevermind, I'm a moron .. I was running the suggested build still and didn't realize I needed to go to one of the unsuggested builds.. I can see it rendering now

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  21. Offline

    codename_B

    :)
     
  22. Offline

    Plague

    NEVER use a plus sign in the CB version, keep the thread updated for latest RB
     
  23. Offline

    codename_B

    This plugin used things that were only added in version 835+

    What would you suggest I do? Say it's for the latest RB - even though it wouldn't work on 818?
     
  24. Offline

    Plague

    If you need some features then use non-recommended CB until a recommended is out.

    Which now is (860).
     
  25. Offline

    codename_B

    Which in the title...
     
  26. Offline

    Plague

    good, but what does the 861 mean then? :)
     
  27. Offline

    desmin88

    @Plague
    I'm fairly certain codename_B can have multiple builds in his thread title as long as + isn't used.
    You don't need to be so anal about things like this.
     
  28. Offline

    Plague

    sure he can, but if it has no reason it will only confuse users, so I'm asking why does he even have 861 when it does not bring anything to the table.
     
  29. Offline

    codename_B

    Because I'm supporting this plugin on all builds from 860 onwards, so for every new build I'll be adding it to the title once I've tested it works.

    It's also to show that the plugin will work on these builds.
     
  30. Offline

    Plague

    oh if you want to announce all non-recommended build too, okay
    just please use ranges when you have more than two versions ;) [860, 861, 862, 863] is not wanted
     
  31. Offline

    Massacre_chips

    I'm rendering, but it seems to be working. Thank you mister codename_B, for this and all your others plugins that I'm using right now on my own server.
    Keep the good work, you're great ;)

    PS: Sorry for the misspell if there's some, I not english, and I'm still studying it ><
     

Share This Page