更新日志
[AI翻译] 描述、说明、JSON描述、变量
版本内容
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
"meta": {
"version": "PTDL_v2",
"update_url": "https://eggs.pterodactyl.top/eggs/221/download/egg-multi-theft-auto.json"
},
"exported_at": "2025-05-10T14:02:07-04:00",
"name": "Multi Theft Auto",
"author": "info@six-gaming.com",
"description": "你还想要什么?Multi Theft Auto 提供了最佳的《侠盗猎车手》在线体验。继续阅读了解更多。",
"features": null,
"docker_images": {
"registry.cn-shanghai.aliyuncs.com/pterodactyl-images/games:mta": "registry.cn-shanghai.aliyuncs.com/pterodactyl-images/games:mta"
},
"file_denylist": [],
"startup": "./mta-server64 --port {{SERVER_PORT}} --httpport {{SERVER_WEBPORT}} -n",
"config": {
"files": "{}",
"startup": "{\r\n \"done\": \"Server started and is ready to accept connections\"\r\n}",
"logs": "{}",
"stop": "shutdown"
},
"scripts": {
"installation": {
"script": "#!/bin/bash\r\n\r\ncd /tmp\r\ncurl -sSL -o multitheftauto_linux_x64.tar.gz https://linux.multitheftauto.com/dl/multitheftauto_linux_x64.tar.gz\r\n# curl -sSL -o multitheftauto_linux_x64.tar.gz https://nightly.mtasa.com/multitheftauto_linux_x64-1.6.0-rc-23196.tar.gz\r\ncurl -sSL -o mta-baseconfig.tar.gz https://linux.multitheftauto.com/dl/baseconfig.tar.gz\r\ncurl -sSL -o mtasa-resources-latest.zip https://mirror.multitheftauto.com/mtasa/resources/mtasa-resources-latest.zip\r\n\r\nmkdir -p /mnt/server\r\ntar -xvf multitheftauto_linux_x64.tar.gz\r\ncp -rf multitheftauto_linux_x64/* /mnt/server\r\n\r\nif [ ! -f /mnt/server/x64/libmysqlclient.so.16 ]; then\r\n curl -L http://nightly.mtasa.com/files/libmysqlclient.so.16 -o /mnt/server/x64/libmysqlclient.so.16\r\nfi\r\n\r\nmkdir -p /mnt/server/mods/deathmatch/resources\r\nunzip -o -d /mnt/server/mods/deathmatch/resources mtasa-resources-latest.zip\r\n\r\ntar -xvf mta-baseconfig.tar.gz\r\ncp -rf baseconfig/* /mnt/server/mods/deathmatch\r\n\r\nchown -R root:root /mnt\r\n\r\nexport HOME=/mnt/server\r\n\r\n## install end\r\necho \"-----------------------------------------\"\r\necho \"Installation completed...\"\r\necho \"-----------------------------------------\"",
"container": "registry.cn-shanghai.aliyuncs.com/pterodactyl-images/installers:ubuntu",
"entrypoint": "bash"
}
},
"variables": [
{
"name": "服务器网页端口",
"description": "网络资源的HTTP端口。此端口需要是{{SERVER_PORT}}+2。",
"env_variable": "SERVER_WEBPORT",
"default_value": "22005",
"user_viewable": true,
"user_editable": false,
"rules": "required|numeric",
"field_type": "text"
},
{
"name": "LD_PRELOAD",
"description": "",
"env_variable": "LD_PRELOAD",
"default_value": "/usr/lib/x86_64-linux-gnu/libzstd.so",
"user_viewable": false,
"user_editable": false,
"rules": "required|string|max:20",
"field_type": "text"
}
]
}