[Archive] Proper way to shutdown server
[Archive] Proper way to shutdown server
Archived author: CoatRack • Posted: 2025-11-04T18:12:56.783938
Original source
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.
Archived author: CoatRack • Posted: 2025-11-04T18:12:56.783938
Original source
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
Archived author: CoatRack • Posted: 2025-11-04T18:12:56.783938
Original source
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.
Archived author: CoatRack • Posted: 2025-11-04T18:12:56.783938
Original source
Thank you to both of you, I learned something new ![]()
Archived author: CoatRack • Posted: 2025-11-04T18:12:56.783938
Original source
I personally always do a "saveall" followed by a "server shutdown 0".
Archived author: CoatRack • Posted: 2025-11-04T18:12:56.783938
Original source
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?
Quote:Rose said:I have replied your thread, but tldr; is to try and use .server restart to close it, although the command name may sound misleading
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?
Click to expand...
Archived author: CoatRack • Posted: 2025-11-04T18:12:56.783938
Original source
Quote:Rose said:I have replied your thread, but tldr; is to try and use .server restart to close it, although the command name may sound misleading
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?
Click to expand...