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

Replies to XBOT remade- MCPROS.PL rss

Title Name Language When
Re: XBOT remade- MCPROS.PL Lousy Tapir text 5 Years ago.