Restart Message

Post Reply
ChickenWings
A semi-regular
A semi-regular
Posts: 27
Joined: Wed Jun 01, 2016 4:57 pm

Restart Message

Post by ChickenWings » Wed Jun 01, 2016 4:59 pm

Hey guys im running a Managed Arma 3 server. What would be the best way about going to have a restart messages happen? Kinda sucks to just have a random restart with no warning.

User avatar
J-English
This is my homepage
This is my homepage
Posts: 616
Joined: Thu Apr 15, 2010 4:06 am
Location: United Kingdom & Canada

Re: Restart Message

Post by J-English » Wed Jun 01, 2016 5:37 pm

you cant unless you run it on unmanaged and use BEC for that.

Caliban55
This is my homepage
This is my homepage
Posts: 436
Joined: Sat Sep 04, 2010 10:20 am
Location: Cologne, Gemany
Contact:

Re: Restart Message

Post by Caliban55 » Thu Jun 02, 2016 3:25 am

J-English is correct, you can't use BEC in a managed enviroment, as you can't run the .exe file.

You have a few options.
  • You could change the server to an umanaged service.
  • You can use BattlEye to send a timed restart message to the server from a client computer, which of course would require that this computer is connected to the Internet when the messages is scheduled to be send.
  • You can implement a simple function into the mission/server configuration to execute a message at a specified time.
If you want to do that for a simple restart message is up to you.

ChickenWings
A semi-regular
A semi-regular
Posts: 27
Joined: Wed Jun 01, 2016 4:57 pm

Re: Restart Message

Post by ChickenWings » Thu Jun 02, 2016 10:24 am

How could i use BattleEye to do that? Sorry still new to Battleye stuff. i have a small box i use for mysql stuff so its online 24/7.

Caliban55
This is my homepage
This is my homepage
Posts: 436
Joined: Sat Sep 04, 2010 10:20 am
Location: Cologne, Gemany
Contact:

Re: Restart Message

Post by Caliban55 » Fri Jun 03, 2016 5:49 am

You can download the BattlEye Rcon tool from the BattlEye website here: https://www.battleye.com/downloads/

The Rcon tool allows you to connect to the ArmA server and issue commands there, for example a global message using the say -1 command. For the timed message to display, you can follow this procedure:
1) Create a batch file in the BattlEye Rcon tool folder with the following structure:

Code: Select all

BERCon.exe -host YOUR_SERVER_IP -port YOUR_SERVER_PORT -pw YOUR_SERVER_BATTLEYE_PASSWORD -cmd say -1 YOUR_MESSSAGE_HERE -cmd quit
2) Set up the Windows Task Scheduler to run that batch file at the time you want.

If you are using a Linux OS, you will have to set up a cron job in combination with WINE, as the BattlEye Rcon tool is not available for Linux.

ChickenWings
A semi-regular
A semi-regular
Posts: 27
Joined: Wed Jun 01, 2016 4:57 pm

Re: Restart Message

Post by ChickenWings » Sat Jun 04, 2016 8:15 pm

Seem to be having a problem with my recon... My BEServer.cfg is
RConPassword Password
RConPort 2306
RConIP 104.153.108.**
But i still can not connect using recon tools i tried EMP recon tool still didnt work. Is my BEServer.cfg setup wrong?

Caliban55
This is my homepage
This is my homepage
Posts: 436
Joined: Sat Sep 04, 2010 10:20 am
Location: Cologne, Gemany
Contact:

Re: Restart Message

Post by Caliban55 » Sun Jun 05, 2016 5:54 am

ChickenWings wrote:Seem to be having a problem with my recon... My BEServer.cfg is
RConPassword Password
RConPort 2306
RConIP 104.153.108.**
But i still can not connect using recon tools i tried EMP recon tool still didnt work. Is my BEServer.cfg setup wrong?
Looks correct. Are you sure that the port is 2306 in a managed enviroment though?

ChickenWings
A semi-regular
A semi-regular
Posts: 27
Joined: Wed Jun 01, 2016 4:57 pm

Re: Restart Message

Post by ChickenWings » Tue Jun 14, 2016 5:02 pm

turns out i had the BEServer.cfg in wrong folder lmao

SamTheMan
New to forums
New to forums
Posts: 13
Joined: Thu Jun 01, 2017 8:44 pm

Re: Restart Message

Post by SamTheMan » Sat Jul 01, 2017 9:49 am

Just add a script (some found on even altisliferpg.com), set the messages to give warnings every 3 hours, etc.

Post Reply