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