Jump to content
  • 0

Server Messages with BEC HELP


Gil-Galed

Question

My server hoster isnt the best and took 3 days to reply to a ticket on server restarts

i managed to find a way to get server restarts to happen (trial and error)

but now im needing a way to post server messages on how long till the server resets etc

 

ive looked here http://www.ibattle.org/install-and-configure/setting-up-the-scheduler/

 

but that is saying to me that its synced to the servers actual time and not local time for me....any help out there?? possible mods?i want my players to play in the sunlight not in the dark

 

i have 6hr restarts and i want to add a 30min,15min and 5min warning messages 

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Here is mine, also with Streamline.

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

<scheduler>
	<job id='0'>
		<day>1,2,3,4,5,6,7</day>
		<start>000030</start>
		<runtime>002000</runtime>
		<loop>-1</loop>
		<cmd>say -1 This server is ***PVE***. If you kill or injure another player you WILL be banned!</cmd>
	</job>
	
	<job id='1'>
		<day>1,2,3,4,5,6,7</day>
		<start>000060</start>
		<runtime>002500</runtime>
		<loop>-1</loop>
		<cmd>say -1 Base maintenance is currently switched OFF.</cmd>
	</job>
	
	<job id='2'>
		<day>1,2,3,4,5,6,7</day>
		<start>000130</start>
		<runtime>003000</runtime>
		<loop>-1</loop>
		<cmd>say -1 No hacking, duping, glitching or exploiting ARMA2 code. You WILL be perma-banned!</cmd>
	</job>
	
	<job id='3'>
		<day>1,2,3,4,5,6,7</day>
		<start>000200</start>
		<runtime>003500</runtime>
		<loop>-1</loop>
		<cmd>say -1 Do not leave vehicles in trader safezones, they WILL be deleted. You have been warned!</cmd>
	</job>
	
	<job id='4'>
		<day>1,2,3,4,5,6,7</day>
		<start>000230</start>
		<runtime>004000</runtime>
		<loop>-1</loop>
		<cmd>say -1 This server operates on 4 hour restarts with visual warnings at 15mins and 5mins before restarts.</cmd>
	</job>
	
	//Scheduled Restarts *********************************************************************************************
	
	<job id='5'>
		<day>1,2,3,4,5,6,7</day>
		<start>03:45:00</start>
		<runtime>000000</runtime>
		<loop>0</loop>
		<cmd>say -1 This server will restart in 15mins. Find somewhere safe to logout NOW.</cmd>
	</job>
	
	<job id='6'>
		<day>1,2,3,4,5,6,7</day>
		<start>03:50:00</start>
		<runtime>000000</runtime>
		<loop>0</loop>
		<cmd>#lock</cmd>
	</job>
	
	<job id='7'>
		<day>1,2,3,4,5,6,7</day>
		<start>03:55:00</start>
		<runtime>000000</runtime>
		<loop>0</loop>
		<cmd>say -1 This server will restart in 5mins. LOG OUT NOW to avoid data loss!</cmd>
	</job>
	
	<job id='8'>
		<day>1,2,3,4,5,6,7</day>
		<start>07:45:00</start>
		<runtime>000000</runtime>
		<loop>0</loop>
		<cmd>say -1 This server will restart in 15mins. Find somewhere safe to logout NOW.</cmd>
	</job>
	
	<job id='9'>
		<day>1,2,3,4,5,6,7</day>
		<start>07:50:00</start>
		<runtime>000000</runtime>
		<loop>0</loop>
		<cmd>#lock</cmd>
	</job>
	
	<job id='10'>
		<day>1,2,3,4,5,6,7</day>
		<start>07:55:00</start>
		<runtime>000000</runtime>
		<loop>0</loop>
		<cmd>say -1 This server will restart in 5mins. LOG OUT NOW to avoid data loss!</cmd>
	</job>
	
	<job id='11'>
		<day>1,2,3,4,5,6,7</day>
		<start>11:45:00</start>
		<runtime>000000</runtime>
		<loop>0</loop>
		<cmd>say -1 This server will restart in 15mins. Find somewhere safe to logout NOW.</cmd>
	</job>
	
	<job id='12'>
		<day>1,2,3,4,5,6,7</day>
		<start>11:50:00</start>
		<runtime>000000</runtime>
		<loop>0</loop>
		<cmd>#lock</cmd>
	</job>
	
	<job id='13'>
		<day>1,2,3,4,5,6,7</day>
		<start>11:55:00</start>
		<runtime>000000</runtime>
		<loop>0</loop>
		<cmd>say -1 This server will restart in 5mins. LOG OUT NOW to avoid data loss!</cmd>
	</job>
	
	<job id='14'>
		<day>1,2,3,4,5,6,7</day>
		<start>15:45:00</start>
		<runtime>000000</runtime>
		<loop>0</loop>
		<cmd>say -1 This server will restart in 15mins. Find somewhere safe to logout NOW.</cmd>
	</job>
	
	<job id='15'>
		<day>1,2,3,4,5,6,7</day>
		<start>15:50:00</start>
		<runtime>000000</runtime>
		<loop>0</loop>
		<cmd>#lock</cmd>
	</job>
	
	<job id='16'>
		<day>1,2,3,4,5,6,7</day>
		<start>15:55:00</start>
		<runtime>000000</runtime>
		<loop>0</loop>
		<cmd>say -1 This server will restart in 5mins. LOG OUT NOW to avoid data loss!</cmd>
	</job>
	
	<job id='17'>
		<day>1,2,3,4,5,6,7</day>
		<start>19:45:00</start>
		<runtime>000000</runtime>
		<loop>0</loop>
		<cmd>say -1 This server will restart in 15mins. Find somewhere safe to logout NOW.</cmd>
	</job>
	
	<job id='18'>
		<day>1,2,3,4,5,6,7</day>
		<start>19:50:00</start>
		<runtime>000000</runtime>
		<loop>0</loop>
		<cmd>#lock</cmd>
	</job>
	
	<job id='19'>
		<day>1,2,3,4,5,6,7</day>
		<start>19:55:00</start>
		<runtime>000000</runtime>
		<loop>0</loop>
		<cmd>say -1 This server will restart in 5mins. LOG OUT NOW to avoid data loss!</cmd>
	</job>
	
	<job id='20'>
		<day>1,2,3,4,5,6,7</day>
		<start>23:45:00</start>
		<runtime>000000</runtime>
		<loop>0</loop>
		<cmd>say -1 This server will restart in 15mins. Find somewhere safe to logout NOW.</cmd>
	</job>
	
	<job id='21'>
		<day>1,2,3,4,5,6,7</day>
		<start>23:50:00</start>
		<runtime>000000</runtime>
		<loop>0</loop>
		<cmd>#lock</cmd>
	</job>
	
	<job id='22'>
		<day>1,2,3,4,5,6,7</day>
		<start>23:55:00</start>
		<runtime>000000</runtime>
		<loop>0</loop>
		<cmd>say -1 This server will restart in 5mins. LOG OUT NOW to avoid data loss!</cmd>
	</job>
	
