summaryrefslogtreecommitdiff
path: root/data/global.example.conf
diff options
context:
space:
mode:
Diffstat (limited to 'data/global.example.conf')
-rw-r--r--data/global.example.conf26
1 files changed, 26 insertions, 0 deletions
diff --git a/data/global.example.conf b/data/global.example.conf
index d48fe0581..5b99f0178 100644
--- a/data/global.example.conf
+++ b/data/global.example.conf
@@ -113,3 +113,29 @@ command { service = "Global"; name = "HELP"; command = "generic/help"; }
*/
module { name = "gl_global" }
command { service = "Global"; name = "GLOBAL"; command = "global/global"; permission = "global/global"; }
+
+/*
+ * gl_queue
+ *
+ * Provides the command global/queue.
+ *
+ * Used for queuing messages to send to every online user.
+ */
+module
+{
+ name = "gl_queue"
+
+ /* The maximum number of messages in a message queue. Defaults to 10. */
+ maxqueue = 10
+}
+command { service = "Global"; name = "QUEUE"; command = "global/queue"; permission = "global/queue"; }
+
+/*
+ * gl_server
+ *
+ * Provides the command global/server.
+ *
+ * Used for sending a message to every online user on a server.
+ */
+module { name = "gl_server" }
+command { service = "Global"; name = "SERVER"; command = "global/server"; permission = "global/server"; }