Map Creation Guide

The below shows you how to create a map for bedwars from scratch:

-- create a new empty map
/lua changeScript("bedwars", "maps/MyMapName")

-- load png (URL's are supported too)
/imagetoblocks "map_structures/maps/BedwarsParaTunnelBuszaldor.png" -32 63

-- place chests, doors
-- TODO (they can be placed manually, just change teams and place the entities)

-- set configs
-- (you can see coordinates by pressing `F3`)
/mapconfig red_spawn_position 45,-28
/mapconfig red_protected_area 42,16,8,8
-- (you can find the entity ID's in the Inspect Tool if you have the `dev` role)
/mapconfig red_bed_id 758118866

/mapconfig blue_spawn_position -15,19
/mapconfig blue_protected_area -22,12,10,10
/mapconfig blue_bed_id 458555685

-- optional: override map size (default 3x3 chunks / 96x96 blocks)
-- you must reload the map to update the map size!
/mapconfig map_chunk_width 5
/mapconfig map_chunk_height 5

-- save map
/savemap maps/MyMapName