</scheduler>

I use the scheduled tasks function in my game services menu to handle restarts. I find it's more reliable.

Link to comment
Share on other sites

  • 0

Here is mine, also with Streamline.

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

<scheduler>
	<job id='0'>
		<day>1,2,3,4,5,6,7</day>
		<start>000030</start>
		<runtime>002000</runtime>
		<loop>-1</loop>
		<cmd>say -1 This server is ***PVE***. If you kill or injure another player you WILL be banned!</cmd>
	</job>
	
	<job id='1'>
		<day>1,2,3,4,5,6,7</day>
		<start>000060</start>
		<runtime>002500</runtime>
		<loop>-1</loop>
		<cmd>say -1 Base maintenance is currently switched OFF.</cmd>
	</job>
	
	<job id='2'>
		<day>1,2,3,4,5,6,7</day>
		<start>000130</start>
		<runtime>003000</runtime>
		<loop>-1</loop>
		<cmd>say -1 No hacking, duping, glitching or exploiting ARMA2 code. You WILL be perma-banned!</cmd>
	</job>
	
	<job id='3'>
		<day>1,2,3,4,5,6,7</day>
		<start>000200</start>
		<runtime>003500</runtime>
		<loop>-1</loop>
		<cmd>say -1 Do not leave vehicles in trader safezones, they WILL be deleted. You have been warned!</cmd>
	</job>
	
	<job id='4'>
		<day>1,2,3,4,5,6,7</day>
		<start>000230</start>
		<runtime>004000</runtime>
		<loop>-1</loop>
		<cmd>say -1 This server operates on 4 hour restarts with visual warnings at 15mins and 5mins before restarts.</cmd>
	</job>
	
	//Scheduled Restarts *********************************************************************************************
	
	<job id='5'>
		<day>1,2,3,4,5,6,7</day>
		<start>03:45:00</start>
		<runtime>000000</runtime>
		<loop>0</loop>
		<cmd>say -1 This server will restart in 15mins. Find somewhere safe to logout NOW.</cmd>
	</job>
	
	<job id='6'>
		<day>1,2,3,4,5,6,7</day>
		<start>03:50:00</start>
		<runtime>000000</runtime>
		<loop>0</loop>
		<cmd>#lock</cmd>
	</job>
	
	<job id='7'>
		<day>1,2,3,4,5,6,7</day>
		<start>03:55:00</start>
		<runtime>000000</runtime>
		<loop>0</loop>
		<cmd>say -1 This server will restart in 5mins. LOG OUT NOW to avoid data loss!</cmd>
	</job>
	
	<job id='8'>
		<day>1,2,3,4,5,6,7</day>
		<start>07:45:00</start>
		<runtime>000000</runtime>
		<loop>0</loop>
		<cmd>say -1 This server will restart in 15mins. Find somewhere safe to logout NOW.</cmd>
	</job>
	
	<job id='9'>
		<day>1,2,3,4,5,6,7</day>
		<start>07:50:00</start>
		<runtime>000000</runtime>
		<loop>0</loop>
		<cmd>#lock</cmd>
	</job>
	
	<job id='10'>
		<day>1,2,3,4,5,6,7</day>
		<start>07:55:00</start>
		<runtime>000000</runtime>
		<loop>0</loop>
		<cmd>say -1 This server will restart in 5mins. LOG OUT NOW to avoid data loss!</cmd>
	</job>
	
	<job id='11'>
		<day>1,2,3,4,5,6,7</day>
		<start>11:45:00</start>
		<runtime>000000</runtime>
		<loop>0</loop>
		<cmd>say -1 This server will restart in 15mins. Find somewhere safe to logout NOW.</cmd>
	</job>
	
	<job id='12'>
		<day>1,2,3,4,5,6,7</day>
		<start>11:50:00</start>
		<runtime>000000</runtime>
		<loop>0</loop>
		<cmd>#lock</cmd>
	</job>
	
	<job id='13'>
		<day>1,2,3,4,5,6,7</day>
		<start>11:55:00</start>
		<runtime>000000</runtime>
		<loop>0</loop>
		<cmd>say -1 This server will restart in 5mins. LOG OUT NOW to avoid data loss!</cmd>
	</job>
	
	<job id='14'>
		<day>1,2,3,4,5,6,7</day>
		<start>15:45:00</start>
		<runtime>000000</runtime>
		<loop>0</loop>
		<cmd>say -1 This server will restart in 15mins. Find somewhere safe to logout NOW.</cmd>
	</job>
	
	<job id='15'>
		<day>1,2,3,4,5,6,7</day>
		<start>15:50:00</start>
		<runtime>000000</runtime>
		<loop>0</loop>
		<cmd>#lock</cmd>
	</job>
	
	<job id='16'>
		<day>1,2,3,4,5,6,7</day>
		<start>15:55:00</start>
		<runtime>000000</runtime>
		<loop>0</loop>
		<cmd>say -1 This server will restart in 5mins. LOG OUT NOW to avoid data loss!</cmd>
	</job>
	
	<job id='17'>
		<day>1,2,3,4,5,6,7</day>
		<start>19:45:00</start>
		<runtime>000000</runtime>
		<loop>0</loop>
		<cmd>say -1 This server will restart in 15mins. Find somewhere safe to logout NOW.</cmd>
	</job>
	
	<job id='18'>
		<day>1,2,3,4,5,6,7</day>
		<start>19:50:00</start>
		<runtime>000000</runtime>
		<loop>0</loop>
		<cmd>#lock</cmd>
	</job>
	
	<job id='19'>
		<day>1,2,3,4,5,6,7</day>
		<start>19:55:00</start>
		<runtime>000000</runtime>
		<loop>0</loop>
		<cmd>say -1 This server will restart in 5mins. LOG OUT NOW to avoid data loss!</cmd>
	</job>
	
	<job id='20'>
		<day>1,2,3,4,5,6,7</day>
		<start>23:45:00</start>
		<runtime>000000</runtime>
		<loop>0</loop>
		<cmd>say -1 This server will restart in 15mins. Find somewhere safe to logout NOW.</cmd>
	</job>
	
	<job id='21'>
		<day>1,2,3,4,5,6,7</day>
		<start>23:50:00</start>
		<runtime>000000</runtime>
		<loop>0</loop>
		<cmd>#lock</cmd>
	</job>
	
	<job id='22'>
		<day>1,2,3,4,5,6,7</day>
		<start>23:55:00</start>
		<runtime>000000</runtime>
		<loop>0</loop>
		<cmd>say -1 This server will restart in 5mins. LOG OUT NOW to avoid data loss!</cmd>
	</job>
	
</scheduler>

I use the scheduled tasks function in my game services menu to handle restarts. I find it's more reliable.

Thanks heaps man i couldnt figure out what to delete from the example left there :)

 

Streamline :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...