Advertisement
Guest User

Config

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