Advertisement
Guest User

Untitled

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