· 6 years ago · Oct 11, 2019, 10:46 AM
1<?php
2 /********************************
3
4 Author: Werton
5
6 Contact: kontakt@xbot-ts3.pl
7
8 TS3: xbot-ts3.pl
9
10 Graphics: Konkol
11
12 Config File
13
14 ********************************/
15$language['function']['down_desc'] = "[right][hr]
16[img]https://i.imgur.com/LeDCzKz.png[/img]";
17
18
19define('ICON_ID', 'i_icon_id');
20define('NEEDED_JOIN_POWER', 'i_channel_needed_join_power');
21define('NEEDED_SUBSCRIBE_POWER', 'i_channel_needed_subscribe_power');
22define('NEEDED_MODIFY_POWER', 'i_channel_needed_modify_power');
23
24$config['general'] = array
25(
26 'connection_ts3' => array
27 (
28 /**************************************************************************************
29
30 ENG [MAIN LOGIN TO TEAMSPEAK3 SERVER] # PL [GŁÓWNE LOGOWANIE DO TS3]
31
32 **************************************************************************************/
33
34 // ENG [TeamSpeak3 Server IP Adress] # PL [Adres IP serwera]
35 'IP' => '',
36
37 // ENG [TeamSpeak3 Server Query Port] # PL [Port Query serwera]
38 'query_port' => '10011',
39
40 // ENG [TeamSpeak3 Server Port] # PL [Port serwera]
41 'port' => '9987',
42
43 // ENG [TeamSpeak3 Server Query Login] # PL [Login Query serwera]
44 'login' => '',
45
46 // ENG [TeamSpeak3 Server Query Password] # PL [Haslo Query serwera]
47 'password' => '',
48
49 'ssh_connect' => false,
50 ),
51 'connection_database' => array
52 (
53 /**************************************************************************************
54
55 ENG [MAIN LOGIN TO DATABASE] # PL [GŁÓWNE LOGOWANIE DO BAZY DANYCH]
56
57 **************************************************************************************/
58
59 // ENG [Database IP] # PL [Adres IP bazy danych]
60 'db_ip' => 'localhost',
61
62 // ENG [Database PORT] # PL [Port bazy danych]
63 'db_port' => 3306,
64
65 // ENG [Database user] # PL [Użytkownik bazy danych]
66 'db_user' => 'root',
67
68 // ENG [Database password] # PL [Hasło do bazy danych]
69 'db_password' => '',
70
71 // ENG [Database name] # PL [Nazwa bazy danych]
72 'db_name' => '',
73 ),
74 'instances_settings' => array
75 (
76 /**************************************************************************************
77
78 ENG [MAIN INSTANCES SETTINGS] # PL [GŁÓWNE USTAWIENIA INSTANCJI]
79
80 **************************************************************************************/
81
82 'settings' => array
83 (
84 // ENG [Show links to profile] # PL [Pokazuj linki do profilu]
85 'show_links' => array('enabled' => false, 'link' => 'http://panel.xbot-ts3.pl/website/?profile&dbid='),
86 // ENG [Main admins databases] # PL [Database id głównych adminów]
87 'main_admins_dbid' => array(15,54,56),
88 ),
89 'instances' => array
90 (
91 '1' => array //Aktualizator
92 (
93 'enabled' => true,
94 'database_enabled' => true,
95 'bot_name' => '» FiveTees « ▪ Work',
96 'default_channel' => 8,
97 ),
98 '2' => array //Administrator
99 (
100 'enabled' => true,
101 'database_enabled' => true,
102 'bot_name' => '» FiveTees « ▪ AdminBot',
103 'default_channel' => 8,
104 ),
105 '3' => array //Database
106 (
107 'enabled' => true,
108 'database_enabled' => true,
109 'bot_name' => '» FiveTees « ▪ DataBase',
110 'default_channel' => 8,
111 ),
112 '4' => array //Channels Guard
113 (
114 'enabled' => true,
115 'database_enabled' => true,
116 'bot_name' => '» FiveTees « ▪ Channel Guard',
117 'default_channel' => 8,
118 ),
119 '5' => array //Commander
120 (
121 'enabled' => true,
122 'database_enabled' => true,
123 'bot_name' => '» FiveTees « ▪ Information',
124 'default_channel' => 8,
125
126 // ENG [Set individual ts3 login and password] # PL [Ustaw indywidualny login i hasło do ts3]
127 'individual_login' => array
128 (
129 'enabled' => true,
130 'login' => 'commander',
131 'password' => 'aOWOv3ID',
132 ),
133 ),
134 ),
135 ),
136);
137
138$config['instance']['1']['logs_system'] = array
139(
140 /****************************************************************************
141
142 ENG [LOGS SYSTEM] # PL [SYSTEM LOGÓW]
143
144 ****************************************************************************/
145
146 'logs' => array
147 (
148 // ENG [Turn on/off logs system (true or false)] # PL [Włączenie lub wyłączenie systemu logów]
149 'enabled' => true,
150
151 // ENG [Days, after which, log files will be deleted] # PL [Czas w dniach, po których pliki logów zostana usunięte]
152 'delete_interval' => '3',
153 ),
154);
155
156$config['instance']['1']['options'] = array
157(
158 /****************************************************************************
159
160 ENG [INSTANCE OPTIONS] # PL [OPCJE INSTANCJI]
161
162 ****************************************************************************/
163
164 // ENG [Folder for functions containing all events and plugins] # PL [Folder w którym sa wszystkie eventy i pluginy]
165 'folder' => 'first_instance',
166
167 // ENG [Bot interval in seconds] # PL [Interwal bota w sekundach]
168 'bot_interval' => 1,
169
170 // ENG ['events_plugins' or 'commands' (default 'events_plugins')] # PL ['events_plugins' lub 'commands' (domyślnie 'events_plugins')]
171 'function_type' => 'events_plugins',
172);
173
174$config['instance']['1']['functions'] = array
175(
176
177 /**************************************
178
179 ENG [PLUGINS] # PL [PLUGINY]
180
181 **************************************/
182
183 'plugins' => true,
184
185 // ENG [Informing admins about upcoming meeting] # PL [Informowanie administracji o zbliżajacym się spotkaniu]
186 'admins_meeting' => array
187 (
188 'enabled' => false,
189 'info' => array
190 (
191 'admins_server_groups' => array(9,25,61,67), //all admins server groups
192 'channel_id' => 7, //meeting channel id
193 'channel_name' => '» Zebranie [x]', //[x] - meeting date (in format: dd.mm.yyyy hh:mm for example 18.02.2017 18:00) !important you must have channel with that name
194 'information_before' => true, //informing admins `time_to_meeting` seconds before meeting
195 'time_to_meeting' => 900, //in seconds
196 'move_admins' => true, //move admins to meeting channel on time
197 ),
198 ),
199
200 // ENG [Nicknames security] # PL [Ochrona nicków]
201 'nicks_security' => array
202 (
203 'enabled' => false,
204 'ignored_groups' => array(708,829), //ignored groups
205 'file' => 'include/cache/nicks_security.txt', //bad phrases separated by ,(comma) without spaces, enters etc
206 'check_away_message' => true,
207 'check_client_description' => false, // Can slow down instance
208 'ban' => array
209 (
210 'enabled' => false, // true or false
211 'min_kicks' => 2, // ban after X kicks
212 'ban_time' => 5 * 60, // in seconds
213 'cache_reset' => 120, // in seconds
214 ),
215 ),
216
217 // ENG [Server groups limit] # PL [Limit grup serwera]
218 'groups_limit' => array
219 (
220 'enabled' => false,
221 'ignored_groups' => array(), //ignored groups which will not be check
222 'info' => array
223 (
224 /****************************************
225
226 '1' => array //growing number, for example 1, 2, 3...
227 (
228 'checking_groups' => array(52,53,54,55,56), //checking server groups
229 'limit' => 1, //limit of checking groups
230 ),
231
232 ****************************************/
233
234 '1' => array //4fun
235 (
236 'checking_groups' => array(114,115116,117,118,119,120,121,122,123,124,125,126,127,128,129), //checking server groups
237 'limit' => 6, //limit of checking groups
238 ),
239 '2' => array //gry
240 (
241 'checking_groups' => array(53,54,55,56,57,58,59,60,61,62,63,139,140,142,191,665), //checking server groups
242 'limit' => 4, //limit of checking groups
243 ),
244 '3' => array //regi
245 (
246 'checking_groups' => array(31,33), //checking server groups
247 'limit' => 1, //limit of checking groups
248 ),
249 '2' => array //wiek
250 (
251 'checking_groups' => array(40,41,42,43,167), //checking server groups
252 'limit' => 1, //limit of checking groups
253 ),
254 '2' => array //met2
255 (
256 'checking_groups' => array(731,732,733,734,735,736,736,737,738,739), //checking server groups
257 'limit' => 1, //limit of checking groups
258 ),
259 '2' => array //regi
260 (
261 'checking_groups' => array(), //checking server groups
262 'limit' => 4, //limit of checking groups
263 ),
264 ),
265 ),
266
267 // ENG [Move specified groups to channel from specified channel] # PL [Przenoszenie użytkowników z określoną grupą z kanału na kanał]
268 'move_groups' => array
269 (
270 'enabled' => true,
271 'if_client_on_channel' => array(17141), //All channels from which bot must move clients | Wszystkie kanały, z których bot ma movać
272 'vip_channels_from_xbot' => array
273 (
274 'enabled' => true,
275 'is_on_channel' => 17141,
276 'ignored_groups' => array(),
277 ),
278 'info' => array
279 (
280 /*************************
281
282 0 => array //growing number: 0,1,2 etc.
283 (
284 'is_on_channel' => 50, //form which channel bot must move people
285 'move_to_channel' => 25, //to which channel bot must move people
286 'groups' => array(14,13), //groups which will be checking
287 ),
288
289 *************************/
290
291 ),
292 ),
293
294 // ENG [Animated icon] # PL [Animowana ikonka]
295 'animated_icon' => array
296 (
297 'enabled' => false,
298 'info' => array
299 (
300 /*************************************************
301
302 id => array
303 (
304 'type' => 'servergroup' OR 'cldbid' //If servergroup, id = sgid || if cldbid, id = client database id
305 'icons' => array(-2072408170,968796862,1023685817,-1634246665,1726830382),
306 ),
307
308 *************************************************/
309
310 44 => array
311 (
312 'type' => 'servergroup',
313 'icons' => array(-2072408170,968796862,1023685817,-1634246665,1726830382),
314 ),
315 15 => array
316 (
317 'type' => 'cldbid',
318 'icons' => array(-2072408170,968796862,1023685817,-1634246665,1726830382),
319 ),
320 ),
321 ),
322
323 /**************************************
324
325 ENG [EVENTS] # PL [EVENTY]
326
327 **************************************/
328
329 'events' => true,
330
331 // ENG [Online users] # PL [Użytkownicy online]
332 'online_users' => array
333 (
334 'enabled' => true,
335 'channel_id' => 23195,
336 'ignored_groups' => array(),
337 'channel_name' => '[cspacer]Obecnie Online: [ONLINE]', //[ONLINE] - online users
338 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 0),
339 ),
340
341 // ENG [Record amount of clients online] # PL [Rekordowa ilośc użytkowników online]
342 'record_online' => array
343 (
344 'enabled' => true,
345 'channel_id' => 23196,
346 'channel_name' => '[cspacer]Obecny rekord: [RECORD]', //[RECORD] - record online users
347 'show_history' => true,
348 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 0),
349 ),
350
351 // ENG [List of admins online] # PL [Lista adminów online]
352 'admin_list_online' => array
353 (
354 'enabled' => true,
355 'channel_id' => 1488,
356 'admins_server_groups' => array(387),
357 'ignored_groups' => array(65),
358 'channel_name' => '[cspacer]Adminów online: [ONLINE]', //[ONLINE] - Admins online
359 'top_description' => '[img]https://i.imgur.com/U6YVUdd.png[/img]',
360 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 15),
361 ),
362
363 // ENG [Admin list] # PL [Lista adminów]
364 'admin_list' => array
365 (
366 'enabled' => false,
367 'min_idle_time' => 5*60, //minimal client idle time to be away (in seconds)
368 'admins_count' => true, //enable admins count in description
369 'info' => array
370 (
371 218 => array //glownaadmts3
372 (
373 'admins_server_groups' => array(30,867,902,87,76,38,48,88,49,815),
374 'ignored_groups' => array(),
375 'top_description' => '[img]https://i.imgur.com/R2ac2oJ.png[/img]',
376 'icons_enabled' => true, //Convert rang name to icon
377 'icons' => array
378 (
379 /*************************
380
381 group_id => 'url_to_image',
382
383 ************************/
384
385 30 => 'https://i.imgur.com/IRSf9Qy.png',
386 867 => 'https://i.imgur.com/ZklWCvf.png',
387 902 => 'https://i.imgur.com/WIDoqbn.png',
388 87 => 'https://i.imgur.com/0jdMFPV.png',
389 76 => 'https://i.imgur.com/YsUbBqU.png',
390 38 => 'https://i.imgur.com/lpXzDw9.png',
391 48 => 'https://i.imgur.com/KRGL317.png',
392 88 => 'https://i.imgur.com/kzC4jdu.png',
393 49 => 'https://i.imgur.com/GY91erN.png',
394 815 => 'https://i.imgur.com/XNgZetF.png',
395 ),
396 ),
397 ),
398 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 2,'seconds' => 15),
399 ),
400
401 // ENG [Change channel name] # PL [Zmiana nazwy kanalu]
402 'change_channel' => array
403 (
404 'enabled' => true,
405 'channel_id' => 1546,
406 'channel_name' => array
407 (
408 '[cspacer]♦ Istniejemy od 20.11.18! ♦',
409 '[cspacer]♦ Nigdy nie zmienimy adresu! ♦',
410 '[cspacer]♦ Zapisz nasz serwer ! :) ♦',
411 ),
412 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 45),
413 ),
414
415 // ENG [Multifunction] # PL [Wielofunkcyjnośc]
416 'multi_function' => array
417 (
418 'enabled' => false,
419 'content' => array
420 (
421 'total_ping' => array // ENG [server total ping in channel name] # PL [ping serwera w nazwie kanalu]
422 (
423 'enabled' => false,
424 'channel_id' => 25768,
425 'channel_name' => '» Średni ping wynosi: [PING]', // [PING] = ping
426 'integer' => true, // true or false (ping in integer)
427 ),
428 'packet_loss' => array // ENG [server packet loss in channel name] # PL [packet loss serwera w nazwie kanalu]
429 (
430 'enabled' => false,
431 'channel_id' => 25769,
432 'channel_name' => '» Packetloss wynosi: [PACKETLOSS]%', // [PACKETLOSS] = packetloss
433 'integer' => true, // true or false (packetloss in integer)
434 ),
435 'channels_count' => array // ENG [channels count in channel name] # PL [ilosc kanalów w nazwie kanalu]
436 (
437 'enabled' => true,
438 'channel_id' => 399,
439 'channel_name' => '[lspacer]⇛ Kanałów ogółem: [CHANNELS]', // [CHANNELS] = channels count
440 ),
441 'bytes_upload' => array // ENG [bytes upload on server in channel name] # PL [ilość danych wysłanych przez serwer]
442 (
443 'enabled' => false,
444 'channel_id' => 25772,
445 'channel_name' => '» Danych wysłanych: [UPLOAD]', // [UPLOAD] = bytes upload
446 ),
447 'bytes_download' => array // ENG [bytes download on server in channel name] # PL [ilość danych pobranych przez serwer]
448 (
449 'enabled' => false,
450 'channel_id' => 25771,
451 'channel_name' => '» Danych pobranych: [DOWNLOAD]', // [DWONLOAD] = bytes download
452 ),
453 ),
454 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 3,'seconds' => 0),
455 ),
456
457 // ENG [Support channels] # PL [Kanały pomocy]
458 'support_channels' => array
459 (
460 'enabled' => false,
461 'content' => array
462 (
463 'time_open' => array //Channels open at a specific time
464 (
465 '0' => array // growing number for example 1, 2, 3...
466 (
467 'channelId' => 0, // channel id
468 'time_open' => '09:00', // time of opening
469 'time_close' => '23:50', // time of closing
470 'channel_name_open' => '[»] Centrum Pomocy XBot', // channel name when opened
471 'channel_name_close' => '[»] Centrum Pomocy XBot [OFF]', // channel name when closed
472 'needed_join_power' => 1500, //when close
473 'change_maxfamily_clients' => false, // close family channels too
474 ),
475 '1' => array // growing number for example 1, 2, 3...
476 (
477 'channelId' => 114, // channel id
478 'time_open' => '09:00', // time of opening
479 'time_close' => '23:50', // time of closing
480 'channel_name_open' => '[»] Chcę zakupić usługę', // channel name when opened
481 'channel_name_close' => '[»] Chcę zakupić usługę [OFF]', // channel name when closed
482 'needed_join_power' => 1500, //when close
483 'change_maxfamily_clients' => false, // close family channels too
484 ),
485 ),
486 'open_when_admin' => array //Channels open when admin from server group is online
487 (
488 /*************************
489
490 ###
491 # open when admin from groups online: 'admin' => array(server_groups separated by comma),
492 ###
493
494 ###
495 # open when client online: 'admin' => client_database_id,
496 ###
497
498 *************************/
499
500 '0' => array // growing number for example 1, 2, 3...
501 (
502 'channelId' => 0, // channel id
503 'admin' => 0,
504 'channel_name_open' => '» Centrum pomocy [ON]', // channel name when opened
505 'channel_name_close' => '» Centrum pomocy[OFF]', // channel name when closed
506 'needed_join_power' => 200, //when close
507 'change_maxfamily_clients' => false, // close family channels too
508 ),
509 ),
510 ),
511 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 10),
512 ),
513
514 // ENG [Get vip channel] # PL [Otrzymywanie kanału vip]
515 'get_vip_channel' => array // Db must be on
516 (
517 'enabled' => false,
518 'if_client_on_channel' => array(19,20), // all checking channels id
519
520 //online_from_server_group function must be ON and get_server_group function must be ON
521
522 'info' => array
523 (
524 'VIP' => array //Zone name for example 'VIP' | 'GOLD'
525 (
526 'if_on_channel' => 19,
527 'server_group_copy' => 55, // server group to copy
528 'channel_group_id' => 12, // default channel admin group
529 'subchannels' => 5, // how many subchannels
530 'subchannels_red' => true, // true - max cleints = 0 | false - max clients = unlimited
531 'online_from_server_group' => true, // create channel with information about clients from server group
532 'get_server_group' => true, // create channel add/del server group
533 'after_channel' => 171, // the first channel for example spacer
534 'join_needed' => 100,
535
536 'spacer_between' => array
537 (
538 'enabled' => true,
539 'spacer_name' => '[*spacerVIP[NUM]]___',
540 'join_needed' => 150,
541 'modify_needed' => 100,
542 ),
543 'main_channel' => '[lspacer] [[NUM]] ViP', // [NUM] - vip channel number
544 'empty_topic' => '#WOLNY', // Topic in empty channel (remember it)
545 ),
546 'Diamond' => array //Zone name for example 'VIP' | 'GOLD'
547 (
548 'if_on_channel' => 20,
549 'server_group_copy' => 57, // server group to copy
550 'channel_group_id' => 12, // default channel admin group
551 'subchannels' => 15, // how many subchannels
552 'subchannels_red' => true, // true - max cleints = 0 | false - max clients = unlimited
553 'online_from_server_group' => true, // create channel with information about clients from server group
554 'get_server_group' => true, // create channel add/del server group
555 'after_channel' => 96, // the first channel for example spacer
556 'join_needed' => 150,
557
558 'spacer_between' => array
559 (
560 'enabled' => true,
561 'spacer_name' => '[*spacerDiamond[NUM]]---',
562 'join_needed' => 100,
563 'modify_needed' => 100,
564 ),
565 'main_channel' => '[lspacer] [[NUM]] Diamond', // [NUM] - vip channel number
566 'empty_topic' => '#WOLNY_D', // Topic in empty channel (remember it)
567 ),
568 ),
569 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 15),
570 ),
571
572 // ENG [Get vip channel spacer] # PL [Otrzymywanie kanału vip na spacerach]
573 'get_vip_channel_spacer' => array // Db must be on
574 (
575 'enabled' => false,
576 'if_client_on_channel' => array(1511,1553,1795,4699,5458,14415,20581), // all checking channels id
577 'create_interval' => 1000000, // In miliseconds
578
579 'info' => array
580 (
581 'Hard' => array //Zone name for example 'VIP' | 'GOLD'
582 (
583 'if_on_channel' => 20581,
584 'server_group_copy' => 204, // server group to copy
585 'channel_group_id' => 51, // default channel admin group
586 'after_channel' => 20580, // the first channel for example spacer
587 'online_from_server_group_name' => '[rspacere]Licznik: [SERVER_GROUP]| [ONLINE]/[MAX]', // [SERVER_GROUP] - group name, [ONLINE],
588
589 'spacers' => array
590 (
591 /*************************************
592
593 '1' => array // Growing number
594 (
595 'spacer' => array
596 (
597 'name' => '[cspacer] [[NUM]] Premium', // [NUM] - vip channel number
598 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
599 'join_needed' => 10, // Join needed permission
600 'subscribe_needed' => 0, // Subscribe needed permission
601 ),
602 'subchannels' => array
603 (
604 'count' => 0, // How many subchannels
605 'name' => 'Podkanał [NUM]', // [NUM] - subchannel number
606 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited
607 'join_needed' => 0, // Join needed permission
608 'subscribe_needed' => 0, // Subscribe needed permission
609 ),
610 ),
611
612 add `'get_group_spacer' => true` if get group must be a spacer
613 add `'online_group_spacer' => true` if online from group must be a spacer
614
615 add `'get_group_subchannel' => true` if get group must be in the subchannel
616 add `'online_group_subchannel' => true` if online from group must be in the subchannel
617
618 *************************************/
619
620 '1' => array // Main channel
621 (
622 'spacer' => array
623 (
624 'name' => '[cspacerhard]Hard #[NUM] | Nazwa tutaj!', // [NUM] - vip channel number
625 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
626 'join_needed' => 50, // Join needed permission
627 'subscribe_needed' => 0, // Subscribe needed permission
628 ),
629 'subchannels' => array
630 (
631 'count' => 0, // How many subchannels
632 'name' => 'Podkanał [NUM]', // [NUM] - subchannel number
633 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited
634 'join_needed' => 0, // Join needed permission
635 'subscribe_needed' => 0, // Subscribe needed permission
636 ),
637 ),
638 '2' => array // Main channel
639 (
640 'spacer' => array
641 (
642 'name' => '[cspacerhard1[NUM]]', // [NUM] - vip channel number
643 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
644 'join_needed' => 50, // Join needed permission
645 'subscribe_needed' => 0, // Subscribe needed permission
646 ),
647 'subchannels' => array
648 (
649 'count' => 0, // How many subchannels
650 'name' => 'Podkanał [NUM]', // [NUM] - subchannel number
651 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited
652 'join_needed' => 50, // Join needed permission
653 'subscribe_needed' => 0, // Subscribe needed permission
654 ),
655 ),
656 '3' => array // Main channel
657 (
658 'spacer' => array
659 (
660 'name' => '[rspacerh[NUM]]Licznik', // [NUM] - vip channel number
661 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
662 'join_needed' => 50, // Join needed permission
663 'subscribe_needed' => 0, // Subscribe needed permission
664 ),
665 'subchannels' => array
666 (
667 'count' => 0, // How many subchannels
668 'name' => 'Podkanał [NUM]', // [NUM] - subchannel number
669 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited
670 'join_needed' => 0, // Join needed permission
671 'subscribe_needed' => 0, // Subscribe needed permission
672 ),
673 'online_group_spacer' => true,
674 ),
675 '4' => array // Main channel
676 (
677 'spacer' => array
678 (
679 'name' => '[rspacerhl[NUM]]Nadaj/zabierz grupe', // [NUM] - vip channel number
680 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
681 'join_needed' => 50, // Join needed permission
682 'subscribe_needed' => 0, // Subscribe needed permission
683 ),
684 'subchannels' => array
685 (
686 'count' => 0, // How many subchannels
687 'name' => 'Podkanał [NUM]', // [NUM] - subchannel number
688 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited
689 'join_needed' => 50, // Join needed permission
690 'subscribe_needed' => 0, // Subscribe needed permission
691 ),
692 'get_group_spacer' => true,
693 ),
694 '5' => array
695 (
696 'spacer' => array
697 (
698 'name' => '[lspacerhard2[NUM]]', // [NUM] - vip channel number
699 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
700 'join_needed' => 50, // Join needed permission
701 'subscribe_needed' => 0, // Subscribe needed permission
702 ),
703 'subchannels' => array
704 (
705 'count' => 0, // How many subchannels
706 'name' => 'Zarząd: [NUM]', // [NUM] - subchannel number
707 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited
708 'join_needed' => 50, // Join needed permission
709 'subscribe_needed' => 0, // Subscribe needed permission
710 ),
711 ),
712 '6' => array
713 (
714 'spacer' => array
715 (
716 'name' => '[lspacerh[NUM]]Boty Muzyczne ', // [NUM] - vip channel number
717 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
718 'join_needed' => 50, // Join needed permission
719 'subscribe_needed' => 0, // Subscribe needed permission
720 ),
721 'subchannels' => array
722 (
723 'count' => 0, // How many subchannels
724 'name' => 'Kanał #[NUM]', // [NUM] - subchannel number
725 'subchannels_red' => false, // true - max clients = 0 | false - max clients = unlimited
726 'join_needed' => 10, // Join needed permission
727 'subscribe_needed' => 0, // Subscribe needed permission
728 ),
729 ),
730 '7' => array
731 (
732 'spacer' => array
733 (
734 'name' => '[lspacerhard3[NUM]]', // [NUM] - vip channel number
735 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
736 'join_needed' => 50, // Join needed permission
737 'subscribe_needed' => 0, // Subscribe needed permission
738 ),
739 'subchannels' => array
740 (
741 'count' => 0, // How many subchannels
742 'name' => 'Kanał #[NUM]', // [NUM] - subchannel number
743 'subchannels_red' => false, // true - max clients = 0 | false - max clients = unlimited
744 'join_needed' => 10, // Join needed permission
745 'subscribe_needed' => 0, // Subscribe needed permission
746 ),
747 ),
748 '8' => array
749 (
750 'spacer' => array
751 (
752 'name' => '[cspacerh[NUM]]☆ Liderowka ☆', // [NUM] - vip channel number
753 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
754 'join_needed' => 50, // Join needed permission
755 'subscribe_needed' => 0, // Subscribe needed permission
756 ),
757 'subchannels' => array
758 (
759 'count' => 3, // How many subchannels
760 'name' => '[◈ Lider ◈] #[NUM]', // [NUM] - subchannel number
761 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited
762 'join_needed' => 50, // Join needed permission
763 'subscribe_needed' => 0, // Subscribe needed permission
764 ),
765 ),
766 '9' => array
767 (
768 'spacer' => array
769 (
770 'name' => '[cspacerhard4[NUM]] ', // [NUM] - vip channel number
771 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
772 'join_needed' => 50, // Join needed permission
773 'subscribe_needed' => 0, // Subscribe needed permission
774 ),
775 'subchannels' => array
776 (
777 'count' => 0, // How many subchannels
778 'name' => 'Kanały #[NUM]', // [NUM] - subchannel number
779 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited
780 'join_needed' => 50, // Join needed permission
781 'subscribe_needed' => 0, // Subscribe needed permission
782 ),
783 ),
784 '10' => array
785 (
786 'spacer' => array
787 (
788 'name' => '[cspacerhard[NUM]]☆ Kanały główne ☆', // [NUM] - vip channel number
789 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
790 'join_needed' => 50, // Join needed permission
791 'subscribe_needed' => 0, // Subscribe needed permission
792 ),
793 'subchannels' => array
794 (
795 'count' => 10, // How many subchannels
796 'name' => 'Nazwij kanał #[NUM]', // [NUM] - subchannel number
797 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited
798 'join_needed' => 50, // Join needed permission
799 'subscribe_needed' => 0, // Subscribe needed permission
800 ),
801 ),
802 '11' => array
803 (
804 'spacer' => array
805 (
806 'name' => '[cspacerhl[NUM]] ', // [NUM] - vip channel number
807 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
808 'join_needed' => 50, // Join needed permission
809 'subscribe_needed' => 0, // Subscribe needed permission
810 ),
811 'subchannels' => array
812 (
813 'count' => 0, // How many subchannels
814 'name' => 'Kanały #[NUM]', // [NUM] - subchannel number
815 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited
816 'join_needed' => 50, // Join needed permission
817 'subscribe_needed' => 0, // Subscribe needed permission
818 ),
819 ),
820 '12' => array
821 (
822 'spacer' => array
823 (
824 'name' => '[cspacerErekru[NUM]]☆ Rekrutacja ☆', // [NUM] - vip channel number
825 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
826 'join_needed' => 50, // Join needed permission
827 'subscribe_needed' => 0, // Subscribe needed permission
828 ),
829 'subchannels' => array
830 (
831 'count' => 1, // How many subchannels
832 'name' => 'Poczekalnia', // [NUM] - subchannel number
833 'subchannels_red' => false, // true - max clients = 0 | false - max clients = unlimited
834 'join_needed' => 0, // Join needed permission
835 'subscribe_needed' => 0, // Subscribe needed permission
836 ),
837 ),
838 '13' => array
839 (
840 'spacer' => array
841 (
842 'name' => '[cspacerhard5[NUM]] ', // [NUM] - vip channel number
843 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
844 'join_needed' => 50, // Join needed permission
845 'subscribe_needed' => 0, // Subscribe needed permission
846 ),
847 'subchannels' => array
848 (
849 'count' => 0, // How many subchannels
850 'name' => 'Poczekalnia', // [NUM] - subchannel number
851 'subchannels_red' => false, // true - max clients = 0 | false - max clients = unlimited
852 'join_needed' => 0, // Join needed permission
853 'subscribe_needed' => 0, // Subscribe needed permission
854 ),
855 ),
856 ),
857 'spacer_between' => array
858 (
859 'enabled' => true,
860 'spacer_name' => '[*spacereelite[NUM]]- - -',
861 'join_needed' => 150,
862 'modify_needed' => 100,
863 ),
864 ),
865 'medium' => array //Zone name for example 'VIP' | 'GOLD'
866 (
867 'if_on_channel' => 5458,
868 'server_group_copy' => 435, // server group to copy
869 'channel_group_id' => 51, // default channel admin group
870 'after_channel' => 20353, // the first channel for example spacer
871 'online_from_server_group_name' => '[rspacerp]Licznik: [SERVER_GROUP]| [ONLINE]/[MAX]', // [SERVER_GROUP] - group name, [ONLINE],
872
873 'spacers' => array
874 (
875 /*************************************
876
877 '1' => array // Growing number
878 (
879 'spacer' => array
880 (
881 'name' => '[cspacer] [[NUM]] Premium', // [NUM] - vip channel number
882 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
883 'join_needed' => 10, // Join needed permission
884 'subscribe_needed' => 0, // Subscribe needed permission
885 ),
886 'subchannels' => array
887 (
888 'count' => 0, // How many subchannels
889 'name' => 'Podkanał [NUM]', // [NUM] - subchannel number
890 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited
891 'join_needed' => 0, // Join needed permission
892 'subscribe_needed' => 0, // Subscribe needed permission
893 ),
894 ),
895
896 add `'get_group_spacer' => true` if get group must be a spacer
897 add `'online_group_spacer' => true` if online from group must be a spacer
898
899 add `'get_group_subchannel' => true` if get group must be in the subchannel
900 add `'online_group_subchannel' => true` if online from group must be in the subchannel
901
902 *************************************/
903
904 '1' => array // Main channel
905 (
906 'spacer' => array
907 (
908 'name' => '[cspacerM]Medium | [[NUM]]', // [NUM] - vip channel number
909 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
910 'join_needed' => 50, // Join needed permission
911 'subscribe_needed' => 0, // Subscribe needed permission
912 ),
913 'subchannels' => array
914 (
915 'count' => 0, // How many subchannels
916 'name' => 'Podkanał [NUM]', // [NUM] - subchannel number
917 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited
918 'join_needed' => 0, // Join needed permission
919 'subscribe_needed' => 0, // Subscribe needed permission
920 ),
921 ),
922 '2' => array // Main channel
923 (
924 'spacer' => array
925 (
926 'name' => '[cspacerM[NUM]]Licznik', // [NUM] - vip channel number
927 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
928 'join_needed' => 50, // Join needed permission
929 'subscribe_needed' => 0, // Subscribe needed permission
930 ),
931 'subchannels' => array
932 (
933 'count' => 0, // How many subchannels
934 'name' => 'Podkanał [NUM]', // [NUM] - subchannel number
935 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited
936 'join_needed' => 50, // Join needed permission
937 'subscribe_needed' => 0, // Subscribe needed permission
938 ),
939 'online_group_spacer' => true,
940 ),
941 '3' => array // Main channel
942 (
943 'spacer' => array
944 (
945 'name' => '[spacerM[NUM]]Nadaj/zabierz grupe', // [NUM] - vip channel number
946 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
947 'join_needed' => 50, // Join needed permission
948 'subscribe_needed' => 0, // Subscribe needed permission
949 ),
950 'subchannels' => array
951 (
952 'count' => 0, // How many subchannels
953 'name' => 'Podkanał [NUM]', // [NUM] - subchannel number
954 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited
955 'join_needed' => 0, // Join needed permission
956 'subscribe_needed' => 0, // Subscribe needed permission
957 ),
958 'get_group_spacer' => true,
959 ),
960 '4' => array // Main channel
961 (
962 'spacer' => array
963 (
964 'name' => '[spacerM[NUM]]Boty Muzyczne', // [NUM] - vip channel number
965 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
966 'join_needed' => 50, // Join needed permission
967 'subscribe_needed' => 0, // Subscribe needed permission
968 ),
969 'subchannels' => array
970 (
971 'count' => 0, // How many subchannels
972 'name' => 'Podkanał [NUM]', // [NUM] - subchannel number
973 'subchannels_red' => false, // true - max clients = 0 | false - max clients = unlimited
974 'join_needed' => 0, // Join needed permission
975 'subscribe_needed' => 0, // Subscribe needed permission
976 ),
977 ),
978 '5' => array // Main channel
979 (
980 'spacer' => array
981 (
982 'name' => '[spacerM1[NUM]]', // [NUM] - vip channel number
983 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
984 'join_needed' => 50, // Join needed permission
985 'subscribe_needed' => 0, // Subscribe needed permission
986 ),
987 'subchannels' => array
988 (
989 'count' => 0, // How many subchannels
990 'name' => 'Podkanał [NUM]', // [NUM] - subchannel number
991 'subchannels_red' => false, // true - max clients = 0 | false - max clients = unlimited
992 'join_needed' => 0, // Join needed permission
993 'subscribe_needed' => 0, // Subscribe needed permission
994 ),
995 ),
996 '6' => array
997 (
998 'spacer' => array
999 (
1000 'name' => '[cspacerM[NUM]]☆ Liderowka ☆', // [NUM] - vip channel number
1001 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
1002 'join_needed' => 50, // Join needed permission
1003 'subscribe_needed' => 0, // Subscribe needed permission
1004 ),
1005 'subchannels' => array
1006 (
1007 'count' => 2, // How many subchannels
1008 'name' => '[• Lider •] #[NUM]', // [NUM] - subchannel number
1009 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited
1010 'join_needed' => 10, // Join needed permission
1011 'subscribe_needed' => 0, // Subscribe needed permission
1012 ),
1013 ),
1014 '7' => array
1015 (
1016 'spacer' => array
1017 (
1018 'name' => '[spacerM2[NUM]]', // [NUM] - vip channel number
1019 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
1020 'join_needed' => 50, // Join needed permission
1021 'subscribe_needed' => 0, // Subscribe needed permission
1022 ),
1023 'subchannels' => array
1024 (
1025 'count' => 0, // How many subchannels
1026 'name' => 'Poczekalnia', // [NUM] - subchannel number
1027 'subchannels_red' => false, // true - max clients = 0 | false - max clients = unlimited
1028 'join_needed' => 0, // Join needed permission
1029 'subscribe_needed' => 0, // Subscribe needed permission
1030 ),
1031 ),
1032 '8' => array
1033 (
1034 'spacer' => array
1035 (
1036 'name' => '[cspacerM[NUM]]☆ Kanały główne ☆', // [NUM] - vip channel number
1037 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
1038 'join_needed' => 50, // Join needed permission
1039 'subscribe_needed' => 0, // Subscribe needed permission
1040 ),
1041 'subchannels' => array
1042 (
1043 'count' => 7, // How many subchannels
1044 'name' => 'Nazwij kanał #[NUM]', // [NUM] - subchannel number
1045 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited
1046 'join_needed' => 10, // Join needed permission
1047 'subscribe_needed' => 0, // Subscribe needed permission
1048 ),
1049 ),
1050 '9' => array
1051 (
1052 'spacer' => array
1053 (
1054 'name' => '[spacerM3[NUM]]', // [NUM] - vip channel number
1055 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
1056 'join_needed' => 50, // Join needed permission
1057 'subscribe_needed' => 0, // Subscribe needed permission
1058 ),
1059 'subchannels' => array
1060 (
1061 'count' => 0, // How many subchannels
1062 'name' => 'Poczekalnia', // [NUM] - subchannel number
1063 'subchannels_red' => false, // true - max clients = 0 | false - max clients = unlimited
1064 'join_needed' => 0, // Join needed permission
1065 'subscribe_needed' => 0, // Subscribe needed permission
1066 ),
1067 ),
1068 '10' => array
1069 (
1070 'spacer' => array
1071 (
1072 'name' => '[lspacerM[NUM]]Rekrutacyjne', // [NUM] - vip channel number
1073 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
1074 'join_needed' => 50, // Join needed permission
1075 'subscribe_needed' => 0, // Subscribe needed permission
1076 ),
1077 'subchannels' => array
1078 (
1079 'count' => 1, // How many subchannels
1080 'name' => 'Rekrutacja #[NUM]', // [NUM] - subchannel number
1081 'subchannels_red' => false, // true - max clients = 0 | false - max clients = unlimited
1082 'join_needed' => 0, // Join needed permission
1083 'subscribe_needed' => 0, // Subscribe needed permission
1084 ),
1085 ),
1086 ),
1087 'spacer_between' => array
1088 (
1089 'enabled' => true,
1090 'spacer_name' => '[*spacerM[NUM]]- - -',
1091 'join_needed' => 50,
1092 'modify_needed' => 100,
1093 'subscribe_needed' => 0,
1094 ),
1095 ),
1096 'bronze' => array //Zone name for example 'VIP' | 'GOLD'
1097 (
1098 'if_on_channel' => 1795,
1099 'server_group_copy' => 516, // server group to copy
1100 'channel_group_id' => 51, // default channel admin group
1101 'after_channel' => 179, // the first channel for example spacer
1102 'online_from_server_group_name' => '[lspacerq]Licznik: [SERVER_GROUP]| [ONLINE]/[MAX]', // [SERVER_GROUP] - group name, [ONLINE],
1103
1104 'spacers' => array
1105 (
1106 /*************************************
1107
1108 '1' => array // Growing number
1109 (
1110 'spacer' => array
1111 (
1112 'name' => '[cspacer] [[NUM]] Premium', // [NUM] - vip channel number
1113 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
1114 'join_needed' => 10, // Join needed permission
1115 'subscribe_needed' => 0, // Subscribe needed permission
1116 ),
1117 'subchannels' => array
1118 (
1119 'count' => 0, // How many subchannels
1120 'name' => 'Podkanał [NUM]', // [NUM] - subchannel number
1121 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited
1122 'join_needed' => 0, // Join needed permission
1123 'subscribe_needed' => 0, // Subscribe needed permission
1124 ),
1125 ),
1126
1127 add `'get_group_spacer' => true` if get group must be a spacer
1128 add `'online_group_spacer' => true` if online from group must be a spacer
1129
1130 add `'get_group_subchannel' => true` if get group must be in the subchannel
1131 add `'online_group_subchannel' => true` if online from group must be in the subchannel
1132
1133 *************************************/
1134
1135 '1' => array // Main channel
1136 (
1137 'spacer' => array
1138 (
1139 'name' => '[*spacervvip[NUM]]', // [NUM] - vip channel number
1140 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
1141 'join_needed' => 50, // Join needed permission
1142 'subscribe_needed' => 0, // Subscribe needed permission
1143 ),
1144 'subchannels' => array
1145 (
1146 'count' => 0, // How many subchannels
1147 'name' => 'Podkanał [NUM]', // [NUM] - subchannel number
1148 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited
1149 'join_needed' => 0, // Join needed permission
1150 'subscribe_needed' => 0, // Subscribe needed permission
1151 ),
1152 ),
1153 '2' => array // Main channel
1154 (
1155 'spacer' => array
1156 (
1157 'name' => '[lspacerqip[NUM]]Bronze #[NUM]', // [NUM] - vip channel number
1158 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
1159 'join_needed' => 50, // Join needed permission
1160 'subscribe_needed' => 0, // Subscribe needed permission
1161 ),
1162 'subchannels' => array
1163 (
1164 'count' => 0, // How many subchannels
1165 'name' => 'Podkanał [NUM]', // [NUM] - subchannel number
1166 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited
1167 'join_needed' => 50, // Join needed permission
1168 'subscribe_needed' => 0, // Subscribe needed permission
1169 ),
1170 ),
1171 '3' => array // Main channel
1172 (
1173 'spacer' => array
1174 (
1175 'name' => '[lspacerqqv[NUM]]Licznik', // [NUM] - vip channel number
1176 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
1177 'join_needed' => 50, // Join needed permission
1178 'subscribe_needed' => 0, // Subscribe needed permission
1179 ),
1180 'subchannels' => array
1181 (
1182 'count' => 0, // How many subchannels
1183 'name' => 'Podkanał [NUM]', // [NUM] - subchannel number
1184 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited
1185 'join_needed' => 0, // Join needed permission
1186 'subscribe_needed' => 0, // Subscribe needed permission
1187 ),
1188 'online_group_spacer' => true,
1189 ),
1190 '5' => array // Main channel
1191 (
1192 'spacer' => array
1193 (
1194 'name' => '[lspacerqvip[NUM]]Nadaj/usuń range', // [NUM] - vip channel number
1195 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
1196 'join_needed' => 50, // Join needed permission
1197 'subscribe_needed' => 0, // Subscribe needed permission
1198 ),
1199 'subchannels' => array
1200 (
1201 'count' => 0, // How many subchannels
1202 'name' => 'Podkanał [NUM]', // [NUM] - subchannel number
1203 'subchannels_red' => false, // true - max clients = 0 | false - max clients = unlimited
1204 'join_needed' => 0, // Join needed permission
1205 'subscribe_needed' => 0, // Subscribe needed permission
1206 ),
1207 'get_group_spacer' => true,
1208 ),
1209 '6' => array
1210 (
1211 'spacer' => array
1212 (
1213 'name' => '[cspacervip_q[NUM]] ', // [NUM] - vip channel number
1214 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
1215 'join_needed' => 50, // Join needed permission
1216 'subscribe_needed' => 0, // Subscribe needed permission
1217 ),
1218 'subchannels' => array
1219 (
1220 'count' => 0, // How many subchannels
1221 'name' => 'Zarząd: [NUM]', // [NUM] - subchannel number
1222 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited
1223 'join_needed' => 50, // Join needed permission
1224 'subscribe_needed' => 0, // Subscribe needed permission
1225 ),
1226 ),
1227 '7' => array
1228 (
1229 'spacer' => array
1230 (
1231 'name' => '[lspacerv_q[NUM]]Kanały głowne', // [NUM] - vip channel number
1232 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
1233 'join_needed' => 50, // Join needed permission
1234 'subscribe_needed' => 0, // Subscribe needed permission
1235 ),
1236 'subchannels' => array
1237 (
1238 'count' => 5, // How many subchannels
1239 'name' => 'Kanał #[NUM]', // [NUM] - subchannel number
1240 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited
1241 'join_needed' => 10, // Join needed permission
1242 'subscribe_needed' => 0, // Subscribe needed permission
1243 ),
1244 ),
1245 '8' => array
1246 (
1247 'spacer' => array
1248 (
1249 'name' => '[lspacervip_q1[NUM]] ', // [NUM] - vip channel number
1250 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
1251 'join_needed' => 50, // Join needed permission
1252 'subscribe_needed' => 0, // Subscribe needed permission
1253 ),
1254 'subchannels' => array
1255 (
1256 'count' => 1, // How many subchannels
1257 'name' => 'Poczekalnia', // [NUM] - subchannel number
1258 'subchannels_red' => false, // true - max clients = 0 | false - max clients = unlimited
1259 'join_needed' => 0, // Join needed permission
1260 'subscribe_needed' => 0, // Subscribe needed permission
1261 ),
1262 ),
1263 ),
1264 'spacer_between' => array
1265 (
1266 'enabled' => true,
1267 'spacer_name' => '[*spacerrbr[NUM]]- - -',
1268 'join_needed' => 50,
1269 'modify_needed' => 100,
1270 'subscribe_needed' => 0,
1271 ),
1272 ),
1273 'Until Dawn' => array //Zone name for example 'VIP' | 'GOLD'
1274 (
1275 'if_on_channel' => 14415,
1276 'server_group_copy' => 849, // server group to copy
1277 'channel_group_id' => 51, // default channel admin group
1278 'after_channel' => 14414, // the first channel for example spacer
1279 'online_from_server_group_name' => '[lspacerU]Licznik: [SERVER_GROUP]| [ONLINE]/[MAX]', // [SERVER_GROUP] - group name, [ONLINE],
1280
1281 'spacers' => array
1282 (
1283 /*************************************
1284
1285 '1' => array // Growing number
1286 (
1287 'spacer' => array
1288 (
1289 'name' => '[cspacer] [[NUM]] Premium', // [NUM] - vip channel number
1290 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
1291 'join_needed' => 10, // Join needed permission
1292 'subscribe_needed' => 0, // Subscribe needed permission
1293 ),
1294 'subchannels' => array
1295 (
1296 'count' => 0, // How many subchannels
1297 'name' => 'Podkanał [NUM]', // [NUM] - subchannel number
1298 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited
1299 'join_needed' => 0, // Join needed permission
1300 'subscribe_needed' => 0, // Subscribe needed permission
1301 ),
1302 ),
1303
1304 add `'get_group_spacer' => true` if get group must be a spacer
1305 add `'online_group_spacer' => true` if online from group must be a spacer
1306
1307 add `'get_group_subchannel' => true` if get group must be in the subchannel
1308 add `'online_group_subchannel' => true` if online from group must be in the subchannel
1309
1310 *************************************/
1311
1312 '1' => array // Main channel
1313 (
1314 'spacer' => array
1315 (
1316 'name' => '[cspacerU[NUM]]Until Dawn', // [NUM] - vip channel number
1317 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
1318 'join_needed' => 50, // Join needed permission
1319 'subscribe_needed' => 0, // Subscribe needed permission
1320 ),
1321 'subchannels' => array
1322 (
1323 'count' => 0, // How many subchannels
1324 'name' => 'Podkanał [NUM]', // [NUM] - subchannel number
1325 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited
1326 'join_needed' => 0, // Join needed permission
1327 'subscribe_needed' => 0, // Subscribe needed permission
1328 ),
1329 ),
1330 '2' => array // Main channel
1331 (
1332 'spacer' => array
1333 (
1334 'name' => '[*spacerU[NUM]]', // [NUM] - vip channel number
1335 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
1336 'join_needed' => 50, // Join needed permission
1337 'subscribe_needed' => 0, // Subscribe needed permission
1338 ),
1339 'subchannels' => array
1340 (
1341 'count' => 0, // How many subchannels
1342 'name' => 'Podkanał [NUM]', // [NUM] - subchannel number
1343 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited
1344 'join_needed' => 50, // Join needed permission
1345 'subscribe_needed' => 0, // Subscribe needed permission
1346 ),
1347 ),
1348 '3' => array // Main channel
1349 (
1350 'spacer' => array
1351 (
1352 'name' => '[lspacerU[NUM]]Licznik', // [NUM] - vip channel number
1353 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
1354 'join_needed' => 50, // Join needed permission
1355 'subscribe_needed' => 0, // Subscribe needed permission
1356 ),
1357 'subchannels' => array
1358 (
1359 'count' => 0, // How many subchannels
1360 'name' => 'Podkanał [NUM]', // [NUM] - subchannel number
1361 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited
1362 'join_needed' => 0, // Join needed permission
1363 'subscribe_needed' => 0, // Subscribe needed permission
1364 ),
1365 'online_group_spacer' => true,
1366 ),
1367 '4' => array // Main channel
1368 (
1369 'spacer' => array
1370 (
1371 'name' => '[lspacerU[NUM]]Nadaj/usuń range', // [NUM] - vip channel number
1372 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
1373 'join_needed' => 50, // Join needed permission
1374 'subscribe_needed' => 0, // Subscribe needed permission
1375 ),
1376 'subchannels' => array
1377 (
1378 'count' => 0, // How many subchannels
1379 'name' => 'Podkanał [NUM]', // [NUM] - subchannel number
1380 'subchannels_red' => false, // true - max clients = 0 | false - max clients = unlimited
1381 'join_needed' => 0, // Join needed permission
1382 'subscribe_needed' => 0, // Subscribe needed permission
1383 ),
1384 'get_group_spacer' => true,
1385 ),
1386 '5' => array
1387 (
1388 'spacer' => array
1389 (
1390 'name' => '[cspacerU12[NUM]] ', // [NUM] - vip channel number
1391 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
1392 'join_needed' => 50, // Join needed permission
1393 'subscribe_needed' => 0, // Subscribe needed permission
1394 ),
1395 'subchannels' => array
1396 (
1397 'count' => 0, // How many subchannels
1398 'name' => 'Zarząd: [NUM]', // [NUM] - subchannel number
1399 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited
1400 'join_needed' => 50, // Join needed permission
1401 'subscribe_needed' => 0, // Subscribe needed permission
1402 ),
1403 ),
1404
1405 '6' => array
1406 (
1407 'spacer' => array
1408 (
1409 'name' => '[cspacerU1[NUM]]Liderka', // [NUM] - vip channel number
1410 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
1411 'join_needed' => 50, // Join needed permission
1412 'subscribe_needed' => 0, // Subscribe needed permission
1413 ),
1414 'subchannels' => array
1415 (
1416 'count' => 5, // How many subchannels
1417 'name' => 'Zarząd: [NUM]', // [NUM] - subchannel number
1418 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited
1419 'join_needed' => 50, // Join needed permission
1420 'subscribe_needed' => 0, // Subscribe needed permission
1421 ),
1422 ),
1423 '7' => array
1424 (
1425 'spacer' => array
1426 (
1427 'name' => '[cspacerv_U24[NUM]]', // [NUM] - vip channel number
1428 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
1429 'join_needed' => 50, // Join needed permission
1430 'subscribe_needed' => 0, // Subscribe needed permission
1431 ),
1432 'subchannels' => array
1433 (
1434 'count' => 0, // How many subchannels
1435 'name' => 'Kanał #[NUM]', // [NUM] - subchannel number
1436 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited
1437 'join_needed' => 10, // Join needed permission
1438 'subscribe_needed' => 0, // Subscribe needed permission
1439 ),
1440 ),
1441 '8' => array
1442 (
1443 'spacer' => array
1444 (
1445 'name' => '[cspacerv_U[NUM]]Kanały głowne', // [NUM] - vip channel number
1446 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
1447 'join_needed' => 50, // Join needed permission
1448 'subscribe_needed' => 0, // Subscribe needed permission
1449 ),
1450 'subchannels' => array
1451 (
1452 'count' => 10, // How many subchannels
1453 'name' => 'Kanał #[NUM]', // [NUM] - subchannel number
1454 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited
1455 'join_needed' => 10, // Join needed permission
1456 'subscribe_needed' => 0, // Subscribe needed permission
1457 ),
1458 ),
1459 '9' => array
1460 (
1461 'spacer' => array
1462 (
1463 'name' => '[cspacerv_U244[NUM]]', // [NUM] - vip channel number
1464 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
1465 'join_needed' => 50, // Join needed permission
1466 'subscribe_needed' => 0, // Subscribe needed permission
1467 ),
1468 'subchannels' => array
1469 (
1470 'count' => 0, // How many subchannels
1471 'name' => 'Kanał #[NUM]', // [NUM] - subchannel number
1472 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited
1473 'join_needed' => 10, // Join needed permission
1474 'subscribe_needed' => 0, // Subscribe needed permission
1475 ),
1476 ),
1477
1478 '10' => array
1479 (
1480 'spacer' => array
1481 (
1482 'name' => '[cspacervip_U2[NUM]]Rekrutacja', // [NUM] - vip channel number
1483 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
1484 'join_needed' => 50, // Join needed permission
1485 'subscribe_needed' => 0, // Subscribe needed permission
1486 ),
1487 'subchannels' => array
1488 (
1489 'count' => 1, // How many subchannels
1490 'name' => 'Poczekalnia', // [NUM] - subchannel number
1491 'subchannels_red' => false, // true - max clients = 0 | false - max clients = unlimited
1492 'join_needed' => 0, // Join needed permission
1493 'subscribe_needed' => 0, // Subscribe needed permission
1494 ),
1495 ),
1496 ),
1497 'spacer_between' => array
1498 (
1499 'enabled' => true,
1500 'spacer_name' => '[*spacerrU[NUM]]- - -',
1501 'join_needed' => 50,
1502 'modify_needed' => 100,
1503 'subscribe_needed' => 0,
1504 ),
1505 ),
1506 ),
1507 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 15),
1508 ),
1509
1510 // ENG [Information on channel about twitch/youtube channel] # PL [Informacje o kanale twitch/youtube]
1511 'twitch_yt' => array
1512 (
1513 'enabled' => false,
1514 'info' => array
1515 (
1516 'twitch_enabled' => true,
1517 'twitch_api_key' => 'oaocbf2zpmv6807kp9jcxkwmcjvq5a', // you can change it if you want https://www.twitch.tv/settings/connections
1518 'twitch' => array
1519 (
1520 'izakooo' => array //Twitch channel name
1521 (
1522 'main_channel' => array //Channel where will be description
1523 (
1524 'channel_id' => 23,
1525 'channel_name' => '» [Twitch] izakooo [STATUS_TWITCH]', //[STATUS_TWITCH] - on live or no
1526 ),
1527 'follows' => array //Channel where will be followers count in channel name
1528 (
1529 'channel_id' => 464,
1530 'channel_name' => '» Followersów: [FOLLOWS]', //[FOLLOWS] - FOLLOWS count
1531 ),
1532 ),
1533 ),
1534 'youtube_enabled' => true,
1535 'youtube_api_key' => 'AIzaSyDSeoveGEL2Tycy3M2FBnf5uyPVlZk7et8', // YouTube api key
1536 'youtube' => array
1537 (
1538 /*****************************************
1539
1540 'UC-suExuAUNgJmyKcxA-PGzg' => array //YouTube channel id
1541 (
1542 'main_channel' => array //Channel where will be description and SUBS in channel name
1543 (
1544 'channel_id' => 0, //channel id
1545 'channel_name' => '[ YouTuber ] Ramzes: [SUBS] subów', //[SUBS] - subscribers //[NAME] - youtuber nick
1546 ),
1547 'videos_count' => array //Channel where will be Videos count in channel name
1548 (
1549 'channel_id' => 0, //channel id
1550 'channel_name' => '» Filmów na kanale: [VIDEOS]', //[VIDEOS] - videos count
1551 ),
1552 'views_count' => array //Channel where will be views count in channel name
1553 (
1554 'channel_id' => 0, //channel id
1555 'channel_name' => '» Wyświetleń: [VIEWS]', //[VIEWS] - views count
1556 ),
1557 ),
1558
1559 ******************************************/
1560
1561 'UCSeqSPSJDl0EXezzjJrwQNg' => array //YouTube channel id
1562 (
1563 'main_channel' => array //Channel where will be description and SUBS in channel name
1564 (
1565 'channel_id' => 24,
1566 'channel_name' => '» [YouTuber] izak LIVE: [SUBS] subów', //[SUBS] - subscribers //[NAME] - youtuber nick
1567 ),
1568 'videos_count' => array //Channel where will be Videos count in channel name
1569 (
1570 'channel_id' => 25,
1571 'channel_name' => '» Filmów na kanale: [VIDEOS]', //[VIDEOS] - videos count
1572 ),
1573 'views_count' => array //Channel where will be views count in channel name
1574 (
1575 'channel_id' => 26,
1576 'channel_name' => '» Wyświetleń: [VIEWS]', //[VIEWS] - views count
1577 ),
1578 ),
1579 ),
1580 ),
1581 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 7,'seconds' => 0),
1582 ),
1583
1584 // ENG [clients online from server group] # PL [użytkownicy danej grupy serwera online]
1585 'online_from_server_group' => array
1586 (
1587 'enabled' => true,
1588 'show_time' => true, //only for groups which have maximal 15 members | true / false
1589 'max_users' => 40, //max users in description
1590
1591 'info' => array
1592 (
1593 /*******************************
1594
1595 233 => array // Channel ID
1596 (
1597 'server_groups' => array(10), // Server groups separated by comma
1598 'show_description' => true, // Show users in description
1599 'only_online' => true, // Show only online clients
1600 'channel_name' => '[rspacer]Online z [SERVER_GROUP]: [ONLINE]/[MAX]', // Channel name
1601 'top_description' => '| Lista osób z rangi: [SERVER_GROUP] |', // Top description
1602 ),
1603
1604 *******************************/
1605
1606 22885 => array // Channel ID
1607 (
1608 'server_groups' => array(30), // Server groups separated by comma
1609 'show_description' => true, // Show users in description
1610 'only_online' => false, // Show only online clients
1611 'channel_name' => '[lspacer][SERVER_GROUP]: [ONLINE]/[MAX]', // Channel name
1612 'top_description' => '| Lista osób z rangi: [SERVER_GROUP] |', // Top description
1613 ),
1614 22891 => array // Channel ID
1615 (
1616 'server_groups' => array(902), // Server groups separated by comma
1617 'show_description' => true, // Show users in description
1618 'only_online' => false, // Show only online clients
1619 'channel_name' => '[lspacer][SERVER_GROUP]: [ONLINE]/[MAX]', // Channel name
1620 'top_description' => '| Lista osób z rangi: [SERVER_GROUP] |', // Top description
1621 ),
1622 22895 => array // Channel ID
1623 (
1624 'server_groups' => array(76), // Server groups separated by comma
1625 'show_description' => true, // Show users in description
1626 'only_online' => false, // Show only online clients
1627 'channel_name' => '[lspacer][SERVER_GROUP]: [ONLINE]/[MAX]', // Channel name
1628 'top_description' => '| Lista osób z rangi: [SERVER_GROUP] |', // Top description
1629 ),
1630 22911 => array // Channel ID
1631 (
1632 'server_groups' => array(38), // Server groups separated by comma
1633 'show_description' => true, // Show users in description
1634 'only_online' => false, // Show only online clients
1635 'channel_name' => '[lspacer][SERVER_GROUP]: [ONLINE]/[MAX]', // Channel name
1636 'top_description' => '| Lista osób z rangi: [SERVER_GROUP] |', // Top description
1637 ),
1638 22918 => array // Channel ID
1639 (
1640 'server_groups' => array(48), // Server groups separated by comma
1641 'show_description' => true, // Show users in description
1642 'only_online' => false, // Show only online clients
1643 'channel_name' => '[lspacer][SERVER_GROUP]: [ONLINE]/[MAX]', // Channel name
1644 'top_description' => '| Lista osób z rangi: [SERVER_GROUP] |', // Top description
1645 ),
1646 22919 => array // Channel ID
1647 (
1648 'server_groups' => array(88), // Server groups separated by comma
1649 'show_description' => true, // Show users in description
1650 'only_online' => false, // Show only online clients
1651 'channel_name' => '[lspacer][SERVER_GROUP]: [ONLINE]/[MAX]', // Channel name
1652 'top_description' => '| Lista osób z rangi: [SERVER_GROUP] |', // Top description
1653 ),
1654 22920 => array // Channel ID
1655 (
1656 'server_groups' => array(49), // Server groups separated by comma
1657 'show_description' => true, // Show users in description
1658 'only_online' => false, // Show only online clients
1659 'channel_name' => '[lspacer][SERVER_GROUP]: [ONLINE]/[MAX]', // Channel name
1660 'top_description' => '| Lista osób z rangi: [SERVER_GROUP] |', // Top description
1661 ),
1662 22921 => array // Channel ID
1663 (
1664 'server_groups' => array(815), // Server groups separated by comma
1665 'show_description' => true, // Show users in description
1666 'only_online' => false, // Show only online clients
1667 'channel_name' => '[lspacer][SERVER_GROUP]: [ONLINE]/[MAX]', // Channel name
1668 'top_description' => '| Lista osób z rangi: [SERVER_GROUP] |', // Top description
1669 ),
1670 ),
1671 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 6,'seconds' => 0),
1672 ),
1673
1674 // ENG [assign server group if client enters a channel] # PL [przypisz grupę serwera po wejściu na kanal]
1675 'get_server_group' => array
1676 (
1677 'enabled' => false,
1678 'if_client_on_channel' => array(17247,15613,17248), //all checking channels id
1679 'delete_rang' => true, //delete rang if client is on channel
1680 'client_kick' => false, //Kick client from channel after assignment/deleted group | true / false
1681 'poke_client' => false, //Poke client for example: You have just received clan group!
1682 'add_channel_group' => array //Only for channels from fucntion get_vip_channel and get_vip_channel_spacer
1683 (
1684 'enabled' => false,
1685 'guest_channel_group' => 15, //default, guest channel group
1686 'zones' => array
1687 (
1688 /**************
1689 'zone_name' => 'channel_group',
1690 **************/
1691 'vip' => 45,
1692 'Elite' => 45,
1693 'mc' => 45,
1694
1695 ),
1696 ),
1697 'info' => array
1698 (
1699 17247 => 942, //kissme acc
1700 15613 => 940, //kissme mb
1701 17248 => 941, //kissme acc mb
1702 ),
1703 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 10),
1704 ),
1705
1706 // ENG [Ddos information] # PL [Informacje o ddos]
1707 'ddos_information' => array
1708 (
1709 'enabled' => false,
1710 'file' => 'include/cache/ddos_information.txt',
1711 'packet_loss' => 10, //from what packet loss%(numeric) send global information
1712 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 30),
1713 ),
1714
1715 // ENG [Informing about client in channel name] # PL [Status użytkownika w nazwie kanalu]
1716 'client_on_channel' => array
1717 (
1718 'enabled' => true,
1719 'server_groups_id' => array(30,867,87,76,38,48,88,49,815,902), //all checking client's server groups
1720 'ignored_groups' => array(65),
1721 'idle_time' => 1800, //idle time to have away status (in seconds)
1722 'show_description' => true, //show description on channels
1723 'status' => array
1724 (
1725 'online' => '✔',
1726 'offline' => '✖',
1727 'away' => '☎',
1728 ),
1729 'info' => array
1730 (
1731 /***************************************************************
1732
1733 (you can copy this to use this function many times)
1734
1735 10 => array //client databse id => array
1736 (
1737 'channel_id' => 432, //channel id
1738 'format' => '[RANG] >> [NICK] >> [STATUS]', //format on channel name [RANG] - server group name, [NICK] - client nick, [STATUS] - client status (online/away/offline)
1739 'fb' => 'https://www.facebook.com/XBot-bot-na-tw%C3%B3j-serwer-TS3-1719172075053504/messages/', //If none set 0
1740 'email' => 'battnik90@gmail.com', //If none set 0
1741 ),
1742
1743 ***************************************************************/
1744
1745 7274 => array // StW
1746 (
1747 'channel_id' => 1525, //channel id
1748 'format' => ' [NICK] - [· [STATUS] ·]', //format on channel name [RANG] - server group name, [NICK] - client nick, [STATUS] - client status (online/away/offline)
1749 'fb' => '0',
1750 'email' => '0',
1751 ),
1752 1437 => array // stanik
1753 (
1754 'channel_id' => 1526, //channel id
1755 'format' => ' [NICK] - [· [STATUS] ·]', //format on channel name [RANG] - server group name, [NICK] - client nick, [STATUS] - client status (online/away/offline)
1756 'fb' => '0',
1757 'email' => '0',
1758 ),
1759 11904 => array // murall
1760 (
1761 'channel_id' => 21705, //channel id
1762 'format' => ' [NICK] - [· [STATUS] ·]', //format on channel name [RANG] - server group name, [NICK] - client nick, [STATUS] - client status (online/away/offline)
1763 'fb' => '0',
1764 'email' => '0',
1765 ),
1766 7045 => array // kth
1767 (
1768 'channel_id' => 17774, //channel id
1769 'format' => ' [NICK] - [· [STATUS] ·]', //format on channel name [RANG] - server group name, [NICK] - client nick, [STATUS] - client status (online/away/offline)
1770 'fb' => '0',
1771 'email' => '0',
1772 ),
1773 8786 => array // sprint
1774 (
1775 'channel_id' => 22901, //channel id
1776 'format' => ' [NICK] - [· [STATUS] ·]', //format on channel name [RANG] - server group name, [NICK] - client nick, [STATUS] - client status (online/away/offline)
1777 'fb' => '0',
1778 'email' => '0',
1779 ),
1780 11479 => array // maciek
1781 (
1782 'channel_id' => 21559, //channel id
1783 'format' => ' [NICK] - [· [STATUS] ·]', //format on channel name [RANG] - server group name, [NICK] - client nick, [STATUS] - client status (online/away/offline)
1784 'fb' => '0',
1785 'email' => '0',
1786 ),
1787 1960 => array // natala
1788 (
1789 'channel_id' => 9871, //channel id
1790 'format' => ' [NICK] - [· [STATUS] ·]', //format on channel name [RANG] - server group name, [NICK] - client nick, [STATUS] - client status (online/away/offline)
1791 'fb' => '0',
1792 'email' => '0',
1793 ),
1794 3205 => array // zgredek
1795 (
1796 'channel_id' => 22896, //channel id
1797 'format' => ' S-Z-O-R-T-Y [· [STATUS] ·]', //format on channel name [RANG] - server group name, [NICK] - client nick, [STATUS] - client status (online/away/offline)
1798 'fb' => '0',
1799 'email' => '0',
1800 ),
1801 8058 => array // napizgana
1802 (
1803 'channel_id' => 22898, //channel id
1804 'format' => ' [NICK] - [· [STATUS] ·]', //format on channel name [RANG] - server group name, [NICK] - client nick, [STATUS] - client status (online/away/offline)
1805 'fb' => '0',
1806 'email' => '0',
1807 ),
1808 7145 => array // mocarz
1809 (
1810 'channel_id' => 22922, //channel id
1811 'format' => ' [NICK] - [· [STATUS] ·]', //format on channel name [RANG] - server group name, [NICK] - client nick, [STATUS] - client status (online/away/offline)
1812 'fb' => '0',
1813 'email' => '0',
1814 ),
1815 8279 => array // acro
1816 (
1817 'channel_id' => 22899, //channel id
1818 'format' => ' [NICK] - [· [STATUS] ·]', //format on channel name [RANG] - server group name, [NICK] - client nick, [STATUS] - client status (online/away/offline)
1819 'fb' => '0',
1820 'email' => '0',
1821 ),
1822 8283 => array // yoby
1823 (
1824 'channel_id' => 22903, //channel id
1825 'format' => ' [NICK] - [· [STATUS] ·]', //format on channel name [RANG] - server group name, [NICK] - client nick, [STATUS] - client status (online/away/offline)
1826 'fb' => '0',
1827 'email' => '0',
1828 ),
1829 4819 => array // kru
1830 (
1831 'channel_id' => 22904, //channel id
1832 'format' => ' [NICK] - [· [STATUS] ·]', //format on channel name [RANG] - server group name, [NICK] - client nick, [STATUS] - client status (online/away/offline)
1833 'fb' => '0',
1834 'email' => '0',
1835 ),
1836 ),
1837 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 30),
1838 ),
1839
1840 // ENG [Status sinusbot] # PL [Status sinusbotów]
1841 'status_sinusbot' => array
1842 (
1843 'enabled' => false,
1844 'channel_id' => 28,
1845 'bots_server_groups' => array(31),
1846 'top_description' => '[img]https://i.imgur.com/cWwskNb.png[/img]',
1847 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 0),
1848 ),
1849
1850 // ENG [List of server queries online] # PL [Lista klientów server query online]
1851 'server_query_online' => array
1852 (
1853 'enabled' => true,
1854 'channel_id' => 23197,
1855 'channel_name' => 'Query online: [ONLINE]', //[ONLINE] - Server Query online
1856 'top_description' => 'Lista querek online',
1857 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 2,'seconds' => 0),
1858 ),
1859
1860 // ENG [Ban list] # PL [Lista banów]
1861 'ban_list' => array
1862 (
1863 'enabled' => false,
1864 'channel_id' => 1558,
1865 'how_many' => 10,
1866 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 0),
1867 ),
1868
1869 // ENG [Facebook posts] # PL [Posty z facebook'a]
1870 'facebook_posts' => array
1871 (
1872 'enabled' => false,
1873 'channel_id' => 31,
1874 'channel_name' => '» Fanpage (Likes: [LIKES])', //[LIKES] - likes count
1875 'page_id' => '1719172075053504', //You can find it on website: https://findmyfbid.com/
1876 'access_token' => '',
1877 'posts' => 1,
1878 'link_to_fanpage' => 'https://www.facebook.com/XBot-bot-na-tw%C3%B3j-serwer-TS3-1719172075053504/',
1879 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 1,'minutes' => 0,'seconds' => 0),
1880 ),
1881
1882 // ENG [Game servers' info] # PL [Informacje o serwerach gier]
1883 'servers_info' => array
1884 (
1885 'enabled' => false,
1886 'info' => array
1887 (
1888 /******************************************
1889
1890 0 => array
1891 (
1892 'type' => 'server_type',
1893 'host' => 'ip:port', //for example 195.32.532.321:1045
1894 'channel_id' => channel_id(value), //for exaple 45
1895 'channel_name' => 'channel_name(value)',
1896 ),
1897
1898 server_type: 'cs16' - CS 1.6 server | 'csgo' - CS:GO server | 'minecraft' - Minecraft server
1899 All servers: https://github.com/Austinb/GameQ/tree/v3/src/GameQ/Protocols
1900
1901 vars in channel name: [NAME] - name of server | [CLIENTS_ONLINE] - online clients | [CLIENTS_MAX] - max clients | [MAP] - map in CS servers | [VERSION] - version in minecraft server
1902
1903 For example:
1904
1905 0 => array growing number from 0 (0,1,2,3,4,5,itd)
1906 (
1907 'type' => 'cs16',
1908 'host' => '193.70.125.254:27030',
1909 'channel_id' => 20922,
1910 'channel_name' => 'Online: [CLIENTS_ONLINE] | Mapa: [MAP]',
1911 'custom_server_name' => '0', // Set 0 if none
1912 ),
1913
1914 ******************************************/
1915
1916 0 => array
1917 (
1918 'type' => 'minecraft',
1919 'host' => '91.134.209.194:25565',
1920 'channel_id' => 33,
1921 'channel_name' => '» MC ([CLIENTS_ONLINE]/[CLIENTS_MAX])',
1922 'custom_server_name' => 'KRAINA MC', // Set 0 if none
1923 ),
1924 1 => array
1925 (
1926 'type' => 'cs16',
1927 'host' => '213.238.173.177:27015',
1928 'channel_id' => 34,
1929 'channel_name' => '» COD MOD ([CLIENTS_ONLINE]/[CLIENTS_MAX])',
1930 'custom_server_name' => '0', // Set 0 if none
1931 ),
1932 ),
1933 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 5,'seconds' => 0),
1934 ),
1935
1936 // ENG [Users' country list] # PL [Lista krajów użytkowników]
1937 'country_list' => array
1938 (
1939 'enabled' => true,
1940 'channel_id' => 23199,
1941 'channel_name' => '[cspacer] Osoby spoza Polski: [ONLINE]', //[ONLINE] online clients outside the specified country
1942 'default_country' => 'PL',
1943 'top_description' => '[img]https://i.imgur.com/YHQlZJk.png[/img]',
1944 'ignored_groups' => array(253,2,46,252),
1945 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 2,'seconds' => 0),
1946 ),
1947
1948 // ENG [Name_day in channel name] # PL [Imieniny w nazwie kanału]
1949 'name_day' => array
1950 (
1951 'enabled' => false,
1952 'channel_id' => 36,
1953 'channel_name' => '» Imieniny: [NAME]', //[NAME] - name
1954 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 2,'seconds' => 0),
1955 ),
1956
1957 // ENG [Partners] # PL [Partnerzy]
1958 'partners' => array
1959 (
1960 'enabled' => false,
1961 'channel_id' => 129,
1962 'info' => array
1963 (
1964 '[cspacer] TSowicze.pl' => "[center][img]https://i.imgur.com/oKhD1uM.png[/img][/center]",
1965 '[cspacer] Aplikacja XBot' => "[center][img]http://adamek-ts3.eu/png/Xbot.png[/img][hr][/center][center][size=15][b]Informacje[/b][/size][/center][hr]
1966[list][*][size=10][b]Witam, chciałbym Wam zaprezentować bota pod serwery TS3 - [url=ts3server://xbot-ts3.pl]XBota.[/url][/list][list][*][B]Jest on zautomatyzowaną aplikacją napisaną od zera przeze mnie ([U][I] RazorMeister [/I][/U]). Posiada dużo pluginów, eventów i komend, które ułatwiają pracę zarówno administracji serwerów jak i ich użytkownikom. Więcej szczegółowych informacji dotyczących poszczególnych instancji jak i samych funkcji udzielę Na Ts3 IP: [url=ts3server://xbot-ts3.pl]XBot-Ts3.pl.[/url][/B][/list][list][*][size=10][B]Forum: [/B][url=https://tsforum.pl/xbot-bot-pod-tw%C3%B3j-serwer-teamspeak3-797/][B][XBOT] - Bot pod Twój serwer TeamSpeak3[/B][/url][/list][list][*][size=10][img]https://i.imgur.com/xcWAHb0.png[/img] [B]FB[/B]: [url=https://www.facebook.com/XBot-bot-na-tw%C3%B3j-serwer-TS3-1719172075053504/messages/][B]XBOT[/B][/url][/list][list][*][size=10][img]https://i.imgur.com/7zaoIAK.png[/img] [B]Email[/B]: [url=mailto:battnik90@gmail.com][B]battnik90@gmail.com[/B][/url]
1967[hr][/list]",
1968 ),
1969 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 0),
1970 ),
1971
1972 // ENG [Generate cache] # PL [Generuj plik cache]
1973 'generate_cache' => array
1974 (
1975 'enabled' => false,
1976 'target_file' => '/var/www/html/21321312/cache/cache.txt',
1977 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
1978 ),
1979
1980 // ENG [XBot info] # PL [Informacje od twórcy w opisie kanału]
1981 'xbot_info' => array //Checking on the server every 15 minutes
1982 (
1983 'enabled' => false,
1984 'channel_id' => 1560,
1985 'translate' => array
1986 (
1987 'enabled' => false,
1988 'target_language' => 'pl', // Type language code https://cloud.google.com/translate/docs/languages
1989 ),
1990 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 10,'seconds' => 0),
1991 ),
1992
1993 // ENG [Get YT channel] # PL [Otrzymywanie kanału YouTube]
1994 'get_yt_channel' => array // Db must be on
1995 (
1996 'enabled' => false,
1997 'if_client_on_channel' => array(1512), // all checking channels id
1998
1999 'if_on_channel' => 1512,
2000 'channel_group_id' => 43, // default channel admin group
2001 'subchannels' => 5, // how many subchannels
2002 'subchannels_red' => true, // true - max cleints = 0 | false - max clients = unlimited
2003 'videos_count' => true, // create channel with information about videos count on yt channel
2004 'views_count' => true, // create channel with information about views count on yt channel
2005 'after_channel' => 2023, // the first channel for example spacer
2006
2007 'spacer_between' => array
2008 (
2009 'enabled' => true,
2010 'spacer_name' => '[*spacerYT[NUM]]- - -',
2011 'join_needed' => 150,
2012 'modify_needed' => 100,
2013 ),
2014 'main_channel' => '[lspacer]■ [[NUM]] YT ■', // [NUM] - vip channel number
2015 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
2016 ),
2017
2018 // ENG [Away Group] # PL [Grupa away]
2019 'away_group' => array
2020 (
2021 'enabled' => false,
2022 'server_group_copy' => 65,
2023 'min_idle_time' => 5*60,
2024 'ignored_groups' => array(41),
2025 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
2026 ),
2027
2028 // ENG [Cache icons] # PL [Generuj ikonki do katalogu]
2029 'cache_icons' => array
2030 (
2031 'enabled' => false,
2032 'icons_path' => '/var/www/html/server_icons/',
2033 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 5,'seconds' => 0),
2034 ),
2035
2036 // ENG [Weather in cities] # PL [Pogoda w miastach]
2037 'weather' => array
2038 (
2039 'enabled' => false,
2040 'api_key' => '', //You can find api on website: openweathermap.org
2041 'info' => array
2042 (
2043 39 => array
2044 (
2045 'country_code' => 'PL', //country code for example: Poland - PL
2046 'city' => 'Warszawa', //without polish symbols
2047 'channel_name' => '» Pogoda - [CITY]', //[CITY] - city name
2048 ),
2049 ),
2050 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 5,'seconds' => 0),
2051 ),
2052
2053 // ENG [Countdown] # PL [Odliczanie]
2054 'countdown' => array
2055 (
2056 'enabled' => false,
2057 'time_settings' => array('days' => true, 'hours' => true, 'minutes' => false),
2058 'info' => array
2059 (
2060 /**************************************
2061
2062 '0' => array // Growing number: 0, 1, 2, etc
2063 (
2064 'channel_id' => 5761,
2065 'channel_name' => 'Do wakacji [COUNT]', //[COUNT] - time to/from date
2066 'date' => '22-06-2018 09:00', // Format: dd-mm-YYYY GG:MM for example: 22-06-2018 09:00
2067 'count_type' => 'to_date', // Count type: 'to_date' (for example time to next event), 'from_date' (for example time from server start)
2068 ),
2069
2070 ***************************************/
2071
2072 '0' => array
2073 (
2074 'channel_id' => 41,
2075 'channel_name' => '» Do [COUNT]', //[COUNT] - time to/from date
2076 'date' => '03-09-2018 09:00', // Format: dd-mm-YYYY GG:MM for example: 22-06-2018 09:00
2077 'count_type' => 'to_date', // Count type: 'to_date' (for example time to next event), 'from_date' (for example time from server start)
2078 ),
2079 '1' => array
2080 (
2081 'channel_id' => 42,
2082 'channel_name' => '» Od [COUNT]', //[COUNT] - time to/from date
2083 'date' => '01-01-2018 09:00', // Format: dd-mm-YYYY GG:MM for example: 22-06-2018 09:00
2084 'count_type' => 'from_date', // Count type: 'to_date' (for example time to next event), 'from_date' (for example time from server start)
2085 ),
2086 ),
2087 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 5,'seconds' => 0),
2088 ),
2089);
2090
2091$config['instance']['2']['logs_system'] = array
2092(
2093 /****************************************************************************
2094
2095 ENG [LOGS SYSTEM] # PL [SYSTEM LOGÓW]
2096
2097 ****************************************************************************/
2098
2099 'logs' => array
2100 (
2101 // ENG [Turn on/off logs system (true or false)] # PL [Wlaczenie lub wylaczenie systemu logów]
2102 'enabled' => true,
2103
2104 // ENG [Days, after which, log files will be deleted] # PL [Czas w dniach, po których pliki logów zostana usunięte]
2105 'delete_interval' => '3',
2106 ),
2107);
2108
2109$config['instance']['2']['options'] = array
2110(
2111 /****************************************************************************
2112
2113 ENG [INSTANCE OPTIONS] # PL [OPCJE INSTANCJI]
2114
2115 ****************************************************************************/
2116
2117 // ENG [Folder for functions containing all events and plugins] # PL [Folder w którym sa wszystkie eventy i pluginy]
2118 'folder' => 'second_instance',
2119
2120 // ENG [Bot interval in seconds] # PL [Interwal bota w sekundach]
2121 'bot_interval' => 1,
2122
2123 // ENG ['events_plugins' or 'commands' (default 'events_plugins')] # PL ['events_plugins' lub 'commands' (domyślnie 'events_plugins')]
2124 'function_type' => 'events_plugins',
2125);
2126
2127$config['instance']['2']['functions'] = array
2128(
2129
2130 /**************************************
2131
2132 ENG [PLUGINS] # PL [PLUGINY]
2133
2134 **************************************/
2135
2136 'plugins' => true,
2137
2138 // ENG [Connect message] # PL [Wiadomośc polaczenia]
2139 'connect_message' => array
2140 (
2141 'enabled' => true,
2142 'file' => 'include/cache/connect_message.txt', //file to connect message
2143 'many_messages' => true, //true if single line = one message || false for one message
2144 'to_groups' => array(-1), //connect message to specified server_groups | set -1 to all server groups | set gorups_id separated by comma
2145
2146 /************************************
2147
2148 [CLIENT_IP] = Client nickname
2149 [CLIENT_NICK] = Client nickname
2150 [CLIENT_COUNTRY] = Client country
2151 [CLIENT_DBID] = Client databse id
2152 [CLIENT_VERSION] = Client TS3 version
2153 [CLIENT_CONNECTIONS] = Client total connections
2154 [CLIENT_PLATFORM] = Client platform
2155 [CLIENT_TOTALCONNECTIONS] = Client total connections
2156 [CLIENT_LASTCONNECTED] = Client lastconnected
2157 [CLIENT_AWAY_MESSAGE] = Client away message
2158 [CLIENT_CREATED] = Client created
2159 [CLIENT_ON_SERVER_FOR] = Client is with server for ... for example 2 days and 1 minute
2160
2161 [SERVER_MAX_CLIENTS] = Server max clients
2162 [SERVER_ONLINE] = Online users
2163 [SERVER_CHANNELS] = Channel number
2164 [SERVER_ID] = Virtual server id
2165 [SERVER_PORT] = Server port
2166 [SERVER_NAME] = Server name
2167 [SERVER_VERSION] = Server version
2168 [SERVER_VUI] = Server unique identifier
2169 [SERVER_WELCOME_MESSAGE] = Virtualserver welcomemessage
2170 [SERVER_PLATFORM] = Server platform
2171 [SERVER_HOSTMESSAGE] = Server hostmessage
2172 [SERVER_UPTIME] = Server uptime
2173
2174
2175 *************************************/
2176 ),
2177
2178 // ENG [Register groups assigner] # PL [Przypisywanie zarejestrowanych grup]
2179 'groups_assigner' => array
2180 (
2181 'enabled' => true,
2182 'if_client_on_channel' => array(1499,1500), //all checking channels id
2183 'register_groups' => array(31,33), //all register groups
2184 'info' => array
2185 (
2186 1499 => 31, //channel_id => server group id,
2187 1500 => 33,
2188 ),
2189 //Minimal time on server to be registered [Db connect must be on]
2190 'min_time_on_server' => 1, //in minutes
2191 ),
2192
2193 // ENG [Assign afk group] # PL [Przypisz grupę afk]
2194 'afk_group' => array
2195 (
2196 'enabled' => false,
2197 'afk_group' => 104, //afk group id
2198 'idle_time' => 1800, //in seconds
2199 'set_group_if_away' => true, //set afk group if client has away status
2200 'set_group_if_muted'=> true, //set afk group if client is muted
2201 'ignored_groups' => array(41,9,25,61,67),
2202 'ignored_channels' => array(),
2203 ),
2204
2205 // ENG [Move afk clients to channel] # PL [Przenieś użytkowników afk na kanal]
2206 'afk_move' => array
2207 (
2208 'enabled' => false,
2209 'channel_id' => 137, //afk channel id
2210 'idle_time' => 2400, //in seconds
2211 'move_if_away' => true, //move client if has away status
2212 'move_if_muted'=> true, //move client if is muted
2213 'move_back' => true, //if client no longer afk move him back (true or false)
2214 'message_type' => 'poke', //poke | message | none
2215 'ignored_groups' => array(41,9,25,61,67),
2216 'ignored_channels' => array(),
2217 'kick_from_server' => array
2218 (
2219 'enabled' => false,
2220 'min_idle_time' => 300, //in seconds
2221 'msg' => 'Zbyt długi AFK!', //Message in kick
2222 ),
2223 ),
2224
2225 // ENG [Server groups security] # PL [Zabezpieczenie grup serwera]
2226 'groups_security' => array
2227 (
2228 'enabled' => true,
2229 'info' => array
2230 (
2231 /*'0' => array //growing number, for example 1, 2, 3...
2232 (
2233 'group_id' => 209, //group Id
2234 'ignored_dbid' => array(10,16,42), //privilege client database id's
2235 'give_back' => true, //give the rank back for people in ignoredId
2236 'type' => 'nothing', //`ban`, `kick`, `nothing` (just group delete and poke)
2237 'message' => '', //message to the client; if `ban` or `kick` it's the reason, if `nothing` it's a poke message
2238 'time' => 5, //ban timeout
2239 ), */
2240
2241 '0' => array
2242 (
2243 'group_id' => 775,
2244 'ignored_dbid' => array(11904,1437,11782,1960,7274,11479),
2245 'give_back' => false,
2246 'type' => 'ban',
2247 'message' => 'Nie mozesz posiadać tej oto rangi!',
2248 'time' => 9999999999,
2249 ),
2250 '1' => array
2251 (
2252 'group_id' => 30,
2253 'ignored_dbid' => array(11904,11782,7274,11479),
2254 'give_back' => true,
2255 'type' => 'kick',
2256 'message' => 'Nie mozesz posiadać tej oto rangi!',
2257 'time' => 5,
2258 ),
2259 '2' => array
2260 (
2261 'group_id' => 867,
2262 'ignored_dbid' => array(1960),
2263 'give_back' => true,
2264 'type' => 'kick',
2265 'message' => 'Nie mozesz posiadać tej oto rangi!',
2266 'time' => 5,
2267 ),
2268 '3' => array
2269 (
2270 'group_id' => 902,
2271 'ignored_dbid' => array(7045,1437),
2272 'give_back' => false,
2273 'type' => 'kick',
2274 'message' => 'Nie mozesz posiadać tej oto rangi!',
2275 'time' => 5,
2276 ),
2277 '4' => array
2278 (
2279 'group_id' => 87,
2280 'ignored_dbid' => array(5788),
2281 'give_back' => false,
2282 'type' => 'kick',
2283 'message' => 'Nie mozesz posiadać tej oto rangi!',
2284 'time' => 5,
2285 ),
2286 '5' => array
2287 (
2288 'group_id' => 76,
2289 'ignored_dbid' => array(8786,3205),
2290 'give_back' => false,
2291 'type' => 'kick',
2292 'message' => 'Nie mozesz posiadać tej oto rangi!',
2293 'time' => 5,
2294 ),
2295 ),
2296 ),
2297
2298 // ENG [Baning for having warning rangs] # PL [Ban za posiadanie X ostrzeżen]
2299 'warning_ban' => array
2300 (
2301 'enabled' => true,
2302 'ban_time' => '86400', // in seconds
2303 'ban_message' => 'Odpocznij, Dostałeś za duzo ostrzezeń! [Max 3]',
2304 'with_rang' => 74, // the last warning id, for example Warning #3 (if you have 3 warnings)
2305 'warning_id' => array
2306 (
2307 72, // the last warning id, for example Warning #3 (if you have 3 warnings)
2308 73,
2309 74,
2310 ),
2311 ),
2312
2313 // ENG [Block recording users] # PL [Blokowanie użytkowników za nagrywanie]
2314 'block_recording' => array
2315 (
2316 'enabled' => false,
2317 'ignored_groups' => array(112,30,87,86),
2318 'type' => 'kick', //`ban`, `kick`,
2319 'message' => 'Nie możesz nagrywać!', //message to the client; if `ban` or `kick` it's the reason
2320 'time' => 60, //ban timeout
2321
2322 ),
2323
2324 // ENG [Anty VPN] # PL [Event przeciw VPN'om]
2325 'anty_vpn' => array
2326 (
2327 'enabled' => true,
2328 'X-Key' => 'MjgyOnlESTNMRUJLU2FidzlTcW05Ym5VSmtaVUIwZVlQZFNp', // You can change at website `https://iphub.info/pricing`
2329 'ignored_groups' => array(30,87,86,76,38,48,88,49,83,50,84,76,46,78),
2330 'allowed_ips' => array('35.234.86.36'), //ignored ips in `'` for example: '127.0.0.1' separated by comma. Your IP, where xbot is, is included.
2331 'type' => 'kick', //`poke`, `kick`, `ban`
2332 'ban_time' => '60', //in seconds
2333 'message_to_client' => "Używasz VPN'a! U nas jest to niedozwolone!",
2334 ),
2335
2336 /**************************************
2337
2338 ENG [EVENTS] # PL [EVENTY]
2339
2340 **************************************/
2341
2342 'events' => true,
2343
2344 // ENG [Auto register] # PL [Auto rejestracja]
2345 'auto_register' => array
2346 (
2347 'enabled' => true,
2348 'ignored_groups' => array(46,51,195,90,252),
2349 'register_group' => 75, //register group
2350 //Minimal time on server to be registered [Db connect must be on]
2351 'min_time_on_server' => 120, //in minutes
2352 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 5,'seconds' => 0),
2353 ),
2354
2355 // ENG [Advertisement message] # PL [Reklama]
2356 'advertisement_message' => array
2357 (
2358 'enabled' => false,
2359 'type' => 'chat', //'chat' - global chat | 'pw' - pw to all users | 'poke' - poke to all users
2360 'advertisements' => array
2361 (
2362 /***********************
2363
2364 'Zapraszamy do rejestracji!',
2365 'Wiadmość testowa XBot',
2366
2367 ***********************/
2368
2369 '[b]Dodaj ten serwer do zakładek: [url=ts3server://xbot-ts3.pl.pl?addbookmark=xbot-ts3.pl][COLOR=#ff0000]Kliknij Tu i Dodaj![/COLOR][/url][/b]',
2370 '[b][color=red]Witaj na serwerze testowym aplikacji XBot![/b]',
2371 ),
2372 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 10,'minutes' => 0,'seconds' => 0),
2373 ),
2374
2375 // ENG [Time and date] # PL [Data i godzina]
2376 'clock_date' => array
2377 (
2378 'enabled' => false,
2379 'content' => array
2380 (
2381 'clock' => array //clock in channel name
2382 (
2383 'enabled' => true,
2384 'channel_id' => 45,
2385 'channel_name' => '» Godzina : [CLOCK]', // [CLOCK] = clock
2386 'format' => 'G:i', // format G: hours, i: minutes, s: seconds
2387 ),
2388 'date' => array //date in channel name
2389 (
2390 'enabled' => true,
2391 'channel_id' => 46,
2392 'channel_name' => '» Data: [DATE]', // [DATE] = date
2393 'format' => 'd-m-Y', // format m: month numeric, M: month in words, d: day numeric, D: day in words, Y: year
2394 ),
2395 'date_and_clock' => array
2396 (
2397 'enabled' => true,
2398 'channel_id' => 47,
2399 'channel_name' => '» Dzisiaj jest : [DATE&CLOCK]', // [DATE&CLOCK] = date & clock
2400 'format' => 'd-m-Y G:i', // format m: month numeric, M: month in words, d: day numeric, D: day in words, Y: year, G: hours, i: minutes, s: seconds
2401 ),
2402 ),
2403 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 60),
2404 ),
2405
2406 // ENG [Change server name] # PL [Zmiana nazwy serwera]
2407 'change_server_name' => array
2408 (
2409 /****************************************
2410
2411 DATE FORMAT
2412
2413 m: month numeric,
2414 M: month in words,
2415 d: day numeric,
2416 D: day in words,
2417 Y: year,
2418 G: hours,
2419 i: minutes,
2420 s: seconds
2421
2422 ****************************************/
2423
2424 'enabled' => true,
2425 'ignored_groups' => array(), //ignored groups, not included in online number
2426 'server_name' => '♦ FiveTees.pl ♦ | Obecnie Online | [ONLINE]/[MAX_CLIENTS]', //[ONLINE] - online users, [MAX_CLIENTS] - max clients, [DATE] - format higher, [%] %online
2427 'format' => 'd-m-Y G:i',
2428 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
2429 'data' => '1970-01-01 00:00:00', //Do not change
2430 ),
2431
2432 // ENG [Client platform] # PL [Platforma klienta]
2433 'client_platform' => array
2434 (
2435 'enabled' => false,
2436 'ignored_groups' => array(0),
2437
2438 'windows_enabled' => false,
2439 'windows_group' => 1044,
2440
2441 'linux_enabled' => false,
2442 'linux_group' => 236,
2443
2444 'android_enabled' => true,
2445 'android_group' => 1044,
2446
2447 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 20),
2448 ),
2449
2450 // ENG [Poke admins] # PL [Zaczepianie adminów]
2451 'poke_admins' => array
2452 (
2453 'enabled' => true,
2454 'if_client_on_channel' => array(1491,11337), //all checking channels
2455 'ignored_groups' => array(65), //if admin has this group, bot will not poke him
2456 'ignored_group_if_on_channel' => array(), //if client has this group, bot will not poke admins
2457 'info' => array
2458 (
2459 /*************************
2460
2461 ###
2462 # poking server groups: channel_id => array(server_groups separated by comma),
2463 ###
2464
2465 ###
2466 # poking client: channel_id => client_database_id,
2467 ###
2468
2469 *************************/
2470
2471 1491 => array(30,867,902,87,76,38,48,88,49,815), //adm ts3
2472 11337 => array(714), //pikhurt
2473 ),
2474 'ignored_channels' => array(), //channels where bot doesn't poke admins
2475 'inform_admin_once' => false, //Poke admin only one time
2476 'informing_about_channel' => true, //inform admin about the channel on which the user needs help
2477 'show_client_link' => true, //show client link ([url])
2478 'kick_if_away' => true, //kick client if is away (muted microphone/headphones)
2479 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
2480 ),
2481
2482 // ENG [Generate banner] # PL [Generowanie baneru]
2483 'generate_banner' => array
2484 (
2485 /****************************************
2486
2487 font - 'arial', 'calibri', 'inconsolata', 'tahoma'
2488 color - in RGB array(x, x, x) you can check colors on https://www.w3schools.com/colors/colors_rgb.asp
2489 co-ordinates - array(size, rotation, x, y)
2490
2491 ****************************************/
2492
2493 'enabled' => false,
2494 'admins_online' => array //Liczba adminow online
2495 (
2496 'enabled' => true,
2497 'admins_server_groups' => array(11,14,16,18,19,20,23),
2498 'font' => 'calibri',
2499 'color' => array(255, 255, 255),
2500 'co-ordinates' => array(20,0,118,160),
2501 ),
2502 'clients_online' => array //Klienci online
2503 (
2504 'enabled' => true,
2505 'show_max_clients' => false,
2506 'font' => 'calibri',
2507 'color' => array(255, 255, 255),
2508 'co-ordinates' => array(20,0,118,235),
2509 ),
2510 'record_online' => array //Rekord online
2511 (
2512 'enabled' => true,
2513 'font' => 'calibri',
2514 'color' => array(255,255,255),
2515 'co-ordinates' => array(20,0,770,160),
2516 ),
2517 'clock' => array //Zegar
2518 (
2519 'enabled' => true,
2520 'font' => 'calibri',
2521 'color' => array(255, 255, 255),
2522 'co-ordinates' => array(20,0,110,80),
2523 ),
2524 'channels_count' => array //Liczba kanałów
2525 (
2526 'enabled' => false,
2527 'font' => 'calibri',
2528 'color' => array(255,255,255),
2529 'co-ordinates' => array(20,0,500,300),
2530 ),
2531 'name_day' => array //Imieniny
2532 (
2533 'enabled' => true,
2534 'font' => 'calibri',
2535 'color' => array(255,255,255),
2536 'co-ordinates' => array(15,0,455,255),
2537 ),
2538 'fanpage_likes' => array //Like'i z fanpage'a
2539 (
2540 'enabled' => true,
2541 'page_id' => '1719172075053504', //You can find it on website: https://findmyfbid.com/
2542 'access_token' => '',
2543 'font' => 'calibri',
2544 'color' => array(255,255,255),
2545 'co-ordinates' => array(20,0,770,80),
2546 ),
2547 'uptime' => array //Uptime
2548 (
2549 'enabled' => false,
2550 'font' => 'calibri',
2551 'color' => array(255,255,255),
2552 'co-ordinates' => array(20,0,300,300),
2553 ),
2554 'date' => array //Data
2555 (
2556 'enabled' => true,
2557 'font' => 'calibri',
2558 'format' => 'd.m.Y',
2559 'color' => array(255,255,255),
2560 'co-ordinates' => array(20,0,765,240),
2561 ),
2562
2563 'image_file' => array('include/cache/banner.png', 'include/cache/banner1.png', 'include/cache/banner2.png', 'include/cache/banner3.png'),
2564 'target_image_file' => '/var/www/html/banner.png',
2565 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 10),
2566 ),
2567
2568 // ENG [Host message] # PL [Wiadomość hosta]
2569 'host_message' => array
2570 (
2571 'enabled' => true,
2572 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 30),
2573 ),
2574
2575 // ENG [Live DJ] # PL [Nick DJ'a w nazwie kanału]
2576 'live_dj' => array
2577 (
2578 'enabled' => false,
2579 'info' => array
2580 (
2581 /*********************************
2582
2583 channel_id => 'nazwa_kanalu', //[DJ] - dj's nick
2584
2585 *********************************/
2586
2587 48 => '» Obecny DJ: [DJ]', //[DJ] - dj's nick
2588 ),
2589 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 45),
2590 ),
2591
2592 // ENG [Count users (registered/total)] # PL [Zliaczanie użytkowników (zarejestrowani/wszyscy)]
2593 'count_users' => array
2594 (
2595 'enabled' => true, //DB must be on
2596 'channel_id' => 17142,
2597 'channel_name' => '[cspacer]Mamy: [TOTAL] zarejs. użytkowników', //[REG] - registered users | [TOTAL] - total users in Db
2598 'unregistered_group_id' => 32,
2599 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 1,'minutes' => 0,'seconds' => 0),
2600 ),
2601
2602 // ENG [Show client_info after join the channel] # PL [Pokaż informacje o kliencie po wejściu na kanał]
2603 'client_info' => array
2604 (
2605 'enabled' => true,
2606 'if_client_on_channel' => array(1503),
2607 'message' => '[color=purple][b]Witaj [u][CLIENT_NICK][/u]![/b]\n [color=blue][b][i]Poniżej przedstawimy Twoje dane:[/i][/b]\n[color=blue]IP: [CLIENT_IP]\n[color=blue]Client Database ID: [CLIENT_DBID]\n[color=blue]Wszystkich połączeń: [CLIENT_TOTALCONNECTIONS]\n[color=blue]Wersja klienta TS3: [CLIENT_VERSION]\n[color=blue]Pierwsze połączenie: [CLIENT_CREATED]\n[color=blue]Ostatnie połączenie: [CLIENT_LASTCONNECTED]\n[color=blue]Platforma: [CLIENT_PLATFORM]\n[color=blue]Kraj: [CLIENT_COUNTRY]',
2608
2609 /************************************
2610
2611 [CLIENT_IP] = Client nickname
2612 [CLIENT_NICK] = Client nickname
2613 [CLIENT_COUNTRY] = Client country
2614 [CLIENT_DBID] = Client databse id
2615 [CLIENT_VERSION] = Client TS3 version
2616 [CLIENT_CONNECTIONS] = Client total connections
2617 [CLIENT_PLATFORM] = Client platform
2618 [CLIENT_TOTALCONNECTIONS] = Client total connections
2619 [CLIENT_LASTCONNECTED] = Client lastconnected
2620 [CLIENT_AWAY_MESSAGE] = Client away message
2621 [CLIENT_CREATED] = Client created
2622 [CLIENT_ON_SERVER_FOR] = Client is with server for ... for example 2 days and 1 minute
2623
2624 *************************************/
2625
2626 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
2627 ),
2628
2629 // ENG [Event records in the channel descrition] # PL [Zapisywanie klientów na np. event w opisie kanału]
2630 'event_records' => array
2631 (
2632 'enabled' => false,
2633 'if_client_on_channel' => array(15441),
2634 'channel_id' => 15467,
2635 'top_description' => 'Zapisy na event', //Do not use [hr] in name!
2636 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
2637 ),
2638
2639 // ENG [Check temporary channels' name] # PL [Sprawdzanie nazw kanałów tymczasowych]
2640 'check_tmp_channel' => array
2641 (
2642 'enabled' => true,
2643 'file' => 'include/cache/nicks_security.txt', //bad phrases separated by ,(comma) without spaces, enters etc
2644 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
2645 ),
2646
2647 // ENG [Check public zone] # PL [Sprawdzanie strefy kanałów publicznych]
2648 'check_public_zone' => array
2649 (
2650 'enabled' => true,
2651 'info' => array
2652 (
2653 '0' => array // Growing number
2654 (
2655 'channels_zone' => 289,
2656 'channel_name' => '» Kanał Publiczny #[NUM]', //[Num] channel number
2657 'max_users' => 0, // 0 = unlimited
2658 'mininum_channels' => 3,
2659 'maximum_channels' => 25,
2660 'icon_id' => 3806324983,
2661 'modify_power' => 85, //channel needed modify power
2662 'desc' => '[hr][center][img]https://i.imgur.com/il2nkjt.png[/img][/center][hr]',
2663 ),
2664 '1' => array // Growing number
2665 (
2666 'channels_zone' => 290,
2667 'channel_name' => '» Kanał Publiczny #[NUM]', //[Num] channel number
2668 'max_users' => 2, // 0 = unlimited
2669 'mininum_channels' => 3,
2670 'maximum_channels' => 25,
2671 'icon_id' => 2705444129,
2672 'modify_power' => 85, //channel needed modify power
2673 'desc' => '[hr][center][img]https://i.imgur.com/il2nkjt.png[/img][/center][hr]',
2674 ),
2675 '2' => array // Growing number
2676 (
2677 'channels_zone' => 291,
2678 'channel_name' => '» Kanał Publiczny #[NUM]', //[Num] channel number
2679 'max_users' => 3, // 0 = unlimited
2680 'mininum_channels' => 3,
2681 'maximum_channels' => 25,
2682 'icon_id' => 1489986623,
2683 'modify_power' => 85, //channel needed modify power
2684 'desc' => '[hr][center][img]https://i.imgur.com/il2nkjt.png[/img][/center][hr]',
2685 ),
2686 '3' => array // Growing number
2687 (
2688 'channels_zone' => 292,
2689 'channel_name' => '» Kanał Publiczny #[NUM]', //[Num] channel number
2690 'max_users' => 4, // 0 = unlimited
2691 'mininum_channels' => 3,
2692 'maximum_channels' => 25,
2693 'icon_id' => 253933860,
2694 'modify_power' => 85, //channel needed modify power
2695 'desc' => '[hr][center][img]https://i.imgur.com/il2nkjt.png[/img][/center][hr]',
2696 ),
2697 '4' => array // Growing number
2698 (
2699 'channels_zone' => 21030,
2700 'channel_name' => '» Kanał Publiczny #[NUM]', //[Num] channel number
2701 'max_users' => 5, // 0 = unlimited
2702 'mininum_channels' => 3,
2703 'maximum_channels' => 25,
2704 'icon_id' => 2811390841,
2705 'modify_power' => 85, //channel needed modify power
2706 'desc' => '[hr][center][img]https://i.imgur.com/il2nkjt.png[/img][/center][hr]',
2707 ),
2708 ),
2709 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5 ),
2710 ),
2711
2712 // ENG [Clear clients ranks] # PL [Wyczyść rangi klienta]
2713 'clear_ranks' => array
2714 (
2715 'enabled' => false,
2716 'if_client_on_channel' => array(53), //all channels
2717 'info' => array
2718 (
2719 /**********************************
2720
2721 channel_id => array(ranks_to_clear),
2722
2723 **********************************/
2724
2725 53 => array(13,14,15,16,17,18,19,20,21,22,23,24),
2726 ),
2727 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
2728 ),
2729
2730 // ENG [Delete client permissions] # PL [Wyczyść pozwolenia klienta]
2731 'delete_client_permissions' => array
2732 (
2733 'enabled' => false,
2734 'ignored_groups' => array(9), //ignored server groups
2735 'ignored_dbids' => array(1), //ignored database clients id
2736 'ignored_perms' => array('i_icon_id'), //this perms won't be deleted
2737 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 2),
2738 ),
2739
2740 // ENG [Check clients on the same IP] # PL [Sprawdzanie użytkowników na tym samym ip]
2741 'check_ip' => array
2742 (
2743 'enabled' => false,
2744 'ignored_groups' => array(),
2745 'max_users' => 4, // Max users on the same ip
2746 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 10),
2747 ),
2748
2749 // ENG [Check urls in the channel description] # PL [Sprawdzanie linków w opisach kanałów]
2750 'check_description' => array
2751 (
2752 'enabled' => false,
2753 // Allowed links are in the file: include/cache/allowed_links.txt
2754 'channels' => array(349,2297,2304,2309,2320), // Type only parent channels
2755 'channel_info' => 1562, // Info about not allowed links on channels
2756 'check_vip_channels' => true, // true or false
2757 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 3,'seconds' => 0),
2758 ),
2759
2760 // ENG [Save channel edits logs in description] # PL [Zapisz logi edycji kanału w opisie]
2761 'channels_edits' => array
2762 (
2763 'enabled' => false,
2764 'zones' => array
2765 (
2766 /*********************
2767
2768 channel_id => array(checking_channels),
2769
2770 *********************/
2771
2772 54 => array(55,56),
2773 ),
2774 'ignored_groups' => array(),
2775 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
2776 ),
2777
2778 // ENG [Fill channels' description when is empty] # PL [Wpisz opis do pustych kanałów]
2779 'fill_empty_channels' => array
2780 (
2781 'enabled' => false,
2782 'description' => "[hr][center][img]https://i.imgur.com/wleLV54.png[/img][/center][hr]",
2783 'needed_phrase' => "spacer", // Channel need this phrase in name
2784 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 1,'minutes' => 0,'seconds' => 0),
2785 ),
2786);
2787
2788$config['instance']['3']['logs_system'] = array
2789(
2790 /****************************************************************************
2791
2792 ENG [LOGS SYSTEM] # PL [SYSTEM LOGÓW]
2793
2794 ****************************************************************************/
2795
2796 'logs' => array
2797 (
2798 // ENG [Turn on/off logs system (true or false)] # PL [Wlaczenie lub wylaczenie systemu logów]
2799 'enabled' => true,
2800
2801 // ENG [Days, after which, log files will be deleted] # PL [Czas w dniach, po których pliki logów zostana usunięte]
2802 'delete_interval' => '3',
2803 ),
2804);
2805
2806$config['instance']['3']['options'] = array
2807(
2808 /****************************************************************************
2809
2810 ENG [INSTANCE OPTIONS] # PL [OPCJE INSTANCJI]
2811
2812 ****************************************************************************/
2813
2814 // ENG [Folder for functions containing all events and plugins] # PL [Folder w którym sa wszystkie eventy i pluginy]
2815 'folder' => 'third_instance',
2816
2817 // ENG [Bot interval in seconds] # PL [Interwal bota w sekundach]
2818 'bot_interval' => 3,
2819
2820 // ENG ['events_plugins' or 'commands' (default 'events_plugins')] # PL ['events_plugins' lub 'commands' (domyślnie 'events_plugins')]
2821 'function_type' => 'events_plugins',
2822);
2823
2824$config['instance']['3']['functions'] = array
2825(
2826 /**************************************
2827
2828 ENG [PLUGINS] # PL [PLUGINY]
2829
2830 **************************************/
2831
2832 'plugins' => false,
2833
2834 /**************************************
2835
2836 ENG [EVENTS] # PL [EVENTY]
2837
2838 **************************************/
2839
2840 'events' => true,
2841
2842 // ENG [New users daily] # PL [Nowi użytkownicy dzisiaj]
2843 'new_daily_users' => array
2844 (
2845 'enabled' => true,
2846 'channel_id' => 23201,
2847 'with_rang' => 32, //checking if client has one of these rangs
2848 'channel_name' => '[cspacer]Nowi dzisiaj: [NEW]', //[NEW] - how many new users
2849 'top_description' => '[img]https://i.imgur.com/MokcMNE.png[/img]',
2850 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 10),
2851 ),
2852
2853 // ENG [Visitors] # PL [Odwiedziny]
2854 'visitors' => array
2855 (
2856 'enabled' => true,
2857 'channel_id' => 23202,
2858 'channel_name' => '[cspacer]Liczba Odwiedzin:[VISITORS]', //[VISITORS] - how many visitors
2859 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 10),
2860 ),
2861
2862 // ENG [Clients in your database] # PL [Użytkownicy w bazie danych]
2863 'client_to_db' => array //you need this event if you want to use these events -> (top_connections, top_connection_time, top_idle_time, top_time_spent, levels)
2864 (
2865 'enabled' => true,
2866 'idle_time' => 5 * 60, //idle time in seconds
2867 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 10),
2868 ),
2869
2870 // ENG [Top connections] # PL [Najwięcej polaczeń]
2871 'top_connections' => array
2872 (
2873 'enabled' => true,
2874 'channel_id' => 219,
2875 'top_description' => '[img]https://i.imgur.com/Vx6PQ7j.png[/img]',
2876 'records' => 20, //how many clients
2877 'ignored_groups' => array(936,46,32,196,252,935,943,936),
2878 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 5,'seconds' => 10),
2879 ),
2880
2881 // ENG [Top connection time] # PL [Najdluższe polaczenia]
2882 'top_connection_time' => array
2883 (
2884 'enabled' => true,
2885 'channel_id' => 220,
2886 'top_description' => '[img]https://i.imgur.com/EweD2fi.png[/img]',
2887 'records' => 20, //how many clients
2888 'ignored_groups' => array(936,46,32,196,252,935,943,936),
2889 'time_settings' => array('days' => true, 'hours' => true, 'minutes' => true),
2890 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 5,'seconds' => 10),
2891 ),
2892
2893 // ENG [Top client idle time] # PL [Najdluższy czas nieaktywności]
2894 'top_idle_time' => array
2895 (
2896 'enabled' => true,
2897 'channel_id' => 9781,
2898 'top_description' => '[IMG]https://i.imgur.com/XP4u9F5.png[/IMG]',
2899 'records' => 20, //how many clients
2900 'ignored_groups' => array(936,46,32,196,252,935,943,936),
2901 'time_settings' => array('days' => true, 'hours' => true, 'minutes' => true),
2902 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 5,'seconds' => 10),
2903 ),
2904
2905 // ENG [Top time spent on server] # PL [Najdluższy czas na serwerze]
2906 'top_time_spent' => array
2907 (
2908 'enabled' => true,
2909 'channel_id' => 222,
2910 'show_afk_time' => true,
2911 'top_description' => '[IMG]https://i.imgur.com/nzWxva0.png[/IMG]',
2912 'records' => 20, //how many clients
2913 'ignored_groups' => array(936,46,32,196,252,935,943,936),
2914 'time_settings' => array('days' => true, 'hours' => true, 'minutes' => true),
2915 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 5,'seconds' => 10),
2916 ),
2917
2918 // ENG [Top week time spent on server] # PL [Ranking czasu spędzonego w danym tygodniu]
2919 'top_week_time' => array
2920 (
2921 'enabled' => false,
2922 'channel_id' => 223,
2923 'show_afk_time' => true,
2924 'top_description' => 'Top 15 czasu tygodnia',
2925 'records' => 20, //how many clients
2926 'ignored_groups' => array(936,46,32,196,252,935,943,936),
2927 'time_settings' => array('days' => true, 'hours' => true, 'minutes' => true),
2928 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 5,'seconds' => 10),
2929 ),
2930
2931 // ENG [Clients levels] # PL [Poziomy klientów]
2932 'levels' => array
2933 (
2934 'enabled' => true,
2935 'ignored_groups' => array(936,2,46,51,90,32,195,196,51,252,935,943),
2936 'info' => array
2937 (
2938 92 => 1, // pierwszy
2939 93 => 3,
2940 94 => 5,
2941 95 => 10,
2942 96 => 20,
2943 97 => 35,
2944 98 => 50,
2945 99 => 80,
2946 100 => 120,
2947 101 => 160,
2948 102 => 210,
2949 103 => 290,
2950 104 => 370,
2951 105 => 450,
2952 106 => 600,
2953 107 => 790,
2954 108 => 900,
2955 109 => 1100,
2956 110 => 1290,
2957 111 => 1500, // ostatni
2958 ),
2959 'all_levels_groups' => array(92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111),
2960 'top_description' => '[IMG]https://i.imgur.com/QFkFqJe.png[/IMG]',
2961 'records' => 20,
2962 'channel_id' => 7978,
2963 'info_to_client' => 'pw', //Info to client | 'poke' / 'pw' / 'none'
2964 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 4,'seconds' => 0),
2965 ),
2966
2967 // ENG [Random group] # PL [Losowe grupy]
2968 'random_group' => array
2969 (
2970 'enabled' => false,
2971 'must_have_group' => array(31,33),
2972 'ignored_groups' => array(936,30,87,86,76,38,48,88,49,50,46,195,51,90,32,252,935,943,936),
2973 'random_groups' => array(132,133,134,135,136,137,138,226),
2974 'time' => '1', //in days
2975 'records' => 15,
2976 'channel_id' => 2015,
2977 'channel_name' => '[rspacer]Ostatnia wylosowana ranga!', //[USER] - last winner's nickname
2978 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 4,'seconds' => 0),
2979 ),
2980
2981 // ENG [Statistics of admins] # PL [Statystyki administratorów]
2982 'statistics_of_admins' => array
2983 (
2984 'enabled' => false,
2985 'admins_groups' => array(30,867,902,87,76,38,48,88,49,815),
2986 'max_idle_time' => 300, //in seconds
2987 'register' => array(31,33),
2988 'support_channels' => array(1491,1494,1493,1492),
2989 'ignored_groups' => array(935,65), //groups will not be counted to helped people
2990 'ignored_channels' => array(13971), //channels where admins will not be check
2991 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5), //Default: 5 seconds
2992 ),
2993
2994 // ENG [Write statistics of admins] # PL [Wypisz statystyki adminów]
2995 'write_statistics' => array
2996 (
2997 'enabled' => false,
2998 'admins_groups' => array(815,49,88), //Admins groups to write on the channel description
2999
3000 'groups' => array
3001 (
3002 'top_description' => '[size=14][b]Statystyki administracji[/b][/size][size=13][b]\nNadane grupy[/b][/size]',
3003 'channelid' => 14016,
3004 ),
3005 'timespent' => array
3006 (
3007 'top_description' => '[size=14][b]Statystyki administracji[/b][/size][size=13][b]\nSpędzony czas[/b][/size]',
3008 'channelid' => 14018,
3009 ),
3010 'help_center' => array
3011 (
3012 'top_description' => '[size=14][b]Statystyki administracji[/b][/size][size=13][b]\nCentrum pomocy[/b][/size]',
3013 'channelid' => 14019,
3014 ),
3015
3016 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 5,'seconds' => 0),
3017 ),
3018
3019 // ENG [Actions logs in the channel description] # PL [Akcje serwera/bota w opisie kanału]
3020 'actions_logs' => array
3021 (
3022 'enabled' => false,
3023 'channel_id' => 1537,
3024 'top_description' => 'Akcje Na Serwerze',
3025 'records' => 30,
3026 'show_id' => true, // Show action id
3027 'info' => array
3028 (
3029 /************************
3030
3031 'function_name' => true/false, //enable if you want to see logs from this function
3032 DO NOT ADD FUNCTIONS!
3033
3034 ************************/
3035
3036 //Instance I
3037 'get_vip_channel' => true,
3038 'get_yt_channel' => true,
3039 'nicks_security' => true,
3040
3041 //Instance II
3042 'groups_assigner' => true,
3043 'auto_register' => true,
3044 'block_recording' => true,
3045 'anty_vpn' => true,
3046 'poke_admins' => true,
3047
3048 //Instance III
3049 'levels' => true,
3050 'random_group' => true,
3051
3052 //Instance IV
3053 'get_private_channel' => true,
3054 'channels_guard' => true,
3055 ),
3056 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 10,'seconds' => 15),
3057 ),
3058
3059 // ENG [Server achievements] # PL [Osiągnięcia]
3060 'achievements' => array
3061 (
3062 'enabled' => false,
3063 'ignored_groups' => array(935,31,43,11),
3064 'header_group' => 84,
3065 'footer_group' => 85,
3066 'info' => array
3067 (
3068 'connections' => array
3069 (
3070 'enabled' => true,
3071 'header_group' => 99,
3072 'groups' => array
3073 (
3074 /********************
3075
3076 group_sgid => required_connections,
3077
3078 *********************/
3079
3080 86 => 10,
3081 87 => 50,
3082 88 => 100,
3083 89 => 150,
3084 90 => 200,
3085 91 => 1000,
3086 ),
3087 ),
3088 'time_spent' => array
3089 (
3090 'enabled' => true,
3091 'header_group' => 100,
3092 'groups' => array
3093 (
3094 /********************
3095
3096 group_sgid => required_time_spent,
3097
3098 *********************/
3099
3100 92 => 10 * 60 * 60,
3101 93 => 50 * 60 * 60,
3102 94 => 100 * 60 * 60,
3103 95 => 150 * 60 * 60,
3104 96 => 200 * 60 * 60,
3105 97 => 1000 * 60 * 60,
3106 ),
3107 ),
3108 ),
3109 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 0),
3110 ),
3111);
3112
3113$config['instance']['4']['logs_system'] = array
3114(
3115 /****************************************************************************
3116
3117 ENG [LOGS SYSTEM] # PL [SYSTEM LOGÓW]
3118
3119 ****************************************************************************/
3120
3121 'logs' => array
3122 (
3123 // ENG [Turn on/off logs system (true or false)] # PL [Wlaczenie lub wylaczenie systemu logów]
3124
3125 'enabled' => true,
3126
3127 // ENG [Days, after which, log files will be deleted] # PL [Czas w dniach, po których pliki logów zostana usunięte]
3128
3129 'delete_interval' => '3',
3130 ),
3131);
3132
3133$config['instance']['4']['options'] = array
3134(
3135 /****************************************************************************
3136
3137 ENG [INSTANCE OPTIONS] # PL [OPCJE INSTANCJI]
3138
3139 ****************************************************************************/
3140
3141 // ENG [Folder for functions containing all events and plugins] # PL [Folder w którym sa wszystkie eventy i pluginy]
3142 'folder' => 'fourth_instance',
3143
3144 // ENG [Bot interval in seconds] # PL [Interwal bota w sekundach]
3145 'bot_interval' => 3,
3146
3147 // ENG ['events_plugins' or 'commands' (default 'events_plugins')] # PL ['events_plugins' lub 'commands' (domyślnie 'events_plugins')]
3148 'function_type' => 'events_plugins',
3149);
3150
3151$config['instance']['4']['functions'] = array
3152(
3153 /**************************************
3154
3155 ENG [PLUGINS] # PL [PLUGINY]
3156
3157 **************************************/
3158
3159 'plugins' => false,
3160
3161 /**************************************
3162
3163 ENG [EVENTS] # PL [EVENTY]
3164
3165 **************************************/
3166
3167 'events' => true,
3168
3169 // ENG [Channels guard] # PL [Strażnik kanalów]
3170 'channels_guard' => array
3171 (
3172 'enabled' => true,
3173 'settings' => [
3174 'channel_section' => 349,
3175 'free_channel_name' => '[number]. Prywatny Kanał - Wolny',
3176 'free_channel_description' => '[center] [size=15] Kanał [number] [COLOR=#00a650]wolny[/COLOR]! [/size]',
3177 'free_channel_topic' => '#free',
3178
3179 'default_channel_group' => 46,
3180 'head_channel_admin_group' => 43,
3181
3182 'minimum_free_channel' => 10, //ilośc kanałów która ma byc wolna
3183 'verify_from_topic_date' => true,
3184 'time' => [
3185 'delete' => 15, //po ilu dniach ma usunąć kanał ( całkowicie )
3186 'to_delete' => 14, // po ilu dniach ma ustawić kanał na czerwony
3187 'to_trash' => 7, // po ilu dniach ma dodac przedrostek kosz
3188 ],
3189
3190 'bad_name' => [
3191 'enabled' => true,
3192 'file' => 'include/cache/nicks_security.txt',
3193 ],
3194 ],
3195
3196 'reservation' => [
3197 'enabled' => true,
3198 'reservation_name' => '[number]. Kanał zarezerwowany',
3199 'reservation_description' => '[center][size=12]Numer Kanału [b][number][/b].\n\n Ten kanał jest [color=green][b]Zarezerwowany[/b][/color][/size][/center]',
3200 'reservation_tag' => '#rezerwacja',
3201 ],
3202 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 10),
3203 ),
3204
3205 // ENG [Get private channel] # PL [Otrzymanie prywatnego kanalu]
3206 'get_private_channel' => array
3207 (
3208 'enabled' => true,
3209 'if_client_on_channel' => array(1510), //channel id
3210 'sub_channels' => 2, //how many sub channels
3211 'head_channel_admin_group' => 43, //main head channel admin group id
3212 'needed_server_group' => array(31,33), //needed server group (you need one of them to get a private channel)
3213 'message_type' => 'poke', //message type (poke or message)
3214 'empty_channel_topic' => '#free', //topic in empty channels
3215 'channels_zone' => 349, //parent channel id
3216 'icon_id' => 0,
3217 'subchannel_icon_id' => 0,
3218 'needed_modify_power' => 50, //needed modify power on main channel
3219 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
3220 ),
3221
3222 // ENG [Empty channels' numbers in channel description] # PL [Numery wolnych kanalów w opisie kanalu]
3223 'empty_channels' => array
3224 (
3225 'enabled' => true,
3226 'channel_id' => 349, //channel id
3227 'empty_channel_topic' => '#free', //topic in empty channels
3228 'channels_zone' => 349, //parent channel id
3229 'time_interval_delete' => 6, //days after which the channel will be deleted
3230 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 5,'seconds' => 0),
3231 ),
3232
3233 // ENG [Number of private channels in channel name] # PL [Ilość prywatnych kanalów w nazwie kanalu]
3234 'private_channels_info' => array
3235 (
3236 'enabled' => false,
3237 'empty_channel_topic' => '#free', //topic in empty channels
3238 'channels_zone' => 185, //parent channel id
3239 'total' => array
3240 (
3241 'enabled' => false,
3242 'channel_id' => 22192,
3243 'channel_name' => 'Kanalow prywatnych: [NUM]', //[NUM] - number of channels
3244 ),
3245 'taken' => array
3246 (
3247 'enabled' => false,
3248 'channel_id' => 22193,
3249 'channel_name' => 'Zajete: [NUM]', //[NUM] - number of taken channels
3250 ),
3251 'empty' => array
3252 (
3253 'enabled' => true,
3254 'channel_id' => 73,
3255 'channel_name' => 'Liczba wolnych kanałów: [NUM]', //[NUM] - number of empty channels
3256 ),
3257 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 0),
3258 ),
3259);
3260
3261$config['instance']['5']['logs_system'] = array
3262(
3263 /****************************************************************************
3264
3265 ENG [LOGS SYSTEM] # PL [SYSTEM LOGÓW]
3266
3267 ****************************************************************************/
3268
3269 'logs' => array
3270 (
3271 // ENG [Turn on/off logs system (true or false)] # PL [Wlaczenie lub wylaczenie systemu logów]
3272 'enabled' => true,
3273
3274 // ENG [Days, after which, log files will be deleted] # PL [Czas w dniach, po których pliki logów zostana usunięte]
3275 'delete_interval' => '3',
3276 ),
3277);
3278
3279$config['instance']['5']['options'] = array
3280(
3281 /****************************************************************************
3282
3283 ENG [INSTANCE OPTIONS] # PL [OPCJE INSTANCJI]
3284
3285 ****************************************************************************/
3286
3287 // ENG [Folder for functions containing all events and plugins] # PL [Folder w którym sa wszystkie eventy i pluginy]
3288 'folder' => 'fifth_instance',
3289
3290 // ENG [Bot interval in miliseconds] # PL [Interwal bota w milisekundach]
3291 'bot_interval' => 100, //1000 = one second
3292
3293 // ENG ['events_plugins' or 'commands' (default 'commands')] # PL ['events_plugins' lub 'commands' (domyślnie 'commands')]
3294 'function_type' => 'commands',
3295
3296 // ENG [Channel id for commands list] # PL [Id kanału do spisu komend]
3297 'commands_list' => 612,
3298);
3299
3300$config['instance']['5']['commands'] = array
3301(
3302 /*********************************************
3303
3304 ENG [COMMANDS] # PL [KOMENDY]
3305
3306
3307 Explanation:
3308
3309 [sgid] - server group id
3310 [message] - text message
3311 [instance_id] - Xbot instance id
3312
3313 *********************************************/
3314
3315 // ENG [Usage: !help]
3316 'help' => array
3317 (
3318 'enabled' => true,
3319 'privileged_groups' => array(30,87,902,867), // 0 - all groups
3320 ),
3321
3322 // ENG [Usage: !pwall-[message]]
3323 'pwall' => array
3324 (
3325 'enabled' => true,
3326 'privileged_groups' => array(30,87,902,867), // 0 - all groups
3327 ),
3328
3329 // ENG [Usage: !pokeall-[message]]
3330 'pokeall' => array
3331 (
3332 'enabled' => true,
3333 'privileged_groups' => array(30,87,902,867), // 0 - all groups
3334 ),
3335
3336 // ENG [Usage: !pwgroup-[sgid]-[message]]
3337 'pwgroup' => array
3338 (
3339 'enabled' => true,
3340 'privileged_groups' => array(30,87,902,867), // 0 - all groups
3341 ),
3342
3343 // ENG [Usage: !pokegroup-[sgid]-[message]]
3344 'pokegroup' => array
3345 (
3346 'enabled' => true,
3347 'privileged_groups' => array(30,87,902,867), // 0 - all groups
3348 ),
3349
3350 // ENG [Usage: !meeting]
3351 'meeting' => array
3352 (
3353 'enabled' => true,
3354 'privileged_groups' => array(30,87,902,867), // 0 - all groups
3355 'admins_server_groups' => array(30,87,86,76,38,48,88,49,83,50,84),
3356 'meeting_channel_id' => 224,
3357 ),
3358
3359 // ENG [Usage: !clients]
3360 'clients' => array //clients list
3361 (
3362 'enabled' => true,
3363 'privileged_groups' => array(30,87,902,867), // 0 - all groups
3364 ),
3365
3366 // ENG [Usage: !channels]
3367 'channels' => array //channels list
3368 (
3369 'enabled' => true,
3370 'privileged_groups' => array(30,87,902,867), // 0 - all groups
3371 ),
3372
3373 // ENG [Usage: !bot-[instance_id]] [Function is restarting Xbot's instance]
3374 'bot' => array //bot management (`starter.sh run` must be ON)
3375 (
3376 'enabled' => true,
3377 'privileged_groups' => array(30,867), // 0 - all groups
3378 ),
3379
3380 // ENG [Usage: !ch-[client_dbid]-[subchannels]]
3381 'ch' => array
3382 (
3383 'enabled' => true,
3384 'privileged_groups' => array(30,87,902,867), // 0 - all groups
3385 'head_channel_admin_group' => 12, //main head channel admin group id
3386 'message_type' => 'poke', //message type (poke or message)
3387 'empty_channel_topic' => '#free', //topic in empty channels
3388 'channels_zone' => 185, //parent channel id
3389 ),
3390
3391 // ENG [Usage: !mute-[client_dbid]-[time_in_seconds]]
3392 'mute' => array //give user specified group on specified time in seconds
3393 (
3394 'enabled' => true,
3395 'privileged_groups' => array(30,87,902,867), // 0 - all groups
3396 'give_group' => 58,
3397 ),
3398
3399 // ENG [Usage: !admin-[client_dbid]] || Database must be connect with
3400 'admin' => array //show information about specified admin
3401 (
3402 'enabled' => true,
3403 'privileged_groups' => array(30,87,902,867), // 0 - all groups
3404 'admins_groups' => array(30,867,902,87,76,38,48,88,49,815), //all admins groups
3405 ),
3406
3407 // ENG [Usage: !tpclient-[client_nick]]
3408 'tpclient' => array //moving to specified client
3409 (
3410 'enabled' => true,
3411 'privileged_groups' => array(30,87,902,867), // 0 - all groups
3412 ),
3413
3414 // ENG [Usage: !tpchannel-[channel_name]]
3415 'tpchannel' => array //moving to specified channel
3416 (
3417 'enabled' => true,
3418 'privileged_groups' => array(30,87,902,867), // 0 - all groups
3419 ),
3420
3421 // ENG [Usage: !gsecurity-[type]-[client_dbid]-[group_id] type=add or type=del
3422 'gsecurity' => array //adding/del user to groups security function
3423 (
3424 'enabled' => true,
3425 'privileged_groups' => array(30,87,902,867), // 0 - all groups
3426 'admins_groups' => array(30,867), //all admins groups checking in groups_security event
3427 ),
3428
3429 // ENG [Usage: !clientinfo-[client_dbid]] || Database must be connect with
3430 'clientinfo' => array //show information about specified client
3431 (
3432 'enabled' => true,
3433 'privileged_groups' => array(30,87,902,867), // 0 - all groups
3434 ),
3435);
3436
3437?>