[] spawn {
	private["_serverName","_serverSubtitle","_teamspeak","_time","_hours","_minutes","_restartTime"];

	/************************* CONFIG *************************/

		_serverName = "SERVER NAME HERE";
		_serverSubtitle = "WEBSITE/MESSAGE HERE"; // DELETE line 40 if you don't want this to show
		_teamspeak = "Teamspeak: TEAMSPEAK IP HERE"; // DELETE line 50 if you don't want this to show
		_restartTime = 180; //total time before server restart (3hrs = 180 minutes)
		
	/************************* CONFIG *************************/
	
	if (isNil "DebugMonitorActive") then {DebugMonitorActive = true;};
	
	EAT_DebugMonitorToggle = {
		DebugMonitorActive = !DebugMonitorActive;
		if !(DebugMonitorActive) exitWith {hintSilent '';};
	};
	
	waitUntil {!isNull (findDisplay 46)};
	Ins_KEY = (findDisplay 46) displayAddEventHandler ["KeyDown","if ((_this select 1) == 210) then {call EAT_DebugMonitorToggle;};"];
	
	while {true} do {
		if (DebugMonitorActive) then {
			_time = (round(_restartTime-(serverTime)/60)); 	//Want it to count up instead of down? use _time = (round serverTime)/60;
			_hours = (floor(_time/60));
			_minutes = (_time - (_hours * 60));
			
			switch(_minutes) do
			{
				case 9: {_minutes = "09"};
				case 8: {_minutes = "08"};
				case 7: {_minutes = "07"};
				case 6: {_minutes = "06"};
				case 5: {_minutes = "05"};
				case 4: {_minutes = "04"};
				case 3: {_minutes = "03"};
				case 2: {_minutes = "02"};
				case 1: {_minutes = "01"};
				case 0: {_minutes = "00"};
			};
			
			// Want to change the colors? http://www.w3schools.com/colors/colors_picker.asp
			// Use the #xxxxxx color code you get on that website and place it with any of the
			//<t size..... lines below format: color='#xxxxxx'
			
			// You can delete any of the <t size..... lines that you do not want
			// THE LAST LINE MUST HAVE A ",
			hintSilent parseText format ["
				<t size='1.25' font='Bitstream' align='center' color='#5882FA'>%1</t><br/>
				<t size='1.05' font='Bitstream' align='center' color='#5882FA'>%2</t><br/> 
				<t size='0.95' font='Bitstream' align='left' color='#FFBF00'></t><t size='0.95 'font='Bitstream' align='right'></t><br/>
				<t size='0.95' font='Bitstream' align='left' color='#FFBF00'>Players Online: </t><t size='0.95 'font='Bitstream' align='right'>%3</t><br/>
				<t size='0.95' font='Bitstream' align='left' color='#FFBF00'>Murders: </t><t size='0.95' font='Bitstream' align='right'>%4</t><br/>
				<t size='0.95' font='Bitstream' align='left' color='#FFBF00'>Bandits Killed: </t><t size='0.95' font='Bitstream' align='right'>%5</t><br/>
				<t size='0.95' font='Bitstream' align='left' color='#FFBF00'>Zombies Killed: </t><t size='0.95' font='Bitstream' align='right'>%6</t><br/>
				<t size='0.95' font='Bitstream' align='left' color='#FFBF00'>Humanity: </t><t size='0.95' font='Bitstream' align='right'>%7</t><br/>
				<t size='0.95' font='Bitstream' align='left' color='#FFBF00'>Blood: </t><t size='0.95' font='Bitstream' align='right'>%8</t><br/>
				<t size='0.95' font='Bitstream' align='left' color='#FFBF00'>FPS: </t><t size='0.95' font='Bitstream' align='right'>%9</t><br/>
				<t size='0.95' font='Bitstream' align='left' color='#FFBF00'></t><t size='0.95 'font='Bitstream' align='right'></t><br/>
				<t size='1.15' font='Bitstream'align='center' color='#5882FA'>%10</t><br/>
				<t size='1.15' font='Bitstream'align='center' color='#5882FA'>Server restart in %11:%12</t><br/>", //ONLY last line needs the ",
					
				_serverName, // Used on line 40 for server title
				_serverSubtitle, // Used on line 41 for server subtitle
				(count playableUnits), // Used on line 43 for player count
				(player getVariable['humanKills', 0]), // Used on line 44 for murder count
				(player getVariable['banditKills', 0]), // Used on line 45 for bandit kill count
				(player getVariable['zombieKills', 0]), // Used on line 46 for zombie kill count
				(player getVariable['humanity', 0]), // Used on line 47 for humanity count
				(player getVariable['USEC_BloodQty', r_player_blood]), // Used on line 48 for player blood amount
				(round diag_fps), // Used on line 49 for frames per second
				_teamspeak, // Used on line 51 for frames per second
				_hours, // Used on line 52 to display hours
				_minutes // Used on line 52 to display minutes
			];
		};
		//Don't modify this part
		uiSleep 0.5;
	};
};