Skip to content

Commit

Permalink
Update rust test to set rcon password
Browse files Browse the repository at this point in the history
  • Loading branch information
LordRalex committed Dec 5, 2023
1 parent b3d8f7a commit 9e54828
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions rust/data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
[
{
"name": "rust",
"variables": {
"RConPassword": "12345"
},
"environment": {
"type": "host"
}
},
{
"name": "rust-docker",
"variables": {
"RConPassword": "12345"
},
"environment": {
"type": "docker",
"image": "steamcmd/steamcmd"
}
}
]
2 changes: 1 addition & 1 deletion rust/rust.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
}
],
"run": {
"command": "./RustDedicated -nographics -batchmode +server.port ${port} +server.level \"${ServerLevel}\" +server.seed ${ServerSeed} +server.worldsize ${WorldSize} +server.maxplayers ${MaxPlayers} +server.hostname \"${ServerName}\" +server.description \"${Description}\" +server.headerimage \"${ServerImage}\" +server.url \"${URL}\" +server.identity \"${ServerIdentity}\" +rcon.port ${RConPort} +rcon.password ${RConPassword} +rcon.web 1 -logfile",
"command": "./RustDedicated -nographics -batchmode +server.port ${port} +server.level \"${ServerLevel}\" +server.seed ${ServerSeed} +server.worldsize ${WorldSize} +server.maxplayers ${MaxPlayers} +server.hostname \"${ServerName}\" +server.description \"${Description}\" +server.headerimage \"${ServerImage}\" +server.url \"${URL}\" +server.identity \"${ServerIdentity}\" +rcon.port ${RConPort} +rcon.password ${RConPassword} +rcon.web 1",
"stop": "server.stop",
"environmentVars": {
"LD_LIBRARY_PATH": "./RustDedicated_Data/Plugins/x86_64"
Expand Down

0 comments on commit 9e54828

Please sign in to comment.