Manage server from outside
#1

Hi there.
Does anybody know, how to handle server console input?
I need to call some functions, before I shutdown the server - I can't just close the server console, some data will be lost. Is it possible to call my own function from console?
Reply
#2

That's why the 'exit' command exists. This calls OnGameModeExit before shutting down.
Reply
#3

I tried, but sometimes it works badly for me (I save data to MySQL, multithreaded).
And if i need just to run some commands, without shutting down the server?
Reply
#4

OK, I have an idea, how to do that.

If someone want to know, how - send me PM.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)