document.write(''); document.write(''); document.write(''); document.write(''); document.write('Paste provided by Paste.ee - View Original - View Raw - Download
'); document.write('
{\n  "pufferd": {\n    "type": "srcds",\n    "display": "Garry\'s Mod (with additional arguments)",\n    "install": {\n      "commands": [\n        {\n          "files": "https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz",\n          "type": "download"\n        },\n        {\n          "commands": [\n            "mkdir steamcmd",\n            "tar --no-same-owner -xzvf steamcmd_linux.tar.gz -C steamcmd",\n            "steamcmd/steamcmd.sh +login anonymous +force_install_dir ${rootdir} +app_update 4020 validate +quit",\n            "mkdir -p .steam/sdk32",\n            "cp steamcmd/linux32/steamclient.so .steam/sdk32/steamclient.so"\n          ],\n          "type": "command"\n        }\n      ]\n    },\n    "run": {\n      "stop": "exit",\n      "pre": [],\n      "post": [],\n      "arguments": [\n        "+ip",\n        "${ip}",\n        "+port",\n        "${port}",\n        "-game",\n        "garrysmod",\n        "+map",\n        "${map}",\n        "+maxplayers",\n        "${maxplayers}",\n        "-norestart",\n        "${args}"\n      ],\n      "program": "./srcds_run"\n    },\n    "environment": {\n      "type": "tty"\n    },\n    "data": {\n      "map": {\n        "value": "gm_construct",\n        "required": true,\n        "desc": "Map to load by default",\n        "display": "Map",\n        "internal": false\n      },\n      "maxplayers": {\n        "value": "20",\n        "required": true,\n        "desc": "Max players allowed on server",\n        "display": "Max Players",\n        "internal": false,\n        "type": "integer"\n      },\n      "ip": {\n        "value": "0.0.0.0",\n        "required": true,\n        "desc": "What IP to bind the server to",\n        "display": "IP",\n        "internal": false\n      },\n      "port": {\n        "value": "27015",\n        "required": true,\n        "desc": "What port to bind the server to",\n        "display": "Port",\n        "internal": false,\n        "type": "integer"\n      },\n      "args": {\n        "value": "",\n        "required": false,\n        "desc": "Define arguments to pass into the starting command",\n        "display": "Additional Arguments",\n        "internal": false\n      }\n    }\n  }\n}
'); function initEmbeddedPaste_3UpLkhI4rOZiUdR6() { hljs.highlightBlock(document.getElementById('pastee-3UpLkhI4rOZiUdR6-content')); } addEventListener('DOMContentLoaded', initEmbeddedPaste_3UpLkhI4rOZiUdR6, false); addEventListener('load', initEmbeddedPaste_3UpLkhI4rOZiUdR6, false);