]> git.somenet.org - root/pub/somesible.git/blob - roles/server/irc-services/files/default/global.conf
roles/server/irc-services/files
[root/pub/somesible.git] / roles / server / irc-services / files / default / global.conf
1 #
2 ################################################
3 ### Managed by someone's ansible provisioner ###
4 ################################################
5 # Part of: https://git.somenet.org/root/pub/somesible.git
6 # 2017-2025 by someone <someone@somenet.org>
7 #
8
9 /*
10  * First, create the service.
11  */
12 service
13 {
14         /*
15          * The name of the Global client.
16          * If you change this value, you probably want to change the client directive in the configuration for the global module too.
17          */
18         nick = "Global"
19
20         /*
21          * The username of the Global client.
22          */
23         user = "services"
24
25         /*
26          * The hostname of the Global client.
27          */
28         host = "services.host"
29
30         /*
31          * The realname of the Global client.
32          */
33         gecos = "Global Noticer"
34
35         /*
36          * The modes this client should use.
37          * Do not modify this unless you know what you are doing.
38          *
39          * These modes are very IRCd specific. If left commented, sane defaults
40          * are used based on what protocol module you have loaded.
41          *
42          * Note that setting this option incorrectly could potentially BREAK some, if
43          * not all, usefulness of the client. We will not support you if this client is
44          * unable to do certain things if this option is enabled.
45          */
46         #modes = "+o"
47
48         /*
49          * An optional comma separated list of channels this service should join. Outside
50          * of log channels this is not very useful, as the service will just idle in the
51          * specified channels, and will not accept any types of commands.
52          *
53          * Prefixes may be given to the channels in the form of mode characters or prefix symbols.
54          */
55         #channels = "@#services,#mychan"
56 }
57
58 /*
59  * Core Global module.
60  *
61  * Provides essential functionality for Global.
62  */
63 module
64 {
65         name = "global"
66
67         /*
68          * The name of the client that should be Global.
69          */
70         client = "Global"
71
72         /*
73          * This is the global message that will be sent when Services are being
74          * shutdown/restarted.
75          *
76          * This directive is optional.
77          */
78         globaloncycledown = "Services are restarting, they will be back shortly - please be good while they're gone"
79
80         /*
81          * This is the global message that will be sent when Services (re)join the
82          * network.
83          *
84          * This directive is optional.
85          */
86         globaloncycleup = "Services are now back online - have a nice day"
87
88         /*
89          * If set, Services will hide the IRC Operator's nick in a global
90          * message/notice.
91          *
92          * This directive is optional.
93          */
94         #anonymousglobal = yes
95 }
96
97 /*
98  * Core Global commands.
99  *
100  * In Anope modules can provide (multiple) commands, each of which has a unique command name. Once these modules
101  * are loaded you can then configure the commands to be added to any client you like with any name you like.
102  *
103  * Additionally, you may provide a permission name that must be in the opertype of users executing the command.
104  *
105  * Sane defaults are provided below that do not need to be edited unless you wish to change the default behavior.
106  */
107
108 /* Give it a help command. */
109 command { service = "Global"; name = "HELP"; command = "generic/help"; }
110
111 /*
112  * gl_global
113  *
114  * Provides the command global/global.
115  *
116  * Used for sending a message to every online user.
117  */
118 module { name = "gl_global" }
119 command { service = "Global"; name = "GLOBAL"; command = "global/global"; permission = "global/global"; }