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