samrocketman / docker-compose-lgsm-rust-dedicated-server

A dockerized LGSM dedicated server for the Facepunch game: Rust.
Other
38 stars 17 forks source link

How can I setup the rust+ app #21

Closed Gr3gorywolf closed 2 weeks ago

Gr3gorywolf commented 2 months ago

Im trying to setup the rust+ app, trying to set the port and ip from the RCON console but the settings return to the default value after server restart so im not able to setup any custom server config even if I run server.writecfg the changes are not being persisted

samrocketman commented 2 months ago

I've not used Rust+ before so I'm not sure. If I find anything I'll follow up. If you could provide more detail for what you're doing with RCON that could help.

Gr3gorywolf commented 2 months ago

Im just trying to save a setting such as decay.scale 0 but somehow it doesn't get persisted once I restart the server

samrocketman commented 2 months ago

There's nothing preventing that persistence as far as I know. Here is where server config is edited but it is not overwritten.

https://github.com/samrocketman/docker-compose-lgsm-rust-dedicated-server/blob/d585fae75778595c3344d26149c83a9e872f5a92/utils/apply-settings.sh#L19-L27

samrocketman commented 2 weeks ago

Did you end up figuring out Rust+?

samrocketman commented 2 weeks ago

According to the docs you need to expose an additional port over the internet and docker https://wiki.facepunch.com/rust/rust-companion-server

According to these docs expose 28063 in docker compose file.

https://github.com/samrocketman/docker-compose-lgsm-rust-dedicated-server/blob/c2661ab063dca5871b0737595594a8a1f4552a4c/docker-compose.yml#L70-L73

You will need to take additional steps to expose your server to the internet.