Jump to content
Sign in to follow this  
Ton_41

How to Kick all player befor restart?

Recommended Posts

How to lock server befor server restart in 5 mins and kick all player before server restart 2 mins with BE?
What the command to use in job?

Share this post


Link to post
Share on other sites
On 8/3/2019 at 7:01 AM, Ton_41 said:

How to lock server befor server restart in 5 mins and kick all player before server restart 2 mins with BE?
What the command to use in job?

Use special battleye command: #oh_Lord_kick_all_bastartds

If be honest there's no any command to kick all. You need execute command #kick player_id from 0 to players count...
Possible solution is using BEC and calculate schedule for kick players from 0 to max server players. And when it finished - make a restart.

 

But problem is player_id. Battleye gives id each new connection. For example 4 players and 1 of  players was reconnected 200 times... So his ID will be 201.

 

If you know how to develop - you may create a software on C# for example which will make restart each time when  you need and with BattleNet library you can get access to Battleye admin console for kickin' players from server. And yes, there's no official option for this (for now i guess)

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×