From 55695eda786667a34d6c0ae59496d787dfba4b3e Mon Sep 17 00:00:00 2001
From: XTZGZoReX <none@none>
Date: Sat, 21 Mar 2009 13:51:28 +0100
Subject: * Implement ".server set closed on/off" command to allow/deny new
 connections to the world.

--HG--
branch : trunk
---
 sql/world.sql | 1 +
 1 file changed, 1 insertion(+)

(limited to 'sql/world.sql')

diff --git a/sql/world.sql b/sql/world.sql
index 9ab43e606bf..7ea191181f7 100644
--- a/sql/world.sql
+++ b/sql/world.sql
@@ -421,6 +421,7 @@ INSERT INTO `command` VALUES
 ('server motd',0,'Syntax: .server motd\r\n\r\nShow server Message of the day.'),
 ('server restart',3,'Syntax: .server restart #delay\r\n\r\nRestart the server after #delay seconds. Use #exist_code or 2 as program exist code.'),
 ('server restart cancel',3,'Syntax: .server restart cancel\r\n\r\nCancel the restart/shutdown timer if any.'),
+('server set closed',3,'Syntax: server set closed on/off\r\n\r\nSets whether the world accepts new client connectsions.'),
 ('server set loglevel',4,'Syntax: .server set loglevel #level\r\n\r\nSet server log level (0 - errors only, 1 - basic, 2 - detail, 3 - debug).'),
 ('server set motd',3,'Syntax: .server set motd $MOTD\r\n\r\nSet server Message of the day.'),
 ('server shutdown',3,'Syntax: .server shutdown #delay [#exist_code]\r\n\r\nShut the server down after #delay seconds. Use #exist_code or 0 as program exist code.'),
-- 
cgit v1.2.3

