Merge pull request #2125 from parkervcp/samp-fix

samp: auto set rcon password in config
This commit is contained in:
Michael (Parker) Parker 2023-02-08 09:31:52 -05:00 committed by GitHub
commit c94cdcda46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@
"version": "PTDL_v2", "version": "PTDL_v2",
"update_url": null "update_url": null
}, },
"exported_at": "2023-02-08T14:46:07+01:00", "exported_at": "2023-02-08T14:50:39+01:00",
"name": "SA-MP", "name": "SA-MP",
"author": "bl4ckspr4y@protonmail.com", "author": "bl4ckspr4y@protonmail.com",
"description": "SA-MP is a free Massively Multiplayer Online game mod for the PC version of Rockstar Games Grand Theft Auto: San Andreas (tm).", "description": "SA-MP is a free Massively Multiplayer Online game mod for the PC version of Rockstar Games Grand Theft Auto: San Andreas (tm).",
@ -15,7 +15,7 @@
"file_denylist": [], "file_denylist": [],
"startup": ".\/samp03svr", "startup": ".\/samp03svr",
"config": { "config": {
"files": "{\r\n \"server.cfg\": {\r\n \"parser\": \"file\",\r\n \"find\": {\r\n \"port\": \"port {{server.build.default.port}}\"\r\n }\r\n }\r\n}", "files": "{\r\n \"server.cfg\": {\r\n \"parser\": \"file\",\r\n \"find\": {\r\n \"port\": \"port {{server.build.default.port}}\",\r\n \"rcon_password\": \"rcon_password {{server.build.env.RCON_PASS}}\"\r\n }\r\n }\r\n}",
"startup": "{\r\n \"done\": \"Started server on \"\r\n}", "startup": "{\r\n \"done\": \"Started server on \"\r\n}",
"logs": "{}", "logs": "{}",
"stop": "^^C" "stop": "^^C"
@ -40,7 +40,7 @@
}, },
{ {
"name": "Rcon password", "name": "Rcon password",
"description": "", "description": "The password used for rcon",
"env_variable": "RCON_PASS", "env_variable": "RCON_PASS",
"default_value": "", "default_value": "",
"user_viewable": true, "user_viewable": true,