Guest User

Untitled

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