Valheim
此主題已被鎖定
jimbobslimbob 2021 年 2 月 15 日 上午 3:22
Dedicated Server setup and management with GSM
For those that have used GSM (Game Server Manager) before - or those that haven't, I have just uploaded a guide to dedicated server setup utilising it.

Those that host dedicated servers will find a lot of useful things here, such as auto-updating, timed restarts and backups and a wealth of other things to make managing your server easier. GSM has been in continuous development for around 5 years, seeing countless improvements and additions. It also features a companion DiscordBot, to manage your server remotely.

The guide:

https://steamcommunity.com/sharedfiles/filedetails/?id=2396422784

For those that are unaware of some of the features of GSM, here is a run-down:

Game Server Manager features - an overview
- Automatic update checking and applying via SteamCMD (with configurable delay and server warning message)
- Players online graph
- Built-in Telnet and RCON client, which can be used manually or set to automatically send messages and commands (such as shutdown and shutdown notices) to the server
- Auto-restart if server goes down
- Message/command broadcast system
- Player list showing everyone online, including ping, score, team and time online.
- INI File Parser, which displays a list of all ini file settings (across multiple files) in a list that you can sort, filter, edit, import and export as you wish.
- CPU and RAM usage display, with graph
- Network bandwidth monitor, with graph
- Ability to output status, players online and server name to a file - formatted however you want
- Single-click access to configuration.
- Detailed server information
- Internal and external IP address display
- Server up-time display
- Optional timed daily server restart.
- Timed incremental backups. Perform a daily backup of game data to a zip file.
- Automatically update game - Ability to run a maintenance / update program between restarts. e.g. SteamCMD to perform daily updates automatically. The server will start back up again when this program finished / ends so you minimise downtime.
- Option to delay timed restarts. i.e. The server will be turned off and the program will wait X seconds before attempting to restart it.
- Telnet to server
- 1 click backup and maintenance
- Remote commands to start, stop, backup, update and send commands to your server.
- Game Profiles - Multiple instances of the program can be run with multiple configurations.
- Designed to be "universal" and work with a multitude of games.
< >
目前顯示第 31-45 則留言,共 69
Artak 2021 年 3 月 26 日 上午 9:13 
Hi, runs this setup on an Raspberry pi 4?
jimbobslimbob 2021 年 3 月 26 日 上午 9:18 
引用自 Artak
Hi, runs this setup on an Raspberry pi 4?
Absolutely no idea. It was written on and tested for Windows (and Windows Server) OS. You can by all means try it, but I cannot guarantee it will work and do not offer support and/or fixing bugs for other operating systems.
VerdiusArcana (Castaway.tf) 2021 年 3 月 26 日 上午 9:37 
Nice shill post.
ali_homer_2007 2021 年 3 月 26 日 下午 5:18 
Hi,

First of all, this is an excellent program and I truly appreciate the work you have put into this.
I am unfortunately also having the same issue with GSMdiscord bot as the user above where after configuring it per the readme, the bot says "connected" but immediately disconnects. It then cycles through this same process but never truly connects to the server in any meaningful way.
Just to test out my configuration, I was able to provide the same token to redbot and successfully managed to get redbot up and running on my discord server and responding to commands. However, discordgsm bot remains unresponsive :(
Any ideas for a fix?
Thanks!
Haragon 2021 年 3 月 27 日 上午 10:58 
Small suggestion - add a way to change the cmd window title for those of us running multiple servers
GoatMaster 2021 年 3 月 27 日 下午 4:16 
hi,

thanks for your awesome work! :)
i wanted to use the GSMdiscordbot aswell. the GSM does not respond to the commands !start, !stop etc.

the bot and webhook setup seems allright. i get notification on my discord server when i manually start and stop the server.

the !serverload does also work
Bocephus666 2021 年 3 月 27 日 下午 4:47 
引用自 Haragon
Small suggestion - add a way to change the cmd window title for those of us running multiple servers
+1

I’m running 5 valheim instances at the moment, and this would be an awesome feature.
GlassGEO 2021 年 3 月 28 日 上午 12:29 
引用自 jimbobslimbob

Hey, so I really appreciate the ease of GSM, but Im curious about something.

It takes 1.5 hours for GSM to recognize the server is online. Everyone who has this issue has been saying that its actually active pretty quick, but doesnt register its "online" until someone joins or 1.5 hours is hit (for some reason)

I just tested this, and this time when the "Dungeon DB xxx" came up and seemed stuck, I told GSM to refresh manually and it was suddenly online, but it didnt show up on the server list until GSM actually said it was online.
jimbobslimbob 2021 年 3 月 28 日 上午 6:59 
引用自 GoatMaster
hi,

