aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authortreeston <treeston.mmoc@gmail.com>2016-08-06 14:33:29 +0200
committertreeston <treeston.mmoc@gmail.com>2016-08-06 14:34:07 +0200
commitd7602190623153c8f211ad120e22c6e63371f3db (patch)
treecee65d0fa076e1169907fa2c7c5babdb4dac444a /sql
parentcaee7dcad51474de16f43bea5e0ade203e50e8c5 (diff)
Scripts/Commands: Some adjustments to make shutdown commands more user-friendly.
- New error message if a shutdown is delayed due to force threshold. - New status message indicating that a server shutdown was successfully cancelled.
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/3.3.5/2016_08_06_00_world.sql5
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2016_08_06_00_world.sql b/sql/updates/world/3.3.5/2016_08_06_00_world.sql
new file mode 100644
index 00000000000..250ba104ae5
--- /dev/null
+++ b/sql/updates/world/3.3.5/2016_08_06_00_world.sql
@@ -0,0 +1,5 @@
+-- insert new delay notice messages for server shutdown commands
+DELETE FROM `trinity_string` WHERE `entry` IN (11017,11018);
+INSERT INTO `trinity_string` (`entry`,`content_default`) VALUES
+(11017,"Server shutdown delayed to %d seconds as other users are still connected. Specify 'force' to override."),
+(11018,"Server shutdown scheduled for T+%d seconds was successfully cancelled.");