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