diff --git a/rust/data.json b/rust/data.json new file mode 100644 index 00000000..b9e046a6 --- /dev/null +++ b/rust/data.json @@ -0,0 +1,21 @@ +[ + { + "name": "rust", + "variables": { + "RConPassword": "12345" + }, + "environment": { + "type": "host" + } + }, + { + "name": "rust-docker", + "variables": { + "RConPassword": "12345" + }, + "environment": { + "type": "docker", + "image": "steamcmd/steamcmd" + } + } +] \ No newline at end of file diff --git a/rust/rust.json b/rust/rust.json index 922e970f..621ed0e7 100644 --- a/rust/rust.json +++ b/rust/rust.json @@ -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"