Jump to content
Mettius

Shutdown server with Admin Commands?

Recommended Posts

I'm having trouble getting BERCon working. So in the meantime on my freshly setup DayZ server, I was attempting to gracefully shutdown the server.

From my DayZ client machine. I joined the server. I typed the below, and I see admin logged in

#login thepassword

However

#shutdown

Has no effect?  How do I gracefully shut down the server?

Share this post


Link to post
Share on other sites
6 hours ago, Mettius said:

How do I gracefully shut down the server?

taskkill /im DayZServer_x64.exe

Most people also use the /F switch, but that can cause persistence loss, so using taskkill without forcing it results in a slightly longer, graceful server shutdown.

Share this post


Link to post
Share on other sites
18 minutes ago, Mettius said:

So, no way to do it through the Admin "console"?

Add 

RestrictRCon 0

 to your RCon config.

 

Then

#shutdown

 

Share this post


Link to post
Share on other sites

I added that parameter. #shutdown still has no effect.  I also still can't get connected with DaRT or BERCon.  So maybe there is some other problem?

Share this post


Link to post
Share on other sites

That command needs to be issued over RCon. If you can not connect, then your setup is incomplete or wrong. 

Share this post


Link to post
Share on other sites
On 11/30/2019 at 7:27 PM, Mettius said:

I added that parameter. #shutdown still has no effect.  I also still can't get connected with DaRT or BERCon.  So maybe there is some other problem?

#shutdown is an RCON command usually issued in the scheduler. No BERcon then no scheduler, no # commands

If DART isnt working then that almost always points towards ports not opened

BERcon can be very fussy. Check for spaces in your command line .. . the latest version also likes to try to dial home. You have to block that

you can do shutdowns through your batch file . . . might be easier

Edited by aux7

Share this post


Link to post
Share on other sites

What port needs to be opened for BERCon?  The game is running on 2302. I am able to browse it in the server browser, and join the server from a client.  Doesn't RCON use the same port as the game itself? (2302)

Share this post


Link to post
Share on other sites
On 12/1/2019 at 5:13 AM, Mettius said:

What port needs to be opened for BERCon?  The game is running on 2302. I am able to browse it in the server browser, and join the server from a client.  Doesn't RCON use the same port as the game itself? (2302)

You dont need to use bec rcon, its an addon. your bat file doesnt seem to be calling the "bec rcon"

you can shut your server down through messages or .bat file. If you get your "BEC rcon" working you can do it in the scheduler

Share this post


Link to post
Share on other sites

hi all.

i use BEC but when restart time and bec use #shutdown command server crashed.
i dont know how can fix it?

 

pls help me

Share this post


Link to post
Share on other sites
On 11/30/2019 at 11:16 AM, drgullen said:

taskkill /im DayZServer_x64.exe

Most people also use the /F switch, but that can cause persistence loss, so using taskkill without forcing it results in a slightly longer, graceful server shutdown.

i use BEC and when bec use #shutdown command server create dump and get stop working.
how can fix it?

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

×