· 6 years ago · Oct 26, 2019, 11:12 AM
1<?php
2 /********************************
3
4 Author: Tymoteusz `Razor Meister` Bartnik
5
6 Contact: battnik90@gmail.com
7
8 TS3: xbot-ts3.pl
9
10 Graphics: Maja, Adamek
11
12 Config File
13
14 ********************************/
15
16
17define('ICON_ID', 'i_icon_id');
18define('NEEDED_JOIN_POWER', 'i_channel_needed_join_power');
19define('NEEDED_SUBSCRIBE_POWER', 'i_channel_needed_subscribe_power');
20define('NEEDED_MODIFY_POWER', 'i_channel_needed_modify_power');
21
22$config['general'] = array
23(
24 'connection_ts3' => array
25 (
26 /**************************************************************************************
27
28 ENG [MAIN LOGIN TO TEAMSPEAK3 SERVER] # PL [GŁÓWNE LOGOWANIE DO TS3]
29
30 **************************************************************************************/
31
32 // ENG [TeamSpeak3 Server IP Adress] # PL [Adres IP serwera]
33 'IP' => '178.217.187.235',
34
35 // ENG [TeamSpeak3 Server Query Port] # PL [Port Query serwera]
36 'query_port' => '10011',
37
38 // ENG [TeamSpeak3 Server Port] # PL [Port serwera]
39 'port' => '9987',
40
41 // ENG [TeamSpeak3 Server Query Login] # PL [Login Query serwera]
42 'login' => 'serveradmin',
43
44 // ENG [TeamSpeak3 Server Query Password] # PL [Haslo Query serwera]
45 'password' => '56a721a5a475a',
46
47 'ssh_connect' => true,
48 ),
49 'connection_database' => array
50 (
51 /**************************************************************************************
52
53 ENG [MAIN LOGIN TO DATABASE] # PL [GŁÓWNE LOGOWANIE DO BAZY DANYCH]
54
55 **************************************************************************************/
56
57 // ENG [Database IP] # PL [Adres IP bazy danych]
58 'db_ip' => '127.0.0.1',
59
60 // ENG [Database user] # PL [Użytkownik bazy danych]
61 'db_user' => 'admin',
62
63 // ENG [Database password] # PL [Hasło do bazy danych]
64 'db_password' => 'dstH8VnU',
65
66 ## Port dla bazy danych
67 'db_port' => '3306',
68
69 // ENG [Database name] # PL [Nazwa bazy danych]
70 'db_name' => 'xbot',
71 ),
72 'instances_settings' => array
73 (
74 /**************************************************************************************
75
76 ENG [MAIN INSTANCES SETTINGS] # PL [GŁÓWNE USTAWIENIA INSTANCJI]
77
78 **************************************************************************************/
79
80 'settings' => array
81 (
82 // ENG [Show links to profile] # PL [Pokazuj linki do profilu]
83 'show_links' => array('enabled' => false, 'link' => 'http://panel.xbot-ts3.pl/website/?profile&dbid='),
84 // ENG [Main admins databases] # PL [Database id głównych adminów]
85 'main_admins_dbid' => array(4),
86 ),
87 'instances' => array
88 (
89 '1' => array //Aktualizator
90 (
91 'enabled' => true,
92 'database_enabled' => true,
93 'bot_name' => 'JTS ▪ Aktualizator',
94 'default_channel' => 13384,
95 ),
96 '2' => array //Administrator
97 (
98 'enabled' => true,
99 'database_enabled' => true,
100 'bot_name' => 'JTS ▪ Administrator',
101 'default_channel' => 13384,
102 ),
103 '3' => array //Database
104 (
105 'enabled' => true,
106 'database_enabled' => true,
107 'bot_name' => 'JTS ▪ Database',
108 'default_channel' => 13384,
109 ),
110 '4' => array //Channels Guard
111 (
112 'enabled' => true,
113 'database_enabled' => true,
114 'bot_name' => 'JTS ▪ Channels guard',
115 'default_channel' => 13384,
116 ),
117 '5' => array //Commander
118 (
119 'enabled' => true,
120 'database_enabled' => true,
121 'bot_name' => 'JTS ▪ Commander',
122 'default_channel' => 13384,
123
124 // ENG [Set individual ts3 login and password] # PL [Ustaw indywidualny login i hasło do ts3]
125 'individual_login' => array
126 (
127 'enabled' => false,
128 'login' => '',
129 'password' => '',
130 ),
131 ),
132 '6' => array //LiveHelp
133 (
134 'enabled' => true,
135 'database_enabled' => false,
136 'bot_name' => 'JTS ▪ LiveHelp',
137 'default_channel' => 27,
138
139 // ENG [Set individual ts3 login and password] # PL [Ustaw indywidualny login i hasło do ts3]
140 'individual_login' => array
141 (
142 'enabled' => false,
143 'login' => 'livehelp',
144 'password' => 'm9GORCzY',
145 ),
146 ),
147 ),
148 ),
149);
150
151$config['instance']['1']['logs_system'] = array
152(
153 /****************************************************************************
154
155 ENG [LOGS SYSTEM] # PL [SYSTEM LOGÓW]
156
157 ****************************************************************************/
158
159 'logs' => array
160 (
161 // ENG [Turn on/off logs system (true or false)] # PL [Włączenie lub wyłączenie systemu logów]
162 'enabled' => true,
163
164 // ENG [Days, after which, log files will be deleted] # PL [Czas w dniach, po których pliki logów zostana usunięte]
165 'delete_interval' => '3',
166 ),
167);
168
169$config['instance']['1']['options'] = array
170(
171 /****************************************************************************
172
173 ENG [INSTANCE OPTIONS] # PL [OPCJE INSTANCJI]
174
175 ****************************************************************************/
176
177 // ENG [Folder for functions containing all events and plugins] # PL [Folder w którym sa wszystkie eventy i pluginy]
178 'folder' => 'first_instance',
179
180 // ENG [Bot interval in seconds] # PL [Interwal bota w sekundach]
181 'bot_interval' => 1,
182
183 // ENG ['events_plugins' or 'commands' (default 'events_plugins')] # PL ['events_plugins' lub 'commands' (domyślnie 'events_plugins')]
184 'function_type' => 'events_plugins',
185);
186
187$config['instance']['1']['functions'] = array
188(
189
190 /**************************************
191
192 ENG [PLUGINS] # PL [PLUGINY]
193
194 **************************************/
195
196 'plugins' => true,
197
198 // ENG [Informing admins about upcoming meeting] # PL [Informowanie administracji o zbliżajacym się spotkaniu]
199 'admins_meeting' => array
200 (
201 'enabled' => false,
202 'info' => array
203 (
204 'admins_server_groups' => array(211), //all admins server groups
205 'channel_id' => 7, //meeting channel id
206 '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
207 'information_before' => true, //informing admins `time_to_meeting` seconds before meeting
208 'time_to_meeting' => 900, //in seconds
209 'move_admins' => true, //move admins to meeting channel on time
210 ),
211 ),
212
213 // ENG [Nicknames security] # PL [Ochrona nicków]
214 'nicks_security' => array
215 (
216 'enabled' => false,
217 'ignored_groups' => array(9,25,61,67,43,31,62,31,43,111,136,187,2114), //ignored groups
218 'file' => 'include/cache/nicks_security.txt', //bad phrases separated by ,(comma) without spaces, enters etc
219 'check_away_message' => true,
220 'check_client_description' => true, // Can slow down instance
221 'ban' => array
222 (
223 'enabled' => true, // true or false
224 'min_kicks' => 2, // ban after X kicks
225 'ban_time' => 5 * 60, // in seconds
226 'cache_reset' => 120, // in seconds
227 ),
228 ),
229
230 // ENG [Server groups limit] # PL [Limit grup serwera]
231 'groups_limit' => array
232 (
233 'enabled' => false,
234 'ignored_groups' => array(), //ignored groups which will not be check
235 'info' => array
236 (
237 /****************************************
238
239 '1' => array //growing number, for example 1, 2, 3...
240 (
241 'checking_groups' => array(52,53,54,55,56), //checking server groups
242 'limit' => 1, //limit of checking groups
243 ),
244
245 ****************************************/
246
247 '1' => array
248 (
249 'checking_groups' => array(52,53,54,55,56), //checking server groups
250 'limit' => 1, //limit of checking groups
251 ),
252 '2' => array
253 (
254 'checking_groups' => array(10,11,12,13,14,15,16,17,18,19,20,21), //checking server groups
255 'limit' => 2, //limit of checking groups
256 ),
257 ),
258 ),
259
260 // ENG [Move specified groups to channel from specified channel] # PL [Przenoszenie użytkowników z określoną grupą z kanału na kanał]
261 'move_groups' => array
262 (
263 'enabled' => true,
264 'if_client_on_channel' => array(13510), //All channels from which bot must move clients | Wszystkie kanały, z których bot ma movać
265 'vip_channels_from_xbot' => array
266 (
267 'enabled' => true,
268 'is_on_channel' => 13510,
269 'ignored_groups' => array(),
270 ),
271 'info' => array
272 (
273 /*************************
274
275 0 => array //growing number: 0,1,2 etc.
276 (
277 'is_on_channel' => 50, //form which channel bot must move people
278 'move_to_channel' => 25, //to which channel bot must move people
279 'groups' => array(14,13), //groups which will be checking
280 ),
281
282 *************************/
283
284 0 => array
285 (
286 'is_on_channel' => 13510, //PGR
287 'move_to_channel' => 13440,
288 'groups' => array(934),
289 ),
290 1 => array
291 (
292 'is_on_channel' => 13510, //KAP
293 'move_to_channel' => 13445,
294 'groups' => array(960),
295 ),
296 2 => array
297 (
298 'is_on_channel' => 13510, //WCA
299 'move_to_channel' => 13453,
300 'groups' => array(969),
301 ),
302 3 => array
303 (
304 'is_on_channel' => 13510, //CC
305 'move_to_channel' => 13468,
306 'groups' => array(1027),
307 ),
308 4 => array
309 (
310 'is_on_channel' => 13510, //WH
311 'move_to_channel' => 31224,
312 'groups' => array(1259),
313 ),
314 5 => array
315 (
316 'is_on_channel' => 13510, //WONSZ
317 'move_to_channel' => 13733,
318 'groups' => array(1296),
319 ),
320 6 => array
321 (
322 'is_on_channel' => 13510, //HT_Z
323 'move_to_channel' => 13997,
324 'groups' => array(1309),
325 ),
326 7 => array
327 (
328 'is_on_channel' => 13510, //MP
329 'move_to_channel' => 13530,
330 'groups' => array(997),
331 ),
332 8 => array
333 (
334 'is_on_channel' => 13510, //MTS
335 'move_to_channel' => 13636,
336 'groups' => array(1031),
337 ),
338 9 => array
339 (
340 'is_on_channel' => 13510, //OST
341 'move_to_channel' => 32419,
342 'groups' => array(1318),
343 ),
344 10 => array
345 (
346 'is_on_channel' => 13510, //WSP
347 'move_to_channel' => 24484,
348 'groups' => array(1331),
349 ),
350 11 => array
351 (
352 'is_on_channel' => 13510, //COVER
353 'move_to_channel' => 13701,
354 'groups' => array(1332),
355 ),
356 12 => array
357 (
358 'is_on_channel' => 13510, //NEPTUN
359 'move_to_channel' => 31888,
360 'groups' => array(1269),
361 ),
362 13 => array
363 (
364 'is_on_channel' => 13510, //GUZIK
365 'move_to_channel' => 32541,
366 'groups' => array(1323),
367 ),
368 14 => array
369 (
370 'is_on_channel' => 13510, //HE
371 'move_to_channel' => 21864,
372 'groups' => array(1314),
373 ),
374 15 => array
375 (
376 'is_on_channel' => 13510, //7
377 'move_to_channel' => 16346,
378 'groups' => array(1335),
379 ),
380 16 => array
381 (
382 'is_on_channel' => 13510, //GRZYB
383 'move_to_channel' => 20424,
384 'groups' => array(1325),
385 ),
386 17 => array
387 (
388 'is_on_channel' => 13510, //WOMBAT
389 'move_to_channel' => 22193,
390 'groups' => array(1252),
391 ),
392 18 => array
393 (
394 'is_on_channel' => 13510, //BLESSING
395 'move_to_channel' => 32519,
396 'groups' => array(1284),
397 ),
398 19 => array
399 (
400 'is_on_channel' => 13510, //11
401 'move_to_channel' => 13725,
402 'groups' => array(1324),
403 ),
404 20 => array
405 (
406 'is_on_channel' => 13510, //CC
407 'move_to_channel' => 21794,
408 'groups' => array(1140),
409 ),
410 21 => array
411 (
412 'is_on_channel' => 13510, //ABFTHC
413 'move_to_channel' => 16102,
414 'groups' => array(1308),
415 ),
416 22 => array
417 (
418 'is_on_channel' => 13510, //14
419 'move_to_channel' => 46296,
420 'groups' => array(1336),
421 ),
422 23 => array
423 (
424 'is_on_channel' => 13510, //15
425 'move_to_channel' => 15866,
426 'groups' => array(1337),
427 ),
428 24 => array
429 (
430 'is_on_channel' => 13510, //16
431 'move_to_channel' => 21757,
432 'groups' => array(1340),
433 ),
434
435 ),
436 ),
437
438 // ENG [Animated icon] # PL [Animowana ikonka]
439 'animated_icon' => array
440 (
441 'enabled' => false,
442 'info' => array
443 (
444 /*************************************************
445
446 id => array
447 (
448 'type' => 'servergroup' OR 'cldbid' //If servergroup, id = sgid || if cldbid, id = client database id
449 'icons' => array(-2072408170,968796862,1023685817,-1634246665,1726830382),
450 ),
451
452 *************************************************/
453
454 44 => array
455 (
456 'type' => 'servergroup',
457 'icons' => array(-2072408170,968796862,1023685817,-1634246665,1726830382),
458 ),
459 15 => array
460 (
461 'type' => 'cldbid',
462 'icons' => array(-2072408170,968796862,1023685817,-1634246665,1726830382),
463 ),
464 ),
465 ),
466
467 /**************************************
468
469 ENG [EVENTS] # PL [EVENTY]
470
471 **************************************/
472
473 'events' => true,
474
475 // ENG [Online users] # PL [Użytkownicy online]
476 'online_users' => array
477 (
478 'enabled' => true,
479 'channel_id' => 50087,
480 'ignored_groups' => array(0,),
481 'channel_name' => '[cspacer]•● Użytkowników Online: [ONLINE] ●•', //[ONLINE] - online users
482 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
483 ),
484
485 // ENG [Record amount of clients online] # PL [Rekordowa ilośc użytkowników online]
486 'record_online' => array
487 (
488 'enabled' => true,
489 'channel_id' => 13393,
490 'channel_name' => '[cspacer9]•● Rekord Osób Online: [RECORD] ●•', //[RECORD] - record online users
491 'show_history' => true,
492 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 20),
493 ),
494
495 // ENG [List of admins online] # PL [Lista adminów online]
496 'admin_list_online' => array
497 (
498 'enabled' => true,
499 'channel_id' => 50092,
500 'admins_server_groups' => array(958,993,1098,965,1071),
501 'ignored_groups' => array(56),
502 'channel_name' => '[cspacer]☢ ADMINI ONLINE: [[ONLINE]] ☢', //[ONLINE] - Admins online
503 'top_description' => 'Lista Administracji online',
504 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 60),
505 ),
506
507 // ENG [Admin list] # PL [Lista adminów]
508 'admin_list' => array
509 (
510 'enabled' => true,
511 'min_idle_time' => 5*60, //minimal client idle time to be away (in seconds)
512 'admins_count' => true, //enable admins count in description
513 'info' => array
514 (
515 13490 => array //channel id
516 (
517 'admins_server_groups' => array(958,993,1098,965,1071),
518 'ignored_groups' => array(56),
519 'top_description' => '[img]https://i.imgur.com/onCuRVU.png[/img]',
520 'icons_enabled' => false, //Convert rang name to icon
521 'icons' => array
522 (
523 /*************************
524
525 group_id => 'url_to_image',
526
527 ************************/
528
529 415 => 'https://i.imgur.com/00vgtlc.png',
530 35 => 'http://surf-ts3.pl/IMAGE/manager.png',
531 ),
532 ),
533 ),
534 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 60),
535 ),
536
537 // ENG [Change channel name] # PL [Zmiana nazwy kanalu]
538 'change_channel' => array
539 (
540 'enabled' => false,
541 'channel_id' => 134,
542 'channel_name' => array
543 (
544 '[cspacer] Dziękujemy, że jesteś z nami',
545 '[cspacer] Nasze IP się nie zmienia',
546 '[cspacer] Witamy na serwerze XBot-ts3.pl',
547 ),
548 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 45),
549 ),
550
551 // ENG [Multifunction] # PL [Wielofunkcyjnośc]
552 'multi_function' => array
553 (
554 'enabled' => false,
555 'content' => array
556 (
557 'total_ping' => array // ENG [server total ping in channel name] # PL [ping serwera w nazwie kanalu]
558 (
559 'enabled' => true,
560 'channel_id' => 12,
561 'channel_name' => '» Średni ping wynosi: [PING]', // [PING] = ping
562 'integer' => true, // true or false (ping in integer)
563 ),
564 'packet_loss' => array // ENG [server packet loss in channel name] # PL [packet loss serwera w nazwie kanalu]
565 (
566 'enabled' => true,
567 'channel_id' => 13,
568 'channel_name' => '» Packetloss wynosi: [PACKETLOSS]%', // [PACKETLOSS] = packetloss
569 'integer' => true, // true or false (packetloss in integer)
570 ),
571 'channels_count' => array // ENG [channels count in channel name] # PL [ilosc kanalów w nazwie kanalu]
572 (
573 'enabled' => true,
574 'channel_id' => 14,
575 'channel_name' => '» Kanałów ogółem: [CHANNELS]', // [CHANNELS] = channels count
576 ),
577 'bytes_upload' => array // ENG [bytes upload on server in channel name] # PL [ilość danych wysłanych przez serwer]
578 (
579 'enabled' => true,
580 'channel_id' => 15,
581 'channel_name' => '» Danych wysłanych: [UPLOAD]', // [UPLOAD] = bytes upload
582 ),
583 'bytes_download' => array // ENG [bytes download on server in channel name] # PL [ilość danych pobranych przez serwer]
584 (
585 'enabled' => true,
586 'channel_id' => 16,
587 'channel_name' => '» Danych pobranych: [DOWNLOAD]', // [DWONLOAD] = bytes download
588 ),
589 ),
590 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 15),
591 ),
592
593 // ENG [Support channels] # PL [Kanały pomocy]
594 'support_channels' => array
595 (
596 'enabled' => false,
597 'content' => array
598 (
599 'time_open' => array //Channels open at a specific time
600 (
601 '0' => array // growing number for example 1, 2, 3...
602 (
603 'channelId' => 27, // channel id
604 'time_open' => '09:00', // time of opening
605 'time_close' => '23:00', // time of closing
606 'channel_name_open' => '≈dyżυrĸα αdмιɴα тeαмѕpeαĸ', // channel name when opened
607 'channel_name_close' => '≈dyżυrĸα αdмιɴα тeαмѕpeαĸ [oғғ]', // channel name when closed
608 'needed_join_power' => 1500, //when close
609 'change_maxfamily_clients' => false, // close family channels too
610 ),
611 '1' => array // growing number for example 1, 2, 3...
612 (
613 'channelId' => 33, // channel id
614 'time_open' => '09:00', // time of opening
615 'time_close' => '23:00', // time of closing
616 'channel_name_open' => '≈cнcę ĸυpιć υѕłυɢę', // channel name when opened
617 'channel_name_close' => '≈cнcę ĸυpιć υѕłυɢę [oғғ]', // channel name when closed
618 'needed_join_power' => 1500, //when close
619 'change_maxfamily_clients' => false, // close family channels too
620 ),
621 ),
622 'open_when_admin' => array //Channels open when admin from server group is online
623 (
624 /*************************
625
626 ###
627 # open when admin from groups online: 'admin' => array(server_groups separated by comma),
628 ###
629
630 ###
631 # open when client online: 'admin' => client_database_id,
632 ###
633
634 *************************/
635
636 '0' => array // growing number for example 1, 2, 3...
637 (
638 'channelId' => 0, // channel id
639 'admin' => 0,
640 'channel_name_open' => '» Centrum pomocy [ON]', // channel name when opened
641 'channel_name_close' => '» Centrum pomocy[OFF]', // channel name when closed
642 'needed_join_power' => 200, //when close
643 'change_maxfamily_clients' => false, // close family channels too
644 ),
645 ),
646 ),
647 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 60),
648 ),
649
650 // ENG [Get vip channel] # PL [Otrzymywanie kanału vip]
651 'get_vip_channel' => array // Db must be on
652 (
653 'enabled' => false,
654 'if_client_on_channel' => array(19,20), // all checking channels id
655
656 //online_from_server_group function must be ON and get_server_group function must be ON
657
658 'info' => array
659 (
660 'VIP' => array //Zone name for example 'VIP' | 'GOLD'
661 (
662 'if_on_channel' => 19,
663 'server_group_copy' => 55, // server group to copy
664 'channel_group_id' => 12, // default channel admin group
665 'subchannels' => 5, // how many subchannels
666 'subchannels_red' => true, // true - max cleints = 0 | false - max clients = unlimited
667 'online_from_server_group' => true, // create channel with information about clients from server group
668 'get_server_group' => true, // create channel add/del server group
669 'after_channel' => 171, // the first channel for example spacer
670 'join_needed' => 100,
671
672 'spacer_between' => array
673 (
674 'enabled' => true,
675 'spacer_name' => '[*spacerVIP[NUM]]___',
676 'join_needed' => 150,
677 'modify_needed' => 100,
678 ),
679 'main_channel' => '[lspacer] [[NUM]] ViP', // [NUM] - vip channel number
680 'empty_topic' => '#WOLNY', // Topic in empty channel (remember it)
681 ),
682 'Diamond' => array //Zone name for example 'VIP' | 'GOLD'
683 (
684 'if_on_channel' => 20,
685 'server_group_copy' => 57, // server group to copy
686 'channel_group_id' => 12, // default channel admin group
687 'subchannels' => 15, // how many subchannels
688 'subchannels_red' => true, // true - max cleints = 0 | false - max clients = unlimited
689 'online_from_server_group' => true, // create channel with information about clients from server group
690 'get_server_group' => true, // create channel add/del server group
691 'after_channel' => 96, // the first channel for example spacer
692 'join_needed' => 150,
693
694 'spacer_between' => array
695 (
696 'enabled' => true,
697 'spacer_name' => '[*spacerDiamond[NUM]]---',
698 'join_needed' => 100,
699 'modify_needed' => 100,
700 ),
701 'main_channel' => '[lspacer] [[NUM]] Diamond', // [NUM] - vip channel number
702 'empty_topic' => '#WOLNY_D', // Topic in empty channel (remember it)
703 ),
704 ),
705 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 15),
706 ),
707
708 // ENG [Get vip channel spacer] # PL [Otrzymywanie kanału vip na spacerach]
709 'get_vip_channel_spacer' => array // Db must be on
710 (
711 'enabled' => false,
712 'if_client_on_channel' => array(21), // all checking channels id
713 'create_interval' => 1000000, // In miliseconds
714
715 'info' => array
716 (
717 'Premium' => array //Zone name for example 'VIP' | 'GOLD'
718 (
719 'if_on_channel' => 21,
720 'server_group_copy' => 57, // server group to copy
721 'channel_group_id' => 12, // default channel admin group
722 'after_channel' => 82, // the first channel for example spacer
723 'online_from_server_group_name' => '[rspacer] [SERVER_GROUP]: [ONLINE]/[MAX]', // [SERVER_GROUP] - group name, [ONLINE],
724
725 'spacers' => array
726 (
727 /*************************************
728
729 '1' => array // Growing number
730 (
731 'spacer' => array
732 (
733 'name' => '[cspacer] [[NUM]] Premium', // [NUM] - vip channel number
734 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
735 'join_needed' => 10, // Join needed permission
736 'subscribe_needed' => 0, // Subscribe needed permission
737 ),
738 'subchannels' => array
739 (
740 'count' => 0, // How many subchannels
741 'name' => 'Podkanał [NUM]', // [NUM] - subchannel number
742 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited
743 'join_needed' => 0, // Join needed permission
744 'subscribe_needed' => 0, // Subscribe needed permission
745 ),
746 ),
747
748 online_from_server_group function must be ON and get_server_group function must be ON
749
750 add `'get_group_spacer' => true` if get group must be a spacer
751 add `'online_group_spacer' => true` if online from group must be a spacer
752
753 add `'get_group_subchannel' => true` if get group must be in the subchannel
754 add `'online_group_subchannel' => true` if online from group must be in the subchannel
755
756 *************************************/
757
758 '1' => array // Main channel
759 (
760 'spacer' => array
761 (
762 'name' => '[cspacer] [[NUM]] Premium', // [NUM] - vip channel number
763 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
764 'join_needed' => 10, // Join needed permission
765 'subscribe_needed' => 0, // Subscribe needed permission
766 ),
767 'subchannels' => array
768 (
769 'count' => 0, // How many subchannels
770 'name' => 'Podkanał [NUM]', // [NUM] - subchannel number
771 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited
772 'join_needed' => 0, // Join needed permission
773 'subscribe_needed' => 0, // Subscribe needed permission
774 ),
775 ),
776 '2' => array // Main channel
777 (
778 'spacer' => array
779 (
780 'name' => '[rspacer[NUM]] Online z:', // [NUM] - vip channel number
781 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
782 'join_needed' => 10, // Join needed permission
783 'subscribe_needed' => 0, // Subscribe needed permission
784 ),
785 'subchannels' => array
786 (
787 'count' => 0, // How many subchannels
788 'name' => 'Podkanał [NUM]', // [NUM] - subchannel number
789 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited
790 'join_needed' => 0, // Join needed permission
791 'subscribe_needed' => 0, // Subscribe needed permission
792 ),
793 'online_group_spacer' => true,
794 ),
795 '3' => array // Main channel
796 (
797 'spacer' => array
798 (
799 'name' => '[rspacer[NUM]] Nadaj grupe', // [NUM] - vip channel number
800 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
801 'join_needed' => 10, // Join needed permission
802 'subscribe_needed' => 0, // Subscribe needed permission
803 ),
804 'subchannels' => array
805 (
806 'count' => 0, // How many subchannels
807 'name' => 'Podkanał [NUM]', // [NUM] - subchannel number
808 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited
809 'join_needed' => 0, // Join needed permission
810 'subscribe_needed' => 0, // Subscribe needed permission
811 ),
812 'get_group_spacer' => true,
813 ),
814 '4' => array
815 (
816 'spacer' => array
817 (
818 'name' => '[lspacerzarzad[NUM]]Zarząd', // [NUM] - vip channel number
819 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
820 'join_needed' => 10, // Join needed permission
821 'subscribe_needed' => 0, // Subscribe needed permission
822 ),
823 'subchannels' => array
824 (
825 'count' => 3, // How many subchannels
826 'name' => 'Zarząd: [NUM]', // [NUM] - subchannel number
827 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited
828 'join_needed' => 20, // Join needed permission
829 'subscribe_needed' => 50, // Subscribe needed permission
830 ),
831 ),
832 '5' => array
833 (
834 'spacer' => array
835 (
836 'name' => '[lspacerkanaly[NUM]]Kanały', // [NUM] - vip channel number
837 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
838 'join_needed' => 10, // Join needed permission
839 'subscribe_needed' => 30, // Subscribe needed permission
840 ),
841 'subchannels' => array
842 (
843 'count' => 4, // How many subchannels
844 'name' => 'Kanał #[NUM]', // [NUM] - subchannel number
845 'subchannels_red' => false, // true - max clients = 0 | false - max clients = unlimited
846 'join_needed' => 0, // Join needed permission
847 'subscribe_needed' => 0, // Subscribe needed permission
848 ),
849 ),
850 ),
851 'spacer_between' => array
852 (
853 'enabled' => true,
854 'spacer_name' => '[*spacerPremium[NUM]]___',
855 'join_needed' => 150,
856 'modify_needed' => 100,
857 ),
858 ),
859 ),
860 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 15),
861 ),
862
863 // ENG [Information on channel about twitch/youtube channel] # PL [Informacje o kanale twitch/youtube]
864 'twitch_yt' => array
865 (
866 'enabled' => false,
867 'info' => array
868 (
869 'twitch_enabled' => true,
870 'twitch_api_key' => 'oaocbf2zpmv6807kp9jcxkwmcjvq5a', // you can change it if you want https://www.twitch.tv/settings/connections
871 'twitch' => array
872 (
873 'izakooo' => array //Twitch channel name
874 (
875 'main_channel' => array //Channel where will be description
876 (
877 'channel_id' => 23,
878 'channel_name' => '» [Twitch] izakooo [STATUS_TWITCH]', //[STATUS_TWITCH] - on live or no
879 ),
880 'follows' => array //Channel where will be followers count in channel name
881 (
882 'channel_id' => 464,
883 'channel_name' => '» Followersów: [FOLLOWS]', //[FOLLOWS] - FOLLOWS count
884 ),
885 ),
886 ),
887 'youtube_enabled' => true,
888 'youtube_api_key' => 'AIzaSyDSeoveGEL2Tycy3M2FBnf5uyPVlZk7et8', // YouTube api key
889 'youtube' => array
890 (
891 /*****************************************
892
893 'UC-suExuAUNgJmyKcxA-PGzg' => array //YouTube channel id
894 (
895 'main_channel' => array //Channel where will be description and SUBS in channel name
896 (
897 'channel_id' => 0, //channel id
898 'channel_name' => '[ YouTuber ] Ramzes: [SUBS] subów', //[SUBS] - subscribers //[NAME] - youtuber nick
899 ),
900 'videos_count' => array //Channel where will be Videos count in channel name
901 (
902 'channel_id' => 0, //channel id
903 'channel_name' => '» Filmów na kanale: [VIDEOS]', //[VIDEOS] - videos count
904 ),
905 'views_count' => array //Channel where will be views count in channel name
906 (
907 'channel_id' => 0, //channel id
908 'channel_name' => '» Wyświetleń: [VIEWS]', //[VIEWS] - views count
909 ),
910 ),
911
912 ******************************************/
913
914 'UCSeqSPSJDl0EXezzjJrwQNg' => array //YouTube channel id
915 (
916 'main_channel' => array //Channel where will be description and SUBS in channel name
917 (
918 'channel_id' => 24,
919 'channel_name' => '» [YouTuber] izak LIVE: [SUBS] subów', //[SUBS] - subscribers //[NAME] - youtuber nick
920 ),
921 'videos_count' => array //Channel where will be Videos count in channel name
922 (
923 'channel_id' => 25,
924 'channel_name' => '» Filmów na kanale: [VIDEOS]', //[VIDEOS] - videos count
925 ),
926 'views_count' => array //Channel where will be views count in channel name
927 (
928 'channel_id' => 26,
929 'channel_name' => '» Wyświetleń: [VIEWS]', //[VIEWS] - views count
930 ),
931 ),
932 ),
933 ),
934 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 7,'seconds' => 0),
935 ),
936
937 // ENG [clients online from server group] # PL [użytkownicy danej grupy serwera online]
938 'online_from_server_group' => array
939 (
940 'enabled' => true,
941 'show_time' => true, //only for groups which have maximal 15 members | true / false
942 'max_users' => 30, //max users in description
943
944 'info' => array
945 (
946 /*******************************
947
948 233 => array // Channel ID
949 (
950 'server_groups' => array(10), // Server groups separated by comma
951 'show_description' => true, // Show users in description
952 'only_online' => true, // Show only online clients
953 'channel_name' => '[rspacer]Online z [SERVER_GROUP]: [ONLINE]/[MAX]', // Channel name
954 'top_description' => '| Lista osób z rangi: [SERVER_GROUP] |', // Top description
955 ),
956
957 *******************************/
958
959 50094 => array
960 (
961 'server_groups' => array(878),
962 'show_description' => true,
963 'only_online' => false,
964 'channel_name' => '[cspacer]•● Lista Vipów ●•',
965 'top_description' => '•● Lista Vipów ●•',
966 ),
967 50093 => array
968 (
969 'server_groups' => array(934),
970 'show_description' => true,
971 'only_online' => false,
972 'channel_name' => '[rspacer]członkowie [[SERVER_GROUP]]: [ONLINE]/[MAX]',
973 'top_description' => '| Lista osób z rangi: [SERVER_GROUP] |',
974 ),
975 50095 => array
976 (
977 'server_groups' => array(960),
978 'show_description' => true,
979 'only_online' => false,
980 'channel_name' => '[rspacer]członkowie [[SERVER_GROUP]]: [ONLINE]/[MAX]',
981 'top_description' => '| Lista osób z rangi: [SERVER_GROUP] |',
982 ),
983 50096 => array
984 (
985 'server_groups' => array(969),
986 'show_description' => true,
987 'only_online' => false,
988 'channel_name' => '[rspacer]członkowie [[SERVER_GROUP]]: [ONLINE]/[MAX]',
989 'top_description' => '| Lista osób z rangi: [SERVER_GROUP] |',
990 ),
991 50097 => array
992 (
993 'server_groups' => array(1027),
994 'show_description' => true,
995 'only_online' => false,
996 'channel_name' => '[rspacer]członkowie [[SERVER_GROUP]]: [ONLINE]/[MAX]',
997 'top_description' => '| Lista osób z rangi: [SERVER_GROUP] |',
998 ),
999 50098 => array
1000 (
1001 'server_groups' => array(1259),
1002 'show_description' => true,
1003 'only_online' => false,
1004 'channel_name' => '[rspacer]członkowie [[SERVER_GROUP]]: [ONLINE]/[MAX]',
1005 'top_description' => '| Lista osób z rangi: [SERVER_GROUP] |',
1006 ),
1007 50099 => array
1008 (
1009 'server_groups' => array(1296),
1010 'show_description' => true,
1011 'only_online' => false,
1012 'channel_name' => '[rspacer]członkowie [[SERVER_GROUP]]: [ONLINE]/[MAX]',
1013 'top_description' => '| Lista osób z rangi: [SERVER_GROUP] |',
1014 ),
1015 50100 => array
1016 (
1017 'server_groups' => array(1309),
1018 'show_description' => true,
1019 'only_online' => false,
1020 'channel_name' => '[rspacer]członkowie [[SERVER_GROUP]]: [ONLINE]/[MAX]',
1021 'top_description' => '| Lista osób z rangi: [SERVER_GROUP] |',
1022 ),
1023 50101 => array
1024 (
1025 'server_groups' => array(997),
1026 'show_description' => true,
1027 'only_online' => false,
1028 'channel_name' => '[rspacer]członkowie [[SERVER_GROUP]]: [ONLINE]/[MAX]',
1029 'top_description' => '| Lista osób z rangi: [SERVER_GROUP] |',
1030 ),
1031 50102 => array
1032 (
1033 'server_groups' => array(1031),
1034 'show_description' => true,
1035 'only_online' => false,
1036 'channel_name' => '[rspacer]członkowie [[SERVER_GROUP]]: [ONLINE]/[MAX]',
1037 'top_description' => '| Lista osób z rangi: [SERVER_GROUP] |',
1038 ),
1039
1040 ),
1041 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 120),
1042 ),
1043
1044 // ENG [assign server group if client enters a channel] # PL [przypisz grupę serwera po wejściu na kanal]
1045 'get_server_group' => array
1046 (
1047 'enabled' => false,
1048 'if_client_on_channel' => array(170), //all checking channels id
1049 'delete_rang' => true, //delete rang if client is on channel
1050 'client_kick' => true, //Kick client from channel after assignment/deleted group | true / false
1051 'poke_client' => false, //Poke client for example: You have just received clan group!
1052 'add_channel_group' => array //Only for channels from fucntion get_vip_channel and get_vip_channel_spacer
1053 (
1054 'enabled' => true,
1055 'guest_channel_group' => 15, //default, guest channel group
1056 'zones' => array
1057 (
1058 /**************
1059 'zone_name' => 'channel_group',
1060 **************/
1061 'VIP' => 13,
1062 'Premium' => 16,
1063 ),
1064 ),
1065 'info' => array
1066 (
1067 //21410 => 227, //channel id => server group id
1068 170 => 13,
1069 ),
1070 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 10),
1071 ),
1072
1073 // ENG [Ddos information] # PL [Informacje o ddos]
1074 'ddos_information' => array
1075 (
1076 'enabled' => false,
1077 'file' => 'include/cache/ddos_information.txt',
1078 'packet_loss' => 10, //from what packet loss%(numeric) send global information
1079 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 30),
1080 ),
1081
1082 // ENG [Informing about client in channel name] # PL [Status użytkownika w nazwie kanalu]
1083 'client_on_channel' => array
1084 (
1085 'enabled' => true,
1086 'server_groups_id' => array(958,993,1098,965,1071), //all checking client's server groups
1087 'ignored_groups' => array(56),
1088 'idle_time' => 1800, //idle time to have away status (in seconds)
1089 'show_description' => true, //show description on channels
1090 'status' => array
1091 (
1092 'online' => '[oɴlιɴe]',
1093 'offline' => '[oғғlιɴe]',
1094 'away' => '[αwαy]',
1095 ),
1096 'info' => array
1097 (
1098 /***************************************************************
1099
1100 (you can copy this to use this function many times)
1101
1102 10 => array //client databse id => array
1103 (
1104 'channel_id' => 432, //channel id
1105 'format' => '[RANG] >> [NICK] >> [STATUS]', //format on channel name [RANG] - server group name, [NICK] - client nick, [STATUS] - client status (online/away/offline)
1106 'fb' => 'https://www.facebook.com/XBot-bot-na-tw%C3%B3j-serwer-TS3-1719172075053504/messages/', //If none set 0
1107 'email' => 'battnik90@gmail.com', //If none set 0
1108 ),
1109
1110 ***************************************************************/
1111
1112 58183 => array //client databse id => array
1113 (
1114 'channel_id' => 13408, //channel id ayako
1115 'format' => '[W] [NICK] [STATUS]', //format on channel name [RANG] - server group name, [NICK] - client nick, [STATUS] - client status (online/away/offline)
1116 'fb' => 'https://web.facebook.com/jointspeak/', //If none set 0
1117 'email' => '0', //If none set 0
1118 ),
1119 58182 => array // client dbid => array mr deuo
1120 (
1121 'channel_id' => 15918, //channel id
1122 'format' => '[W] [NICK] [STATUS]', //format on channel name [RANG] - server group name, [NICK] - client nick, [STATUS] - client status (online/away/offline)
1123 'fb' => 'https://web.facebook.com/jointspeak/',
1124 'email' => '0',
1125 ),
1126 62757 => array // client dbid => array leszek
1127 (
1128 'channel_id' => 13415, //channel id
1129 'format' => '[W] [NICK] [STATUS]', //format on channel name [RANG] - server group name, [NICK] - client nick, [STATUS] - client status (online/away/offline)
1130 'fb' => 'https://web.facebook.com/jointspeak/',
1131 'email' => '0',
1132 ),
1133 142168 => array // client dbid => array neak
1134 (
1135 'channel_id' => 50086, //channel id
1136 'format' => '[R] [NICK] [STATUS]', //format on channel name [RANG] - server group name, [NICK] - client nick, [STATUS] - client status (online/away/offline)
1137 'fb' => 'https://web.facebook.com/jointspeak/',
1138 'email' => '0',
1139 ),
1140 140890 => array // client dbid => array neo
1141 (
1142 'channel_id' => 50090, //channel id
1143 'format' => '[R] [NICK] [STATUS]', //format on channel name [RANG] - server group name, [NICK] - client nick, [STATUS] - client status (online/away/offline)
1144 'fb' => 'https://web.facebook.com/jointspeak/',
1145 'email' => '0',
1146 ),
1147 85775 => array // client dbid => array malina
1148 (
1149 'channel_id' => 24386, //channel id
1150 'format' => '[SA] [NICK] [STATUS]', //format on channel name [RANG] - server group name, [NICK] - client nick, [STATUS] - client status (online/away/offline)
1151 'fb' => 'https://web.facebook.com/jointspeak/',
1152 'email' => '0',
1153 ),
1154 74731 => array // client dbid => array fiflak
1155 (
1156 'channel_id' => 21410, //channel id
1157 'format' => '[SA] [NICK] [STATUS]', //format on channel name [RANG] - server group name, [NICK] - client nick, [STATUS] - client status (online/away/offline)
1158 'fb' => 'https://web.facebook.com/jointspeak/',
1159 'email' => '0',
1160 ),
1161 138967 => array // client dbid => array rama
1162 (
1163 'channel_id' => 33935, //channel id
1164 'format' => '[M] [NICK] [STATUS]', //format on channel name [RANG] - server group name, [NICK] - client nick, [STATUS] - client status (online/away/offline)
1165 'fb' => 'https://web.facebook.com/jointspeak/',
1166 'email' => '0',
1167 ),
1168 98699 => array // client dbid => array volby
1169 (
1170 'channel_id' => 43228, //channel id
1171 'format' => '[M] [NICK] [STATUS]', //format on channel name [RANG] - server group name, [NICK] - client nick, [STATUS] - client status (online/away/offline)
1172 'fb' => 'https://web.facebook.com/jointspeak/',
1173 'email' => '0',
1174 ),
1175 142196 => array // client dbid => array rosalie
1176 (
1177 'channel_id' => 50082, //channel id
1178 'format' => '[M] [NICK] [STATUS]', //format on channel name [RANG] - server group name, [NICK] - client nick, [STATUS] - client status (online/away/offline)
1179 'fb' => 'https://web.facebook.com/jointspeak/',
1180 'email' => '0',
1181 ),
1182 142221 => array // client dbid => array dragon
1183 (
1184 'channel_id' => 50126, //channel id
1185 'format' => '[M] [NICK] [STATUS]', //format on channel name [RANG] - server group name, [NICK] - client nick, [STATUS] - client status (online/away/offline)
1186 'fb' => 'https://web.facebook.com/jointspeak/',
1187 'email' => '0',
1188 ),
1189 59029 => array // client dbid => array percio
1190 (
1191 'channel_id' => 49082, //channel id
1192 'format' => '[JM] [NICK] [STATUS]', //format on channel name [RANG] - server group name, [NICK] - client nick, [STATUS] - client status (online/away/offline)
1193 'fb' => 'https://web.facebook.com/jointspeak/',
1194 'email' => '0',
1195 ),
1196
1197 ),
1198 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 15),
1199 ),
1200
1201 // ENG [Status sinusbot] # PL [Status sinusbotów]
1202 'status_sinusbot' => array
1203 (
1204 'enabled' => false,
1205 'channel_id' => 28,
1206 'bots_server_groups' => array(31),
1207 'top_description' => '[img]https://i.imgur.com/cWwskNb.png[/img]',
1208 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 0),
1209 ),
1210
1211 // ENG [List of server queries online] # PL [Lista klientów server query online]
1212 'server_query_online' => array
1213 (
1214 'enabled' => false,
1215 'channel_id' => 29,
1216 'channel_name' => '» Server Query online: [ONLINE]', //[ONLINE] - Server Query online
1217 'top_description' => '[img]https://i.imgur.com/KCvBQlm.png[/img]',
1218 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 20),
1219 ),
1220
1221 // ENG [Ban list] # PL [Lista banów]
1222 'ban_list' => array
1223 (
1224 'enabled' => false,
1225 'channel_id' => 30,
1226 'how_many' => 10,
1227 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 0),
1228 ),
1229
1230 // ENG [Facebook posts] # PL [Posty z facebook'a]
1231 'facebook_posts' => array
1232 (
1233 'enabled' => false,
1234 'channel_id' => 1877,
1235 'channel_name' => '[rspacer] ▫ ғαɴpαɢe - [LIKES] lιĸeѕ [»]', //[LIKES] - likes count
1236 'page_id' => '362765497564924', //You can find it on website: https://findmyfbid.com/
1237 'access_token' => 'EAAO6Mi2KIBIBAED8FpG3lzaRWHWg9vptnC5GUZBUaNjkzXZBo8Vi30fIxOOaZBs7C7ncoSxEbieyOwJ4XdlMPtL6v4LZBlQBPFpbBH9AC0nRNLsEwx3jEoaZAZCMrLpWeNRhn1CpaIjPHlK4ZCDmGQakIYpovOZBCevO3rW9MiCuaAieg9JISWQJzu4ODzzWhAEZD',
1238 'posts' => 1,
1239 'link_to_fanpage' => 'https://www.facebook.com/justforskillts3/',
1240 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 1,'minutes' => 0,'seconds' => 0),
1241 ),
1242
1243 // ENG [Game servers' info] # PL [Informacje o serwerach gier]
1244 'servers_info' => array
1245 (
1246 'enabled' => false,
1247 'info' => array
1248 (
1249 /******************************************
1250
1251 0 => array
1252 (
1253 'type' => 'server_type',
1254 'host' => 'ip:port', //for example 195.32.532.321:1045
1255 'channel_id' => channel_id(value), //for exaple 45
1256 'channel_name' => 'channel_name(value)',
1257 ),
1258
1259 server_type: 'cs16' - CS 1.6 server | 'csgo' - CS:GO server | 'minecraft' - Minecraft server
1260 All servers: https://github.com/Austinb/GameQ/tree/v3/src/GameQ/Protocols
1261
1262 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
1263
1264 For example:
1265
1266 0 => array growing number from 0 (0,1,2,3,4,5,itd)
1267 (
1268 'type' => 'cs16',
1269 'host' => '193.70.125.254:27030',
1270 'channel_id' => 20922,
1271 'channel_name' => 'Online: [CLIENTS_ONLINE] | Mapa: [MAP]',
1272 'custom_server_name' => '0', // Set 0 if none
1273 ),
1274
1275 ******************************************/
1276
1277 0 => array
1278 (
1279 'type' => 'minecraft',
1280 'host' => '185.38.248.198:25931',
1281 'channel_id' => 1765,
1282 'channel_name' => '» JUSTFORSKILL.COM [SURVIVAL] ([CLIENTS_ONLINE]/[CLIENTS_MAX])',
1283 'custom_server_name' => 'JUSTFORSKILL.COM [SURVIVAL]', // Set 0 if none
1284 ),
1285 ),
1286 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 5,'seconds' => 0),
1287 ),
1288
1289 // ENG [Users' country list] # PL [Lista krajów użytkowników]
1290 'country_list' => array
1291 (
1292 'enabled' => false,
1293 'channel_id' => 35,
1294 'channel_name' => '» Osób online spoza Polski: [ONLINE]', //[ONLINE] online clients outside the specified country
1295 'default_country' => 'PL',
1296 'top_description' => 'Lista osób ONLINE spoza Polski',
1297 'ignored_groups' => array(31,43),
1298 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 2,'seconds' => 0),
1299 ),
1300
1301 // ENG [Name_day in channel name] # PL [Imieniny w nazwie kanału]
1302 'name_day' => array
1303 (
1304 'enabled' => false,
1305 'channel_id' => 36,
1306 'channel_name' => '» Imieniny: [NAME]', //[NAME] - name
1307 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 2,'seconds' => 0),
1308 ),
1309
1310 // ENG [Partners] # PL [Partnerzy]
1311 'partners' => array
1312 (
1313 'enabled' => false,
1314 'channel_id' => 129,
1315 'info' => array
1316 (
1317 '[cspacer] TSowicze.pl' => "[center][img]https://i.imgur.com/oKhD1uM.png[/img][/center]",
1318 '[cspacer] Aplikacja XBot' => "[center][img]http://adamek-ts3.eu/png/Xbot.png[/img][hr][/center][center][size=15][b]Informacje[/b][/size][/center][hr]
1319[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]
1320[hr][/list]",
1321 ),
1322 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 0),
1323 ),
1324
1325 // ENG [Generate cache] # PL [Generuj plik cache]
1326 'generate_cache' => array
1327 (
1328 'enabled' => false,
1329 'target_file' => '/var/www/html/panel_vip/cache/cache.txt',
1330 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
1331 ),
1332
1333 // ENG [XBot info] # PL [Informacje od twórcy w opisie kanału]
1334 'xbot_info' => array //Checking on the server every 15 minutes
1335 (
1336 'enabled' => false,
1337 'channel_id' => 37,
1338 'translate' => array
1339 (
1340 'enabled' => false,
1341 'target_language' => 'en', // Type language code https://cloud.google.com/translate/docs/languages
1342 ),
1343 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 30),
1344 ),
1345
1346 // ENG [Get YT channel] # PL [Otrzymywanie kanału YouTube]
1347 'get_yt_channel' => array // Db must be on
1348 (
1349 'enabled' => false,
1350 'if_client_on_channel' => array(38), // all checking channels id
1351
1352 'if_on_channel' => 38,
1353 'channel_group_id' => 12, // default channel admin group
1354 'subchannels' => 5, // how many subchannels
1355 'subchannels_red' => true, // true - max cleints = 0 | false - max clients = unlimited
1356 'videos_count' => true, // create channel with information about videos count on yt channel
1357 'views_count' => true, // create channel with information about views count on yt channel
1358 'after_channel' => 79, // the first channel for example spacer
1359
1360 'spacer_between' => array
1361 (
1362 'enabled' => true,
1363 'spacer_name' => '[*spacerYT[NUM]]___',
1364 'join_needed' => 150,
1365 'modify_needed' => 100,
1366 ),
1367 'main_channel' => '[cspacer]■ [[NUM]] YT ■', // [NUM] - vip channel number
1368 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 10,'seconds' => 0),
1369 ),
1370
1371 // ENG [Away Group] # PL [Grupa away]
1372 'away_group' => array
1373 (
1374 'enabled' => false,
1375 'server_group_copy' => 65,
1376 'min_idle_time' => 5*60,
1377 'ignored_groups' => array(41),
1378 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
1379 ),
1380
1381 // ENG [Cache icons] # PL [Generuj ikonki do katalogu]
1382 'cache_icons' => array
1383 (
1384 'enabled' => false,
1385 'icons_path' => '/var/www/html/server_icons/',
1386 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 5,'seconds' => 0),
1387 ),
1388
1389 // ENG [Weather in cities] # PL [Pogoda w miastach]
1390 'weather' => array
1391 (
1392 'enabled' => false,
1393 'api_key' => '', //You can find api on website: openweathermap.org
1394 'info' => array
1395 (
1396 39 => array
1397 (
1398 'country_code' => 'PL', //country code for example: Poland - PL
1399 'city' => 'Warszawa', //without polish symbols
1400 'channel_name' => '» Pogoda - [CITY]', //[CITY] - city name
1401 ),
1402 ),
1403 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 5,'seconds' => 0),
1404 ),
1405
1406 // ENG [Countdown] # PL [Odliczanie]
1407 'countdown' => array
1408 (
1409 'enabled' => false,
1410 'time_settings' => array('days' => true, 'hours' => true, 'minutes' => false),
1411 'info' => array
1412 (
1413 /**************************************
1414
1415 '0' => array // Growing number: 0, 1, 2, etc
1416 (
1417 'channel_id' => 5761,
1418 'channel_name' => 'Do wakacji [COUNT]', //[COUNT] - time to/from date
1419 'date' => '22-06-2018 09:00', // Format: dd-mm-YYYY GG:MM for example: 22-06-2018 09:00
1420 'count_type' => 'to_date', // Count type: 'to_date' (for example time to next event), 'from_date' (for example time from server start)
1421 ),
1422
1423 ***************************************/
1424
1425 '0' => array
1426 (
1427 'channel_id' => 41,
1428 'channel_name' => '» Do [COUNT]', //[COUNT] - time to/from date
1429 'date' => '03-09-2018 09:00', // Format: dd-mm-YYYY GG:MM for example: 22-06-2018 09:00
1430 'count_type' => 'to_date', // Count type: 'to_date' (for example time to next event), 'from_date' (for example time from server start)
1431 ),
1432 '1' => array
1433 (
1434 'channel_id' => 42,
1435 'channel_name' => '» Od [COUNT]', //[COUNT] - time to/from date
1436 'date' => '01-01-2018 09:00', // Format: dd-mm-YYYY GG:MM for example: 22-06-2018 09:00
1437 'count_type' => 'from_date', // Count type: 'to_date' (for example time to next event), 'from_date' (for example time from server start)
1438 ),
1439 ),
1440 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 5,'seconds' => 0),
1441 ),
1442);
1443
1444$config['instance']['2']['logs_system'] = array
1445(
1446 /****************************************************************************
1447
1448 ENG [LOGS SYSTEM] # PL [SYSTEM LOGÓW]
1449
1450 ****************************************************************************/
1451
1452 'logs' => array
1453 (
1454 // ENG [Turn on/off logs system (true or false)] # PL [Wlaczenie lub wylaczenie systemu logów]
1455 'enabled' => true,
1456
1457 // ENG [Days, after which, log files will be deleted] # PL [Czas w dniach, po których pliki logów zostana usunięte]
1458 'delete_interval' => '3',
1459 ),
1460);
1461
1462$config['instance']['2']['options'] = array
1463(
1464 /****************************************************************************
1465
1466 ENG [INSTANCE OPTIONS] # PL [OPCJE INSTANCJI]
1467
1468 ****************************************************************************/
1469
1470 // ENG [Folder for functions containing all events and plugins] # PL [Folder w którym sa wszystkie eventy i pluginy]
1471 'folder' => 'second_instance',
1472
1473 // ENG [Bot interval in seconds] # PL [Interwal bota w sekundach]
1474 'bot_interval' => 1,
1475
1476 // ENG ['events_plugins' or 'commands' (default 'events_plugins')] # PL ['events_plugins' lub 'commands' (domyślnie 'events_plugins')]
1477 'function_type' => 'events_plugins',
1478);
1479
1480$config['instance']['2']['functions'] = array
1481(
1482
1483 /**************************************
1484
1485 ENG [PLUGINS] # PL [PLUGINY]
1486
1487 **************************************/
1488
1489 'plugins' => true,
1490
1491 // ENG [Connect message] # PL [Wiadomośc polaczenia]
1492 'connect_message' => array
1493 (
1494 'enabled' => true,
1495 'file' => 'include/cache/connect_message.txt', //file to connect message
1496 'many_messages' => true, //true if single line = one message || false for one message
1497 'to_groups' => array(-1), //connect message to specified server_groups | set -1 to all server groups | set gorups_id separated by comma
1498
1499 /************************************
1500
1501 [CLIENT_IP] = Client nickname
1502 [CLIENT_NICK] = Client nickname
1503 [CLIENT_COUNTRY] = Client country
1504 [CLIENT_DBID] = Client databse id
1505 [CLIENT_VERSION] = Client TS3 version
1506 [CLIENT_CONNECTIONS] = Client total connections
1507 [CLIENT_PLATFORM] = Client platform
1508 [CLIENT_TOTALCONNECTIONS] = Client total connections
1509 [CLIENT_LASTCONNECTED] = Client lastconnected
1510 [CLIENT_AWAY_MESSAGE] = Client away message
1511 [CLIENT_CREATED] = Client created
1512 [CLIENT_ON_SERVER_FOR] = Client is with server for ... for example 2 days and 1 minute
1513
1514 [SERVER_MAX_CLIENTS] = Server max clients
1515 [SERVER_ONLINE] = Online users
1516 [SERVER_CHANNELS] = Channel number
1517 [SERVER_ID] = Virtual server id
1518 [SERVER_PORT] = Server port
1519 [SERVER_NAME] = Server name
1520 [SERVER_VERSION] = Server version
1521 [SERVER_VUI] = Server unique identifier
1522 [SERVER_WELCOME_MESSAGE] = Virtualserver welcomemessage
1523 [SERVER_PLATFORM] = Server platform
1524 [SERVER_HOSTMESSAGE] = Server hostmessage
1525 [SERVER_UPTIME] = Server uptime
1526
1527
1528 *************************************/
1529 ),
1530
1531 // ENG [Register groups assigner] # PL [Przypisywanie zarejestrowanych grup]
1532 'groups_assigner' => array
1533 (
1534 'enabled' => true,
1535 'if_client_on_channel' => array(769,454), //all checking channels id
1536 'register_groups' => array(16,7), //all register groups
1537 'info' => array
1538 (
1539 50105 => 876, //channel_id => server group id,
1540 50106 => 877,
1541 ),
1542 //Minimal time on server to be registered [Db connect must be on]
1543 'min_time_on_server' => 120, //in minutes
1544 ),
1545
1546 // ENG [Assign afk group] # PL [Przypisz grupę afk]
1547 'afk_group' => array
1548 (
1549 'enabled' => false,
1550 'afk_group' => 104, //afk group id
1551 'idle_time' => 1800, //in seconds
1552 'set_group_if_away' => true, //set afk group if client has away status
1553 'set_group_if_muted'=> true, //set afk group if client is muted
1554 'ignored_groups' => array(41,9,25,61,67),
1555 'ignored_channels' => array(),
1556 ),
1557
1558 // ENG [Move afk clients to channel] # PL [Przenieś użytkowników afk na kanal]
1559 'afk_move' => array
1560 (
1561 'enabled' => false,
1562 'channel_id' => 137, //afk channel id
1563 'idle_time' => 2400, //in seconds
1564 'move_if_away' => true, //move client if has away status
1565 'move_if_muted'=> true, //move client if is muted
1566 'move_back' => true, //if client no longer afk move him back (true or false)
1567 'message_type' => 'poke', //poke | message | none
1568 'ignored_groups' => array(41,9,25,61,67),
1569 'ignored_channels' => array(),
1570 'kick_from_server' => array
1571 (
1572 'enabled' => false,
1573 'min_idle_time' => 300, //in seconds
1574 'msg' => 'Zbyt długi AFK!', //Message in kick
1575 ),
1576 ),
1577
1578 // ENG [Server groups security] # PL [Zabezpieczenie grup serwera]
1579 'groups_security' => array
1580 (
1581 'enabled' => false,
1582 'info' => array
1583 (
1584 /*'0' => array //growing number, for example 1, 2, 3...
1585 (
1586 'group_id' => 209, //group Id
1587 'ignored_dbid' => array(10,16,42), //privilege client database id's
1588 'give_back' => true, //give the rank back for people in ignoredId
1589 'type' => 'nothing', //`ban`, `kick`, `nothing` (just group delete and poke)
1590 'message' => '', //message to the client; if `ban` or `kick` it's the reason, if `nothing` it's a poke message
1591 'time' => 5, //ban timeout
1592 ), */
1593
1594 '0' => array
1595 (
1596 'group_id' => 9,
1597 'ignored_dbid' => array(15),
1598 'give_back' => true,
1599 'type' => 'ban',
1600 'message' => 'Nie mozesz miec rangi CEO!',
1601 'time' => 9999999,
1602 ),
1603 '1' => array
1604 (
1605 'group_id' => 25,
1606 'ignored_dbid' => array(),
1607 'give_back' => true,
1608 'type' => 'kick',
1609 'message' => 'Nie mozesz miec rangi Support!',
1610 'time' => 5,
1611 ),
1612 '2' => array
1613 (
1614 'group_id' => 61,
1615 'ignored_dbid' => array(),
1616 'give_back' => true,
1617 'type' => 'kick',
1618 'message' => 'Nie mozesz miec rangi TEST Support!',
1619 'time' => 5,
1620 ),
1621 ),
1622 ),
1623
1624 // ENG [Baning for having warning rangs] # PL [Ban za posiadanie X ostrzeżen]
1625 'warning_ban' => array
1626 (
1627 'enabled' => false,
1628 'ban_time' => '1200', // in seconds
1629 'ban_message' => 'Za duzo ostrzezen!',
1630 'with_rang' => 212, // the last warning id, for example Warning #3 (if you have 3 warnings)
1631 'warning_id' => array
1632 (
1633 212, // the last warning id, for example Warning #3 (if you have 3 warnings)
1634 146,
1635 144,
1636 ),
1637 ),
1638
1639 // ENG [Block recording users] # PL [Blokowanie użytkowników za nagrywanie]
1640 'block_recording' => array
1641 (
1642 'enabled' => false,
1643 'ignored_groups' => array(9),
1644 'type' => 'kick', //`ban`, `kick`,
1645 'message' => 'Nie możesz nagrywać!', //message to the client; if `ban` or `kick` it's the reason
1646 'time' => 60, //ban timeout
1647
1648 ),
1649
1650 // ENG [Anty VPN] # PL [Event przeciw VPN'om]
1651 'anty_vpn' => array
1652 (
1653 'enabled' => false,
1654 'X-Key' => '', // You can change at website `https://iphub.info/pricing`
1655 'ignored_groups' => array(9,25,61,67,59),
1656 'allowed_ips' => array('265.194.334.122'), //ignored ips in `'` for example: '127.0.0.1' separated by comma. Your IP, where xbot is, is included.
1657 'type' => 'kick', //`poke`, `kick`, `ban`
1658 'ban_time' => '60', //in seconds
1659 'message_to_client' => "Używasz VPN'a!",
1660 ),
1661
1662 /**************************************
1663
1664 ENG [EVENTS] # PL [EVENTY]
1665
1666 **************************************/
1667
1668 'events' => true,
1669
1670 // ENG [Auto register] # PL [Auto rejestracja]
1671 'auto_register' => array
1672 (
1673 'enabled' => false,
1674 'ignored_groups' => array(9,25,61,67,10,28),
1675 'register_group' => 10, //register group
1676 //Minimal time on server to be registered [Db connect must be on]
1677 'min_time_on_server' => 5, //in minutes
1678 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 5,'seconds' => 0),
1679 ),
1680
1681 // ENG [Advertisement message] # PL [Reklama]
1682 'advertisement_message' => array
1683 (
1684 'enabled' => false,
1685 'type' => 'pw', //'chat' - global chat | 'pw' - pw to all users | 'poke' - poke to all users
1686 'advertisements' => array
1687 (
1688 /***********************
1689
1690 'Zapraszamy do rejestracji!',
1691 'Wiadmość testowa XBot',
1692
1693 ***********************/
1694
1695 '[b]Dodaj ten serwer do zakładek: [url=ts3server://justforskill.com?addbookmark=justforskill.com][COLOR=#ff0000]Kliknij Tu i Dodaj![/COLOR][/url][/b]',
1696 '[b][color=red]Witaj na serwerze dla graczy - justforskill.com![/b]',
1697 '[b]Co tydzień 1 osoba wygrywa VIPa! Sprawdź, gdzie jesteś w rankingu na kanale "¤ rαɴĸιɴɢ тyɢodɴιowy ¤"[/b]',
1698 ),
1699 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 1,'minutes' => 0,'seconds' => 0),
1700 ),
1701
1702 // ENG [Time and date] # PL [Data i godzina]
1703 'clock_date' => array
1704 (
1705 'enabled' => false,
1706 'content' => array
1707 (
1708 'clock' => array //clock in channel name
1709 (
1710 'enabled' => true,
1711 'channel_id' => 45,
1712 'channel_name' => '» Godzina : [CLOCK]', // [CLOCK] = clock
1713 'format' => 'G:i', // format G: hours, i: minutes, s: seconds
1714 ),
1715 'date' => array //date in channel name
1716 (
1717 'enabled' => true,
1718 'channel_id' => 46,
1719 'channel_name' => '» Data: [DATE]', // [DATE] = date
1720 'format' => 'd-m-Y', // format m: month numeric, M: month in words, d: day numeric, D: day in words, Y: year
1721 ),
1722 'date_and_clock' => array
1723 (
1724 'enabled' => true,
1725 'channel_id' => 47,
1726 'channel_name' => '» Dzisiaj jest : [DATE&CLOCK]', // [DATE&CLOCK] = date & clock
1727 '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
1728 ),
1729 ),
1730 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 60),
1731 ),
1732
1733 // ENG [Change server name] # PL [Zmiana nazwy serwera]
1734 'change_server_name' => array
1735 (
1736 /****************************************
1737
1738 DATE FORMAT
1739
1740 m: month numeric,
1741 M: month in words,
1742 d: day numeric,
1743 D: day in words,
1744 Y: year,
1745 G: hours,
1746 i: minutes,
1747 s: seconds
1748
1749 ****************************************/
1750
1751 'enabled' => true,
1752 'ignored_groups' => array(31,43), //ignored groups, not included in online number
1753 'server_name' => '☀ JoinTSpeak.pl - Connecting Players ☀ [ONLINE: [ONLINE]]', //[ONLINE] - online users, [MAX_CLIENTS] - max clients, [DATE] - format higher, [%] %online
1754 'format' => 'd-m-Y G:i',
1755 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
1756 'data' => '1970-01-01 00:00:00', //Do not change
1757 ),
1758
1759 // ENG [Client platform] # PL [Platforma klienta]
1760 'client_platform' => array
1761 (
1762 'enabled' => false,
1763 'ignored_groups' => array(0),
1764
1765 'windows_enabled' => false,
1766 'windows_group' => 1044,
1767
1768 'linux_enabled' => false,
1769 'linux_group' => 236,
1770
1771 'android_enabled' => false,
1772 'android_group' => 1044,
1773
1774 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 20),
1775 ),
1776
1777 // ENG [Poke admins] # PL [Zaczepianie adminów]
1778 'poke_admins' => array
1779 (
1780 'enabled' => true,
1781 'if_client_on_channel' => array(13409,15919,13416,50088,50091,24387,21411,37370,43229,50083,50127,49083,13496,13498,13499,13500,13502,13503), //all checking channels
1782 'ignored_groups' => array(77), //if admin has this group, bot will not poke him
1783 'ignored_group_if_on_channel' => array(958,993,1098,965,1071), //if client has this group, bot will not poke admins
1784 'info' => array
1785 (
1786 /*************************
1787
1788 ###
1789 # poking server groups: channel_id => array(server_groups separated by comma),
1790 ###
1791
1792 ###
1793 # poking client: channel_id => client_database_id,
1794 ###
1795
1796 *************************/
1797
1798 13409 => array(978),
1799 15919 => array(1052),
1800 13416 => array(1004),
1801 50088 => array(1342),
1802 50091 => array(1343),
1803 24387 => array(1179),
1804 21411 => array(1135),
1805 37370 => array(1298),
1806 43229 => array(1328),
1807 50083 => array(1344),
1808 50127 => array(1345),
1809 49083 => array(1339),
1810 13496 => array(958,993,1098,965,1071),
1811 13498 => array(958,993,1098,965,1071),
1812 13499 => array(958,993,1098,965,1071),
1813 13500 => array(958,993,1098,965,1071),
1814 13502 => array(958,993,1098,965,1071),
1815 13503 => array(958,993,1098,965,1071),
1816 ),
1817 'ignored_channels' => array(), //channels where bot doesn't poke admins
1818 'inform_admin_once' => true, //Poke admin only one time
1819 'informing_about_channel' => true, //inform admin about the channel on which the user needs help
1820 'show_client_link' => true, //show client link ([url])
1821 'kick_if_away' => true, //kick client if is away (muted microphone/headphones)
1822 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 2),
1823 ),
1824
1825 // ENG [Generate banner] # PL [Generowanie baneru]
1826 'generate_banner' => array
1827 (
1828 /****************************************
1829
1830 font - 'arial', 'calibri', 'inconsolata', 'tahoma'
1831 color - in RGB array(x, x, x) you can check colors on https://www.w3schools.com/colors/colors_rgb.asp
1832 co-ordinates - array(size, rotation, x, y)
1833
1834 ****************************************/
1835
1836 'enabled' => false,
1837 'admins_online' => array //Liczba adminow online
1838 (
1839 'enabled' => true,
1840 'admins_server_groups' => array(11,14,16,18,19,20,23),
1841 'font' => 'calibri',
1842 'color' => array(255, 255, 255),
1843 'co-ordinates' => array(20,0,118,160),
1844 ),
1845 'clients_online' => array //Klienci online
1846 (
1847 'enabled' => false,
1848 'show_max_clients' => false,
1849 'font' => 'calibri',
1850 'color' => array(255, 255, 255),
1851 'co-ordinates' => array(20,0,118,235),
1852 ),
1853 'record_online' => array //Rekord online
1854 (
1855 'enabled' => false,
1856 'font' => 'calibri',
1857 'color' => array(255,255,255),
1858 'co-ordinates' => array(20,0,770,160),
1859 ),
1860 'clock' => array //Zegar
1861 (
1862 'enabled' => false,
1863 'font' => 'calibri',
1864 'color' => array(255, 255, 255),
1865 'co-ordinates' => array(20,0,110,80),
1866 ),
1867 'channels_count' => array //Liczba kanałów
1868 (
1869 'enabled' => false,
1870 'font' => 'calibri',
1871 'color' => array(255,255,255),
1872 'co-ordinates' => array(20,0,500,300),
1873 ),
1874 'name_day' => array //Imieniny
1875 (
1876 'enabled' => false,
1877 'font' => 'calibri',
1878 'color' => array(255,255,255),
1879 'co-ordinates' => array(15,0,455,255),
1880 ),
1881 'fanpage_likes' => array //Like'i z fanpage'a
1882 (
1883 'enabled' => false,
1884 'page_id' => '1719172075053504', //You can find it on website: https://findmyfbid.com/
1885 'access_token' => '',
1886 'font' => 'calibri',
1887 'color' => array(255,255,255),
1888 'co-ordinates' => array(20,0,770,80),
1889 ),
1890 'uptime' => array //Uptime
1891 (
1892 'enabled' => false,
1893 'font' => 'calibri',
1894 'color' => array(255,255,255),
1895 'co-ordinates' => array(20,0,300,300),
1896 ),
1897 'date' => array //Data
1898 (
1899 'enabled' => false,
1900 'font' => 'calibri',
1901 'format' => 'd.m.Y',
1902 'color' => array(255,255,255),
1903 'co-ordinates' => array(20,0,765,240),
1904 ),
1905
1906 'image_file' => array('include/cache/banner.png', 'include/cache/banner1.png', 'include/cache/banner2.png', 'include/cache/banner3.png'),
1907 'target_image_file' => '/var/www/html/banner.png',
1908 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 10),
1909 ),
1910
1911 // ENG [Host message] # PL [Wiadomość hosta]
1912 'host_message' => array
1913 (
1914 'enabled' => false,
1915 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 30),
1916 ),
1917
1918 // ENG [Live DJ] # PL [Nick DJ'a w nazwie kanału]
1919 'live_dj' => array
1920 (
1921 'enabled' => false,
1922 'info' => array
1923 (
1924 /*********************************
1925
1926 channel_id => 'nazwa_kanalu', //[DJ] - dj's nick
1927
1928 *********************************/
1929
1930 48 => '» Obecny DJ: [DJ]', //[DJ] - dj's nick
1931 ),
1932 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 45),
1933 ),
1934
1935 // ENG [Count users (registered/total)] # PL [Zliaczanie użytkowników (zarejestrowani/wszyscy)]
1936 'count_users' => array
1937 (
1938 'enabled' => false, //DB must be on
1939 'channel_id' => 49,
1940 'channel_name' => '» Zarejestrowani użytkownicy: [REG]/[TOTAL]', //[REG] - registered users | [TOTAL] - total users in Db
1941 'unregistered_group_id' => 11,
1942 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 30),
1943 ),
1944
1945 // ENG [Show client_info after join the channel] # PL [Pokaż informacje o kliencie po wejściu na kanał]
1946 'client_info' => array
1947 (
1948 'enabled' => false,
1949 'if_client_on_channel' => array(50),
1950 '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]',
1951
1952 /************************************
1953
1954 [CLIENT_IP] = Client nickname
1955 [CLIENT_NICK] = Client nickname
1956 [CLIENT_COUNTRY] = Client country
1957 [CLIENT_DBID] = Client databse id
1958 [CLIENT_VERSION] = Client TS3 version
1959 [CLIENT_CONNECTIONS] = Client total connections
1960 [CLIENT_PLATFORM] = Client platform
1961 [CLIENT_TOTALCONNECTIONS] = Client total connections
1962 [CLIENT_LASTCONNECTED] = Client lastconnected
1963 [CLIENT_AWAY_MESSAGE] = Client away message
1964 [CLIENT_CREATED] = Client created
1965 [CLIENT_ON_SERVER_FOR] = Client is with server for ... for example 2 days and 1 minute
1966
1967 *************************************/
1968
1969 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
1970 ),
1971
1972 // ENG [Event records in the channel descrition] # PL [Zapisywanie klientów na np. event w opisie kanału]
1973 'event_records' => array
1974 (
1975 'enabled' => false,
1976 'if_client_on_channel' => array(52),
1977 'channel_id' => 51,
1978 'top_description' => 'Zapisy na event', //Do not use [hr] in name!
1979 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
1980 ),
1981
1982 // ENG [Check temporary channels' name] # PL [Sprawdzanie nazw kanałów tymczasowych]
1983 'check_tmp_channel' => array
1984 (
1985 'enabled' => false,
1986 'file' => 'include/cache/nicks_security.txt', //bad phrases separated by ,(comma) without spaces, enters etc
1987 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
1988 ),
1989
1990 // ENG [Check public zone] # PL [Sprawdzanie strefy kanałów publicznych]
1991 'check_public_zone' => array
1992 (
1993 'enabled' => false,
1994 'info' => array
1995 (
1996 '0' => array // Growing number
1997 (
1998 'channels_zone' => 142,
1999 'channel_name' => '» Kanał Publiczny #[NUM]', //[Num] channel number
2000 'max_users' => 0, // 0 = unlimited
2001 'mininum_channels' => 3,
2002 'maximum_channels' => 25,
2003 'icon_id' => 1655954911,
2004 'modify_power' => 85, //channel needed modify power
2005 'desc' => '[hr][center][size=15][b][COLOR=red]♠XBot-ts3.pl[/COLOR]♠[/b][/size]\n\n[b][size=12][color=#0039ac]§ Kanały publiczne[/size]\n\n1. Zakaz nagrywania rozmów na kanałach publicznych bez zgody Użytkowników, które na nim przesiadują. Nie\ntyczy się to kanałów, które posiadają zgodę na nagrywanie w opisie.\n2. Kanały publiczne są podzielone na te z limitem Użytkowników oraz na takie, które tego limitu nie posiadają.\n3. Łamanie zasad regulamin na kanałach publicznych skutkuje interwencją Administratora i\nwyrzuceniem danego Użytkownika z kanału.\n4. Kanały publiczne są w głównie przeznaczone dla Użytkowników, które nie posiadają własnego kanału.[/b]\n[hr]Copyrights © [b][COLOR=red]Tyralnia[/COLOR].pl[/b] 2017',
2006 ),
2007 '1' => array // Growing number
2008 (
2009 'channels_zone' => 146,
2010 'channel_name' => '» Kanał Publiczny #[NUM]', //[Num] channel number
2011 'max_users' => 2, // 0 = unlimited
2012 'mininum_channels' => 3,
2013 'maximum_channels' => 25,
2014 'icon_id' => 2681873579,
2015 'modify_power' => 85, //channel needed modify power
2016 'desc' => '[hr][center][size=15][b][COLOR=red]♠XBot-ts3.pl[/COLOR].pl♠[/b][/size]\n\n[b][size=12][color=#0039ac]§ Kanały publiczne[/size]\n\n1. Zakaz nagrywania rozmów na kanałach publicznych bez zgody Użytkowników, które na nim przesiadują. Nie\ntyczy się to kanałów, które posiadają zgodę na nagrywanie w opisie.\n2. Kanały publiczne są podzielone na te z limitem Użytkowników oraz na takie, które tego limitu nie posiadają.\n3. Łamanie zasad regulamin na kanałach publicznych skutkuje interwencją Administratora i\nwyrzuceniem danego Użytkownika z kanału.\n4. Kanały publiczne są w głównie przeznaczone dla Użytkowników, które nie posiadają własnego kanału.[/b]\n[hr]Copyrights © [b][COLOR=red]Tyralnia[/COLOR].pl[/b] 2017',
2017 ),
2018 '2' => array // Growing number
2019 (
2020 'channels_zone' => 151,
2021 'channel_name' => '» Kanał Publiczny #[NUM]', //[Num] channel number
2022 'max_users' => 3, // 0 = unlimited
2023 'mininum_channels' => 3,
2024 'maximum_channels' => 25,
2025 'icon_id' => 2457065219,
2026 'modify_power' => 85, //channel needed modify power
2027 'desc' => '[hr][center][size=15][b][COLOR=red]♠XBot-ts3.pl[/COLOR]♠[/b][/size]\n\n[b][size=12][color=#0039ac]§ Kanały publiczne[/size]\n\n1. Zakaz nagrywania rozmów na kanałach publicznych bez zgody Użytkowników, które na nim przesiadują. Nie\ntyczy się to kanałów, które posiadają zgodę na nagrywanie w opisie.\n2. Kanały publiczne są podzielone na te z limitem Użytkowników oraz na takie, które tego limitu nie posiadają.\n3. Łamanie zasad regulamin na kanałach publicznych skutkuje interwencją Administratora i\nwyrzuceniem danego Użytkownika z kanału.\n4. Kanały publiczne są w głównie przeznaczone dla Użytkowników, które nie posiadają własnego kanału.[/b]\n[hr]Copyrights © [b][COLOR=red]Tyralnia[/COLOR].pl[/b] 2017',
2028 ),
2029 '3' => array // Growing number
2030 (
2031 'channels_zone' => 155,
2032 'channel_name' => '» Kanał Publiczny #[NUM]', //[Num] channel number
2033 'max_users' => 4, // 0 = unlimited
2034 'mininum_channels' => 3,
2035 'maximum_channels' => 25,
2036 'icon_id' => 1722569469,
2037 'modify_power' => 85, //channel needed modify power
2038 'desc' => '[hr][center][size=15][b][COLOR=red]♠XBot-ts3.pl[/COLOR]♠[/b][/size]\n\n[b][size=12][color=#0039ac]§ Kanały publiczne[/size]\n\n1. Zakaz nagrywania rozmów na kanałach publicznych bez zgody Użytkowników, które na nim przesiadują. Nie\ntyczy się to kanałów, które posiadają zgodę na nagrywanie w opisie.\n2. Kanały publiczne są podzielone na te z limitem Użytkowników oraz na takie, które tego limitu nie posiadają.\n3. Łamanie zasad regulamin na kanałach publicznych skutkuje interwencją Administratora i\nwyrzuceniem danego Użytkownika z kanału.\n4. Kanały publiczne są w głównie przeznaczone dla Użytkowników, które nie posiadają własnego kanału.[/b]\n[hr]Copyrights © [b][COLOR=red]Tyralnia[/COLOR].pl[/b] 2017',
2039 ),
2040 '4' => array // Growing number
2041 (
2042 'channels_zone' => 159,
2043 'channel_name' => '» Kanał Publiczny #[NUM]', //[Num] channel number
2044 'max_users' => 5, // 0 = unlimited
2045 'mininum_channels' => 3,
2046 'maximum_channels' => 25,
2047 'icon_id' => 2194985460,
2048 'modify_power' => 85, //channel needed modify power
2049 'desc' => '[hr][center][size=15][b][COLOR=red]♠XBot-ts3.pl[/COLOR]♠[/b][/size]\n\n[b][size=12][color=#0039ac]§ Kanały publiczne[/size]\n\n1. Zakaz nagrywania rozmów na kanałach publicznych bez zgody Użytkowników, które na nim przesiadują. Nie\ntyczy się to kanałów, które posiadają zgodę na nagrywanie w opisie.\n2. Kanały publiczne są podzielone na te z limitem Użytkowników oraz na takie, które tego limitu nie posiadają.\n3. Łamanie zasad regulamin na kanałach publicznych skutkuje interwencją Administratora i\nwyrzuceniem danego Użytkownika z kanału.\n4. Kanały publiczne są w głównie przeznaczone dla Użytkowników, które nie posiadają własnego kanału.[/b]\n[hr]Copyrights © [b][COLOR=red]Tyralnia[/COLOR].pl[/b] 2017',
2050 ),
2051 ),
2052 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5 ),
2053 ),
2054
2055 // ENG [Clear clients ranks] # PL [Wyczyść rangi klienta]
2056 'clear_ranks' => array
2057 (
2058 'enabled' => false,
2059 'if_client_on_channel' => array(53), //all channels
2060 'info' => array
2061 (
2062 /**********************************
2063
2064 channel_id => array(ranks_to_clear),
2065
2066 **********************************/
2067
2068 53 => array(13,14,15,16,17,18,19,20,21,22,23,24),
2069 ),
2070 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
2071 ),
2072
2073 // ENG [Delete client permissions] # PL [Wyczyść pozwolenia klienta]
2074 'delete_client_permissions' => array
2075 (
2076 'enabled' => false,
2077 'ignored_groups' => array(9), //ignored server groups
2078 'ignored_dbids' => array(1), //ignored database clients id
2079 'ignored_perms' => array('i_icon_id'), //this perms won't be deleted
2080 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 2),
2081 ),
2082
2083 // ENG [Check clients on the same IP] # PL [Sprawdzanie użytkowników na tym samym ip]
2084 'check_ip' => array
2085 (
2086 'enabled' => false,
2087 'ignored_groups' => array(),
2088 'max_users' => 4, // Max users on the same ip
2089 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 10),
2090 ),
2091
2092 // ENG [Check urls in the channel description] # PL [Sprawdzanie linków w opisach kanałów]
2093 'check_description' => array
2094 (
2095 'enabled' => false,
2096 // Allowed links are in the file: include/cache/allowed_links.txt
2097 'channels' => array(53), // Type only parent channels
2098 'channel_info' => 565, // Info about not allowed links on channels
2099 'check_vip_channels' => true, // true or false
2100 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
2101 ),
2102
2103 // ENG [Save channel edits logs in description] # PL [Zapisz logi edycji kanału w opisie]
2104 'channels_edits' => array
2105 (
2106 'enabled' => false,
2107 'zones' => array
2108 (
2109 /*********************
2110
2111 channel_id => array(checking_channels),
2112
2113 *********************/
2114
2115 54 => array(55,56),
2116 ),
2117 'ignored_groups' => array(),
2118 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
2119 ),
2120
2121 // ENG [Fill channels' description when is empty] # PL [Wpisz opis do pustych kanałów]
2122 'fill_empty_channels' => array
2123 (
2124 'enabled' => false,
2125 'description' => "[hr][center][img]https://i.imgur.com/uGTPPcn.png[/img][/center][hr]\n\n[center][size=12][b]JustForSkill.com - Z myślą o użytkownikach.[/b][/size][/center]\n[hr]",
2126 'needed_phrase' => "spacer", // Channel need this phrase in name
2127 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 1,'minutes' => 0,'seconds' => 0),
2128 ),
2129);
2130
2131$config['instance']['3']['logs_system'] = array
2132(
2133 /****************************************************************************
2134
2135 ENG [LOGS SYSTEM] # PL [SYSTEM LOGÓW]
2136
2137 ****************************************************************************/
2138
2139 'logs' => array
2140 (
2141 // ENG [Turn on/off logs system (true or false)] # PL [Wlaczenie lub wylaczenie systemu logów]
2142 'enabled' => true,
2143
2144 // ENG [Days, after which, log files will be deleted] # PL [Czas w dniach, po których pliki logów zostana usunięte]
2145 'delete_interval' => '3',
2146 ),
2147);
2148
2149$config['instance']['3']['options'] = array
2150(
2151 /****************************************************************************
2152
2153 ENG [INSTANCE OPTIONS] # PL [OPCJE INSTANCJI]
2154
2155 ****************************************************************************/
2156
2157 // ENG [Folder for functions containing all events and plugins] # PL [Folder w którym sa wszystkie eventy i pluginy]
2158 'folder' => 'third_instance',
2159
2160 // ENG [Bot interval in seconds] # PL [Interwal bota w sekundach]
2161 'bot_interval' => 3,
2162
2163 // ENG ['events_plugins' or 'commands' (default 'events_plugins')] # PL ['events_plugins' lub 'commands' (domyślnie 'events_plugins')]
2164 'function_type' => 'events_plugins',
2165);
2166
2167$config['instance']['3']['functions'] = array
2168(
2169 /**************************************
2170
2171 ENG [PLUGINS] # PL [PLUGINY]
2172
2173 **************************************/
2174
2175 'plugins' => false,
2176
2177 /**************************************
2178
2179 ENG [EVENTS] # PL [EVENTY]
2180
2181 **************************************/
2182
2183 'events' => true,
2184
2185 // ENG [New users daily] # PL [Nowi użytkownicy dzisiaj]
2186 'new_daily_users' => array
2187 (
2188 'enabled' => false,
2189 'channel_id' => 58,
2190 'with_rang' => 111, //checking if client has one of these rangs
2191 'channel_name' => '» Nowi Użytkownicy: [NEW]', //[NEW] - how many new users
2192 'top_description' => 'Nowi uzytkownicy dzisiaj',
2193 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 0),
2194 ),
2195
2196 // ENG [Visitors] # PL [Odwiedziny]
2197 'visitors' => array
2198 (
2199 'enabled' => false,
2200 'channel_id' => 59,
2201 'channel_name' => '» Odwiedzin: [VISITORS]', //[VISITORS] - how many visitors
2202 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 15),
2203 ),
2204
2205 // ENG [Clients in your database] # PL [Użytkownicy w bazie danych]
2206 '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)
2207 (
2208 'enabled' => true,
2209 'idle_time' => 5 * 60, //idle time in seconds
2210 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 10),
2211 ),
2212
2213 // ENG [Top connections] # PL [Najwięcej polaczeń]
2214 'top_connections' => array
2215 (
2216 'enabled' => true,
2217 'channel_id' => 50114,
2218 'top_description' => '[img]https://i.imgur.com/NmSPayJ.png[/img]',
2219 'records' => 15, //how many clients
2220 'ignored_groups' => array(253,133,8,265),
2221 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 1,'minutes' => 0,'seconds' => 0),
2222 ),
2223
2224 // ENG [Top connection time] # PL [Najdluższe polaczenia]
2225 'top_connection_time' => array
2226 (
2227 'enabled' => true,
2228 'channel_id' => 50115,
2229 'top_description' => '[img]https://i.imgur.com/4yqtJYd.png[/img]',
2230 'records' => 15, //how many clients
2231 'ignored_groups' => array(253,133,8,265),
2232 'time_settings' => array('days' => true, 'hours' => true, 'minutes' => true),
2233 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 1,'minutes' => 0,'seconds' => 0),
2234 ),
2235
2236 // ENG [Top client idle time] # PL [Najdluższy czas nieaktywności]
2237 'top_idle_time' => array
2238 (
2239 'enabled' => false,
2240 'channel_id' => 74,
2241 'top_description' => '[img]https://i.imgur.com/82pPbKb.png[/img]',
2242 'records' => 15, //how many clients
2243 'ignored_groups' => array(31,43,8),
2244 'time_settings' => array('days' => true, 'hours' => true, 'minutes' => true),
2245 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 4,'seconds' => 0),
2246 ),
2247
2248 // ENG [Top time spent on server] # PL [Najdluższy czas na serwerze]
2249 'top_time_spent' => array
2250 (
2251 'enabled' => true,
2252 'channel_id' => 50116,
2253 'show_afk_time' => true,
2254 'top_description' => '[img]https://i.imgur.com/zjtZ2bf.png[/img]',
2255 'records' => 15, //how many clients
2256 'ignored_groups' => array(253,133,8,265),
2257 'time_settings' => array('days' => true, 'hours' => true, 'minutes' => true),
2258 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 1,'minutes' => 0,'seconds' => 0),
2259 ),
2260
2261 // ENG [Top week time spent on server] # PL [Ranking czasu spędzonego w danym tygodniu]
2262 'top_week_time' => array
2263 (
2264 'enabled' => true,
2265 'channel_id' => 50117,
2266 'show_afk_time' => true,
2267 'top_description' => '[img]https://i.imgur.com/eSQHozj.png[/img]',
2268 'records' => 10, //how many clients
2269 'ignored_groups' => array(133,17,258,265,9),
2270 'time_settings' => array('days' => true, 'hours' => true, 'minutes' => true),
2271 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 4,'seconds' => 0),
2272 ),
2273
2274 // ENG [Clients levels] # PL [Poziomy klientów]
2275 'levels' => array
2276 (
2277 'enabled' => false,
2278 'ignored_groups' => array(),
2279 'info' => array
2280 (
2281 40 => 4, //lvl group sgid => hours spent on server on which the rang will be given
2282 41 => 5,
2283 42 => 6,
2284 43 => 7,
2285 44 => 8,
2286 45 => 9,
2287 46 => 10,
2288 47 => 11,
2289 48 => 12,
2290 49 => 13,
2291 ),
2292 'all_levels_groups' => array(40,41,42,43,44,45,46,47,48,49),
2293 'top_description' => '[img]https://i.imgur.com/58vTGHg.png[/img]',
2294 'records' => 10,
2295 'channel_id' => 75,
2296 'info_to_client' => 'pw', //Info to client | 'poke' / 'pw' / 'none'
2297 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
2298 ),
2299
2300 // ENG [Random group] # PL [Losowe grupy]
2301 'random_group' => array
2302 (
2303 'enabled' => false,
2304 'must_have_group' => array(10,28),
2305 'ignored_groups' => array(31,43,9,25,61,67,30,81),
2306 'random_groups' => array(30),
2307 'time' => '1', //in days
2308 'records' => 15,
2309 'channel_id' => 66,
2310 'channel_name' => '» Randomowe grupy', //[USER] - last winner's nickname
2311 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 4,'seconds' => 0),
2312 ),
2313
2314 // ENG [Statistics of admins] # PL [Statystyki administratorów]
2315 'statistics_of_admins' => array
2316 (
2317 'enabled' => true,
2318 'admins_groups' => array(1098,965,1071),
2319 'max_idle_time' => 300, //in seconds
2320 'register' => array(877,876),
2321 'support_channels' => array(13496,13498,13499,13500,13502,13503),
2322 'ignored_groups' => array(), //groups will not be counted to helped people
2323 'ignored_channels' => array(), //channels where admins will not be check
2324 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5), //Default: 5 seconds
2325 ),
2326
2327 // ENG [Write statistics of admins] # PL [Wypisz statystyki adminów]
2328 'write_statistics' => array
2329 (
2330 'enabled' => true,
2331 'admins_groups' => array(1098,965,1071), //Admins groups to write on the channel description
2332
2333 'groups' => array
2334 (
2335 'top_description' => '[size=14][b]Statystyki administracji[/b][/size][size=13][b]\nNadane grupy[/b][/size]',
2336 'channelid' => 50119,
2337 ),
2338 'timespent' => array
2339 (
2340 'top_description' => '[size=14][b]Statystyki administracji[/b][/size][size=13][b]\nSpędzony czas[/b][/size]',
2341 'channelid' => 50120,
2342 ),
2343 'help_center' => array
2344 (
2345 'top_description' => '[size=14][b]Statystyki administracji[/b][/size][size=13][b]\nCentrum pomocy[/b][/size]',
2346 'channelid' => 50121,
2347 ),
2348
2349 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 10,'seconds' => 0),
2350 ),
2351
2352 // ENG [Actions logs in the channel description] # PL [Akcje serwera/bota w opisie kanału]
2353 'actions_logs' => array
2354 (
2355 'enabled' => false,
2356 'channel_id' => 71,
2357 'top_description' => 'Akcje Na Serwerze',
2358 'records' => 30,
2359 'show_id' => true, // Show action id
2360 'info' => array
2361 (
2362 /************************
2363
2364 'function_name' => true/false, //enable if you want to see logs from this function
2365 DO NOT ADD FUNCTIONS!
2366
2367 ************************/
2368
2369 //Instance I
2370 'get_vip_channel' => true,
2371 'get_yt_channel' => true,
2372 'nicks_security' => true,
2373
2374 //Instance II
2375 'groups_assigner' => true,
2376 'auto_register' => true,
2377 'block_recording' => true,
2378 'anty_vpn' => true,
2379 'poke_admins' => true,
2380
2381 //Instance III
2382 'levels' => true,
2383 'random_group' => true,
2384
2385 //Instance IV
2386 'get_private_channel' => true,
2387 'channels_guard' => true,
2388 ),
2389 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 15),
2390 ),
2391
2392 // ENG [Server achievements] # PL [Osiągnięcia]
2393 'achievements' => array
2394 (
2395 'enabled' => false,
2396 'ignored_groups' => array(31,43,11),
2397 'header_group' => 84,
2398 'footer_group' => 85,
2399 'info' => array
2400 (
2401 'connections' => array
2402 (
2403 'enabled' => true,
2404 'header_group' => 99,
2405 'groups' => array
2406 (
2407 /********************
2408
2409 group_sgid => required_connections,
2410
2411 *********************/
2412
2413 86 => 10,
2414 87 => 50,
2415 88 => 100,
2416 89 => 150,
2417 90 => 200,
2418 91 => 1000,
2419 ),
2420 ),
2421 'time_spent' => array
2422 (
2423 'enabled' => true,
2424 'header_group' => 100,
2425 'groups' => array
2426 (
2427 /********************
2428
2429 group_sgid => required_time_spent,
2430
2431 *********************/
2432
2433 92 => 10 * 60 * 60,
2434 93 => 50 * 60 * 60,
2435 94 => 100 * 60 * 60,
2436 95 => 150 * 60 * 60,
2437 96 => 200 * 60 * 60,
2438 97 => 1000 * 60 * 60,
2439 ),
2440 ),
2441 ),
2442 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 0),
2443 ),
2444);
2445
2446$config['instance']['4']['logs_system'] = array
2447(
2448 /****************************************************************************
2449
2450 ENG [LOGS SYSTEM] # PL [SYSTEM LOGÓW]
2451
2452 ****************************************************************************/
2453
2454 'logs' => array
2455 (
2456 // ENG [Turn on/off logs system (true or false)] # PL [Wlaczenie lub wylaczenie systemu logów]
2457
2458 'enabled' => true,
2459
2460 // ENG [Days, after which, log files will be deleted] # PL [Czas w dniach, po których pliki logów zostana usunięte]
2461
2462 'delete_interval' => '3',
2463 ),
2464);
2465
2466$config['instance']['4']['options'] = array
2467(
2468 /****************************************************************************
2469
2470 ENG [INSTANCE OPTIONS] # PL [OPCJE INSTANCJI]
2471
2472 ****************************************************************************/
2473
2474 // ENG [Folder for functions containing all events and plugins] # PL [Folder w którym sa wszystkie eventy i pluginy]
2475 'folder' => 'fourth_instance',
2476
2477 // ENG [Bot interval in seconds] # PL [Interwal bota w sekundach]
2478 'bot_interval' => 3,
2479
2480 // ENG ['events_plugins' or 'commands' (default 'events_plugins')] # PL ['events_plugins' lub 'commands' (domyślnie 'events_plugins')]
2481 'function_type' => 'events_plugins',
2482);
2483
2484$config['instance']['4']['functions'] = array
2485(
2486 /**************************************
2487
2488 ENG [PLUGINS] # PL [PLUGINY]
2489
2490 **************************************/
2491
2492 'plugins' => false,
2493
2494 /**************************************
2495
2496 ENG [EVENTS] # PL [EVENTY]
2497
2498 **************************************/
2499
2500 'events' => true,
2501
2502 // ENG [Channels guard] # PL [Strażnik kanalów]
2503 'channels_guard' => array
2504 (
2505 'enabled' => true,
2506 'settings' => [
2507 'channel_section' => 13784,
2508 'free_channel_name' => '[number]. Prywatny Kanał - Wolny',
2509 'free_channel_description' => '[CENTER]
2510 [size=10]▛[/size][size=8]▀▀▀[/size] [img]https://i.imgur.com/jPvvMPr.png[/img] [b][color=green][size=8]••● JoinTSpeak.pl ●••[/size][/color][/b] [img]https://i.imgur.com/jPvvMPr.png[/img] [size=8]▀▀▀[/size][size=10]▜[/size]
2511
2512 [size=14][B][COLOR=#ff6600]¤ Kanał Prywatny 156 ¤[/COLOR][/B][/size]
2513 [size=10][B]
2514 Data założenia kanału:
2515 [COLOR=#000066]DD.MM.RRRR[/COLOR]
2516
2517 [img]https://i.imgur.com/Yjgi4X6.png[/img]HCA:
2518
2519 [img]https://i.imgur.com/lBeOMxm.png[/img]Założyciel:
2520
2521 [size=10]▙[/size][size=8]▄▄▄[/size] [img]https://i.imgur.com/jPvvMPr.png[/img] [b][color=green][size=8]••● JoinTSpeak.pl ●••[/size][/color][/b] [img]https://i.imgur.com/jPvvMPr.png[/img] [size=8]▄▄▄[/size][size=10]▟[/size]
2522 [/CENTER]',
2523 'free_channel_topic' => '#free',
2524
2525 'default_channel_group' => 59,
2526 'head_channel_admin_group' => 55,
2527
2528 'minimum_free_channel' => 5, //ilośc kanałów która ma byc wolna
2529 'time' => [
2530 'delete' => 11, //po ilu dniach ma usunąć kanał ( całkowicie )
2531 'to_delete' => 7, // po ilu dniach ma ustawić kanał na czerwony
2532 'to_trash' => 5, // po ilu dniach ma dodac przedrostek kosz
2533 ],
2534
2535 'bad_name' => [
2536 'enabled' => true,
2537 'file' => 'include/cache/nicks_security.txt',
2538 ],
2539 ],
2540
2541 'reservation' => [
2542 'enabled' => false,
2543 'reservation_name' => '[number]. Kanał zarezerwowany',
2544 'reservation_description' => '[center][size=12]Numer Kanału [b][number][/b].\n\n Ten kanał jest [color=green][b]Zarezerwowany[/b][/color][/size][/center]',
2545 'reservation_tag' => '#rezerwacja',
2546 ],
2547 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 30),
2548 ),
2549
2550 // ENG [Get private channel] # PL [Otrzymanie prywatnego kanalu]
2551 'get_private_channel' => array
2552 (
2553 'enabled' => true,
2554 'if_client_on_channel' => array(50131), //channel id
2555 'sub_channels' => 3, //how many sub channels
2556 'head_channel_admin_group' => 5, //main head channel admin group id
2557 'needed_server_group' => array(877,876,979), //needed server group (you need one of them to get a private channel)
2558 'message_type' => 'poke', //message type (poke or message)
2559 'empty_channel_topic' => '#free', //topic in empty channels
2560 'channels_zone' => 13784, //parent channel id
2561 'icon_id' => 0,
2562 'subchannel_icon_id' => 0,
2563 'needed_modify_power' => 50, //needed modify power on main channel
2564 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
2565 ),
2566
2567 // ENG [Empty channels' numbers in channel description] # PL [Numery wolnych kanalów w opisie kanalu]
2568 'empty_channels' => array
2569 (
2570 'enabled' => true,
2571 'channel_id' => 50131, //channel id
2572 'empty_channel_topic' => '#free', //topic in empty channels
2573 'channels_zone' => 13784, //parent channel id
2574 'time_interval_delete' => 6, //days after which the channel will be deleted
2575 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 5,'seconds' => 0),
2576 ),
2577
2578 // ENG [Number of private channels in channel name] # PL [Ilość prywatnych kanalów w nazwie kanalu]
2579 'private_channels_info' => array
2580 (
2581 'enabled' => false,
2582 'empty_channel_topic' => '#free', //topic in empty channels
2583 'channels_zone' => 185, //parent channel id
2584 'total' => array
2585 (
2586 'enabled' => false,
2587 'channel_id' => 22192,
2588 'channel_name' => 'Kanalow prywatnych: [NUM]', //[NUM] - number of channels
2589 ),
2590 'taken' => array
2591 (
2592 'enabled' => false,
2593 'channel_id' => 22193,
2594 'channel_name' => 'Zajete: [NUM]', //[NUM] - number of taken channels
2595 ),
2596 'empty' => array
2597 (
2598 'enabled' => true,
2599 'channel_id' => 73,
2600 'channel_name' => 'Liczba wolnych kanałów: [NUM]', //[NUM] - number of empty channels
2601 ),
2602 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 0),
2603 ),
2604);
2605
2606$config['instance']['5']['logs_system'] = array
2607(
2608 /****************************************************************************
2609
2610 ENG [LOGS SYSTEM] # PL [SYSTEM LOGÓW]
2611
2612 ****************************************************************************/
2613
2614 'logs' => array
2615 (
2616 // ENG [Turn on/off logs system (true or false)] # PL [Wlaczenie lub wylaczenie systemu logów]
2617 'enabled' => true,
2618
2619 // ENG [Days, after which, log files will be deleted] # PL [Czas w dniach, po których pliki logów zostana usunięte]
2620 'delete_interval' => '3',
2621 ),
2622);
2623
2624$config['instance']['5']['options'] = array
2625(
2626 /****************************************************************************
2627
2628 ENG [INSTANCE OPTIONS] # PL [OPCJE INSTANCJI]
2629
2630 ****************************************************************************/
2631
2632 // ENG [Folder for functions containing all events and plugins] # PL [Folder w którym sa wszystkie eventy i pluginy]
2633 'folder' => 'fifth_instance',
2634
2635 // ENG [Bot interval in miliseconds] # PL [Interwal bota w milisekundach]
2636 'bot_interval' => 100, //1000 = one second
2637
2638 // ENG ['events_plugins' or 'commands' (default 'commands')] # PL ['events_plugins' lub 'commands' (domyślnie 'commands')]
2639 'function_type' => 'commands',
2640
2641 // ENG [Channel id for commands list] # PL [Id kanału do spisu komend]
2642 'commands_list' => 325,
2643);
2644
2645$config['instance']['5']['commands'] = array
2646(
2647 /*********************************************
2648
2649 ENG [COMMANDS] # PL [KOMENDY]
2650
2651
2652 Explanation:
2653
2654 [sgid] - server group id
2655 [message] - text message
2656 [instance_id] - Xbot instance id
2657
2658 *********************************************/
2659
2660 // ENG [Usage: !help]
2661 'help' => array
2662 (
2663 'enabled' => true,
2664 'privileged_groups' => array(958,993), // 0 - all groups
2665 ),
2666
2667 // ENG [Usage: !pwall-[message]]
2668 'pwall' => array
2669 (
2670 'enabled' => true,
2671 'privileged_groups' => array(958,993), // 0 - all groups
2672 ),
2673
2674 // ENG [Usage: !pokeall-[message]]
2675 'pokeall' => array
2676 (
2677 'enabled' => true,
2678 'privileged_groups' => array(958,993), // 0 - all groups
2679 ),
2680
2681 // ENG [Usage: !pwgroup-[sgid]-[message]]
2682 'pwgroup' => array
2683 (
2684 'enabled' => true,
2685 'privileged_groups' => array(958,993), // 0 - all groups
2686 ),
2687
2688 // ENG [Usage: !pokegroup-[sgid]-[message]]
2689 'pokegroup' => array
2690 (
2691 'enabled' => true,
2692 'privileged_groups' => array(958,993), // 0 - all groups
2693 ),
2694
2695 // ENG [Usage: !meeting]
2696 'meeting' => array
2697 (
2698 'enabled' => true,
2699 'privileged_groups' => array(958,993), // 0 - all groups
2700 'admins_server_groups' => array( 958,993,1098,965,1071),
2701 'meeting_channel_id' => 98,
2702 ),
2703
2704 // ENG [Usage: !clients]
2705 'clients' => array //clients list
2706 (
2707 'enabled' => true,
2708 'privileged_groups' => array(958,993), // 0 - all groups
2709 ),
2710
2711 // ENG [Usage: !channels]
2712 'channels' => array //channels list
2713 (
2714 'enabled' => true,
2715 'privileged_groups' => array(958,993), // 0 - all groups
2716 ),
2717
2718 // ENG [Usage: !bot-[instance_id]] [Function is restarting Xbot's instance]
2719 'bot' => array //bot management (`starter.sh run` must be ON)
2720 (
2721 'enabled' => true,
2722 'privileged_groups' => array(958,993), // 0 - all groups
2723 ),
2724
2725 // ENG [Usage: !ch-[client_dbid]-[subchannels]]
2726 'ch' => array
2727 (
2728 'enabled' => true,
2729 'privileged_groups' => array(958,993), // 0 - all groups
2730 'head_channel_admin_group' => 55, //main head channel admin group id
2731 'message_type' => 'poke', //message type (poke or message)
2732 'empty_channel_topic' => '#free', //topic in empty channels
2733 'channels_zone' => 185, //parent channel id
2734 ),
2735
2736 // ENG [Usage: !mute-[client_dbid]-[time_in_seconds]]
2737 'mute' => array //give user specified group on specified time in seconds
2738 (
2739 'enabled' => false,
2740 'privileged_groups' => array(9,25), // 0 - all groups
2741 'give_group' => 58,
2742 ),
2743
2744 // ENG [Usage: !admin-[client_dbid]] || Database must be connect with
2745 'admin' => array //show information about specified admin
2746 (
2747 'enabled' => false,
2748 'privileged_groups' => array(9,25), // 0 - all groups
2749 'admins_groups' => array( 9,25,61,67), //all admins groups
2750 ),
2751
2752 // ENG [Usage: !tpclient-[client_nick]]
2753 'tpclient' => array //moving to specified client
2754 (
2755 'enabled' => true,
2756 'privileged_groups' => array(958,993), // 0 - all groups
2757 ),
2758
2759 // ENG [Usage: !tpchannel-[channel_name]]
2760 'tpchannel' => array //moving to specified channel
2761 (
2762 'enabled' => true,
2763 'privileged_groups' => array(958,993), // 0 - all groups
2764 ),
2765
2766 // ENG [Usage: !gsecurity-[type]-[client_dbid]-[group_id] type=add or type=del
2767 'gsecurity' => false //adding/del user to groups security function
2768 (
2769 'enabled' => false,
2770 'privileged_groups' => array(9), // 0 - all groups
2771 'admins_groups' => array( 9,25,61,67), //all admins groups checking in groups_security event
2772 ),
2773
2774 // ENG [Usage: !clientinfo-[client_dbid]] || Database must be connect with
2775 'clientinfo' => array //show information about specified client
2776 (
2777 'enabled' => true,
2778 'privileged_groups' => array(958,993), // 0 - all groups
2779 ),
2780);
2781
2782
2783?>