Server shutdown

From EventScripts Community Encyclopedia

Description

server_shutdown executes when the server shuts down (normal shutdown, not crash)

Variables

Variables specific to server_shutdown:

     event_var(reason)
           The reason the server is shutting down.

Example

event server_shutdown
{
   es_msg The server is shutting down, I'd better save my addon data!
}
blog comments powered by Disqus