Advertisement
Guest User

Untitled

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