Want a better Minecraft server? Read about SpigotMC here!
Separate names with a comma.
Discussion in 'Spigot Plugin Development' started by YuuTheDev, Aug 14, 2018.
As I said in title, how to generate a map of 1000x1000 blocks region by using dynmap or manually?
I think dynmap respects world borders, so just add one and then do a fullrender.
EDIT: If this area hasn't been generated yet, then you'll need to use the WorldBorder plugin or similar to pregenerate it.
How to get map to my hands I mean
I'm tring to do this for my map:
Oh, lol- I was wondering, you said "in-game map" but then said dynmap... kinda confusing.
So for that you need to just use MapView.setScale. Scale.FAR will be 1024x1024.
Thanks, I did it
ItemStack map = new ItemStack(Material.MAP, 1);
MapView view = Bukkit.createMap(pl.world);
view.setCenterX(((Location) pl.getConfig().get("Dogma." + pl.world.getName + ".wb")).getBlockX());
view.setCenterZ(((Location) pl.getConfig().get("Dogma." + pl.world.getName + ".wb")).getBlockZ());
But map shows only player's loaded chunks, how can I show all of world?
I have never found a way to get a map to auto-populate. You'll have to do a lot of walking, I'm afraid...
If there's a way to pre-populate a map that's something I'd love to know about.
So, I'll look for it. Thanks for helpful answers!