]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/blame - Classes/class-cmodes.php
Move the channel details around, make it look better
[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 ],
e92763ac
VP
114 "F" => [
115 "name" => "Flood Profile",
116 "description" => "Use a Flood Profile to easily apply flood protection mechanisms",
117 ],
fb27b14a
VP
118 "G" => [
119 "name" => "Filter",
120 "description" => "Filters out all Bad words in messages with \"&lt;censored&gt;</pre>\".",
121 "requires" => "Operator"
122 ],
123 "H" => [
124 "name" => "History",
125 "description" => "Record channel history with specified maximums.",
126 "requires" => "Operator"
127 ],
128 "I" => [
129 "name" => "Invitation",
130 "description" => "Marks an inviation to a channel.",
b175b204 131 "requires" => "HalfOp"
fb27b14a
VP
132 ],
133 "K" => [
134 "name" => "No Knock",
135 "description" => "Users may not knock on this channel.",
136 "requires" => "HalfOp"
137 ],
138 "L" => [
139 "name" => "Link",
140 "description" => "Link to another channel when unable to join",
141 "requires" => "Operator"
142 ],
143 "M" => [
144 "name" => "Auth Moderated",
145 "description" => "Only users who have voice or are authenticated may talk in this channel.",
146 "requires" => "HalfOp"
147 ],
148 "N" => [
149 "name" => "No Nick Changes",
150 "description" => "Nickname changes are not permitted on the channel.",
151 "requires" => "HalfOp"
152 ],
153 "O" => [
154 "name" => "IRCOps Only",
155 "description" => "Only IRC Operators may join this channel.",
156 "requires" => "IRC Operator"
157 ],
158 "P" => [
159 "name" => "Permanent",
160 "description" => "This channel will exist even when nobody is inside.",
161 "requires" => "IRC Operator"
162 ],
163 "Q" => [
164 "name" => "No Kicks",
165 "description" => "Kicks are not allowed in this channel.",
166 "requires" => "Operator"
167 ],
168 "R" => [
169 "name" => "Reg Only",
170 "description" => "Only registered/authenticated users may join the channel.",
171 "requires" => "Operator"
172 ],
173 "S" => [
174 "name" => "Strip Color",
175 "description" => "All color is stripped from channel messages.",
176 "requires" => "IRC Operator"
177 ],
178 "T" => [
179 "name" => "No Notices",
180 "description" => "Notices are not permitted on the channel.",
181 "requires" => "IRC Operator"
182 ],
183 "V" => [
184 "name" => "No Invites",
185 "description" => "Users are not allowed to <code>/INVITE</code> others to the channel.",
186 "requires" => "IRC Operator"
187 ],
188 "Z" => [
189 "name" => "Is Secure",
190 "description" => "Indication that all users on the channel are on a Secure connection.",
191 "requires" => "Server"
192 ]
193 ];
194}