Advertisement
Guest User

Untitled

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