Skip to content

Commit

Permalink
Remove more map references
Browse files Browse the repository at this point in the history
  • Loading branch information
LordRalex committed Nov 15, 2023
1 parent 333f100 commit 7b3c039
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions gmod/gmod.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"required": true,
"userEdit": true
},
"map": {
"mapname": {
"type": "",
"value": "gm_construct",
"display": "Map",
Expand Down Expand Up @@ -68,7 +68,7 @@
}
],
"run": {
"command": "./srcds_run +port ${port} -game garrysmod -console +gamemode ${gamemode} +map ${map} +maxplayers ${maxplayers} +host_workshop_collection ${wscollection} +sv_setsteamaccount ${steamaccounttoken} -norestart",
"command": "./srcds_run +port ${port} -game garrysmod -console +gamemode ${gamemode} +map ${mapname} +maxplayers ${maxplayers} +host_workshop_collection ${wscollection} +sv_setsteamaccount ${steamaccounttoken} -norestart",
"stop": "exit",
"stdin": {},
"stdout": {}
Expand Down
4 changes: 2 additions & 2 deletions tf2/tf2.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"desc": "What IP to bind the server to",
"required": true
},
"map": {
"mapname": {
"type": "",
"value": "ctf_2fort",
"display": "Team Fortess 2 Map to load",
Expand Down Expand Up @@ -46,7 +46,7 @@
}
],
"run": {
"command": "./srcds_run +ip ${ip} +port ${port} -game tf -console +map ${map} -norestart",
"command": "./srcds_run +ip ${ip} +port ${port} -game tf -console +map ${mapname} -norestart",
"stop": "exit",
"stdin": {},
"stdout": {}
Expand Down
4 changes: 2 additions & 2 deletions unturned/unturned.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"type": "srcds",
"display": "Unturned",
"data": {
"map": {
"mapname": {
"type": "option",
"value": "PEI",
"display": "Map",
Expand Down Expand Up @@ -155,7 +155,7 @@
},
{
"type": "writefile",
"text": "Name ${name}\nMap ${map}\nPort ${port}\nMaxPlayers ${maxplayers}\nMode ${mode}\nOwner ${steam_id}\nWelcome ${welcome}\nPassword ${password}\nPerspective ${perspective}",
"text": "Name ${name}\nMap ${mapname}\nPort ${port}\nMaxPlayers ${maxplayers}\nMode ${mode}\nOwner ${steam_id}\nWelcome ${welcome}\nPassword ${password}\nPerspective ${perspective}",
"target": "/Servers/${server}/Server/Commands.dat"
}
],
Expand Down

0 comments on commit 7b3c039

Please sign in to comment.