Glowstone-Legacy
Glowstone-Legacy copied to clipboard
Map item API
The Bukkit API for dealing with maps should be implemented and allow plugins to set custom map renderers as desired. getMap
and createMap
in GlowServer and sendMap
in GlowPlayer should be functional, and maps not sent as a whole by plugins should be streamed as usual.
Some stuff in the net.glowstone.map
package exists already but it's largely stubs. I wrote a large part of the map implementation in CraftBukkit so it might be worth looking at it for inspiration.
From @SpaceManiac s work I guess that we can send araes (named section) of maps to the player, so f.e. a 10x10 pixel area starting at 100|70. Is this correct?