[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

    maystorm

    Is it this setting:

    show-entities=true

    No, then I didn't disable it.
     
  3. Offline

    codename_B

    No players = no entities. Monsters only spawn with players online.

    Sure, I'll add that just now.
     
  4. Offline

    maystorm

    Don't see any monsters although players are online. As a side note: The time (upper right corner) always says "Night" even if the sun is shining.

    As for the question what the numeric parameter means in the "brender" command: Any hint what it is for? TIA.
     
  5. Offline

    codename_B

    The source is included in the .jar - have a look at that - I can't be bothered explaining that kind of maths in a forum post XD
    Are monsters actually ON your server?
     
  6. Offline

    maystorm

    Yes, sure, monsters are all around me but if I update the map none are visible there.

    I didn't expect you to explain the maths behind the parameter, just thought you could give a hint what it is for. Does it influence the size of the area being rendered? Is it a timing/timer parameter? 'cause you mention this command and a range between 1 and 20 for the parameter, so I thought I ask what the command is actually doing. ;-)
     
  7. Offline

    codename_B

    Oh, it's to do with the size, I thought that was obvious :p

    Type /brender 0 to update just the entities on the map.
     
  8. Offline

    rmbell

    How would one run this with say, apache?
     
  9. Offline

    codename_B

    Change the directory where the map is rendered to a directory with apache.

    This option is in Config.txt

    You would then simply place all the supporting HTML in the same folder.
     
  10. Offline

    rmbell

    Oh wow I didnt even think to look in the bukkithttpd directory for the html, thats what I was missing. *facepalm*
     
  11. Offline

    maystorm

    No, /brender 0 doesn't help. However, it's not that important for us to see the monsters.
     
  12. Offline

    codename_B

    Indeed, link once you get it working.
    Multiworld is coming soon!
    There's a bug with some config files and cases which I'm fixing atm - thanks for the report.

    I'll let you know when 0.2 is up.
     
  13. Offline

    Johnny Lunder

    Works like a charm :D
    Thanks a million for this.
     
  14. Offline

    squallbreizh

    Thank you for this awesome plugin!!! It works very well, and the rendered map is so good!! I hope you'll add isometric and cave mode like Dynmap (but no so ugly ) and it should be great if we could manually set up the orientation of the map, my north is on the left ^^'.
     
  15. Offline

    ewized

    this is cool and you need to have the config file to re-render at certain times I'm using at action.servegame.com/map/. I cant wait for multi world and better performace.
     
  16. Offline

    codename_B

    They re-render after 24 hours whenever a player goes near them on the "update chunk" cycle.
    It's not something a config file needs to handle.
    Yeah.... you're gonna have to deal with north on the left - I've got all the code programmed for this now XD
     
  17. Offline

    Renagade

    I will be using this plugin for my server! Looks great
     
  18. Offline

    codename_B

    I should probably release 0.2 then.
    Give me two minutes

    Version 0.2 Released!

    Command has been changed, as has folder name.

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

    duhfux

    Blah. I really want to get this plugin working as it sounds great. Anyone else been able to get it working on fragnet.net? or perhaps I am doing something wrong?

    I copied both directories and the jar into my plugins folder. It renders and puts a bunch of ###,###.png files into BukkitHTTPD/map, but I am not able to view it from my browser D:

    http://myip:myport/world right?
     
  20. Offline

    maystorm

    That's great! Perhaps you could also change the "/brender" references in the description to reflect the changed command name (/bmr)?
     
  21. Offline

    codename_B

    Are you running the BukkitHTTPD plugin also, as it specifies in the OP?

    Sure, I'll just do that now.
     
  22. Offline

    Johnny Lunder

    • Optimise performance some more (not done - working on for 0.3
    Really? It's already lightning-fast xD
     
  23. Offline

    maystorm

    Hmm, it still says Version 0.1:

    Code:
    17:14:10 [INFO] [BananaMapRender] version 0.1 is enabled!
     
  24. Offline

    codename_B

    Did you download the latest .jar?

    That's good to know, but I'd like it to be faster :D

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

    K900

    Me too :) Downloaded the latest (the only one lol) from your page, it shows 0.1 and /bmr doesn't work. Maybe your server is caching it?
     
  26. Offline

    maystorm

    Yes, from the mentioned download link. It's a ZIP, btw.
     
  27. Offline

    codename_B

    Let me update it on the server again.
    Try now - (please please please work)
     
  28. Offline

    K900

    Ummm... no.
     
  29. Offline

    ultimak

    Would it be possible to add the ability to zoom out? The reason I ask is that the map I run is 15,000x15,000 blocks and it would be terribly hard to find something on the map without being able to get a larger view.
     
  30. Offline

    maystorm

    Unfortunately, still the same.
     
  31. Offline

    codename_B

    It works fine for me, are you sure that firefox hasn't renamed it to have like a (2) or a (3) at the end of the filename?

    CTRL+scrollwheel
    Any zoom means extra renders which means extra processing.
     

Share This Page