1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
{
"pufferd": {
"type": "pocketmine",
"display": "GenisysPro",
"install": {
"commands": [
{
"type": "download",
"files": "https://github.com/GenisysPro/GenisysPro/archive/master.zip"
},
{
"commands": [
"unzip GenisysPro-master"
],
"type": "command"
},
{
"files": "https://bintray.com/pocketmine/PocketMine/download_file?file_path=PHP_7.0.6_x86-64_Linux.tar.gz",
"type": "download"
},
{
"commands": [
"tar -zxf PHP_7.0.6_x86-64_Linux.tar.gz"
],
"type": "command"
},
{
"source": "bin",
"target": "GenisysPro-master",
"type": "move"
},
{
"type": "writefile",
"text": "server-ip=${ip}\nserver-port=${port}\n",
"target": "server.properties"
}
]
},
"run": {
"stop": "stop",
"pre": [],
"post": [],
"arguments": [
"--no-wizard"
],
"program": "GenisysPro-master/start.sh"
},
"environment": {
"type": "tty"
},
"data": {
"ip": {
"value": "0.0.0.0",
"required": true,
"desc": "What IP to bind the server to",
"display": "IP",
"internal": false
},
"port": {
"value": "19132",
"required": true,
"desc": "What port to bind the server to",
"display": "Port",
"internal": false
}
}
}
}