Jump to content

Forums Announcement

Read-Only Mode for Announcements & Changelogs

Dear Survivors, we'd like to inform you that this forum will transition to read-only mode. From now on, it will serve exclusively as a platform for official announcements and changelogs.

For all community discussions, debates, and engagement, we encourage you to join us on our social media platforms: Discord, Twitter/X, Facebook.

Thank you for being a valued part of our community. We look forward to connecting with you on our other channels!

Stay safe out there,
Your DayZ Team

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
Sign in to follow this  

×