GRAV
 This topic has been pinned, so it's probably important
jimbobslimbob Jan 13, 2015 @ 12:52am
Server Monitor / Manager Program
Game Server Manager was created to help monitor, configure, and automatically restart a game server. It can perform game data backups, run an update program and much more. It has been tried and tested with GRAV, Empyrion, 7 Days to Die, Space Engineers and Evochron Mercenary - but will probably work with most games.

Once the executable file is set, you can get the program to check for the existence of the server program every X seconds (and restart it if necessary). You can enter any command-line parameters for starting and configuring the server. You can also set it to restart the program at a certain time of day.

Other features include:

- Detailed server information
- Automatic update checking and applying via SteamCMD
- Players online graph
- Built-in Telnet client, which can be used manually or set to automatically send messages and commands (such as shutdown and shutdown notices) to the server
- Periodic automatic Telnet/RCON commands
- Player list, showing name, ping, score, team and time online for all players in-game
- CPU and RAM usage display, with graph
- Network bandwidth monitor with graph
- Game Profiles - Multiple instances of program can be run with multiple configurations
- GRAV Command Line Generator and Advanced Settings screen - edit every single GRAV setting in an easy to use sort-able, filterable list
- Ability to output status, players online and server name to a file - formatted however you want
- 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.
- 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.
- Single-click access to configuration
- 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 (set your putty.exe location first)
- Easy access to web panel (not all games use this)
- 1 click backup and maintenance
- Remote Telnet commands which the program listens for (configurable) to restart, backup, change command-line and update your server.
- "Pseudo" remote commands - The program will look for a file called "update.txt" (just its existence, the content does not matter) in it's folder. If found it will delete the file and immediately perform maintenance. Other commands include "start.txt" to start the server, "stop.txt" to stop the server and "backup.txt" to backup game data.

As this was designed to cater for most games, there are some bits and pieces that will not be relevant (at least not yet) for Grav. The telnet feature and "server settings" button are useless for Grav as of now, but it will still manage, monitor and restart your servers - including outputting the status and number of players to a file.

You can get the program here.[www.jimbobslimbob.com]

It requires the .NET Framework 3.5 (most machines already have this these days).

To use it:
1. Select the server executable (CAGGameServer-Win32-Shipping.exe - in the [Steam install location]\steamapps\common\GRAV\Binaries\Win32 folder)
2. Put the command line details in the relevant field (e.g. brokerstart?PlanetManagerName="FUNTOWN"?adminpassword=myadminpassword?steamsockets?Port=7785?PeerPort=7786?QueryPort=27019?MaxPlayers=32?ServerName="My GRAV server" -seekfreeloadingserver).
3. To get the program to correctly query it, enter the IP address of the server and the query port in the relevent field (e.g. 127.0.0.1:27019). You should then be good to go.

You can also view the Steam guide here:
http://steamcommunity.com/sharedfiles/filedetails/?id=378392488
This guide runs through all relevant features in detail, along with a step-by-step guide to setting it up.

If there are any issues, let me know and I will do my best to correct them.
Last edited by jimbobslimbob; Jul 12, 2016 @ 6:07am
< >
Showing 1-15 of 105 comments
Hunter Jan 13, 2015 @ 2:01am 
This is neat. I made something similar too as my first dip into c#. If you wouldn't mind could I ask some questions about some features on your program? I'd love to learn more. Here is my app if you wanted to check it out. http://steamcommunity.com/app/332500/discussions/0/622954302092622817/
rezon Jan 13, 2015 @ 2:05am 
Thanks.
jimbobslimbob Jan 13, 2015 @ 2:19am 
Cool, hope it will be useful to someone out there! :-)

@Hunter: I am happy to answer some questions about it. This program could, of course be more customised for Grav, such as generating the command-line based on a screen similar to what your program does. I opted for this approach with Grav because the server I run change games every so often and I got really tired of altering the program every time a new game came out that we required a server for.

I am hoping that in the future, the developers of Grav will give us some form of server config/settings file to make the need for all those command-line parameters obsolete. Either way, the program will work.
Serovortex Jan 13, 2015 @ 3:47am 
Nice Tool, thx!
one tiny issue: its not able to retrieve my server info (error retrieving server info)

- ?QueryPort=27019? is in the launch parameters
- 127.0.0.1:27019 is set in program settings, server details, IP:PORT of server to query
- created incoming fw rule for 27019 TCP and UDP
- also tried with public IP
rezon Jan 13, 2015 @ 3:48am 
Originally posted by Serovortex:
Nice Tool, thx!
one tiny issue: its not able to retrieve my server info (error retrieving server info)

- ?QueryPort=27019? is in the launch parameters
- 127.0.0.1:27019 is set in program settings, server details, IP:PORT of server to query
- created incoming fw rule for 27019 TCP and UDP
- also tried with public IP

Same here.
jimbobslimbob Jan 13, 2015 @ 3:57am 
Try the local or external IP address in there instead - see if that works. Launch parameters should be pretty much all of what you would put in the batch file, minus the executable name ("CAGGameServer-Win32-Shipping").
jimbobslimbob Jan 13, 2015 @ 3:58am 
Additional note: give it a few minutes for the server to be queriable (is that even a word? :-)).
rezon Jan 13, 2015 @ 3:59am 
Originally posted by jimbobslimbob:
Try the local or external IP address in there instead - see if that works. Launch parameters should be pretty much all of what you would put in the batch file, minus the executable name ("CAGGameServer-Win32-Shipping").

Always "Error retrieving server info", maybe something changed with last patch.
jimbobslimbob Jan 13, 2015 @ 4:09am 
Example of what the settings page should look like here[www.jimbobslimbob.com]. As I said, try your machine's internal or external IP there instead. e.g. 192.168.0.5:27019 (example of internal) or 216.58.208.35:27019 (example of external).

Rembmer, if you altered your query port in the command line, you will need to update it here.

If you know the IP of a specific server you can bung that in and see it working, just to test it. I tried 23.102.156.248:27015 - which is the server for Horizon Rangers, just now and it worked fine.
rezon Jan 13, 2015 @ 4:18am 
Originally posted by jimbobslimbob:
Example of what the settings page should look like here[www.jimbobslimbob.com]. As I said, try your machine's internal or external IP there instead. e.g. 192.168.0.5:27019 (example of internal) or 216.58.208.35:27019 (example of external).

Rembmer, if you altered your query port in the command line, you will need to update it here.

If you know the IP of a specific server you can bung that in and see it working, just to test it. I tried 23.102.156.248:27015 - which is the server for Horizon Rangers, just now and it worked fine.

As i see all setting are ok.
jimbobslimbob Jan 13, 2015 @ 4:19am 
Have you tried, for testing purposes entering "23.102.156.248:2701" and seeing if it can query that server ok? That will give me an idea as to whether it's your server setup or an issue with the program.
rezon Jan 13, 2015 @ 4:24am 
Originally posted by jimbobslimbob:
Have you tried, for testing purposes entering "23.102.156.248:2701" and seeing if it can query that server ok? That will give me an idea as to whether it's your server setup or an issue with the program.
Tried 23.102.156.248:27015 - error...
jimbobslimbob Jan 13, 2015 @ 4:29am 
Okay, just made a change that I think may fix it - try downloading again and trying with that.
rezon Jan 13, 2015 @ 4:32am 
Originally posted by jimbobslimbob:
Okay, just made a change that I think may fix it - try downloading again and trying with that.

Thats Great! Thank you, now all working!
jimbobslimbob Jan 13, 2015 @ 4:34am 
Excellent stuff!
< >
Showing 1-15 of 105 comments
Per page: 1530 50