What's new

Proper way to shutdown server

CoatRack

Verified Member
12
2020
0
Location
Earth
I have been searching around a bit for the proper way to shutdown a personal private server. (searches only seem to find shutdown/crash issues)

Do I need to do anything other than closing the client and then closing the server windows?

I am currently using a Trinity Core 3.3.5a repack and I was thinking I might mess up something in the database if I am just clicking the X to close the window.
 

Damieninabox

Gold Supporter
Senior User
194
2019
63
Hey!

You can either close the worldserver by hitting x (I would recommend a .saveall command before you do that), you click at the worldserver cmd windows and hit CTRL + C, which will do an auto save and then shut it down. Or you check for the ".server shutdown" command ingame or in the commands table in the world database.

Hope I could help you

Have a good one
 

Feuerdraht

Gold Supporter
Veteran Member
34
2020
4
I am using either the ".server shutdown" or in most of the cases CTRL+C in the server-window
and i have (until now) not encountered any problems with malloced things or open relation of the database.

I close the Authserver-window and the MySQL-Bat-window in the same way. (CTRL+C)

When wanting to see the messages, that the server throws before shutdown, you can open a CMD-promt (DOS-Box) and start the server-EXE from there... so the CMD-Window will not close leaving you to be able to see the shutdown-messages.
 

Rose

Silver Supporter
Veteran Member
34
2020
10
Related to my Automatic Server Shutdown post, I've also been experimenting with the worldserver/GM 'server shutdown' command, but I'm somewhat mystified.

On the server I'm playing with (Cataclysm V12), I wanted to try telling the server to shutdown several hours from now, something like 'server shutdown 36000'. However, the only version of the command I can get to work is 'server shutdown 0', which I would've expected to shutdown the server now (0 seconds), but actually schedules a shutdown in 15 minutes. :hmm:

Can anyone explain this? Have I misunderstood the 'server shutdown' command? Is this just V12, or is this the way 'server shutdown' behaves on other versions?
 

ExO

Admin
5,119
2014
1,639
Related to my Automatic Server Shutdown post, I've also been experimenting with the worldserver/GM 'server shutdown' command, but I'm somewhat mystified.

On the server I'm playing with (Cataclysm V12), I wanted to try telling the server to shutdown several hours from now, something like 'server shutdown 36000'. However, the only version of the command I can get to work is 'server shutdown 0', which I would've expected to shutdown the server now (0 seconds), but actually schedules a shutdown in 15 minutes. :hmm:

Can anyone explain this? Have I misunderstood the 'server shutdown' command? Is this just V12, or is this the way 'server shutdown' behaves on other versions?

I have replied your thread, but tldr; is to try and use .server restart to close it, although the command name may sound misleading :)
 
Top