GetMapInfo
The server’s map - what it holds and where it stands.
Syntax
Section titled “Syntax”GetMapInfo()Returns
Section titled “Returns”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
Example
Section titled “Example”local map = GetMapInfo()Log(string.format("the map: %d objects, %d removals, revision %d", map.objects, map.removals, map.revision))See also
Section titled “See also”SaveMap · the The server’s map group of the index
