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