Skip to content

GetMapInfo

The server’s map - what it holds and where it stands.

GetMapInfo()

table - {objects, removals, revision, hash, folder, readOnly, reason}: hash is the fingerprint every player’s game draws (an admin’s /map hash shows it), folder is where it is written ("" = the server has no map), readOnly (and reason) a map the server will not write over

local map = GetMapInfo()
Log(string.format("the map: %d objects, %d removals, revision %d", map.objects, map.removals, map.revision))

SaveMap · the The server’s map group of the index