Advertisement
Guest User

Untitled

a guest
Feb 13th, 2017
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 46.76 KB | None | 0 0
  1. <?php
  2.  
  3. $config   = [];
  4. $config[] = [];
  5.    
  6. /** Bot id 1 configuration **/ 
  7. $config[1]['connection'] = array(
  8.         /**
  9.          * @name TeamSpeak3 Server IP Adress
  10.          * @format 0.0.0.0
  11.          */
  12.          
  13.             'server_ip'                        => '127.0.0.1',
  14.            
  15.         /**
  16.          * @name TeamSpeak3 Server Query Port
  17.          * @default 10011
  18.          */
  19.             'server_query_port'                => 10011,
  20.            
  21.         /**
  22.          * @name TeamSpeak3 Server ID
  23.          * @default 1
  24.          */
  25.          
  26.             'server_id'                        => 1,
  27.            
  28.         /**
  29.           * @name TeamSpeak3 Server Query Login
  30.           * @default serveradmin
  31.           */
  32.          
  33.             'server_query_login'               => 'serveradmin',
  34.            
  35.         /**
  36.           * @name TeamSpeak3 Server Query Password
  37.           */   
  38.          
  39.             'server_query_password'            => 'RCqADzfj',
  40.            
  41.            
  42.         /**
  43.           * @name Enable/Disable commands mode in TeamSpeak3 Query [Important: Look at the configuration config > options > enable_commands_system]
  44.           * @default false
  45.           */
  46.          
  47.             'commands_mode'                    => false,
  48.            
  49.         /**
  50.           * @name There you can change bot nickname
  51.           * @default mBot Premium
  52.           */
  53.          
  54.             'bot_name'                         => '4Voice.PL # Aktualizator',
  55.        
  56.         /**
  57.           * @name Channel ID where bot enter (false - disable / id - enable)
  58.           * @default false
  59.           */
  60.        
  61.             'move_to_channel'                  => 1
  62.          
  63. );
  64. $config[1]['server'] = array(
  65.         /**
  66.          * This is a checksum done edit this.
  67.          * @default false
  68.          */
  69.             'checksum' => 'bWJvdDIyLjI4WG1DVnoxMjQ1MQ==',
  70.            
  71. );
  72. $config[1]['options']    = array(
  73.    
  74.         /**
  75.          * @name Enable/Disable commands system in bot interface [Important: Look at the configuration config > connection > commands_mode]
  76.          * @default false
  77.          */
  78.          
  79.             'enable_plugins_and_events_system' => true,
  80.            
  81.         /**
  82.          * @name Enable/Disable mysql system
  83.          * @default true
  84.          */
  85.        
  86.             'enable_database'                  => false,
  87.            
  88.         /**
  89.          * @name The folder name from the events and plugins
  90.          * @default FirstInstance
  91.          */
  92.            
  93.             'folder_name'                      => 'FirstInstance',
  94.            
  95.         /**
  96.          * @name Bot idle time before do next tasks
  97.          * @default 1
  98.          */
  99.          
  100.             'idle_seconds'                     => 5,
  101.            
  102.                 /**
  103.          * @name Enable/Disable commands system in bot interface [Important: Look at the configuration config > connection > commands_mode]
  104.          * @default false
  105.          */
  106.          
  107.             'enable_commands_system' => false
  108.        
  109. );
  110.  
  111. /** Mysql configuration **/
  112. $config[1]['db'] = array(
  113.  
  114.     'host'                        => '127.0.0.1',
  115.     'user'                        => 'mbot',
  116.     'pass'                        => 'mbot123',
  117.     'name'                        => 'mbot'
  118.          
  119. );
  120. /** end of mysql configuartion **/ 
  121.    
  122.    
  123. $config[1]['plugins'] = array(
  124.    
  125.         /**
  126.          * @name Dosabled plugins
  127.          * @format 'simplePlugin'
  128.          */
  129.    
  130.             'ignored_plugins' => array('noRecording','awayGroup'),
  131.            
  132.         /**
  133.          * @name Specyfic plugin configurations
  134.          */
  135.  
  136.             'plugins_configs' => array(
  137.                 'awayGroup' => array(
  138.                     'away_group' => 81, // Grupa, która ma nadać
  139.                     'groups_ignore' => array(), // Grupy ignorowane
  140.                     'time' => 1 * 60 * 60,
  141.                 ),
  142.                 'getData' => array(
  143.                     'file' => '/var/www/cache.ss', // Gdzie ma zapisywać dane
  144.                     'time' => 1 * 10 // Czas co jaki ma zapisywać pliki
  145.                 ),
  146.                 'connectMessage' => array(
  147.                 /*
  148.                     Dostępne wpisy:
  149.                     * [SERVER_NAME] - Serwer: Nazwa Serwera,
  150.                     * [SERVER_MAX_CLIENTS] - Serwer: Maksymalna ilość klientów,
  151.                     * [SERVER_CLIENTS] - Serwer: Aktualnie online,
  152.                     * [SERVER_HOST_MESSAGE] - Serwer: Wiadomość hostu,
  153.                     * [SERVER_WELCOME_MESSAGE] - Serwer: Wiadomość powitalna,
  154.                     * [SERVER_VERSION] - Serwer: Wersja serwera,
  155.                     * [SERVER_PLATFORM] - Serwer: Platforma serwera,
  156.                     * [SERVER_CLIENTS_PERCENT] - Serwer: Procent zajętych slotów np 512/512 (100,
  157.                     * [SERVER_PACKET] - Serwer: Ilość pakietów na serwerze,
  158.                     * [SERVER_PING_TOTAL] - Serwer: Ilość pingu,
  159.                     * [CLIENT_NICKNAME] - Użytkownik: Nazwa użytkownika,
  160.                     * [CLIENT_LAST_CONNECT] - Użytkownik: Ostatnie połączenie,
  161.                     * [CLIENT_COUNTRY] - Użytkownik: Kraj użytkownika,
  162.                     * [CLIENT_CONNECT] - Użytkownik: Ilość połączeń,
  163.                     * [Client_ID] - Użytkownik: Unikalny identyfikator
  164.                 */
  165.                     'Hca_group' => 5,
  166.                     'cache_file' => '/home/mbot/cache/',
  167.                     'poke' => array(
  168.                         'poke_message_status' => false,
  169.                     )
  170.                 ),
  171.                 'noRecording' => array(
  172.                     'no_record_channels' => array(0), // Kanały gdzie nie można nagrywać.
  173.                     'groups_ignore' => array(9,48,108,120,16,17,18,19,20,21) // Grupy ignorowane
  174.                )
  175.             )
  176. );
  177.    
  178. $config[1]['events'] = array(
  179.    
  180.         /**
  181.          * @name Dosabled events
  182.          * @format 'simpleEvent'
  183.          */
  184.    
  185.             'ignored_events' => array('klanOnline','topConnectionTime','topConnections','timeSpent','getIcons','multiFunction','reklama'),
  186.  
  187.         /**
  188.          * @name Specyfic events time configuration
  189.          */
  190.        
  191.             'events_executes' => array(
  192.            
  193.                 'serverName' => array('seconds' => 30,'minutes' => 0,'hours'   => 0,'days' => 0),
  194.                 'onlineRecord' => array('seconds' => 4,'minutes' => 0,'hours' => 0,'days' => 0),           
  195.                 'adminsOnline' => array('seconds' => 0,'minutes' => 3,'hours' => 0,'days' => 0),           
  196.                 'klanOnline' => array('seconds' => 30,'minutes' => 0,'hours' => 0,'days' => 0),
  197.                 'adminList' => array('seconds' => 0,'minutes' => 0,'hours' => 0,'days' => 30),
  198.                 'adminsOnChannels' => array('seconds' => 59,'minutes' => 0,'hours' => 0,'days' => 0),
  199.                 'topConnectionTime' => array('seconds' => 0, 'minutes' => 5, 'hours' => 0, 'days' => 30),
  200.                 'topConnections' => array('seconds' => 5, 'minutes' => 0, 'hours' => 0, 'days' => 0),
  201.                 'timeSpent' => array('seconds' => 0, 'minutes' => 5, 'hours' => 0, 'days' => 30),
  202.                 'poke_admins' => array('seconds' => 12, 'minutes' => 0, 'hours' => 0, 'days' => 0),
  203.                 'getIcons' => array('seconds' => 30, 'minutes' => 0, 'hours' => 0, 'days' => 0),
  204.                 'multiFunction' => array('seconds' => 30, 'minutes' => 0, 'hours' => 0, 'days' => 0),
  205.                 'channelGroup' => array('seconds' => 3,'minutes' => 0,'hours'  => 0,'days' => 0),  
  206.                 'reklama' => array('seconds' => 0, 'minutes' => 0, 'hours' => 1, 'days' => 0),
  207.                
  208.             ),
  209.            
  210.         /**
  211.           * @name Specyfic event configurations
  212.           */
  213.            
  214.             'events_configs' => array( 
  215.            
  216.                 'serverName' => array(
  217.                     'change_modal_message' => array(
  218.                         'status' => false,
  219.                     ),
  220.                     'name' => '4Voice.PL   • Serwer stworzony dla Ciebie! •  [online] ONLINE •'
  221.                 ),
  222.                
  223.                 'channelGroup' => array(
  224.                     'onClientAreOnChannel' => array(139,140), // Wszystkie kanały
  225.                         'groups' => array(
  226.                             139 => array(26), // Kanał = grupa, która ma nadac po wejściu kobieta
  227.                             140 => array(25) // Kanał = grupa, która ma nadac po wejściu mezczyzna
  228.                         ),
  229.                         'all_groups' => array(25,26) // Wszystkie grupy
  230.                 ),
  231.                
  232.                 'adminsOnChannels' => array(
  233.                     'adminList' => array(
  234.                         'GL4Y9bN/VBTnF3kNnGqC4C/MJq8=' => array(
  235.                                 'channel_id' => 137 // Ja
  236.                         ),
  237.                         '1/yi3DmfogQk6bPVgKVfCde8BJ8=' => array(
  238.                                 'channel_id' => 28915 // Kamil
  239.                        
  240.                        
  241.                         /*
  242.  
  243.                             Aby dodać kolejny rekord należy wpisywać tak:
  244.                             'Unique ID' => array(
  245.                                 'channel_id' => 0 // Tutaj id kanału danego admina
  246.                             ),
  247.                         */
  248.                     ),
  249.                     ),
  250.                     'channel_name' => '[admin_nick]  |  [[admin_status]]', // Jak ma wyświetlać teraz np. [Query]  [Offline] [KlassKai]
  251.                     'groups' => array(11,13,14,17,16), // Wpisujemy wszystkie grupy administracji
  252.                
  253.                 ),
  254.                 'topConnectionTime' => array(
  255.                     'top_desc' => '[center][size=11]TOP [records]\n Najdłuższe połączenie:[/size][/center]\n\n',
  256.                     'end_desc' => '',
  257.                     'write_channel' => 807, // Kanał, gdzie ma wypisywać osoby.
  258.                     'numbers_of_records' => 10, // Ilośc rekordów
  259.                     'groups_ignore' => array(98) // Ignorowane grupy.
  260.                 ),
  261.                 'topConnections' => array(
  262.                     'top_desc' => '[center][size=11]TOP [records]\n Ilość połączeń:[/size][/center]\n\n',
  263.                     'end_desc' => '',
  264.                     'write_channel' => 34441, // Kanał, gdzie ma wypisywać osoby.
  265.                     'numbers_of_records' => 10, // Ilośc rekordów
  266.                     'groups_ignore' => array(2) // Ignorowane grupy.
  267.                 ),
  268.                 'timeSpent' => array(
  269.                     'top_desc' => '[center][size=11]TOP [count]\n Spędzony czas:[/size][/center]\n\n',
  270.                     'end_desc' => '\n[hr][right][img]http://i.imgur.com/LVJvH9O.png[/img][/right]',
  271.                     'write_channel' => 806, // Kanał, gdzie ma wypisywać osoby.
  272.                     'numbers_of_records' => 50, // Ilośc rekordów
  273.                     'interval' => 5 * 60, // Tutaj zostawiamy bez zmian, w przypadku gdy zmienimy czas edytowania kanału tutaj tez.
  274.                     'ignore_idle_time' => 15 * 60, // W przypadku gdy użytkownik jest away, jaki musi mieć czas idle aby liczyło mu ten czas.
  275.                     'groups_ignore' => array(98) // Ignorowane grupy.
  276.                 ),
  277.                 'onlineRecord' => array(
  278.                     'write_channel' => 136, // Kanał gdzie ma wpisywać
  279.                     'name' => '[cspacer]► Rekord użytkowników: [record] ◄', // Nazwa kanału
  280.                     'cache_file' => '/home/mbot/inc/cache/recordOnline' // Wpisujemy sciężkę do pliku.
  281.                 ),
  282.                
  283.                 'adminsOnline' => array(
  284.                     'write_channel' => 138, // Kanał gdzie ma wpisywać
  285.                     'channel_name' => '[cspacer]', // Nazwa kanału
  286.                     'up_description' => '[hr]\n [center][size=13][color=#dfcd46][b]Administratorzy przebywający aktualnie\nna serwerze:[/b][/size][/center]\n\n',
  287.                     'lower_description' => '[hr]',
  288.                     'groups' => array(11,13,14,16,17,18) // Grupy administracji
  289.                 ),
  290.                
  291.                 'klanOnline' => array(
  292.                     'up_description' => '\n [center][size=11][b]Strefa VIP[/center]\n\n',
  293.                     'lower_description' => '\n',
  294.                     'clans' => array(
  295.                         162 => array(
  296.                             'group' => array(162),
  297.                             'cid' => 2026,
  298.                             'name' => '[cspacer][MŁYN] Osób Online: [online]'
  299.                         ),
  300.                     ),
  301.                 ),
  302.                
  303.                 'adminList' => array(
  304.                     'up_description' => '\n [center][size=15][b]Lista Administracji[/size][/center]\n\n',
  305.                     'lower_description' => '\n[hr][right][img]http://i.imgur.com/LVJvH9O.png[/img][/right]',
  306.                     'groups' => array(9,48,108,120,16,17,18,19,20,21), // Grupy administracji np. array(3,5),
  307.                     'away_time' => 10 * 60, // Czas po jakim ma pokazywac Away.
  308.                     'channel' => 33, // Kanał gdzie ma wypisywać
  309.                 ),         
  310.                 'poke_admins' => array(
  311.                     'type' => 'poke', // Dostępne typy: poke/pw
  312.                     'onClientAreOnChannel' => array(172,27536), // Lista kanałów pomocy
  313.                     'groups_poke' => array(
  314.                         172 => array(15,18), // Kanał = grupy, które ma poketować.
  315.                         27536 => array(143,144), // Kanał = grupy, które ma poketować.
  316.                     ),
  317.                     'ignored_channel' => array(), // Ignorowane kanały, jeżeli będzie tam admin nie dostanie poke.
  318.                     'groups' => array(15,18,143,144) // Rangi, które mają dostawać poke, wpisujemy wszystkie
  319.                 ),
  320.                 'getIcons' => array(
  321.                     'virtualserver_ip' => '127.0.0.1', // Adres IP serwera
  322.                     'file_path' => '/var/www/', // Gdzie ma zapisywać ikony.
  323.                    
  324.                 ),
  325.                 'multiFunction' => array(
  326.                     'status' => true, // Status
  327.                     'Current_time' => array(
  328.                         'status' => false, // Status
  329.                         'channel_to_typing' => 17739, // Kanał gdzie ma wpisywać
  330.                         'channel_name' => '[cspacer]● Zegarynka: [time]' // Nazwa kanału
  331.                     ),
  332.                     'Number_of_channels' => array(
  333.                         'status' => false, // Status
  334.                         'channel_to_typing' => 2435, // Kanał gdzie ma wpisywać
  335.                         'channel_name' => '[cspacer]● Ilość kanałów: [channels]' // Nazwa kanału
  336.                     ),
  337.                     'Online_list' => array(
  338.                         'status' => false, // Status
  339.                         'channel_to_typing' => 270, // Kanał gdzie ma wpisywać
  340.                         'channel_name' => '[cspacer]• Użytkowników online: [clients] •' // Nazwa kanału
  341.                     ),
  342.                     'Private_channels' => array(
  343.                         'status' => false, // Status
  344.                         'pid' => array(180), // Wpisujemy sekcję kanałow prywatnych
  345.                         'channel_to_typing' => 17741, // Kanał gdzie ma wpisywać
  346.                         'channel_name' => '[cspacer]● Kanałów prywatnych: [priv_channels]' // Nazwa kanału
  347.                     )
  348.             ),
  349.     )
  350. );
  351. /** end of adds configuration **/
  352. /** Bot id 2 configuration **/
  353. $config[2]['connection'] = [
  354.         /**
  355.          * @name TeamSpeak3 Server IP Adress
  356.          * @format 0.0.0.0
  357.          */
  358.          
  359.             'server_ip'                        => '127.0.0.1',
  360.            
  361.         /**
  362.          * @name TeamSpeak3 Server Query Port
  363.          * @default 45555
  364.          */
  365.             'server_query_port'                => 10011,
  366.            
  367.         /**
  368.          * @name TeamSpeak3 Server ID
  369.          * @default 1
  370.          */
  371.          
  372.             'server_id'                        => 1,
  373.            
  374.         /**
  375.           * @name TeamSpeak3 Server Query Login
  376.           * @default serveradmin
  377.           */
  378.          
  379.             'server_query_login'               => 'serveradmin',
  380.            
  381.         /**
  382.           * @name TeamSpeak3 Server Query Password
  383.           */   
  384.          
  385.             'server_query_password'            => 'RCqADzfj',
  386.            
  387.            
  388.         /**
  389.           * @name Enable/Disable commands mode in TeamSpeak3 Query [Important: Look at the configuration config > options > enable_commands_system]
  390.           * @default false
  391.           */
  392.          
  393.             'commands_mode'                    => false,
  394.            
  395.         /**
  396.           * @name There you can change bot nickname
  397.           * @default mBot Premium
  398.           */
  399.          
  400.             'bot_name'                         => 'Vaire.pl # Kanałowy',
  401.        
  402.         /**
  403.           * @name Channel ID where bot enter (false - disable / id - enable)
  404.           * @default false
  405.           */
  406.        
  407.             'move_to_channel'                  => 11
  408.          
  409. ];
  410. $config[2]['server'] = [
  411.         /**
  412.          * This is a checksum done edit this.
  413.          * @default false
  414.          */
  415.             'checksum' => 'bWJvdDIyLjI4WG1DVnoxMjQ1MQ==',
  416.            
  417. ];
  418. $config[2]['options']    = [
  419.    
  420.         /**
  421.          * @name Enable/Disable commands system in bot interface [Important: Look at the configuration config > connection > commands_mode]
  422.          * @default false
  423.          */
  424.          
  425.             'enable_plugins_and_events_system' => true,
  426.            
  427.         /**
  428.          * @name Enable/Disable mysql system
  429.          * @default false
  430.          */
  431.        
  432.             'enable_database'                  => false,
  433.            
  434.         /**
  435.          * @name The folder name from the events and plugins
  436.          * @default FirstInstance
  437.          */
  438.            
  439.             'folder_name'                      => 'ThirtyInstance',
  440.            
  441.         /**
  442.          * @name Bot idle time before do next tasks
  443.          * @default 1
  444.          */
  445.          
  446.             'idle_seconds'                     => 10,
  447.            
  448.                 /**
  449.          * @name Enable/Disable commands system in bot interface [Important: Look at the configuration config > connection > commands_mode]
  450.          * @default false
  451.          */
  452.          
  453.             'enable_commands_system' => false
  454. ];
  455.    
  456. $config[2]['plugins'] = [
  457.         /**
  458.          * @name Disabled plugins
  459.          * @format 'simplePlugin'
  460.          */
  461.          
  462.             'ignored_plugins' => [],
  463.            
  464.         /**
  465.          * @name Specyfic plugin configurations
  466.          */
  467.            
  468.             'plugins_configs' => [
  469.            
  470.                 'channelCheckers' => [
  471.                     'checker_type'                => 'topicdate',
  472.                     'channel_name_regex'          => '/[0-9]{1,3}\.(.*)/',
  473.                     'channel_num_regex'           => '/(.*)\.(.*)/',
  474.                     'channel_data_regex'          => '/^[0-9]{2}\.[0-9]{2}\.[0-9]{2}$/',
  475.                     'date_name'                   => '[ZMIEŃ DATĘ]', // W przypadku gdy kanał jest starszy niż 7 dni, co ma dopisywać do niego jako informację.
  476.                     'check_channel_names'         => true, // Czy ma sprawdzać nazwy.
  477.                     'Editing_by_Admin'            => true, // Gdy właściciel kanału jest na nim data się aktualizuje
  478.                     'check_channel_data'          => true, // Sprawdzanie daty.
  479.                     'head_channel_admin_group_id' => 75, // ID rangi kanałowej głównej.
  480.                     'channel_admin_group_id'      => 66, // ID rangi kanałowej zaraz po głownej.
  481.                     'chennel_pid'                 => [1800], // Sekcja, gdzie znajdują się kanały prywatne.
  482.                     'channels_section'            => 1800, // Sekcja, gdzie znajdują się kanały prywatne.
  483.                     'foul_language'               => ['fuck','shit','pizda','hitler','cwel','spierdalaj','skurwiel','idiota','dziwka','suka','jebac','kurwa','huj','cipa','chuj','server admin','Support Admin','Manager Admin','Public Admin','Junior Public Admin','Guardian Admin','Admin','.pl','.eu','.com','online-ts3','net-speak'],
  484.                     'freeChannels_name'           => 'Prywatny Kanał - Wolny', // Nazwa kanałów wolnych
  485.                     'minimal_freeChannels'        => 40, // Minimalna ilość kanałów wolnych
  486.                 ],
  487.             ]
  488. ];
  489. /** end of adds configuration **/
  490. /** Bot id 3 configuration **/
  491. $config[3]['connection'] = [
  492.         /**
  493.          * @name TeamSpeak3 Server IP Adress
  494.          * @format 0.0.0.0
  495.          */
  496.          
  497.             'server_ip'                        => '127.0.0.1',
  498.            
  499.         /**
  500.          * @name TeamSpeak3 Server Query Port
  501.          * @default 45555
  502.          */
  503.             'server_query_port'                => 10011,
  504.            
  505.         /**
  506.          * @name TeamSpeak3 Server ID
  507.          * @default 1
  508.          */
  509.          
  510.             'server_id'                        => 1,
  511.            
  512.         /**
  513.           * @name TeamSpeak3 Server Query Login
  514.           * @default serveradmin
  515.           */
  516.          
  517.             'server_query_login'               => 'serveradmin',
  518.            
  519.         /**
  520.           * @name TeamSpeak3 Server Query Password
  521.           */   
  522.          
  523.             'server_query_password'            => 'RCqADzfj',
  524.            
  525.            
  526.         /**
  527.           * @name Enable/Disable commands mode in TeamSpeak3 Query [Important: Look at the configuration config > options > enable_commands_system]
  528.           * @default false
  529.           */
  530.          
  531.             'commands_mode'                    => false,
  532.            
  533.         /**
  534.           * @name There you can change bot nickname
  535.           * @default mBot Premium
  536.           */
  537.          
  538.             'bot_name'                         => 'Vaire.pl # Administrator',
  539.        
  540.         /**
  541.           * @name Channel ID where bot enter (false - disable / id - enable)
  542.           * @default false
  543.           */
  544.        
  545.             'move_to_channel'                  => 11
  546.          
  547. ];
  548. $config[3]['server'] = [
  549.         /**
  550.          * This is a checksum done edit this.
  551.          * @default false
  552.          */
  553.             'checksum' => 'bWJvdDIyLjI4WG1DVnoxMjQ1MQ==',
  554.            
  555. ];
  556. $config[3]['options']    = [
  557.    
  558.         /**
  559.          * @name Enable/Disable commands system in bot interface [Important: Look at the configuration config > connection > commands_mode]
  560.          * @default false
  561.          */
  562.          
  563.             'enable_plugins_and_events_system' => true,
  564.            
  565.         /**
  566.          * @name Enable/Disable mysql system
  567.          * @default true
  568.          */
  569.        
  570.             'enable_database'                  => true,
  571.            
  572.         /**
  573.          * @name The folder name from the events and plugins
  574.          * @default FirstInstance
  575.          */
  576.            
  577.             'folder_name'                      => 'SecondInstance',
  578.            
  579.         /**
  580.          * @name Bot idle time before do next tasks
  581.          * @default 1
  582.          */
  583.          
  584.             'idle_seconds'                     => 5,
  585.            
  586.                 /**
  587.          * @name Enable/Disable commands system in bot interface [Important: Look at the configuration config > connection > commands_mode]
  588.          * @default false
  589.          */
  590.          
  591.             'enable_commands_system' => false
  592. ];
  593.    
  594. $config[3]['db'] = [
  595.  
  596.     'host'                        => 'localhost',
  597.     'user'                        => 'root',
  598.     'pass'                        => 'didiks123',
  599.     'name'                        => 'mbot'
  600.          
  601. ];
  602.    
  603. $config[3]['plugins'] = [
  604.  
  605.         /**
  606.          * @name Dosabled plugins
  607.          * @format 'simplePlugin'
  608.          */
  609.          
  610.             'ignored_plugins' => ['autoRegister', 'mvGrToChfCh','groupLimit','groupOnline'],
  611.  
  612.         /**
  613.          * @name Specyfic plugin configurations
  614.          */    
  615.            
  616.             'plugins_configs' => [
  617.                 'badNicknames' => [
  618.                     'foul_words' => ['shit', 'teamspeakuser', 'kurwa', 'huj', 'cipa', 'pierdolony', 'chuj', 'jebac', 'jebać', 'dziwka', 'kutas', 'CHUJ', 'Szmata' ,'Pizda' ,'PIZDA' ,'Pierdol Się' ,'Pierdol sie' ,'PIERDOL SIĘ' ,'jebać adminów' ,'JEBAĆ ADMINÓW' ,'Jebać Administracje' ,'Chuj' ,'KURWA' ,'shit' ,'kurwa' ,'huj' ,'cipa' , 'chuj' , 'dziwka' , 'kutas', 'CHUJ', 'Szmata', 'Pizda' ,'PIZDA' ,'Pierdol Się' ,'Pierdol sie' ,'PIERDOL SIĘ' ,'Jebać Adminów', 'JEBAĆ ADMINÓW', 'Jebać Administracje', 'Chuj', 'KURWA', 'pento', 'Administrator', 'Admin', 'ssij', 'cwel', 'cwele', 'pizda', 'spierdalaj' ,'wypierdalaj', 'serwer', '[]', 'kurwiszon', 'skurwysyn', 'ciota', 'root', 'SA', '[Ts Administrator]','TeamSpeakUser','fubu','JP armia','ROOT','Admin', '.pl','Administrator', 'Admin', 'serveradmin', 'server admin', 'query', 'queryadmin', 'query admin', 'serwer', 'server', 'serweradmin', 'serwer admin', 'owner', 'root', '.com', '.eu', '.org', '.net', '.com.pl', 'kurwa', 'Support Admin','Manager Admin', 'Public Admin', 'Administarto', 'http:'], /** Zle nicki **/
  619.                     'groups_ignore' => [2,382,394,233,234,237,238], // Ignorowane grupy
  620.                     'nickname_regular' => ''           
  621.                 ]
  622.                
  623.                 'noAfk' => [
  624.                     'afk_channel_id' => 125, // Kanał na który ma przenieść.
  625.                     'clidb_ignore' => [], // Ignorowani klienci (Client_Database_ID)
  626.                     'check_channels_id' => [], // Id kanałów gdzie ma tylko sprawdzać.
  627.                     'groups_ignore' => [2,382,394,233,234,237,238], // Ignorowane grupy
  628.                     'move_message' => true // Wiadomośc po przeniesieniu
  629.                 ]
  630.                
  631.                 'autoRegister' => [
  632.                     'groups' => [218], // Grupę, którą ma dodac.
  633.                     'groups_ignore' => [171, 169, 172, 173, 218, 220], // Ignorowane grupy
  634.                     'time' => 30 * 60 // Po jakim czasie ma ją nadać domyślnie 1 godzina.
  635.                 ],
  636.                
  637.                 'groupLimit' => [
  638.                     'groups' => [287,301,302,213,34,218,35,219,37,220,38,221,23,24,25,26,214,27,215,216,223,127,202,128,124,129,178,184,157,201,29,33,125,185,126,123,156,32,79,204,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,194,196,195,197,198], // Ignorowane grupy
  639.                     'limit' => 7, // Limit grup
  640.                 ],
  641.                
  642.                 'mvGrToChfCh' => [
  643.                     /**
  644.                         Wydarzenie służące do przenoszenia użytkownika z danego kanału z danej grupy na określony w konfiguracji kanał.
  645.                         Informacje:
  646.                             [*] 'isOnChannel'   - Tutaj wpisujemy kanał, z którego ma wrzucać.
  647.                             [*] 'isInGroup'     - Tutaj wpisujemy id grupy, w której musi być dany użytkownik.
  648.                             [*] 'moveToChannel' - Tutaj wpisujemy id kanału na który ma przerzucić danego usera.
  649.                        
  650.                         Dodawanie nowego rekordu:
  651.                             Aby dodać kolejny rekord wystarczy skopiować to:
  652.                             numer => array('isOnChannel' => 0, 'isInGroup' => 0, 'moveToChannel' => 0),
  653.                     **/
  654.                     'list' => [
  655.                         1 => ['isOnChannel' => 1, 'isInGroup' => 171, 'moveToChannel' => 40],
  656.                         2 => ['isOnChannel' => 1, 'isInGroup' => 169, 'moveToChannel' => 44],
  657.                         3 => ['isOnChannel' => 1, 'isInGroup' => 172, 'moveToChannel' => 47],
  658.                         4 => ['isOnChannel' => 1, 'isInGroup' => 173, 'moveToChannel' => 48],
  659.                         5 => ['isOnChannel' => 1, 'isInGroup' => 217, 'moveToChannel' => 294],
  660.                     ]
  661.                 ],
  662.             ]
  663. ];
  664.    
  665. $config[3]['events'] = [
  666.         /**
  667.          * @name Dosabled events
  668.          * @format 'simpleEvent'
  669.          */
  670.        
  671.             'ignored_events' => ['musicChannel', 'clientLevels', 'awardsSystem', 'musicSinus', 'musicInformation', 'youtubeInfo', 'freeChannelseng', 'weryf', 'vipGroup'],
  672.        
  673.        
  674.         /**
  675.          * @name Specyfic events time configuration
  676.          */
  677.        
  678.             'events_executes' => [
  679.            
  680.                 'cleanup' => ['seconds' => 0, 'minutes' => 5, 'hours' => 0, 'days' => 0],
  681.                
  682.                 'vipGroup' => ['seconds' => 1,'minutes' => 0,'hours' => 0,'days' => 0],
  683.                
  684.                 'vipGroupRemove' => ['seconds' => 1,'minutes' => 0,'hours' => 0,'days' => 0],
  685.  
  686.                 'karya' => ['seconds' => 0,'minutes' => 1,'hours' => 0,'days' => 0],
  687.  
  688.                 'weryf' => ['seconds' => 5,'minutes' => 0,'hours' => 0,'days' => 0],
  689.                
  690.                 'musicChannel' => ['seconds' => 10,'minutes' => 0,'hours' => 0,'days' => 0],
  691.                
  692.                 'getChannel' => ['seconds' => 10,'minutes' => 0,'hours' => 0,'days' => 0],
  693.                
  694.                 'freeChannels' => ['seconds' => 1,'minutes' => 6,'hours' => 0,'days' => 0],
  695.                
  696.                 'freeChannelseng' => ['seconds' => 1,'minutes' => 6,'hours' => 0,'days' => 0],
  697.                
  698.                 'userPlatform' => ['seconds' => 35,'minutes' => 0,'hours' => 0,'days' => 0],
  699.                
  700.                 'clientLevels' => ['seconds' => 0, 'minutes' => 5, 'hours' => 0, 'days' => 0],
  701.                
  702.                 'awardsSystem' => ['seconds' => 0, 'minutes' => 10, 'hours' => 0, 'days' => 0],
  703.                
  704.                 'newUsersToday' => ['seconds' => 0, 'minutes' => 2, 'hours' => 0, 'days' => 0],
  705.                
  706.                 'randomGroup' => ['seconds' => 1, 'minutes' => 7, 'hours' => 0, 'days' => 0],
  707.                
  708.                 'checkvip7' => ['seconds' => 1, 'minutes' => 1, 'hours' => 0, 'days' => 0],
  709.                
  710.                 'checkvip14' => ['seconds' => 1, 'minutes' => 1, 'hours' => 0, 'days' => 0],
  711.                
  712.                 'checkvip30' => ['seconds' => 1, 'minutes' => 1, 'hours' => 0, 'days' => 0],
  713.                
  714.                 'Partners' => ['seconds' => 30, 'minutes' => 0, 'hours' => 0, 'days' => 0],
  715.                
  716.                 'musicInformation' => ['seconds' => 20, 'minutes' => 0, 'hours' => 0, 'days' => 0],
  717.                
  718.                 'youtubeInfo' => ['seconds' => 1, 'minutes' => 3, 'hours' => 0, 'days' => 0],
  719.             ],
  720.            
  721.            
  722.         /**
  723.           * @name Specyfic event configurations
  724.           */   
  725.            
  726.             'events_configs' => [
  727.                
  728.                 'vipGroup' => [
  729.                 /*
  730.                     Automatyczne nadawanie rangi gildii.
  731.                    
  732.                     Domyślnie:
  733.                     - 'onClientAreOnChannel' - tutaj wpisujemy wszystkie id kanałów,
  734.                     - 'groups' - tutaj wpisujemy id kanału = id rangi, którą ma nadać,
  735.                     - 'all_groups' - tutaj wpisujemy id wszystkich grup.
  736.                 */
  737.                     'onClientAreOnChannel' => [393,395,608],
  738.                         'groups' => [
  739.                             393 => [32],
  740.                             395 => [79],
  741.                             608 => [204],
  742.                         ],
  743.                     'all_groups' => [32,79,204],
  744.                 ],
  745.  
  746.                 'vipGroupRemove' => [
  747.                 /*
  748.                     Automatyczne nadawanie rangi gildii.
  749.                    
  750.                     Domyślnie:
  751.                     - 'onClientAreOnChannel' - tutaj wpisujemy wszystkie id kanałów,
  752.                     - 'groups' - tutaj wpisujemy id kanału = id rangi, którą ma nadać,
  753.                     - 'all_groups' - tutaj wpisujemy id wszystkich grup.
  754.                 */
  755.                     'onClientAreOnChannel' => [394,396,609],
  756.                         'groups' => [
  757.                             394 => [32],
  758.                             396 => [79],
  759.                             609 => [204],
  760.                                        
  761.                         ],
  762.                     'all_groups' => [32,79,204],
  763.                 ],
  764.                
  765.                 'userPlatform' => [
  766.                     'mobile_group' => 271, // W przypadku gdy klient jest zalogowany na IOS lub Androdzie otrzymuje tą grupę.
  767.                 ],
  768.                
  769.                 'musicInformation' => [
  770.                     'mainInformation' => [
  771.                         'host' => 'http://127.0.0.1:8087',
  772.                         'login' => 'admin',
  773.                         'password' => 'didiks123',
  774.                         'instance' => '3ee8d707-f8bd-4ffa-9437-9a9150176bb7',
  775.                         'database_id' => 1364,
  776.                         'youtube' => false
  777.                     ],
  778.                     'channels' => [
  779.                         'description' => '[size=10]Last songs played on this section:[/size]\n[center][history][/center]\n\n',
  780.                         'mainChannel' => 82,
  781.                         'others' => [
  782.                             'author' => [
  783.                                 'format' => 'Autor: [author]',
  784.                                 'channel' => 85
  785.                             ],
  786.                             'title' => [
  787.                                 'format' => 'Tytuł: [title]',
  788.                                 'channel' => 84
  789.                             ]
  790.                         ]
  791.                     ]
  792.                 ],
  793.                
  794.                 'freeChannels' => [
  795.                 /*
  796.                     freeChannels - Darmowe kanały, wpisuje tutaj wolne kanały jak i te, które zostaną usunięte danego dnia.
  797.                 */
  798.                     'channel_pid' => 175, // Sekcja kanałów prywatnych
  799.                     'write_channel' => 175, // Kanał gdzie ma wpisywać opis.
  800.                     'channel_id2' => 175, // Kanał gdzie ma wpisywać nazwę
  801.                     'channel_name' => 'Kanałów wolnych: [freeChannels]', // Nazwa kanału
  802.                     'top_desc' => '[size=12][b]Kanały dostępne:[/b] ',
  803.                     'end_desc' => '[/size]\n[hr][right][size=9]Wygenerowane przez: [b][url=http://K-Scripts.eu/?teamspeak]MBOT (Wersja: 24.0)[/url][/right]',
  804.                 ],
  805.  
  806.                 'freeChannelseng' => [
  807.                 /*
  808.                     freeChannels - Darmowe kanały, wpisuje tutaj wolne kanały jak i te, które zostaną usunięte danego dnia.
  809.                 */
  810.                     'channel_pid' => 1500, // Sekcja kanałów prywatnych
  811.                     'write_channel' => 1062, // Kanał gdzie ma wpisywać opis.
  812.                     'channel_id2' => 1062, // Kanał gdzie ma wpisywać nazwę
  813.                     'channel_name' => '● Free channels: [freeChannels]', // Nazwa kanału
  814.                     'top_desc' => '[size=12][b]Channels Available:[/b] ',
  815.                     'end_desc' => '[/size]\n[hr][right][size=9]Wygenerowane przez: [b][url=http://K-Scripts.eu/?teamspeak]MBOT (Wersja: 24.0)[/url][/right]',
  816.                 ],
  817.                
  818.                 'getChannel' => [
  819.                 /*
  820.                     getChannel - automatyczne nadawanie kanału po wejściu na określony kanał.
  821.                 */
  822.                     'channels_section' => 175, // Sekcja kanałów prywatnych
  823.                     'need_groups' => [51,52,215,216], // Potrzebne grupy do otrzymania kanału
  824.                     'channel_num_regex' => '/(.*)\.(.*)/', // regex nazwy kanału
  825.                     'channel_admin_group_id' => 14, // ID grupy, która ma nadać
  826.                     'pl_groups' => array(51, 52), // Potrzebne grupy do otrzymania kanału
  827.                     'default_subchannels' => 2, // Domyślna ilość podkanałów
  828.                     'max_subchannels' => 2, // Maksymalna ilość podkanałów
  829.                     'channel_codec' => 4,
  830.                     'channel_codec_level' => 10,
  831.                     'onClientAreOnChannel' => [122, 1028], // ID kanału, gdy na niego wejdziemy otrzymamy kanał.
  832.                 ],
  833.                
  834.                 'clientLevels' => [
  835.                     /*
  836.                         clientLevels - System leveli względem Twojej aktywności
  837.                     */
  838.                     'output' => '[center][size=11]TOP [count]\n Największy poziom:[/size][/center]\n\n',
  839.                     'numbers_of_records' => 10, // Ilość rekordów wyświetlanych
  840.                     'end_output' => '\n[hr][right][size=9]Wygenerowane przez: [b][url=http://K-Scripts.eu/?teamspeak]MBOT (Wersja: 24.0)[/url][/right]',
  841.                     'write_channel' => 251, // Kanał gdzie ma wpisywać
  842.                     'cache_path' => '/home/mbot/cache/',
  843.                     'need_group' => [106, 107, 109], // Grupy potrzebne do nadawania
  844.                     'groups_ignore' => [105], // Ignorowane grupy
  845.                     'levels' => [
  846.                         [112, 10], //LVL 1
  847.                         [113, 30 * 60], //LVL 2
  848.                         [114, 3 * 60 * 60], //LVL 3
  849.                         [115, 6 * 60 * 60], //LVL 4
  850.                         [116, 9 * 60 * 60], //LVL 5
  851.                         [117, 12 * 60 * 60], //LVL 6
  852.                         [118, 15 * 60 * 60], //LVL 7
  853.                         [119, 18 * 60 * 60], //LVL 8
  854.                         [120, 21 * 60 * 60], //LVL 9
  855.                         [121, 24 * 60 * 60], //LVL 10              
  856.                     ],
  857.                     'interval' => 5 * 60, // Co jaki czas ma dodawać czas
  858.                     'ignore_idle_time' => 15 * 60, // Czas po którym nie jest dodawany czas
  859.                 ],
  860.                
  861.                 'awardsSystem' => [
  862.                 /*
  863.                     awardsSystem - System osiągnięc.
  864.                 */
  865.                     'need_group' => [109, 107, 106], // Grupy potrzebne do brania udziału.
  866.                     'groups_ignore' => [105], // Ignorowane grupy
  867.                     'totalClientsConnections' => [
  868.                         'status' => false, // Status
  869.                         'section_group' => 122, // Id grupy głównej np. Osiągnięcia ilość połączeń:
  870.                         'connections' => [
  871.                             [123, 1], // Grupa, ilość połączeń
  872.                             [124, 50],
  873.                             [125, 100],
  874.                             [126, 300],
  875.                             [127, 1000]
  876.                         ],
  877.                     ],
  878.                     'timeSpent' => [
  879.                         'status' => true, // Status
  880.                         'section_group' => 50,51, // Id grupy głównej np. Osiągnięcia ilość połączeń:
  881.                         'time' => [
  882.                             [129, 0], // Grupa, czas w godzinach
  883.                             [130, 10],
  884.                             [131, 50],
  885.                             [132, 100],
  886.                             [133, 300]
  887.                         ],
  888.                     ]
  889.                 ],
  890.                 'newUsersToday' => [
  891.                 /*
  892.                     newUsersToday - Lista nowych użytkowników dziś
  893.                 */
  894.                     'channel_name' => 'Nowi użytkownicy: [count]', // Nazwa kanału
  895.                     'top_desc' => '[size=10] Ostatnio dołączyli:[/size][size=9][list]\n',
  896.                     'end_desc' => '[/list][hr][/size][right][size=9]Wygenerowane przez: [b][url=http://K-Scripts.eu/?teamspeak]MBOT (Wersja: 24.0)[/url][/right]',
  897.                     'write_channel' => 109, // Kanał gdzie ma wypisywać
  898.                     'need_groups' => [50,51,215,216], // Grupy potrzebne do sprawdzania
  899.                 ],
  900.                
  901.                 'randomGroup' => [
  902.                 /*
  903.                     randomGroup - Losowanie rangi, nadawanie jej użytkownikowi na 1 dzień, później automatyczne zdejmowanie.
  904.                 */
  905.                     'cache_path' => '/home/mbot1/cache/',
  906.                     'need_groups' => [23,24,215,216], // ID grup, które sa potrzebne do brania udziału min. 1
  907.                     'ignore_groups' => [202,25,26,27,223,8], // Ignorowane grupy
  908.                     'add_group' => 202, // ID grupy, która ma nadać
  909.                     'group_time' => 1 * 24 * 60 * 60, // Na jaki okres jest grupa
  910.                     'channels' => [
  911.                         'winner' => [
  912.                             'channel_name' => '● Ostatnio wylosowany: [winner_nick]', // Nazwa kanału informacyjnego
  913.                             'channel_cid' => 702, // Id kanału informacyjnego
  914.                             'channel_description' => [
  915.                                 'start' => '\n [center][size=15][b]Loteria VIP[/size][/center]\n\n',
  916.                                 'end' => '\n[right][size=9]Wygenerowane przez: [b][url=http://K-Scripts.eu/?teamspeak]MBOT (Wersja: 24.0)[/url][/right]'
  917.                             ],
  918.                         ],
  919.                     ],
  920.                 ],
  921.                
  922.                
  923.                 'checkvip7' => [
  924.                 /*
  925.                     randomGroup - Losowanie rangi, nadawanie jej użytkownikowi na 1 dzień, później automatyczne zdejmowanie.
  926.                 */
  927.                     'cache_path' => '/home/mbot1/cache/',
  928.                     'need_groups' => [23,24,215,216], // ID grup, które sa potrzebne do brania udziału min. 1
  929.                     'ignore_groups' => [202,25,26,27,223,8], // Ignorowane grupy
  930.                     'add_group' => 127, // ID grupy, która ma nadać
  931.                     'group_time' => 7 * 24 * 60 * 60, // Na jaki okres jest grupa
  932.                     'channels' => [
  933.                         'winner' => [
  934.                             'channel_name' => '● Ostatnio wylosowany: [winner_nick]', // Nazwa kanału informacyjnego
  935.                             'channel_cid' => 702, // Id kanału informacyjnego
  936.                             'channel_description' => [
  937.                                 'start' => '\n [center][size=15][b]Loteria VIP[/size][/center]\n\n',
  938.                                 'end' => '\n[right][size=9]Wygenerowane przez: [b][url=http://K-Scripts.eu/?teamspeak]MBOT (Wersja: 24.0)[/url][/right]'
  939.                             ],
  940.                         ],
  941.                     ],
  942.                 ],
  943.                
  944.                 'checkvip14' => [
  945.                 /*
  946.                     randomGroup - Losowanie rangi, nadawanie jej użytkownikowi na 1 dzień, później automatyczne zdejmowanie.
  947.                 */
  948.                     'cache_path' => '/home/mbot1/cache/',
  949.                     'need_groups' => [23,24,215,216], // ID grup, które sa potrzebne do brania udziału min. 1
  950.                     'ignore_groups' => [202,25,26,27,223,8], // Ignorowane grupy
  951.                     'add_group' => 128, // ID grupy, która ma nadać
  952.                     'group_time' => 14 * 24 * 60 * 60, // Na jaki okres jest grupa
  953.                     'channels' => [
  954.                         'winner' => [
  955.                             'channel_name' => '● Ostatnio wylosowany: [winner_nick]', // Nazwa kanału informacyjnego
  956.                             'channel_cid' => 702, // Id kanału informacyjnego
  957.                             'channel_description' => [
  958.                                 'start' => '\n [center][size=15][b]Loteria VIP[/size][/center]\n\n',
  959.                                 'end' => '\n[right][size=9]Wygenerowane przez: [b][url=http://K-Scripts.eu/?teamspeak]MBOT (Wersja: 24.0)[/url][/right]'
  960.                             ],
  961.                         ],
  962.                     ],
  963.                 ],
  964.                
  965.                 'checkvip30' => [
  966.                 /*
  967.                     randomGroup - Losowanie rangi, nadawanie jej użytkownikowi na 1 dzień, później automatyczne zdejmowanie.
  968.                 */
  969.                     'cache_path' => '/home/mbot1/cache/',
  970.                     'need_groups' => [23,24,215,216], // ID grup, które sa potrzebne do brania udziału min. 1
  971.                     'ignore_groups' => [202,25,26,27,223,8], // Ignorowane grupy
  972.                     'add_group' => 124, // ID grupy, która ma nadać
  973.                     'group_time' => 30 * 24 * 60 * 60, // Na jaki okres jest grupa
  974.                     'channels' => [
  975.                         'winner' => [
  976.                             'channel_name' => '● Ostatnio wylosowany: [winner_nick]', // Nazwa kanału informacyjnego
  977.                             'channel_cid' => 702, // Id kanału informacyjnego
  978.                             'channel_description' => [
  979.                                 'start' => '\n [center][size=15][b]Loteria VIP[/size][/center]\n\n',
  980.                                 'end' => '\n[right][size=9]Wygenerowane przez: [b][url=http://K-Scripts.eu/?teamspeak]MBOT (Wersja: 24.0)[/url][/right]'
  981.                             ],
  982.                         ],
  983.                     ],
  984.                 ],
  985.                
  986.                 'karya' => [
  987.                 /*
  988.                     randomGroup - Losowanie rangi, nadawanie jej użytkownikowi na 1 dzień, później automatyczne zdejmowanie.
  989.                 */
  990.                     'cache_path' => '/home/mbot/cachekary/',
  991.                     'need_groups' => [156], // ID grup, które sa potrzebne do brania udziału min. 1
  992.                     'ignore_groups' => [157], // Ignorowane grupy
  993.                     'add_group' => 157, // ID grupy, która ma nadać
  994.                     'r_group' => 156, // ID grupy, która ma nadać
  995.                     'group_time' => 7 * 24 * 60 * 60, // Na jaki okres jest grupa
  996.                     'channels' => [
  997.                         'winner' => [
  998.                             'channel_name' => '● Ostatnio wylosowany: [winner_nick]', // Nazwa kanału informacyjnego
  999.                             'channel_cid' => 702, // Id kanału informacyjnego
  1000.                             'channel_description' => [
  1001.                                 'start' => '\n [center][size=15][b]Loteria VIP[/size][/center]\n\n',
  1002.                                 'end' => '\n[right][size=9]Wygenerowane przez: [b][url=http://K-Scripts.eu/?teamspeak]MBOT (Wersja: 24.0)[/url][/right]'
  1003.                             ],
  1004.                         ],
  1005.                     ],
  1006.                 ],
  1007.                
  1008.                 'weryf' => [
  1009.                 /*
  1010.                     randomGroup - Losowanie rangi, nadawanie jej użytkownikowi na 1 dzień, później automatyczne zdejmowanie.
  1011.                 */
  1012.                     'cache_path' => '/home/mbot/cachekary/',
  1013.                     'need_groups' => [23,24,215,216,25,223,27], // ID grup, które sa potrzebne do brania udziału min. 1
  1014.                     'ignore_groups' => [214], // Ignorowane grupy
  1015.                     'add_group' => 214, // ID grupy, która ma nadać
  1016.                     'r_group' => 156, // ID grupy, która ma nadać
  1017.                     'group_time' => 7 * 24 * 60 * 60, // Na jaki okres jest grupa
  1018.                     'channels' => [
  1019.                         'winner' => [
  1020.                             'channel_name' => '● Ostatnio wylosowany: [winner_nick]', // Nazwa kanału informacyjnego
  1021.                             'channel_cid' => 702, // Id kanału informacyjnego
  1022.                             'channel_description' => [
  1023.                                 'start' => '\n [center][size=15][b]Loteria VIP[/size][/center]\n\n',
  1024.                                 'end' => '\n[right][size=9]Wygenerowane przez: [b][url=http://K-Scripts.eu/?teamspeak]MBOT (Wersja: 24.0)[/url][/right]'
  1025.                             ],
  1026.                         ],
  1027.                     ],
  1028.                 ],
  1029.                
  1030.                 'Partners' => [
  1031.                 /*
  1032.                     Partners - Automatycznie wpisywanie i losowanie partnera w kanał ze zdefiniowaną nazwą jak i opisałem kanału.
  1033.                    
  1034.                     Domyślnie:
  1035.                         0 => array(
  1036.                             'name' => 'Nazwa kanłu',
  1037.                             'desc' => 'Opis'
  1038.                         ),
  1039.                 */
  1040.                     'partners' => [
  1041.                         0 => [
  1042.                             'name' => 'K-Scripts.eu - Usługi Programistyczne',
  1043.                             'desc' => '[center][size=15][b]Partnerzy[/b]
  1044.                              OnlineSpeak.eu[/center]
  1045.                             [size=10][b]K-scripts[/b] to działalność założona przez zdolnego programistę i developera. Ambicję i ciężką pracę postanowiono przekuć w firmę, która będzie kontynuowała tradycję dokładności, rzetelności i pomysłowości.[/size]
  1046.                             [size=10]
  1047.                             Postawowe informacje:
  1048.                             [list]
  1049.                             [*] Link do strony: [b][url=http://k-scripts.eu/]Przejdź[/url][/b]
  1050.                             [*] Link do FanPage: [b][url=https://www.facebook.com/K-Scriptseu-171013159931042/]Przejdź[/url][/b]
  1051.                             [/size]
  1052.                             [hr]
  1053.                             [right][size=9]Wygenerowane przez: [b][url=http://K-Scripts.eu/?teamspeak]MBOT (Wersja: 24.0)[/url][/right]'
  1054.                         ],
  1055.                         1 => [
  1056.                             'name' => 'BlazingFast.io',
  1057.                             'desc' => '[center][size=15][b]Partnerzy[/b]
  1058.                              OnlineSpeak.eu[/center]
  1059.                             [size=10][b]BlazingFast.io[/b] We have created the fastest and most convenient cloud technology to help you easily and more efficiently manage your infrastructure. We are using only the latest high-performance SSD Hard Drives in all our servers, that will let your application run faster than ever before. We provide the best tools to control your virtual server in the cloud. We take your privacy very seriously! You can rest assured that your personal information such as IP and Email Address including files stored in our system will be kept in strict confidence and we will never sell, rent or otherwise distribute them.If you anyways have questions, please feel free to contact our 24/7 support and we will be more than glad to help you with all your questions about our products.
  1060.                             [/size]
  1061.                             [hr]
  1062.                             [right][size=9]Wygenerowane przez: [b][url=http://K-Scripts.eu/?teamspeak]MBOT (Wersja: 23.1)[/url][/right]'
  1063.                         ],
  1064.                         2 => [
  1065.                             'name' => 'HosTeam.pl',
  1066.                             'desc' => '[center][size=15][b]Partnerzy[/b]
  1067.                              OnlineSpeak.eu[/center]
  1068.                             [size=10]Nasza firma istnieje na rynku od 2009r. W ciągu tych lat stale rozwijamy i poszerzamy ofertę proponowanych dla Was usług. Ciągle doskonalimy nasze usługi po to aby jak najlepiej realizować potrzeby naszych klientów.[/size]
  1069.                             [size=10]
  1070.                             Postawowe informacje:
  1071.                             [list]
  1072.                             [*] Link do strony: [b][url=https://hosteam.pl/pl]Przejdź[/url][/b]
  1073.                             [*] Link do FanPage: [b][url=https://www.facebook.com/profile.php?id=120999637943831&fref=ts]Przejdź[/url][/b]
  1074.                             [/size]
  1075.                             [hr]
  1076.                             [right][size=9]Wygenerowane przez: [b][url=http://K-Scripts.eu/?teamspeak]MBOT (Wersja: 23.1)[/url][/right]'
  1077.                         ],
  1078.                     ],
  1079.                     'channel' => 990
  1080.                 ]
  1081.                 'youtubeInfo' => [
  1082.                     'channels' => [
  1083.                         0 => [
  1084.                             'youtube_id' => 'UCtGmMo9NJaQG3hl1gsj1Hzw',
  1085.                             'channel_name' => '● Przykład [Subskrybcji: [number]]',
  1086.                             'channel_id' => 1064543
  1087.                         ],
  1088.                     ]
  1089.                 ]  
  1090.             ],
  1091. ];
  1092. /** Bot id 4 configuration **/
  1093. $config[4]['connection'] = array(
  1094.         /**
  1095.          * @name TeamSpeak3 Server IP Adress
  1096.          * @format 0.0.0.0
  1097.          */
  1098.          
  1099.             'server_ip'                        => '127.0.0.1',
  1100.            
  1101.         /**
  1102.          * @name TeamSpeak3 Server Query Port
  1103.          * @default 10011
  1104.          */
  1105.             'server_query_port'                => 10011,
  1106.            
  1107.         /**
  1108.          * @name TeamSpeak3 Server ID
  1109.          * @default 1
  1110.          */
  1111.          
  1112.             'server_id'                        => 1,
  1113.            
  1114.         /**
  1115.           * @name TeamSpeak3 Server Query Login
  1116.           * @default serveradmin
  1117.           */
  1118.          
  1119.             'server_query_login'               => 'serveradmin',
  1120.            
  1121.         /**
  1122.           * @name TeamSpeak3 Server Query Password
  1123.           */   
  1124.          
  1125.             'server_query_password'            => 'RCqADzfj',
  1126.            
  1127.            
  1128.         /**
  1129.           * @name Enable/Disable commands mode in TeamSpeak3 Query [Important: Look at the configuration config > options > enable_commands_system]
  1130.           * @default true
  1131.           */
  1132.          
  1133.             'commands_mode'                    => true,
  1134.            
  1135.         /**
  1136.           * @name There you can change bot nickname
  1137.           * @default mBot Premium
  1138.           */
  1139.          
  1140.             'bot_name'                         => 'Vaire.pl # Informacje',
  1141.        
  1142.         /**
  1143.           * @name Channel ID where bot enter (false - disable / id - enable)
  1144.           * @default false
  1145.           */
  1146.        
  1147.             'move_to_channel'                  => 1
  1148.          
  1149. );
  1150. $config[4]['server'] = array(
  1151.         /**
  1152.          * This is a checksum done edit this.
  1153.          * @default false
  1154.          */
  1155.             'checksum' => 'bWJvdDIyLjI4WG1DVnoxMjQ1MQ==',
  1156.            
  1157. );
  1158. $config[4]['options']    = array(
  1159.    
  1160.         /**
  1161.          * @name Enable/Disable commands system in bot interface [Important: Look at the configuration config > connection > commands_mode]
  1162.          * @default false
  1163.          */
  1164.          
  1165.             'enable_commands_system' => true,
  1166.            
  1167.         /**
  1168.          * @name Enable/Disable mysql system
  1169.          * @default true
  1170.          */
  1171.        
  1172.             'enable_database'                  => true,
  1173.            
  1174.         /**
  1175.          * @name Bot idle time before do next tasks
  1176.          * @default 1
  1177.          */
  1178.          
  1179.             'idle_seconds'                     => 3
  1180.        
  1181. );
  1182. $config[4]['commands'] = array(
  1183.         /**
  1184.          * @name Disabled commands
  1185.          * @format 'simpleCommand'
  1186.          */
  1187.          
  1188.             'disable_commands' => array('chvip','chgvip'),
  1189.  
  1190.         /**
  1191.          * @name Specyfic command configuration
  1192.          */
  1193.        
  1194.             'commands_configs' => array(
  1195.                 'ch' => array(
  1196.                     'groups' => array(10,11,12,21,22,23,16,24),
  1197.                     'channels_section' => 254,
  1198.                     'channel_num_regex' => '/(.*)\.(.*)/',
  1199.                     'channel_admin_group_id' => 5,
  1200.                     'default_subchannels' => 2,
  1201.                     'max_subchannels' => 8,
  1202.                     'channel_codec' => 4,
  1203.                     'channel_codec_level' => 10,
  1204.                     'help' => 'Komenda zakłada kanał w strefie prywatnej.',
  1205.                     'usage' => '<numer użytkownika> [ilość podkanałów]'
  1206.                 ),
  1207.                 'moveclient' => array(
  1208.                     'groups' => array(10,11,12,21,22,23,16,24),
  1209.                     'help' => 'Komenda przenosi użytkownika na Twój kanał.',
  1210.                     'usage' => '<numer użytkownika>'
  1211.                 ),
  1212.                 'gotoclient' => array(
  1213.                     'groups' => array(10,11,12,21,22,23,16,24),
  1214.                     'blocked_channels' => array(),
  1215.                     'help' => 'Komenda przenosi Cię na kanał użytkownika.',
  1216.                     'usage' => '<numer użytkownika>'
  1217.                 ),
  1218.                 'meeting' => array(
  1219.                     'groups' => array(10,11,12,21,22,23,16,24),
  1220.                     'move_groups' => array(10,11,12,21,22,23,16,24),
  1221.                     'meeting_channel' => 150,
  1222.                     'help' => 'Komenda przenosi wszystkich administratorów na określony kanał.',
  1223.                     'usage' => ''
  1224.                 ),
  1225.                 'adminsonline' => array(
  1226.                     'groups' => array(10,11,12,21,22,23,16,24),
  1227.                     'admin_groups' => array(10,11,12,21,22,23,16,24),
  1228.                     'help' => 'Komenda wyświetla listę administratorów online.',
  1229.                     'usage' => ''
  1230.                 ),
  1231.                 'channellist' => array(
  1232.                     'groups' => array(10,11,12,21,22,23,16,24),
  1233.                     'help' => 'Komenda wyświetla listę kanałów.',
  1234.                     'usage' => ''
  1235.                 ),
  1236.                 'clientlist' => array(
  1237.                     'groups' => array(10,11,12,21,22,23,16,24),
  1238.                     'help' => 'Komenda wyświetla listę użytkowników wraz z dodatkowymi danymi.',
  1239.                     'usage' => ''
  1240.                 ),
  1241.                 'commands' => array(
  1242.                     'groups' => array(10,11,12,21,22,23,16,24),
  1243.                     'help' => 'Komenda wyświetla informacje o dostępnych komendach.',
  1244.                     'usage' => ''
  1245.                 ),
  1246.                 'memory' => array(
  1247.                     'groups' => array(10,11,12,21,22,23,16,24),
  1248.                     'help' => 'Komenda pokazuje aktualny stan używanej pamięci przez aplikacje.',
  1249.                     'usage' => ''
  1250.                 ),
  1251.                 'findclients' => array(
  1252.                     'groups' => array(10,11,12,21,22,23,16,24),
  1253.                     'help' => 'Komenda wyszukuje użytkownika którego nazwa zawiera frazę z parametru.',
  1254.                     'usage' => '<filtr>'
  1255.                 ),
  1256.                 'pwall' => array(
  1257.                     'groups' => array(10,11,12,21,22,23,16,24),
  1258.                     'help' => 'Komenda wysyła wiadomość prywatną do wszystkich użytkowników serwera o danej treści.',
  1259.                     'usage' => '<wiadomość>'
  1260.                 ),
  1261.                 'pwToGroup' => array(
  1262.                     'groups' => array(10,11,12,21,22,23,16,24),
  1263.                     'help' => 'Komenda wysyła wiadomość prywatną do wszystkich użytkowników w podanej grupie',
  1264.                     'usage' => '<wiadomość>'
  1265.                 ),
  1266.                 'pokeToGroup' => array(
  1267.                     'groups' => array(10,11,12,21,22,23,16,24),
  1268.                     'help' => 'Komenda wysyła poke do wszystkich użytkowników w podanej grupie.',
  1269.                     'usage' => '<wiadomość>'
  1270.                 ),
  1271.                 'pwToAdmin' => array(
  1272.                     'groups' => array(10,11,12,21,22,23,16,24),
  1273.                     'admin_group' => array(10,11),
  1274.                     'help' => 'Komenda wysyła wiadomość prywatną do wszystkich adminów',
  1275.                     'usage' => '<wiadomość>'
  1276.                 ),
  1277.                 'pokeToAdmin' => array(
  1278.                     'groups' => array(10,11,12,21,22,23,16,24),
  1279.                     'admin_group' => array(10,11,12,21,22,23,16,24),
  1280.                     'help' => 'Komenda wysyła poke do wszystkich adminów.',
  1281.                     'usage' => '<wiadomość>'
  1282.                 ),
  1283.  
  1284.                 'pokeall' => array(
  1285.                     'groups' => array(10,11,12,21,22,23,16,24),
  1286.                     'help' => 'Komenda wysyła poke do wszystkich użytkowników serwera.',
  1287.                     'usage' => '<wiadomość>'
  1288.                 )
  1289.             )
  1290. );
  1291. /** end of adds configuration **/
  1292. /** end of adds configuration **/
  1293.  
  1294. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement