new TemplateManager()
Manages the template system. This class handles all external requests for template modification, creation, and analysis. It serves as the central coordinator between template instances and the user interface.
- Since:
- 0.55.8
- Source:
Example
// JSON structure for a template
{
"whoami": "BlueMarble",
"scriptVersion": "1.13.0",
"schemaVersion": "2.1.0",
"templates": {
"0 $Z": {
"name": "My Template",
"enabled": true,
"tiles": {
"1231,0047,183,593": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA",
"1231,0048,183,000": "data:image/png;AAAFCAYAAACNbyblAAAAHElEQVQI12P4"
}
},
"1 $Z": {
"name": "My Template",
"URL": "https://github.com/SwingTheVine/Wplace-BlueMarble/blob/main/dist/assets/Favicon.png",
"URLType": "template",
"enabled": false,
"tiles": {
"375,1846,276,188": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA",
"376,1846,000,188": "data:image/png;AAAFCAYAAACNbyblAAAAHElEQVQI12P4"
}
}
}
}