Restart Message
-
- A semi-regular
- Posts: 27
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Wed Jun 01, 2016 4:57 pm
Restart Message
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.
Re: Restart Message
you cant unless you run it on unmanaged and use BEC for that.
-
- This is my homepage
- Posts: 439
- Joined: Sat Sep 04, 2010 10:20 am
- Location: Cologne, Gemany
- Contact:
Re: Restart Message
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 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.
-
- A semi-regular
- Posts: 27
- Joined: Wed Jun 01, 2016 4:57 pm
Re: Restart Message
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.
-
- This is my homepage
- Posts: 439
- Joined: Sat Sep 04, 2010 10:20 am
- Location: Cologne, Gemany
- Contact:
Re: Restart Message
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:
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.
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
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.
-
- A semi-regular
- Posts: 27
- Joined: Wed Jun 01, 2016 4:57 pm
Re: Restart Message
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?
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?
-
- This is my homepage
- Posts: 439
- Joined: Sat Sep 04, 2010 10:20 am
- Location: Cologne, Gemany
- Contact:
Re: Restart Message
Looks correct. Are you sure that the port is 2306 in a managed enviroment though?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?
-
- A semi-regular
- Posts: 27
- Joined: Wed Jun 01, 2016 4:57 pm
Re: Restart Message
turns out i had the BEServer.cfg in wrong folder lmao
Re: Restart Message
Just add a script (some found on even altisliferpg.com), set the messages to give warnings every 3 hours, etc.