You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. MC: Fetch map-metadata from WEB: /PHP/API/getMapMetaData.php - JSON: See -mapMetaData (Array of metaDataObjects)
2. loop:
2a. MC: Generate map-data from map-metaData
2b. MC: Send mapData to WEB: /PHP/API/uploadMap.php
paramaters:
- API-key
- mapData: JSON mapData object
returns:
- boolean: success
Data-structure description
- mapMetaData: JSON-Object
{
centerX: MC coord,
centerZ: '',
radius: MC-pixels (a mapObject is a square not a circle)
highQuality: boolean (true for miniMaps, false for general maps)
}
- mapData: JSON-Object Extends mapMetaData
{
data: [ rgb values ]
}
File storage
General map
Access: -
ImageStoreUrl: /PHP/API/generalMap
FileName: worldName + "X" + coordX + "Z" + coordZ + "R" + radius
Size: 2 * radius x 2 * radius (See config.json)