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