{
    "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
    "meta": {
        "version": "PTDL_v1"
    },
    "exported_at": "2018-01-21T17:01:44-06:00",
    "name": "Mumble Server",
    "author": "support@pterodactyl.io",
    "description": "Mumble is an open source, low-latency, high quality voice chat software primarily intended for use while gaming.",
    "image": "quay.io\/pterodactyl\/core:glibc",
    "startup": ".\/murmur.x86 -fg",
    "config": {
        "files": "{\"murmur.ini\":{\"parser\": \"ini\", \"find\":{\"logfile\": \"murmur.log\", \"port\": \"{{server.build.default.port}}\", \"host\": \"0.0.0.0\", \"users\": \"{{server.build.env.MAX_USERS}}\"}}}",
        "startup": "{\"done\": \"Server listening on\", \"userInteraction\": [ \"Generating new server certificate\"]}",
        "logs": "{\"custom\": true, \"location\": \"logs\/murmur.log\"}",
        "stop": "^C"
    },
    "scripts": {
        "installation": {
            "script": "#!\/bin\/ash\n# Mumble Installation Script\n#\n# Server Files: \/mnt\/server\napk update\napk add tar curl\n\ncd \/tmp\n\ncurl -sSLO https:\/\/github.com\/mumble-voip\/mumble\/releases\/download\/${MUMBLE_VERSION}\/murmur-static_x86-${MUMBLE_VERSION}.tar.bz2\n\ntar -xjvf murmur-static_x86-${MUMBLE_VERSION}.tar.bz2\ncp -r murmur-static_x86-${MUMBLE_VERSION}\/* \/mnt\/server",
            "container": "alpine:3.4",
            "entrypoint": "ash"
        }
    },
    "variables": [
        {
            "name": "Maximum Users",
            "description": "Maximum concurrent users on the mumble server.",
            "env_variable": "MAX_USERS",
            "default_value": "100",
            "user_viewable": 1,
            "user_editable": 0,
            "rules": "required|numeric|digits_between:1,5"
        },
        {
            "name": "Server Version",
            "description": "Version of Mumble Server to download and use.",
            "env_variable": "MUMBLE_VERSION",
            "default_value": "1.2.19",
            "user_viewable": 1,
            "user_editable": 1,
            "rules": "required|regex:\/^([0-9_\\.-]{5,8})$\/"
        }
    ]
}