Open DervilRus opened 6 months ago
For now, it's autosaving
I'm testing if I can do an rcon instruction via bash. If that's possible, this request is doable.
rcon instruction via bash. If that's possible, this request is doable.
we could need to do a web socket connection so we could call rcon directly. We would need to use python or some other language as this is a bit out of reach of bash
We could write something up with this module pretty easily. We would need to include it into our build along with py 3.10.
https://github.com/Diyagi/vrising-server-docker
This person looks to have a much cleaner way of doing this. @TrueOsiris what do you think?
ARG GORCON_VERSION="0.10.3"
ARG GORCON_MD5SUM="8601c70dcab2f90cd842c127f700e398"
# Install GoRcon
RUN curl -fsSL -o rconcli.tar.gz https://github.com/gorcon/rcon-cli/releases/download/v${GORCON_VERSION}/rcon-${GORCON_VERSION}-amd64_linux.tar.gz \
&& echo "${GORCON_MD5SUM}" rconcli.tar.gz | md5sum -c - \
&& tar -xf rconcli.tar.gz --strip-components=1 --transform 's/rcon/rcon-cli/g' -C /usr/bin/ rcon-${GORCON_VERSION}-amd64_linux/rcon
to the Dockerfile, like he does. I could also use that to make a proper container healthcheck. Interesting.
- that he is a better coder
- that I could add
ARG GORCON_VERSION="0.10.3" ARG GORCON_MD5SUM="8601c70dcab2f90cd842c127f700e398" # Install GoRcon RUN curl -fsSL -o rconcli.tar.gz https://github.com/gorcon/rcon-cli/releases/download/v${GORCON_VERSION}/rcon-${GORCON_VERSION}-amd64_linux.tar.gz \ && echo "${GORCON_MD5SUM}" rconcli.tar.gz | md5sum -c - \ && tar -xf rconcli.tar.gz --strip-components=1 --transform 's/rcon/rcon-cli/g' -C /usr/bin/ rcon-${GORCON_VERSION}-amd64_linux/rcon
to the Dockerfile, like he does. I could also use that to make a proper container healthcheck. Interesting.
Yeah stumbled on it and figured I would atleast share
Please tell me how to force save server progress before server restart?
On Windows, you could press CTRL-C for the server to save the current state, how can I do this? I just don’t want to set automatic saving very often.