This guide will show you how to install and configure
the source dedicated watchdog to your virtual or dedicated servers
and watch your own active source engine dedicated servers with some
control.
===================================================================

After downloading the software watchdog.zip package and decompiling
the file system inside should contain
tutorials folder
dashboard.html
logo.png
on.png
off.png
readme.txt
watchdog.ps1
for this official release this should be all thats contained for right now.
====================================================================

open a plain power shell. this will be used initially to open
local area network access to the firewall.

firewall step for LAN access is: 
in PowerShell Run as Administrator
run this command line__________________________________
netsh http add urlacl url=http://+:8080/ user=Everyone

after this step is completed run this next step.

and run this command line______________________________
New-NetFirewallRule -DisplayName "Watchdog Dashboard" -Direction Inbound -LocalPort 8080 -Protocol TCP -Action Allow
===================================================================

After this step is complete OPEN your watchdog.ps1 file, preferably in NOTEPAD ++
or other coding software.
you will see this code block
===================================================================
# --- Server Definitions ---
# Set RconPassword for each server to enable player monitoring and custom RCON commands.
$servers = @(
    @{
        Name = "sample1"
        Path = "C:\servers\sample1\srcds.exe "
		Exe = "srcds"
        Args = "-console -game cstrike +map cs_assault -ip 06.606.66.60 -port 27066 +exec server.cfg"
        Port = 27066
		RconHost = "06.606.66.60"
        RconPort = 27066
        RconPassword = "currentpassword"
    },
    @{
        Name = "sample2"
        Path = "C:\servers\sample2\srcds.exe "
		Exe = "srcds"
        Args = "-console -game cure +map cbe_bunker -ip 06.606.66.60 -port 27033 +exec server.cfg"
        Port = 27033
		RconHost = "06.606.66.60"
        RconPort = 27033
        RconPassword = "currentpassword"
		
    },
    @{
        Name = "sample3"
        Path = "C:\servers\sample3\othersrcds.exe"
		Exe = "othersrcds"
        Args = "-console -game dab +map da_megachat -ip 06.606.66.60 -port 27099 +exec server.cfg"
        Port = 27099
		RconHost = "06.606.66.60"
        RconPort = 27099
        RconPassword = "currentpassword"
    }
)
===================================================================
The information in these code blocks needs to be changed to match Your current
active servers at hand. you can add as many code blocks as you have servers that 
are currently active.
===================================================================

once the code blocks are updated to your current active server or servers,
Run the watchdog.ps1 file as administrator.
a power shell console should pop up when it loads up type y and hit enter
this allows access. 
if successful green text should display Starting Watchdog.
scale this window down and tuck it somewhere or minimize.
[this console stays open at all times when actively running]
to stop the programming just exit the console out.
open a new web browser and display your dashboard panel.
====================================================================

dashboard connection display-----------

to view the panel from the start use this on the server itself.
http://localhost:8080/ for web view
or
ServerIP:8080 e.g 11.234.56.78:8080 for web view

to view the panelafter the initial start from anywhere on the internet
use this from anywhere
ServerIP:8080 e.g 11.234.56.78:8080 for web view
=====================================================================
If everything is coded correctly you should see a dashboard
all servers live active information including active players
listed at the bottom.

if a server is stopped within a macro path of 1 - 3 minutes
the offline server should automatically be established again.

[!]if a server does not restart automatically there could be code issues
during compile.[!]

------------- TIPS AND FAQ -------------------
after initial power shell console open PLEASE WAIT a few minutes
for the programming to finish. refresh the dashboard web view
every 30 seconds. the dash board should come to life over time and the
dashboard refreshes automatically every 5 seconds.

you can toggle remote access with the remote button. on means you
CAN connect from anywhere
off means you can CAN ONLY connect via localhost from the actual server itself.

shut down the power shell console leave the dash board browser open.
then make server changes or updates.
then restart the watchdog.ps1 file as administrator again.

[!] if servers are already running and you start watchdog, if its starting
duplicate servers something is wrong and file configuration could be broken.
check syntax' and code for issues compiling. [!]

use -console command to start a source dedicated server fully into online 
status. in VGUI you will NEED to press the start button physically.

To keep window open after crash use this example
open powershell and run
powershell -NoExit -ExecutionPolicy Bypass -File "C:\Users\Administrator\Desktop\watchdog.ps1"