Advertisement
Guest User

Untitled

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