summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/anope.example.conf2
-rw-r--r--data/global.example.conf26
2 files changed, 27 insertions, 1 deletions
diff --git a/data/anope.example.conf b/data/anope.example.conf
index 80302a88f..6198c9776 100644
--- a/data/anope.example.conf
+++ b/data/anope.example.conf
@@ -789,7 +789,7 @@ log
*
* hostserv/set hostserv/del hostserv/list
*
- * global/global
+ * global/global global/queue global/server
*
* operserv/news operserv/stats operserv/kick operserv/exception operserv/seen
* operserv/mode operserv/session operserv/modinfo operserv/ignore operserv/chanlist
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"; }