]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/blame - Classes/class-cmodes.php
Merge pull request #15 from PeGaSuS-Coder/patch-3
[irc/unrealircd/unrealircd-webpanel.git] / Classes / class-cmodes.php
CommitLineData
fb27b14a
VP
1<?php
2
3/**
4 * A set of reference lists
5 */
6class IRCList {
7 static $cmodes =
8 [
9 "a" => [
10 "name" => "Admin",
11 "description" => "Marks someone as channel admin (&)",
12 "requires" => "Admin"
13 ],
14 "b" => [
15 "name" => "Ban",
16 "description" => "Marks a ban from a channel",
17 "requires" => "HalfOp"
18 ],
19 "c" => [
20 "name" => "No CTCPs",
21 "description" => "Prevents users from sending CTCP's to the channel",
22 "requires" => "HalfOp"
23 ],
24 "e" => [
25 "name" => "Ban Exemption",
26 "description" => "Marks an exemption from channel bans",
27 "requires" => "HalfOp"
28 ],
29 "f" => [
30 "name" => "Flood Protection",
31 "description" => "Implements channel flood protection",
32 "requires" => "Operator"
33 ],
34 "h" => [
35 "name" => "Half Op",
36 "description" => "Marks someone as channel admin (%)",
37 "requires" => "Operator"
38 ],
39 "i" => [
40 "name" => "Invite Only",
9ea27dec 41 "description" => "Requires an invitation to join",
fb27b14a
VP
42 "requires" => "HalfOp"
43 ],
44 "k" => [
45 "name" => "Key",
46 "description" => "Requires a key/password to join",
47 "requires" => "HalfOp"
48 ],
49 "l" => [
50 "name" => "Limit",
51 "description" => "Limits a channel to a specific amount of users",
52 "requires" => "HalfOp"
53 ],
54 "m" => [
55 "name" => "Moderation",
56 "description" => "Prevents non-voiced users from speaking in a channel",
57 "requires" => "HalfOp"
58 ],
59 "n" => [
60 "name" => "No External Messages",
61 "description" => "Messages cannot be sent to the channel from outside it",
62 "requires" => "HalfOp"
63 ],
64 "o" => [
65 "name" => "Operator",
66 "description" => "Marks someone as channel operator (@)",
67 "requires" => "Operator"
68 ],
69 "p" => [
70 "name" => "Private",
1cf528b7 71 "description" => "Prevents the channel from showing up in <code>/WHOIS</code> outputs and is replaces with \"*\" in <code>/LIST</code> outputs",
fb27b14a
VP
72 "requires" => "Operator"
73 ],
74 "q" => [
75 "name" => "Owner",
76 "description" => "Marks someone as channel owner (~)",
77 "requires" => "Owner"
78 ],
79 "r" => [
80 "name" => "Registered",
81 "description" => "Channel has been registered to an account",
82 "requires" => "Services"
83 ],
84 "s" => [
85 "name" => "Secret",
86 "description" => "Prevents the channel from showing up in <code>/WHOIS</code> and <code>/LIST</code> outputs",
87 "requires" => "Operator"
88 ],
89 "t" => [
90 "name" => "Topic",
91 "description" => "Only HalfOps and above may set the topic.",
92 "requires" => "HalfOp"
93 ],
94 "v" => [
95 "name" => "Voice",
96 "description" => "Marks someone as voiced in the channel (+)",
97 "requires" => "HalfOp"
98 ],
99 "z" => [
100 "name" => "Secure Only",
101 "description" => "Only users using a secure connection may join this channel.",
102 "requires" => "Operator"
103 ],
104 "C" => [
105 "name" => "No CTCPs",
106 "description" => "CTCP messages are not allowed on the channel.",
107 "requires" => "Operator"
108 ],
109 "D" => [
110 "name" => "Delay Join",
111 "description" => "Delay showing joins until someone actually speaks.",
112 "requires" => "Operator"
113 ],
114 "G" => [
115 "name" => "Filter",
116 "description" => "Filters out all Bad words in messages with \"&lt;censored&gt;</pre>\".",
117 "requires" => "Operator"
118 ],
119 "H" => [
120 "name" => "History",
121 "description" => "Record channel history with specified maximums.",
122 "requires" => "Operator"
123 ],
124 "I" => [
125 "name" => "Invitation",
126 "description" => "Marks an inviation to a channel.",
b175b204 127 "requires" => "HalfOp"
fb27b14a
VP
128 ],
129 "K" => [
130 "name" => "No Knock",
131 "description" => "Users may not knock on this channel.",
132 "requires" => "HalfOp"
133 ],
134 "L" => [
135 "name" => "Link",
136 "description" => "Link to another channel when unable to join",
137 "requires" => "Operator"
138 ],
139 "M" => [
140 "name" => "Auth Moderated",
141 "description" => "Only users who have voice or are authenticated may talk in this channel.",
142 "requires" => "HalfOp"
143 ],
144 "N" => [
145 "name" => "No Nick Changes",
146 "description" => "Nickname changes are not permitted on the channel.",
147 "requires" => "HalfOp"
148 ],
149 "O" => [
150 "name" => "IRCOps Only",
151 "description" => "Only IRC Operators may join this channel.",
152 "requires" => "IRC Operator"
153 ],
154 "P" => [
155 "name" => "Permanent",
156 "description" => "This channel will exist even when nobody is inside.",
157 "requires" => "IRC Operator"
158 ],
159 "Q" => [
160 "name" => "No Kicks",
161 "description" => "Kicks are not allowed in this channel.",
162 "requires" => "Operator"
163 ],
164 "R" => [
165 "name" => "Reg Only",
166 "description" => "Only registered/authenticated users may join the channel.",
167 "requires" => "Operator"
168 ],
169 "S" => [
170 "name" => "Strip Color",
171 "description" => "All color is stripped from channel messages.",
172 "requires" => "IRC Operator"
173 ],
174 "T" => [
175 "name" => "No Notices",
176 "description" => "Notices are not permitted on the channel.",
177 "requires" => "IRC Operator"
178 ],
179 "V" => [
180 "name" => "No Invites",
181 "description" => "Users are not allowed to <code>/INVITE</code> others to the channel.",
182 "requires" => "IRC Operator"
183 ],
184 "Z" => [
185 "name" => "Is Secure",
186 "description" => "Indication that all users on the channel are on a Secure connection.",
187 "requires" => "Server"
188 ]
189 ];
190}