-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.py
More file actions
33 lines (29 loc) · 809 Bytes
/
Copy pathconfig.py
File metadata and controls
33 lines (29 loc) · 809 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Importing the os python module
import os
worlds[os.environ['SERVER_NAME']] = "/world/"
size=int(os.environ['SIZE'])
renders["overworld"] = {
"world": os.environ['SERVER_NAME'],
"title": "Big",
"dimension": "overworld",
"rendermode": "normal",
'crop': (size*-1, size*-1, size, size),
"imgformat": "jpg",
"imgquality":80,
"defaultzoom":7,
"minzoom":5,
"maxzoom":7,
"texturepath": "/root/.minecraft/versions/1.13.2/1.13.2.jar"
}
renders["mini"] = {
"world": os.environ['SERVER_NAME'],
"title": "Small",
"dimension": "overworld",
"rendermode": "normal",
'crop': (-512, -512, 512, 512),
"minzoom":4,
"maxzoom":4,
"imgformat": "png",
"texturepath": "/root/.minecraft/versions/1.13.2/1.13.2.jar"
}
outputdir = "/var/www/html"