Skip to content

teris/valheim-status

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

valheim-status-picture

A small (incomplete) PHP script to query your Valheim server.

How is this used?

Steam API Key Required: https://steamcommunity.com/dev/apikey ############################################################################

/*

Edit Option (Line 8)

pic or html or get Request (status.php?option=pic).

Edit Steampath (Line 9):

...\addr\ your IP : your QueryPort &key= Your SteamAPI Key

*/

############################################################################

Example:

$option = "pic";

$steam_path = 'https://api.steampowered.com/IGameServersService/GetServerList/v1/?filter=\appid\892970\addr\123.456.789.123:2457&key=ABCDEFGHIJKLMNOPQRSTUVWXYZ01';

Simply load it into the web directory of your web server with PHP 5.X or higher and call it up.

Here is a small example of what it could look like:

https://valheim.dtproject.de/status.php