fixed database.defaults.sql
[NeonServV5.git] / database.defaults.sql
1 --
2 -- Daten für Tabelle `bot_binds`
3 --
4
5 INSERT INTO `bot_binds` (`id`, `botclass`, `botid`, `command`, `function`, `parameters`, `chan_access`, `global_access`, `flags`) VALUES
6 (1, 1, 0, 'bind', 'bind', '', NULL, NULL, 0),
7 (3, 1, 0, 'unbind', 'unbind', '', NULL, NULL, 0),
8 (4, 1, 0, 'adduser', 'adduser', '', NULL, NULL, 0),
9 (5, 1, 0, 'addowner', 'adduser', '%1 500', NULL, NULL, 0),
10 (6, 1, 0, 'addcoowner', 'adduser', '%1 400', NULL, NULL, 0),
11 (7, 1, 0, 'addco', 'adduser', '%1 400', NULL, NULL, 0),
12 (8, 1, 0, 'addmaster', 'adduser', '%1 300', NULL, NULL, 0),
13 (9, 1, 0, 'addop', 'adduser', '%1 200', NULL, NULL, 0),
14 (10, 1, 0, 'addpeon', 'adduser', '%1 100', NULL, NULL, 0),
15 (11, 1, 0, 'addvoice', 'adduser', '%1 100', NULL, NULL, 0),
16 (12, 1, 0, 'deluser', 'deluser', '', NULL, NULL, 0),
17 (13, 1, 0, 'clvl', 'clvl', '', NULL, NULL, 0),
18 (125, 1, 0, 'access', 'access', '', NULL, NULL, 0),
19 (124, 1, 0, 'a', 'access', '', NULL, NULL, 0),
20 (16, 1, 0, 'users', 'users', '', NULL, NULL, 0),
21 (17, 1, 0, 'vlist', 'users', '%1|* 100 199', NULL, NULL, 0),
22 (18, 1, 0, 'olist', 'users', '%1|* 200 299', NULL, NULL, 0),
23 (19, 1, 0, 'plist', 'users', '%1|* 100 199', NULL, NULL, 0),
24 (20, 1, 0, 'mlist', 'users', '%1|* 300 399', NULL, NULL, 0),
25 (21, 1, 0, 'clist', 'users', '%1|* 400 499', NULL, NULL, 0),
26 (22, 1, 0, 'suspend', 'suspend', '', NULL, NULL, 0),
27 (23, 1, 0, 'unsuspend', 'unsuspend', '', NULL, NULL, 0),
28 (24, 1, 0, 'delme', 'delme', '', NULL, NULL, 0),
29 (25, 1, 0, 'deleteme', 'delme', '', NULL, NULL, 0),
30 (26, 1, 0, 'myaccess', 'myaccess', '', NULL, NULL, 0),
31 (27, 1, 0, 'mya', 'myaccess', '', NULL, NULL, 0),
32 (28, 1, 0, 'ma', 'myaccess', '', NULL, NULL, 0),
33 (29, 1, 0, 'up', 'up', '', NULL, NULL, 0),
34 (30, 1, 0, 'down', 'down', '', NULL, NULL, 0),
35 (31, 1, 0, 'upall', 'upall', '', NULL, NULL, 0),
36 (32, 1, 0, 'uall', 'upall', '', NULL, NULL, 0),
37 (33, 1, 0, 'downall', 'downall', '', NULL, NULL, 0),
38 (34, 1, 0, 'dall', 'downall', '', NULL, NULL, 0),
39 (35, 1, 0, 'mdeluser', 'mdeluser', '', NULL, NULL, 0),
40 (41, 1, 0, 'mdelop', 'mdeluser', '200 %1', NULL, NULL, 0),
41 (40, 1, 0, 'mdelvoice', 'mdeluser', '100 %1', NULL, NULL, 0),
42 (39, 1, 0, 'mdelpeon', 'mdeluser', '100 %1', NULL, NULL, 0),
43 (42, 1, 0, 'mdelmaster', 'mdeluser', '300 %1', NULL, NULL, 0),
44 (43, 1, 0, 'mdelcoowner', 'mdeluser', '400 %1', NULL, NULL, 0),
45 (44, 1, 0, 'mdelco', 'mdeluser', '400 %1', NULL, NULL, 0),
46 (45, 1, 0, 'trim', 'trim', '', NULL, NULL, 0),
47 (46, 1, 0, 'giveowner', 'giveowner', '', NULL, NULL, 0),
48 (47, 1, 0, 'giveownership', 'giveowner', '', NULL, NULL, 0),
49 (48, 1, 0, 'op', 'op', '', NULL, NULL, 0),
50 (49, 1, 0, 'deop', 'deop', '', NULL, NULL, 0),
51 (50, 1, 0, 'voice', 'voice', '', NULL, NULL, 0),
52 (51, 1, 0, 'devoice', 'devoice', '', NULL, NULL, 0),
53 (52, 1, 0, 'v', 'voice', '', NULL, NULL, 0),
54 (54, 1, 0, 'opall', 'opall', '', NULL, NULL, 0),
55 (55, 1, 0, 'deopall', 'deopall', '', NULL, NULL, 0),
56 (56, 1, 0, 'voiceall', 'voiceall', '', NULL, NULL, 0),
57 (57, 1, 0, 'vall', 'voiceall', '', NULL, NULL, 0),
58 (58, 1, 0, 'devoiceall', 'devoiceall', '', NULL, NULL, 0),
59 (59, 1, 0, 'set', 'set', '', NULL, NULL, 0),
60 (60, 1, 0, 'kick', 'kick', '', NULL, NULL, 0),
61 (61, 1, 0, 'k', 'kick', '', NULL, NULL, 0),
62 (62, 1, 0, 'kickban', 'kickban', '', NULL, NULL, 0),
63 (63, 1, 0, 'kb', 'kickban', '', NULL, NULL, 0),
64 (64, 1, 0, 'ban', 'ban', '', NULL, NULL, 0),
65 (65, 1, 0, 'b', 'ban', '', NULL, NULL, 0),
66 (66, 1, 0, 'wipeinfo', 'wipeinfo', '', NULL, NULL, 0),
67 (67, 1, 0, 'deluinfo', 'wipeinfo', '', NULL, NULL, 0),
68 (68, 1, 0, 'addban', 'addban', '', NULL, NULL, 0),
69 (69, 1, 0, 'ab', 'addban', '', NULL, NULL, 0),
70 (70, 1, 0, 'bans', 'bans', '', NULL, NULL, 0),
71 (71, 1, 0, 'shitlist', 'bans', '', NULL, NULL, 0),
72 (72, 1, 0, 'showbans', 'bans', '', NULL, NULL, 0),
73 (73, 1, 0, 'showban', 'bans', '', NULL, NULL, 0),
74 (74, 1, 0, 'delban', 'delban', '', NULL, NULL, 0),
75 (75, 1, 0, 'netinfo', 'netinfo', '', NULL, NULL, 0),
76 (76, 1, 0, 'topic', 'topic', '', NULL, NULL, 0),
77 (78, 1, 0, 'chanservsync', 'chanservsync', '', NULL, NULL, 0),
78 (79, 1, 0, 'resync', 'resync', '', NULL, NULL, 0),
79 (81, 1, 0, 'addtimeban', 'addtimeban', '', NULL, NULL, 0),
80 (82, 1, 0, 'addtimedban', 'addtimeban', '', NULL, NULL, 0),
81 (83, 1, 0, 'timeban', 'addtimeban', '', NULL, NULL, 0),
82 (84, 1, 0, 'timedban', 'addtimeban', '', NULL, NULL, 0),
83 (85, 1, 0, 'tb', 'addtimeban', '', NULL, NULL, 0),
84 (86, 1, 0, 'atb', 'addtimeban', '', NULL, NULL, 0),
85 (87, 1, 0, 'mode', 'mode', '', NULL, NULL, 0),
86 (89, 1, 0, 'version', 'version', '', NULL, NULL, 0),
87 (90, 1, 0, 'peek', 'peek', '', NULL, NULL, 0),
88 (91, 1, 0, 'uset', 'uset', '', NULL, NULL, 0),
89 (92, 1, 0, 'aset', 'uset', '', NULL, NULL, 0),
90 (93, 1, 0, 'unban', 'unban', '', NULL, NULL, 0),
91 (94, 1, 0, 'ub', 'unban', '', NULL, NULL, 0),
92 (95, 1, 0, 'unbanall', 'unbanall', '', NULL, NULL, 0),
93 (96, 1, 0, 'uba', 'unbanall', '', NULL, NULL, 0),
94 (97, 1, 0, 'unbanme', 'unbanme', '', NULL, NULL, 0),
95 (98, 1, 0, 'ubme', 'unbanme', '', NULL, NULL, 0),
96 (99, 1, 0, 'invite', 'invite', '', NULL, NULL, 0),
97 (101, 1, 0, 'inviteme', 'inviteme', '', NULL, NULL, 0),
98 (102, 1, 0, 'help', 'help', '', NULL, NULL, 0),
99 (201, 1, 0, 'cmds', 'commands', '', NULL, NULL, 0),
100 (104, 1, 0, 'trace', 'trace', '', NULL, NULL, 0),
101 (105, 1, 0, 'register', 'register', '', NULL, NULL, 0),
102 (106, 1, 0, 'reg', 'register', '', NULL, NULL, 0),
103 (107, 1, 0, 'unregister', 'unregister', '', NULL, NULL, 0),
104 (108, 1, 0, 'unreg', 'unregister', '', NULL, NULL, 0),
105 (109, 1, 0, 'recover', 'recover', '', NULL, NULL, 0),
106 (110, 1, 0, 'say', 'say', '', NULL, NULL, 0),
107 (111, 1, 0, 'emote', 'emote', '', NULL, NULL, 0),
108 (112, 1, 0, 'notice', 'notice', '', NULL, NULL, 0),
109 (113, 1, 0, 'raw', 'raw', '', NULL, NULL, 0),
110 (114, 1, 0, 'god', 'god', '', NULL, NULL, 0),
111 (115, 1, 0, 'godmode', 'god', '', NULL, NULL, 0),
112 (116, 1, 0, 'reloadlang', 'reloadlang', '', NULL, NULL, 0),
113 (117, 1, 0, 'csuspend', 'csuspend', '', NULL, NULL, 0),
114 (118, 1, 0, 'cunsuspend', 'cunsuspend', '', NULL, NULL, 0),
115 (119, 1, 0, 'move', 'move', '', NULL, NULL, 0),
116 (120, 1, 0, 'events', 'events', '', NULL, NULL, 0),
117 (121, 1, 0, 'oplog', 'oplog', '', NULL, NULL, 0),
118 (122, 1, 0, 'search', 'search', '', NULL, NULL, 0),
119 (123, 1, 0, 'command', 'command', '', NULL, NULL, 0),
120 (126, 1, 0, 'va', 'voiceall', '', NULL, NULL, 0),
121 (127, 1, 0, 'setaccess', 'setaccess', '', NULL, NULL, 0),
122 (129, 1, 0, 'suckers', 'bans', '', NULL, NULL, 0),
123 (130, 1, 0, 'fu', 'kick', '', NULL, NULL, 0),
124 (131, 1, 0, 'mobb', 'kick', '', NULL, NULL, 0),
125 (132, 1, 0, 'blist', 'bans', '', NULL, NULL, 0),
126 (133, 1, 0, 'addrank', 'addrank', '', NULL, NULL, 0),
127 (134, 1, 0, 'delrank', 'delrank', '', NULL, NULL, 0),
128 (135, 1, 0, 'listrank', 'listrank', '', NULL, NULL, 0),
129 (136, 1, 0, 'rank', 'assignrank', '', NULL, NULL, 0),
130 (137, 1, 0, 'assignrank', 'assignrank', '', NULL, NULL, 0),
131 (138, 1, 0, 'setrank', 'setrank', '', NULL, NULL, 0),
132 (139, 1, 0, 'ranks', 'listrank', '', NULL, NULL, 0),
133 (145, 1, 0, 'setinfo', 'uset', 'info %1-', NULL, NULL, 0),
134 (147, 1, 0, 'info', 'info', '', NULL, NULL, 0),
135 (148, 1, 0, 'rename', 'rename', '', NULL, NULL, 0),
136 (149, 1, 0, 'unvisited', 'unvisited', '', NULL, NULL, 0),
137 (150, 1, 0, 'add', 'adduser', '', NULL, NULL, 0),
138 (151, 2, 0, 'bind', 'bind', '', NULL, NULL, 0),
139 (152, 2, 0, 'unbind', 'unbind', '', NULL, NULL, 0),
140 (153, 2, 0, 'register', 'register', '', NULL, NULL, 0),
141 (154, 2, 0, 'unregister', 'unregister', '', NULL, NULL, 0),
142 (155, 2, 0, 'version', 'version', '', NULL, NULL, 0),
143 (156, 2, 0, 'netinfo', 'netinfo', '', NULL, NULL, 0),
144 (157, 2, 0, 'set', 'set', '', NULL, NULL, 0),
145 (158, 2, 0, 'csuspend', 'csuspend', '', NULL, NULL, 0),
146 (159, 2, 0, 'cunsuspend', 'cunsuspend', '', NULL, NULL, 0),
147 (160, 2, 0, 'say', 'say', '', NULL, NULL, 0),
148 (161, 2, 0, 'emote', 'emote', '', NULL, NULL, 0),
149 (162, 2, 0, 'notice', 'notice', '', NULL, NULL, 0),
150 (163, 2, 0, 'raw', 'raw', '', NULL, NULL, 0),
151 (164, 2, 0, 'god', 'god', '', NULL, NULL, 0),
152 (165, 3, 0, 'bind', 'bind', '', NULL, NULL, 0),
153 (166, 3, 0, 'unbind', 'unbind', '', NULL, NULL, 0),
154 (167, 3, 0, 'say', 'say', '', NULL, NULL, 0),
155 (168, 3, 0, 'notice', 'notice', '', NULL, NULL, 0),
156 (169, 3, 0, 'emote', 'emote', '', NULL, NULL, 0),
157 (177, 1, 0, 'dns', 'extscript', 'toys php scripts/dnslookup.php $1- %1+', NULL, NULL, 0),
158 (171, 1, 0, 'sync', 'resync', '', NULL, NULL, 0),
159 (172, 1, 0, 'dv', 'devoice', '', NULL, NULL, 0),
160 (176, 1, 0, 'calc', 'extscript', 'toys php scripts/calc.php $1- %1+', NULL, NULL, 0),
161 (174, 2, 0, 'commands', 'commands', '', NULL, NULL, 0),
162 (178, 1, 0, 'iplocate', 'extscript', 'toys php scripts/iplocate.php $1- %1+', NULL, NULL, 0),
163 (179, 1, 0, 'ping', 'funcmd.ping', '', NULL, NULL, 0),
164 (180, 1, 0, 'pong', 'funcmd.pong', '', NULL, NULL, 0),
165 (181, 1, 0, 'dice', 'funcmd.dice', '', NULL, NULL, 0),
166 (182, 1, 0, 'd', 'funcmd.dice', '', NULL, NULL, 0),
167 (183, 1, 0, '8ball', 'funcmd.8ball', '', NULL, NULL, 0),
168 (184, 1, 0, '8', 'funcmd.8ball', '', NULL, NULL, 0),
169 (185, 1, 0, 'staff', 'staff', '', NULL, NULL, 0),
170 (186, 2, 0, 'bans', 'NeonServ.bans', '', NULL, NULL, 0),
171 (187, 2, 0, 'banlist', 'NeonServ.bans', '', NULL, NULL, 0),
172 (188, 2, 0, 'delban', 'NeonServ.delban', '', NULL, NULL, 0),
173 (189, 2, 0, 'addban', 'NeonServ.addban', '', NULL, NULL, 0),
174 (190, 1, 0, 'noregister', 'noregister', '', NULL, NULL, 0),
175 (191, 1, 0, 'commands', 'commands', '', NULL, NULL, 0),
176 (192, 1, 0, 'oplogs', 'oplog', '', NULL, NULL, 0),
177 (193, 1, 0, 'cmd', 'command', '', NULL, NULL, 0),
178 (194, 1, 0, 'team', 'staff', '', NULL, NULL, 0),
179 (195, 1, 0, 'syncusers', 'chanservsync', '', NULL, NULL, 0),
180 (196, 2, 0, 'search', 'NeonServ.search', '', NULL, NULL, 0),
181 (197, 1, 0, 'cookie', 'FunCMD.cookie', '', NULL, NULL, 0),
182 (198, 1, 0, 'ping_ip', 'extscript', 'toys php scripts/ping.php $1- %1+', NULL, NULL, 0),
183 (199, 1, 0, 'banlist', 'bans', '', NULL, NULL, 0),
184 (200, 1, 0, 'del', 'deluser', '', NULL, NULL, 0),
185 (202, 1, 0, 'nicklist', 'nicklist', '', NULL, NULL, 0),
186 (206, 1, 0, 'bots', 'bots', '', NULL, NULL, 0),
187 (207, 1, 0, 'bot list', 'bots', '', NULL, NULL, 0),
188 (208, 1, 0, 'bot add', 'addbot', '', NULL, NULL, 0),
189 (209, 1, 0, 'bot del', 'delbot', '', NULL, NULL, 0),
190 (210, 1, 0, 'bot reconnect', 'reconnect', '', NULL, NULL, 0),
191 (211, 1, 0, 'bot', 'linker', '', NULL, NULL, 0),
192 (212, 1, 0, 'bot set', 'setbot', '', NULL, NULL, 0),
193 (245, 1, 0, 'dva', 'devoiceall', '', NULL, NULL, 0),
194 (246, 1, 0, 'restart', 'restart', '', NULL, NULL, 0),
195 (247, 1, 0, 'showcommands', 'commands', '', NULL, NULL, 0),
196 (249, 2, 0, 'unreg', 'unregister', '', NULL, NULL, 0),
197 (252, 4, 0, 'raw', 'raw', '', NULL, NULL, 0),
198 (253, 4, 0, 'next', 'next', '', NULL, NULL, 0),
199 (255, 4, 0, 'requests', 'requests', '', NULL, NULL, 0),
200 (256, 4, 0, 'delete', 'delete', '', NULL, NULL, 0),
201 (257, 4, 0, 'del', 'delete', '', NULL, NULL, 0),
202 (258, 4, 0, 'reqs', 'requests', '', NULL, NULL, 0),
203 (260, 4, 0, 'supp', 'NeonServ.inviteme', '#Krypton-support', NULL, NULL, 0),
204 (261, 4, 0, 'KryptonHelp bind', 'bind', '', NULL, NULL, 0),
205 (262, 4, 0, 'KryptonHelp unbind', 'unbind', '', NULL, NULL, 0),
206 (263, 4, 0, 'KryptonHelp commands', 'commands', '', NULL, NULL, 0),
207 (264, 4, 0, 'KryptonHelp addbot', 'addbot', '', NULL, NULL, 0),
208 (265, 4, 0, 'KryptonHelp delbot', 'delbot', '', NULL, NULL, 0),
209 (266, 4, 0, 'KryptonHelp setbot', 'setbot', '', NULL, NULL, 0),
210 (267, 4, 0, 'KryptonHelp version', 'version', '', NULL, NULL, 0),
211 (268, 4, 0, 'KryptonHelp say', 'say', '', NULL, NULL, 0),
212 (269, 4, 0, 'KryptonHelp emote', 'emote', '', NULL, NULL, 0),
213 (270, 4, 0, 'KryptonHelp notice', 'notice', '', NULL, NULL, 0),
214 (271, 4, 0, 'KryptonHelp raw', 'raw', '', NULL, NULL, 0),
215 (272, 4, 0, 'KryptonHelp netinfo', 'netinfo', '', NULL, NULL, 0),
216 (273, 4, 0, 'KryptonHelp', 'linker', '', NULL, NULL, 0),
217 (274, 4, 0, 'KryptonHelp bots', 'bots', '', NULL, NULL, 0),
218 (275, 4, 0, 'KryptonHelp modcmd', 'modcmd', '', NULL, NULL, 0),
219 (284, 1, 0, 'moo', 'extscript', 'toys apt-get moo %1+', NULL, NULL, 0),
220 (285, 1, 0, 'botinfo', 'netinfo', '', NULL, NULL, 0),
221 (286, 2, 0, 'reg', 'register', '', NULL, NULL, 0),
222 (287, 1, 0, 'reload', 'reload', '', NULL, NULL, 0),
223 (288, 4, 0, 'stats', 'stats', '', NULL, NULL, 0),
224 (304, 1, 0, 'meminfo', 'meminfo', '', NULL, NULL, 0),
225 (306, 1, 0, 'die', 'die', '', NULL, NULL, 0),
226 (307, 1, 0, 'loadmod', 'loadmod', '', NULL, NULL, 0),
227 (308, 1, 0, 'unloadmod', 'unloadmod', '', NULL, NULL, 0),
228 (309, 1, 0, 'reloadmod', 'reloadmod', '', NULL, NULL, 0),
229 (310, 1, 0, 'modules', 'modules', '', NULL, NULL, 0),
230 (311, 2, 0, 'move', 'move', '', NULL, NULL, 0);
231
232
233 --
234 -- Daten für Tabelle `channels`
235 --
236
237 INSERT INTO `channels` (`channel_id`, `channel_name`, `channel_key`, `channel_maxusers`, `channel_lastvisit`, `channel_lastgiveowner`, `channel_pubcmd`, `channel_nodelete`, `channel_nogaccess`, `channel_canadd`, `channel_candel`, `channel_canclvl`, `channel_cankick`, `channel_canban`, `channel_staticban`, `channel_protect`, `channel_canop`, `channel_canhalfop`, `channel_canvoice`, `channel_getop`, `channel_gethalfop`, `channel_getvoice`, `channel_greeting`, `channel_usergreeting`, `channel_userinfo`, `channel_dynlimit`, `channel_getinvite`, `channel_topicmask`, `channel_exttopic`, `channel_exttopic_topic`, `channel_defaulttopic`, `channel_wipeinfo`, `channel_modes`, `channel_enfmodes`, `channel_enftopic`, `channel_topicsnarf`, `channel_changetopic`, `channel_setters`, `channel_canresync`, `channel_cansuspend`, `channel_notice`, `channel_noticereaction`, `channel_ctcp`, `channel_ctcpreaction`, `channel_registered`, `channel_registrator`, `channel_toys`, `channel_scanner`, `channel_spam_limit`, `channel_spam_reaction`, `channel_spam_reaction_duration`, `channel_spam_except`, `channel_flood_limit`, `channel_flood_time`, `channel_flood_reaction`, `channel_flood_reaction_duration`, `channel_flood_except`, `channel_join_limit`, `channel_join_time`, `channel_join_reaction`, `channel_join_reaction_duration`, `channel_join_except`, `channel_botnet_bantime`, `channel_botnet_except`, `channel_caps_percent`, `channel_caps_reaction`, `channel_caps_reaction_duration`, `channel_caps_except`, `channel_digit_percent`, `channel_digit_reaction`, `channel_digit_reaction_duration`, `channel_digit_except`, `channel_badword_reaction`, `channel_badword_reaction_duration`, `channel_badword_except`) VALUES
238 (NULL, 'defaults', '', 0, 0, 0, 0, 0, 0, 300, 300, 300, 200, 200, 250, 0, 200, 200, 200, 200, 150, 100, '', '', 1, 0, 1, '', 0, '', '', 300, '+', 400, 400, 501, 200, 400, 200, 300, 0, 0, 0, 0, 0, 0, 0, '', 4, 0, 120, 400, 5, 3, 0, 120, 400, 4, 20, 2, 300, 400, 1800, 1, 60, 0, 60, 200, 60, 0, 60, 200, 0, 60, 400);
239
240 --
241 -- please run language.php for help and language entries.
242 --