Sign inSign up

devnode/vrising

By devnode

Updated over 2 years ago

VRising dedicated server running on Ubuntu22.04 with wine

Image
2

1.3K

devnode/vrising repository overview

devnode's V Rising Docker Image

This docker image uses wine to run a windows V Rising server on linux.

There is no dedicated server for linux yet, but maybe soon™. As soon as there is one, this image will be updated accordingly.

Usage

In order to run this image you need to provide a specific file structure. That means you need 3 things:

  1. Some configs for the gameserver
  2. the .env file where you customize your servers name
  3. the docker-compose.yml (To get these filestructure read Quickstart section.)

The most simple way to spin up the server is to use docker-compose. Just run docker-compose up -d to spin up a container. -d means detached to background.

If you want to check the logs on the running container you can do a docker logs -f vrising_server

Quickstart

You can either clone the whole thing from my gitlab or just get the filestructure mentioned in the Usage section. So.. clone the following directory, cd into it, rename example.env to .env, edit it to your needs and spin the whole thing up...

  1. git clone https://gitlab.devnode.net/gameserver/vrising-docker
  2. cd vrising-docker
  3. mv example.env .env
  4. docker-compose up -d

Ok so what is happening in the image then?

  • the latest VRising server will be downloaded via steamcmd. (see local ./server folder)
  • the gameserver will be started with a default PvE configuration (see local ./config/ServerGameSettings.json)
  • a cronjob (checking each 30mins) will make sure to keep the server up to date.
  • all savegames will be saved to your local ./savegame folder.
  • since vrising does not have any join or leave messages i created another task running in the background which I call watchlog. This task reads out the server logs to create server join/leave messages ingame since the game doesnt provide these by default. Tho this feature requires rcon to be enabled. Please be sure to change your password to something more secure. ( Change the rcon password in the .env file but also in ./config ServerHostSettings.json )

Configuration

The following filestructure will be used:

config/ServerGameSettings.json
config/ServerHostSettings.json
config/ServerVoipSettings.json
config/adminlist.txt
config/banlist.txt

The default configuration is default PvE.

Edit the Configs to your needs:

  1. config/ServerGameSettings.json (check out other config presets if you dont want a default PvE one)
  2. config/ServerHostSettings.json
  3. config/ServerVoipSettings.json
  4. config/adminlist.txt
  5. config/banlist.txt

If you want a custom configuration just go check out the "config/GameSettingPresets/" Folder for different config files. If you want to run one of those simply pick one of them and paste everything of its content into the ServerGameSettings.json and restart the server.

FAQ

Q: Is there a way to find out how many people have been on my server overall?

A: Yes. For the watchlog feature to be working i created an id.log file which logs all player. Its in VRisingServer/logs/id.log and it will be created as soon as the first player has been joining and will get more entries overtime. So you could just do a: docker exec vrising_server cat VRisingServer/logs/id.log | wc -l which should count the entries.

Q: How do I find out if the autoupdater works or not?

A: There is an update_check.log file in VRisingServer/logs/update_check.log Try: docker exec vrising_server cat VRisingServer/logs/update_check.log

Tag summary

Content type

Image

Digest

sha256:92661fd1f

Size

873 MB

Last updated

over 2 years ago

docker pull devnode/vrising