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