Advertisement
Guest User

Untitled

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