summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-13 22:10:32 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-13 22:10:32 +0300
commit43fd71f4e6ff04a50056ea246dfe36d7f20e2cb6 (patch)
tree898a439dc506c885a184b38e7d2f217b8339d8da
parent462fe7d360151a5b6efdbd3427fe8d8b3d00a704 (diff)
downloaddocs-43fd71f4e6ff04a50056ea246dfe36d7f20e2cb6.tar.gz
docs-43fd71f4e6ff04a50056ea246dfe36d7f20e2cb6.tar.bz2
docs-43fd71f4e6ff04a50056ea246dfe36d7f20e2cb6.tar.xz
docs-43fd71f4e6ff04a50056ea246dfe36d7f20e2cb6.zip
Add @serverexit gm command.
-rw-r--r--server/gm/evol_atcommands.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/server/gm/evol_atcommands.txt b/server/gm/evol_atcommands.txt
index 6faf8d4..03984d7 100644
--- a/server/gm/evol_atcommands.txt
+++ b/server/gm/evol_atcommands.txt
@@ -16,3 +16,22 @@ Works like warp but without map reload.
Override command from hercules.
Terminate map server and return 'code' or 0 if 'code' missing.
+
+---------------------------------------
+
+@serverexit code
+
+This command can be used for test servers.
+Servers must be launched with test_login, test_char, test_map wrappers.
+Supported codes:
+ 100 - terminate all servers
+ 101 - restart all servers
+ 102 - restart char and map servers
+ 103 - restart map server
+ 104 - git pull and restart all servers
+ 105 - build all and restart all servers
+ 106 - rebuild all and restart all servers
+ 107 - git pull and build all and restart all servers
+ 108 - git pull and rebuild all and restart all servers
+ 109 - build plugin and restart all servers
+ 110 - git pull and build plugin and restart all servers