<?php
$defaults = array( // array holding all of the adjustable values
'host' => "213.228.232.34", //the IP or DNS of the server, do not include http://
'port' => 2593, // the port to ping, defaults: RunUO : 2593
'link' => "2F20BBBDC5CD7B930C1CCF7DF9B3BD61", // the URL or UOGateway ID for the server, do not include uog or http
'RunUO' => true, // true if it is a RunUO server, false if it isnt
'cacheType' => 3, // 1 is cacheFile, 2 is database, 3 is both, see header of checkserver.php for more details, it is assumed to be 1
'cacheName' => "servercheck", // this is the name of the file where the status will be store, dont include ".txt"
'interval' => 0, // the time between checks, in seconds, default is 30 minutes and if set to 0, no cache will be made and will check every page load
'dbname' => "****",//database name
'dbuser' => "***",//database username
'dbpassword' => "******",//database password
'dbhost' => "localhost",//database host, keep it localhost majority of time
'dbtable' => "serverstatus", //the table to store values
);
?>