thanks for your awesome work! :)
i wanted to use the GSMdiscordbot aswell. the GSM does not respond to the commands !start, !stop etc.

the bot and webhook setup seems allright. i get notification on my discord server when i manually start and stop the server.

the !serverload does also work
The bot needs to be able to write to the GSM folder. If you installed to Program Files then it requires you to run it as Administrator to do this.

引用自 GlassGEO
引用自 jimbobslimbob

Hey, so I really appreciate the ease of GSM, but Im curious about something.

It takes 1.5 hours for GSM to recognize the server is online. Everyone who has this issue has been saying that its actually active pretty quick, but doesnt register its "online" until someone joins or 1.5 hours is hit (for some reason)

I just tested this, and this time when the "Dungeon DB xxx" came up and seemed stuck, I told GSM to refresh manually and it was suddenly online, but it didnt show up on the server list until GSM actually said it was online.
That is certainly not normal behaviour. It should see it as online as soon as it is - assuming you have GSM checking at regular intervals (shown by the bottom-right timer).
最後修改者:jimbobslimbob; 2021 年 3 月 28 日 上午 7:00
GlassGEO 2021 年 3 月 28 日 下午 3:05 
引用自 jimbobslimbob
That is certainly not normal behaviour. It should see it as online as soon as it is - assuming you have GSM checking at regular intervals (shown by the bottom-right timer).

*FacePalm*
That is probably why. It was set at 3600 seconds (1 hour)

Though, the extra 25 minutes arent accounted in that, but Ill see what it does now.

Thanks for the suggestion!!!!


GlassGEO 2021 年 3 月 29 日 上午 10:17 
引用自 jimbobslimbob

That was absolutely the problem. THANKS SO MUCH.

New question - and this is purely me being new to this server stuff. What command would I put into the automatic commands (the 3 times restart ones) to broadcast a server restart message?


Also, I set up the webhook for discord, and it works fine. if I select the option to send messages there, will it not send them in game broadcast as well? Or will/can it do both?

最後修改者:GlassGEO; 2021 年 3 月 29 日 上午 10:20
jimbobslimbob 2021 年 3 月 29 日 下午 1:19 
引用自 GlassGEO
引用自 jimbobslimbob

That was absolutely the problem. THANKS SO MUCH.

New question - and this is purely me being new to this server stuff. What command would I put into the automatic commands (the 3 times restart ones) to broadcast a server restart message?


Also, I set up the webhook for discord, and it works fine. if I select the option to send messages there, will it not send them in game broadcast as well? Or will/can it do both?
Glad you fixed it! As far as I know, Valheim does not yet provide a facility to broadcast server messages. You will have to use Discord if you want similar functionality at present.

Hopefully this will come as the game develops.
GlassGEO 2021 年 3 月 29 日 下午 5:01 
引用自 jimbobslimbob
Glad you fixed it! As far as I know, Valheim does not yet provide a facility to broadcast server messages. You will have to use Discord if you want similar functionality at present.

Hopefully this will come as the game develops.

Would I do that by checking the box for discord and still putting it as a command? Or is there a different way to send an auto message at, say 10 min, 5 min, and 1 min before server reset?
jimbobslimbob 2021 年 3 月 29 日 下午 11:52 
引用自 GlassGEO
引用自 jimbobslimbob
Glad you fixed it! As far as I know, Valheim does not yet provide a facility to broadcast server messages. You will have to use Discord if you want similar functionality at present.

Hopefully this will come as the game develops.

Would I do that by checking the box for discord and still putting it as a command? Or is there a different way to send an auto message at, say 10 min, 5 min, and 1 min before server reset?
That is correct - enter the messages and then tick the relevant Discord event override under the "Discord" tab. You will notice that the "timed restart" and "update delay" events mention that they are overrides, so they will replace the default functionality.

Good luck!
cwkronk 2021 年 3 月 30 日 上午 11:55 
I'm having problems getting the query to work. I've tried 127.0.0.1:2457, 2456, other ports I saw open for the Valheim process ID, the server's internal IP, the server's external IP, and all query types. I see udp 2456 open for the server. I can't get any of them to work. I did see an above post with a github download, but I'm unsure what to do with that. I'm using Windows Server 2016 and I have FW rules for all the ports. Any suggestions?
< >
目前顯示第 31-45 則留言,共 69
每頁顯示: 1530 50

張貼日期: 2021 年 2 月 15 日 上午 3:22
回覆: 69