array ( /************************************************************************************** ENG [MAIN LOGIN TO TEAMSPEAK3 SERVER] # PL [GŁÓWNE LOGOWANIE DO TS3] **************************************************************************************/ // ENG [TeamSpeak3 Server IP Adress] # PL [Adres IP serwera] 'IP' => '127.0.0.1', // ENG [TeamSpeak3 Server Query Port] # PL [Port Query serwera] 'query_port' => '10011', // ENG [TeamSpeak3 Server Port] # PL [Port serwera] 'port' => '9987', // ENG [TeamSpeak3 Server Query Login] # PL [Login Query serwera] 'login' => 'serveradmin', // ENG [TeamSpeak3 Server Query Password] # PL [Haslo Query serwera] 'password' => 'V8JcPTFX', ), 'connection_database' => array ( /************************************************************************************** ENG [MAIN LOGIN TO DATABASE] # PL [GŁÓWNE LOGOWANIE DO BAZY DANYCH] **************************************************************************************/ // ENG [Database IP] # PL [Adres IP bazy danych] 'db_ip' => '127.0.0.1', // ENG [Database user] # PL [Użytkownik bazy danych] 'db_user' => 'root', // ENG [Database password] # PL [Hasło do bazy danych] 'db_password' => 'Leemid0123', // ENG [Database name] # PL [Nazwa bazy danych] 'db_name' => 'xbot', ), 'instances_settings' => array ( /************************************************************************************** ENG [MAIN INSTANCES SETTINGS] # PL [GŁÓWNE USTAWIENIA INSTANCJI] **************************************************************************************/ '1' => array //Aktualizator ( 'enabled' => true, 'database_enabled' => true, 'bot_name' => '[MCPROS] Aktualizator', 'default_channel' => 136, ), '2' => array //Administrator ( 'enabled' => true, 'database_enabled' => true, 'bot_name' => '[MCPROS] Administrator', 'default_channel' => 136, ), '3' => array //Database ( 'enabled' => true, 'database_enabled' => true, 'bot_name' => '[MCPROS] Database', 'default_channel' => 136, ), '4' => array //Channels Guard ( 'enabled' => true, 'database_enabled' => false, 'bot_name' => '[MCPROS] Channels guard', 'default_channel' => 136, ), '5' => array //Commander ( 'enabled' => true, 'database_enabled' => true, 'bot_name' => '[MCPROS] Commander', 'default_channel' => 136, // ENG [Set individual ts3 login and password] # PL [Ustaw indywidualny login i hasło do ts3] 'individual_login' => array ( 'enabled' => false, 'login' => '', 'password' => '', ), ), '6' => array //LiveHelp ( 'enabled' => true, 'database_enabled' => true, 'bot_name' => '[MCPROS] LiveHelp', 'default_channel' => 136, // ENG [Set individual ts3 login and password] # PL [Ustaw indywidualny login i hasło do ts3] 'individual_login' => array ( 'enabled' => true, 'login' => 'livehelp', 'password' => 'BOOzY8D+', ), ), ), ); $config['instance']['1']['logs_system'] = array ( /**************************************************************************** ENG [LOGS SYSTEM] # PL [SYSTEM LOGÓW] ****************************************************************************/ 'logs' => array ( // ENG [Turn on/off logs system (true or false)] # PL [Włączenie lub wyłączenie systemu logów] 'enabled' => true, // ENG [Days, after which, log files will be deleted] # PL [Czas w dniach, po których pliki logów zostana usunięte] 'delete_interval' => '3', ), ); $config['instance']['1']['options'] = array ( /**************************************************************************** ENG [INSTANCE OPTIONS] # PL [OPCJE INSTANCJI] ****************************************************************************/ // ENG [Folder for functions containing all events and plugins] # PL [Folder w którym sa wszystkie eventy i pluginy] 'folder' => 'first_instance', // ENG [Bot interval in seconds] # PL [Interwal bota w sekundach] 'bot_interval' => 1, // ENG ['events_plugins' or 'commands' (default 'events_plugins')] # PL ['events_plugins' lub 'commands' (domyślnie 'events_plugins')] 'function_type' => 'events_plugins', ); $config['instance']['1']['functions'] = array ( /************************************** ENG [PLUGINS] # PL [PLUGINY] **************************************/ 'plugins' => true, // ENG [Informing admins about upcoming meeting] # PL [Informowanie administracji o zbliżajacym się spotkaniu] 'admins_meeting' => array ( 'enabled' => false, 'info' => array ( 'admins_server_groups' => array(115,116,64,65,68,67,66), //all admins server groups 'channel_id' => 46, //meeting channel id '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 'information_before' => true, //informing admins `time_to_meeting` seconds before meeting 'time_to_meeting' => 900, //in seconds 'move_admins' => true, //move admins to meeting channel on time ), ), // ENG [Nicknames security] # PL [Ochrona nicków] 'nicks_security' => array ( 'enabled' => true, 'ignored_groups' => array(6,35,62,45), //ignored groups 'file' => 'include/cache/nicks_security.txt', //bad phrases separated by ,(comma) without spaces, enters etc ), // ENG [Server groups limit] # PL [Limit grup serwera] 'groups_limit' => array ( 'enabled' => true, 'ignored_groups' => array(), //ignored groups 'checking_groups' => array(23,24,25,26,27,28,37,38,39,40,53), //all checking server groups 'limit' => 5, //limit of checking groups ), // ENG [Move specified groups to channel from specified channel] # PL [Przenoszenie użytkowników z określoną grupą z kanału na kanał] 'move_groups' => array ( 'enabled' => false, 'if_client_on_channel' => array(20164,17281), //All channels from which bot must move clients | Wszystkie kanały, z których bot ma movać 'info' => array ( /************************* 'is_on_channel_id' => array('group_id', 'move_to_channel_id'), *************************/ 17281 => array(1573,12197), 20164 => array(511,12196), ), ), // ENG [Change group icon every second] # PL [Zmienia ikonkę rangi co sekundę] 'animated_icon' => array ( 'enabled' => true, 'group_id' => 64, 'icons_id' => array(-2072408170,968796862,1023685817,-1634246665,1726830382), ), /************************************** ENG [EVENTS] # PL [EVENTY] **************************************/ 'events' => true, // ENG [Online users] # PL [Użytkownicy online] 'online_users' => array ( 'enabled' => true, 'channel_id' => 11, 'channel_name' => '[cspacer]» Online: [ONLINE]«', //[ONLINE] - online users 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5), ), // ENG [Record amount of clients online] # PL [Rekordowa ilośc użytkowników online] 'record_online' => array ( 'enabled' => true, 'channel_id' => 12, 'channel_name' => '[cspacer]» Rekord Serwera: [RECORD]«', //[RECORD] - record online users 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 20), ), // ENG [List of admins online] # PL [Lista adminów online] 'admin_list_online' => array ( 'enabled' => true, 'channel_id' => 13, 'admins_server_groups' => array(10,11,12,13,14,15,16), 'ignored_groups' => array(138), 'channel_name' => '[spacer]» Centrum Pomocy adminów: [ONLINE]«', //[ONLINE] - Admins online 'top_description' => 'Lista Administracji online', 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 30), ), // ENG [Admin list] # PL [Lista adminów] 'admin_list' => array ( 'enabled' => true, 'channel_id' => 213, 'admins_server_groups' => array(10,11,12,13,14,15,16), 'ignored_groups' => array(138), 'top_description' => '[img]https://i.imgur.com/jr4hV3A.png[/img]', 'icons_enabled' => false, //Convert rang name to icon 'icons' => array ( /************************* group_id => 'url_to_image', ************************/ 6 => 'http://surf-ts3.pl/IMAGE/właściciel.png', 35 => 'http://surf-ts3.pl/IMAGE/manager.png', ), 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 25), ), // ENG [Change channel name] # PL [Zmiana nazwy kanalu] 'change_channel' => array ( 'enabled' => true, 'channel_id' => 3, 'channel_name' => array ( '[cspacer] Dziękujemy, że jesteś z nami', '[cspacer] Nasze IP się nie zmienia', '[cspacer] Witamy na serwerze MCPROS.PL', ), 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 45), ), // ENG [Multifunction] # PL [Wielofunkcyjnośc] 'multi_function' => array ( 'enabled' => true, 'content' => array ( 'total_ping' => array // ENG [server total ping in channel name] # PL [ping serwera w nazwie kanalu] ( 'enabled' => true, 'channel_id' => '4', 'channel_name' => '[cspacer]» Średni ping wynosi: [PING]«', // [PING] = ping 'integer' => true, // true or false (ping in integer) ), 'packet_loss' => array // ENG [server packet loss in channel name] # PL [packet loss serwera w nazwie kanalu] ( 'enabled' => true, 'channel_id' => '5', 'channel_name' => '[cspacer]» Packetloss wynosi: [PACKETLOSS]%«', // [PACKETLOSS] = packetloss 'integer' => true, // true or false (packetloss in integer) ), 'channels_count' => array // ENG [channels count in channel name] # PL [ilosc kanalów w nazwie kanalu] ( 'enabled' => true, 'channel_id' => '214', 'channel_name' => '[cspacer]» Kanałów ogółem: [CHANNELS]«', // [CHANNELS] = channels count ), ), 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 15), ), // ENG [Support channels] # PL [Kanały pomocy] 'support_channels' => array ( 'enabled' => true, 'content' => array ( 'time_open' => array //Channels open at a specific time ( '0' => array // growing number for example 1, 2, 3... ( 'channelId' => 148, // channel id 'time_open' => '12:30', // time of opening 'time_close' => '21:00', // time of closing 'channel_name_open' => '[»] Centrum Pomocy TS3 [ON]', // channel name when opened 'channel_name_close' => '[»] Centrum Pomocy TS3 [OFF]', // channel name when closed 'needed_join_power' => 1500, //when close 'change_maxfamily_clients' => false, // close family channels too ), ), 'open_when_admin' => array //Channels open when admin from server group is online ( /************************* ### # open when admin from groups online: 'admin' => array(server_groups separated by comma), ### ### # open when client online: 'admin' => client_database_id, ### *************************/ '0' => array // growing number for example 1, 2, 3... ( 'channelId' => 0, // channel id 'admin' => 5, 'channel_name_open' => '[»] Centrum Pomocy XBot [ON]', // channel name when opened 'channel_name_close' => '[»] Centrum Pomocy XBot [OFF]', // channel name when closed 'needed_join_power' => 200, //when close 'change_maxfamily_clients' => false, // close family channels too ), ), ), 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 10), ), // ENG [Get vip channel] # PL [Otrzymywanie kanału vip] // ENG [Get vip channel] # PL [Otrzymywanie kanału vip] 'get_vip_channel' => array // Db must be on ( 'enabled' => false, 'if_client_on_channel' => array(399, 1511), // all checking channels id 'info' => array ( 'VIP' => array //Zone name for example 'VIP' | 'GOLD' ( 'if_on_channel' => 399, 'server_group_copy' => 75, // server group to copy 'channel_group_id' => 5, // default channel admin group 'subchannels' => 5, // how many subchannels 'subchannels_red' => true, // true - max cleints = 0 | false - max clients = unlimited 'online_from_server_group' => true, // create channel with information about clients from server group 'get_server_group' => true, // create channel add/del server group 'after_channel' => 92, // the first channel for example spacer 'spacer_between' => array ( 'enabled' => true, 'spacer_name' => '[*spacerVIP[NUM]]___', 'join_needed' => 150, 'modify_needed' => 100, ), 'main_channel' => '[lspacer] [[NUM]] ViP', // [NUM] - vip channel number 'empty_topic' => '#WOLNY', // Topic in empty channel (remember it) ), 'Diamond' => array //Zone name for example 'VIP' | 'GOLD' ( 'if_on_channel' => 1511, 'server_group_copy' => 139, // server group to copy 'channel_group_id' => 5, // default channel admin group 'subchannels' => 15, // how many subchannels 'subchannels_red' => true, // true - max cleints = 0 | false - max clients = unlimited 'online_from_server_group' => true, // create channel with information about clients from server group 'get_server_group' => true, // create channel add/del server group 'after_channel' => 3, // the first channel for example spacer 'spacer_between' => array ( 'enabled' => true, 'spacer_name' => '[*spacerDiamond[NUM]]---', 'join_needed' => 150, 'modify_needed' => 100, ), 'main_channel' => '[lspacer] [[NUM]] Diamond', // [NUM] - vip channel number 'empty_topic' => '#WOLNY_D', // Topic in empty channel (remember it) ), ), 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 15), ), // ENG [Information on channel about twitch/youtube channel] # PL [Informacje o kanale twitch/youtube] 'twitch_yt' => array ( 'enabled' => true, 'info' => array ( 'twitch_enabled' => false, 'twitch_api_key' => 'oaocbf2zpmv6807kp9jcxkwmcjvq5a', // you can change it if you want https://www.twitch.tv/settings/connections 'twitch' => array ( 'izakooo' => array //Twitch channel name ( 'channel_id' => 189, 'channel_name' => 'izakooo [STATUS_TWITCH]', //[STATUS_TWITCH] - on live or no ), ), 'youtube_enabled' => true, 'youtube_api_key' => 'AIzaSyAEQeDyRwJxVHw_m8wCD-P7oT_ufy4waX0', 'youtube' => array ( 'UCRSJKPJl2-p-jvCDmGcHMnA' => array //YouTube channel id ( 'main_channel' => array //Channel where will be description and SUBS in channel name ( 'channel_id' => 104, 'channel_name' => '[cspacer]DeeKaPPy: [SUBS] subów', //[SUBS] - subscribers ), 'videos_count' => array //Channel where will be Videos count in channel name ( 'channel_id' => 105, 'channel_name' => '» Filmów na kanale: [VIDEOS]', //[VIDEOS] - videos count ), 'views_count' => array //Channel where will be views count in channel name ( 'channel_id' => 106, 'channel_name' => '» Wyświetleń: [VIEWS]', //[VIEWS] - views count ), ), ), ), 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 7,'seconds' => 0), ), // ENG [clients online from server group] # PL [użytkownicy danej grupy serwera online] 'online_from_server_group' => array ( 'enabled' => true, 'show_time' => true, //only for groups which have maximal 15 members | true / false 'info' => array ( 369 => array ( 'server_group' => 93, 'channel_name' => '[cspacer]Online z SBW: [ONLINE]/[MAX]', 'top_description' => '| Lista osób z gildi: [SERVER_GROUP] |', ), 373 => array ( 'server_group' => 65, 'channel_name' => '[cspacer]Online z PIƶG: [ONLINE]/[MAX]', 'top_description' => '| Lista osób z gildi: [SERVER_GROUP] |', ), ), 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 10), ), // ENG [assign server group if client enters a channel] # PL [przypisz grupę serwera po wejściu na kanal] 'get_server_group' => array ( 'enabled' => true, 'if_client_on_channel' => array(20,21,342,372), //all checking channels id 'delete_rang' => true, //delete rang if client is on channel 'client_kick' => true, //Kick client from channel after assignment/deleted group | true / false 'info' => array ( //21410 => 227, //channel id => server group id 20 => 7, 21 => 30, 342 => 93, 372 => 65, ), 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 10), ), // ENG [Ddos information] # PL [Informacje o ddos] 'ddos_information' => array ( 'enabled' => true, 'file' => 'include/cache/ddos_information.txt', 'packet_loss' => 10, //from what packet loss%(numeric) send global information 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 30), ), // ENG [Informing about client in channel name] # PL [Status użytkownika w nazwie kanalu] 'client_on_channel' => array ( 'enabled' => false, 'server_groups_id' => array(6,35), //all checking client's server groups 'ignored_groups' => array(138), 'idle_time' => 1800, //idle time to have away status (in seconds) 'info' => array ( /*************************************************************** (you can copy this to use this function many times) 10 => array //client databse id => array ( 'channel_id' => 432, //channel id 'format' => '[RANG] >> [NICK] >> [STATUS]', //format on channel name [RANG] - server group name, [NICK] - client nick, [STATUS] - client status (online/away/offline) ), ***************************************************************/ 24 => array // client dbid => array ( 'channel_id' => 166, //channel id 'format' => '[[RANG]] [NICK] - [STATUS]', //format on channel name [RANG] - server group name, [NICK] - client nick, [STATUS] - client status (online/away/offline) ), 92 => array // client dbid => array ( 'channel_id' => 1392, //channel id 'format' => '[[RANG]] [NICK] - [STATUS]', //format on channel name [RANG] - server group name, [NICK] - client nick, [STATUS] - client status (online/away/offline) ), ), 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 15), ), // ENG [Status sinusbot] # PL [Status sinusbotów] 'status_sinusbot' => array ( 'enabled' => true, 'channel_id' => 80, 'bots_server_groups' => array(55), 'top_description' => '[img]https://i.imgur.com/iKKqlIm.png[/img]', 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 0), ), // ENG [List of server queries online] # PL [Lista klientów server query online] 'server_query_online' => array ( 'enabled' => false, 'channel_id' => 173, 'channel_name' => '» Server Query online: [ONLINE]', //[ONLINE] - Server Query online 'top_description' => '[img]https://i.imgur.com/KCvBQlm.png[/img]', 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 20), ), // ENG [Ban list] # PL [Lista banów] 'ban_list' => array ( 'enabled' => true, 'channel_id' => 215, 'how_many' => 10, 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 0), ), // ENG [Facebook posts] # PL [Posty z facebook'a] 'facebook_posts' => array ( 'enabled' => false, 'channel_id' => 175, 'page_id' => '1719172075053504', //You can find it on website: https://findmyfbid.com/ 'access_token' => 'EAAYBZCouDmFoBABSmtKmZCvRjfHIyYHmUZAJWGaOJqMWUEJ1vFCWyWGrZCCjDxbrG9rKTcZC8ZBKfPe9ISZAUixFRDoYKp8z9FJGkVuYZAHamOPth9ZC6Xv0eZCephAU1386WVHOHl3d5ArnEdybMJyegLc1rXNY4hwVfvZCAgEiODhiQZDZD', 'posts' => 1, 'link_to_fanpage' => 'https://www.facebook.com/XBot-bot-na-tw%C3%B3j-serwer-TS3-1719172075053504/', 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 1,'minutes' => 0,'seconds' => 0), ), // ENG [Game servers' info] # PL [Informacje o serwerach gier] 'servers_info' => array ( 'enabled' => false, 'info' => array ( /****************************************** 0 => array ( 'type' => 'server_type', 'host' => 'ip:port', //for example 195.32.532.321:1045 'channel_id' => channel_id(value), //for exaple 45 'channel_name' => 'channel_name(value)', ), server_type: 'cs' - CS 1.6 server | 'csgo' - CS:GO server | 'minecraft' - Minecraft server 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 For example: 0 => array growing number from 0 (0,1,2,3,4,5,itd) ( 'type' => 'cs', 'host' => '193.70.125.254:27030', 'channel_id' => 20922, 'channel_name' => 'Online: [CLIENTS_ONLINE] | Mapa: [MAP]', ), ******************************************/ 0 => array ( 'type' => 'cs', 'host' => '193.33.176.10:27015', 'channel_id' => 75, 'channel_name' => '[lspacer][»] Only DD2 ([CLIENTS_ONLINE]/[CLIENTS_MAX])', ), 1 => array ( 'type' => 'cs', 'host' => '193.33.176.46:27015', 'channel_id' => 80, 'channel_name' => '[lspacer][»] COD MOD ([CLIENTS_ONLINE]/[CLIENTS_MAX])', ), ), 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 5,'seconds' => 0), ), // ENG [Users' country list] # PL [Lista krajów użytkowników] 'country_list' => array ( 'enabled' => true, 'channel_id' => 176, 'channel_name' => '[cspacer]» Spoza Polski: [ONLINE]«', //[ONLINE] online clients outside the specified country 'default_country' => 'PL', 'top_description' => 'Lista osób ONLINE spoza Polski', 'ignored_groups' => array(13,14,94), 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 2,'seconds' => 0), ), // ENG [Name_day in channel name] # PL [Imieniny w nazwie kanału] 'name_day' => array ( 'enabled' => false, 'channel_id' => 190, 'channel_name' => '» Im: [NAME]', //[NAME] - name 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 2,'seconds' => 0), ), // ENG [Partners] # PL [Partnerzy] 'partners' => array ( 'enabled' => false, 'channel_id' => 831, 'info' => array ( '[cspacer] TSForum.pl' => 'przykładowy opis TSForum.pl', '[cspacer] Aplikacja XBot' => 'przykładowy opis XBot', ), 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 0), ), ); $config['instance']['2']['logs_system'] = array ( /**************************************************************************** ENG [LOGS SYSTEM] # PL [SYSTEM LOGÓW] ****************************************************************************/ 'logs' => array ( // ENG [Turn on/off logs system (true or false)] # PL [Wlaczenie lub wylaczenie systemu logów] 'enabled' => true, // ENG [Days, after which, log files will be deleted] # PL [Czas w dniach, po których pliki logów zostana usunięte] 'delete_interval' => '3', ), ); $config['instance']['2']['options'] = array ( /**************************************************************************** ENG [INSTANCE OPTIONS] # PL [OPCJE INSTANCJI] ****************************************************************************/ // ENG [Folder for functions containing all events and plugins] # PL [Folder w którym sa wszystkie eventy i pluginy] 'folder' => 'second_instance', // ENG [Bot interval in seconds] # PL [Interwal bota w sekundach] 'bot_interval' => 1, // ENG ['events_plugins' or 'commands' (default 'events_plugins')] # PL ['events_plugins' lub 'commands' (domyślnie 'events_plugins')] 'function_type' => 'events_plugins', ); $config['instance']['2']['functions'] = array ( /************************************** ENG [PLUGINS] # PL [PLUGINY] **************************************/ 'plugins' => false, // ENG [Connect message] # PL [Wiadomośc polaczenia] 'connect_message' => array ( 'enabled' => true, 'file' => 'include/cache/connect_message.txt', //file to connect message 'many_messages' => true, //true if single line = one message || false for one message 'to_groups' => array(-1), //connect message to specified server_groups | set -1 to all server groups | set gorups_id separated by comma /************************************ [CLIENT_IP] = Client nickname [CLIENT_NICK] = Client nickname [CLIENT_COUNTRY] = Client country [CLIENT_DBID] = Client databse id [CLIENT_VERSION] = Client TS3 version [CLIENT_CONNECTIONS] = Client total connections [CLIENT_PLATFORM] = Client platform [CLIENT_TOTALCONNECTIONS] = Client total connections [CLIENT_LASTCONNECTED] = Client lastconnected [CLIENT_AWAY_MESSAGE] = Client away message [CLIENT_CREATED] = Client created [CLIENT_ON_SERVER_FOR] = Client is with server for ... for example 2 days and 1 minute [SERVER_MAX_CLIENTS] = Server max clients [SERVER_ONLINE] = Online users [SERVER_CHANNELS] = Channel number [SERVER_ID] = Virtual server id [SERVER_PORT] = Server port [SERVER_NAME] = Server name [SERVER_VERSION] = Server version [SERVER_VUI] = Server unique identifier [SERVER_WELCOME_MESSAGE] = Virtualserver welcomemessage [SERVER_PLATFORM] = Server platform [SERVER_HOSTMESSAGE] = Server hostmessage [SERVER_UPTIME] = Server uptime *************************************/ ), // ENG [Register groups assigner] # PL [Przypisywanie zarejestrowanych grup] 'groups_assigner' => array ( 'enabled' => false, 'if_client_on_channel' => array(163,164), //all checking channels id 'register_groups' => array(7,39), //all register groups 'info' => array ( 163 => 7, //channel_id => server group id, 164 => 39, ), //Minimal time on server to be registered [Db connect must be on] 'min_time_on_server' => 1, //in minutes ), // ENG [Assign afk group] # PL [Przypisz grupę afk] 'afk_group' => array ( 'enabled' => true, 'afk_group' => 57, //afk group id 'idle_time' => 1800, //in seconds 'set_group_if_away' => true, //set afk group if client has away status 'set_group_if_muted'=> true, //set afk group if client is muted 'ignored_groups' => array(10,11,12), 'ignored_channels' => array(), ), // ENG [Move afk clients to channel] # PL [Przenieś użytkowników afk na kanal] 'afk_move' => array ( 'enabled' => true, 'channel_id' => 37, //afk channel id 'idle_time' => 2400, //in seconds 'move_if_away' => true, //move client if has away status 'move_if_muted'=> false, //move client if is muted 'move_back' => true, //if client no longer afk move him back (true or false) 'message_type' => 'poke', //poke | message | none 'ignored_groups' => array(10,11,12), 'ignored_channels' => array(), 'kick_from_server' => array ( 'enabled' => false, 'min_idle_time' => 300, //in seconds 'msg' => 'Zbyt długi AFK!', //Message in kick ), ), // ENG [Server groups security] # PL [Zabezpieczenie grup serwera] 'groups_security' => array ( 'enabled' => false, 'info' => array ( /*'0' => array //growing number, for example 1, 2, 3... ( 'group_id' => 209, //group Id 'ignored_dbid' => array(10,16,42), //privilege client database id's 'give_back' => true, //give the rank back for people in ignoredId 'type' => 'nothing', //`ban`, `kick`, `nothing` (just group delete and poke) 'message' => '', //message to the client; if `ban` or `kick` it's the reason, if `nothing` it's a poke message 'time' => 5, //ban timeout ), */ '0' => array ( 'group_id' => 6, 'ignored_dbid' => array(24), 'give_back' => true, 'type' => 'kick', 'message' => 'Nie mozesz miec rangi CEO!', 'time' => 5, ), '1' => array ( 'group_id' => 35, 'ignored_dbid' => array(27,92), 'give_back' => true, 'type' => 'kick', 'message' => 'Nie mozesz miec rangi Support!', 'time' => 5, ), ), ), // ENG [Baning for having warning rangs] # PL [Ban za posiadanie X ostrzeżen] 'warning_ban' => array ( 'enabled' => false, 'ban_time' => '1200', // in seconds 'ban_message' => 'Za duzo ostrzezen!', 'with_rang' => 212, // the last warning id, for example Warning #3 (if you have 3 warnings) 'warning_id' => array ( 212, // the last warning id, for example Warning #3 (if you have 3 warnings) 146, 144, ), ), // ENG [Block recording users] # PL [Blokowanie użytkowników za nagrywanie] 'block_recording' => array ( 'enabled' => true, 'ignored_groups' => array(10,11,12), 'type' => 'kick', //`ban`, `kick`, 'message' => 'Nie możesz nagrywać!', //message to the client; if `ban` or `kick` it's the reason 'time' => 10, //ban timeout ), // ENG [Anty VPN] # PL [Event przeciw VPN'om] 'anty_vpn' => array ( 'enabled' => true, 'X-Key' => 'MjgyOnlESTNMRUJLU2FidzlTcW05Ym5VSmtaVUIwZVlQZFNp', // You can change at website `https://iphub.info/pricing` 'ignored_groups' => array(10), 'type' => 'kick', //`poke`, `kick`, `ban` 'ban_time' => '60', //in seconds 'message_to_client' => "Używasz VPN'a!", ), /************************************** ENG [EVENTS] # PL [EVENTY] **************************************/ 'events' => true, // ENG [Auto register] # PL [Auto rejestracja] 'auto_register' => array ( 'enabled' => false, 'ignored_groups' => array(45,7,39), 'register_group' => 76, //register group //Minimal time on server to be registered [Db connect must be on] 'min_time_on_server' => 5, //in minutes 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 5,'seconds' => 0), ), // ENG [Advertisement message] # PL [Reklama] 'advertisement_message' => array ( 'enabled' => false, 'type' => 'chat', //'chat' - global chat | 'pw' - pw to all users | 'poke' - poke to all users 'advertisements' => array ( /*********************** 'Zapraszamy do rejestracji!', 'Wiadmość testowa XBot', ***********************/ '[b]Dodaj ten serwer do zakładek: [url=ts3server://MCPROS.PL.pl?addbookmark=MCPROS.PL][COLOR=#ff0000]Kliknij Tu i Dodaj![/COLOR][/url][/b]', '[b][color=red]Witaj na serwerze testowym aplikacji XBot![/b]', ), 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 10,'minutes' => 0,'seconds' => 0), ), // ENG [Time and date] # PL [Data i godzina] 'clock_date' => array ( 'enabled' => false, 'content' => array ( 'clock' => array //clock in channel name ( 'enabled' => false, 'channel_id' => '21388', 'channel_name' => '» Godzina : [CLOCK]', // [CLOCK] = clock 'format' => 'G:i', // format G: hours, i: minutes, s: seconds ), 'date' => array //date in channel name ( 'enabled' => false, 'channel_id' => '21389', 'channel_name' => '» Data wynosi: [DATE]', // [DATE] = date 'format' => 'd-m-Y', // format m: month numeric, M: month in words, d: day numeric, D: day in words, Y: year ), 'date_and_clock' => array ( 'enabled' => false, 'channel_id' => '21414', 'channel_name' => '» Dzisiaj jest : [DATE&CLOCK]', // [DATE&CLOCK] = date & clock '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 ), ), 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 60), ), // ENG [Change server name] # PL [Zmiana nazwy serwera] 'change_server_name' => array ( /**************************************** DATE FORMAT m: month numeric, M: month in words, d: day numeric, D: day in words, Y: year, G: hours, i: minutes, s: seconds ****************************************/ 'enabled' => true, '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 'format' => 'd-m-Y G:i', 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5), 'data' => '1970-01-01 00:00:00', //Do not change ), // ENG [Client platform] # PL [Platforma klienta] 'client_platform' => array ( 'enabled' => false, 'ignored_groups' => array(0), 'windows_enabled' => false, 'windows_group' => 1044, 'linux_enabled' => false, 'linux_group' => 236, 'android_enabled' => false, 'android_group' => 1044, 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 20), ), // ENG [Poke admins] # PL [Zaczepianie adminów] 'poke_admins' => array ( 'enabled' => true, 'if_client_on_channel' => array(148), 'ignored_groups' => array(138), 'info' => array ( /************************* ### # poking server groups: channel_id => array(server_groups separated by comma), ### ### # poking client: channel_id => client_database_id, ### *************************/ 148 => array(10,11,12,13,14,15,16), ), 'ignored_channels' => array(), //channels where bot doesn't poke admins 'inform_admin_once' => true, //Poke admin only one time 'informing_about_channel' => true, //inform admin about the channel on which the user needs help 'show_client_link' => true, //show client link ([url]) 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 2), ), // ENG [Generate ] # PL [Generowanie baneru] 'generate_banner' => array ( /**************************************** font - 'arial', 'calibri', 'inconsolata', 'tahoma' color - in RGB array(x, x, x) you can check colors on https://www.w3schools.com/colors/colors_rgb.asp co-ordinates - array(size, rotation, x, y) ****************************************/ 'enabled' => true, 'admins_online' => array //Liczba adminow online ( 'enabled' => true, 'admins_server_groups' => array(10,11,12,13,14,15,16), //admins server groups 'font' => 'arial', 'color' => array(255,255,255), 'co-ordinates' => array(30,0,170,115), ), 'clients_online' => array //Klienci online ( 'enabled' => true, 'show_max_clients' => false, 'font' => 'arial', 'color' => array(255,255,255), 'co-ordinates' => array(30,0,830,115), ), 'record_online' => array //Rekord online ( 'enabled' => true, 'font' => 'arial', 'color' => array(255,255,255), 'co-ordinates' => array(30,0,830,325), ), 'clock' => array //Zegar ( 'enabled' => true, 'font' => 'arial', 'color' => array(255,255,255), 'co-ordinates' => array(30,0,140,325), ), 'channels_count' => array //Liczba kanałów ( 'enabled' => false, 'font' => 'arial', 'color' => array(255,255,255), 'co-ordinates' => array(35,0,500,300), ), 'name_day' => array //Imieniny ( 'enabled' => false, 'font' => 'arial', 'color' => array(255,255,255), 'co-ordinates' => array(35,0,300,300), ), 'image_file' => 'include/cache/bg.png', 'target_image_file' => '/var/www/html/bg.png', 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 30), ), // ENG [Host message] # PL [Wiadomość hosta] 'host_message' => array ( 'enabled' => true, 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 10), ), // ENG [Live DJ] # PL [Nick DJ'a w nazwie kanału] 'live_dj' => array ( 'enabled' => false, 'info' => array ( /********************************* channel_id => 'nazwa_kanalu', //[DJ] - dj's nick *********************************/ 17281 => 'Obecny DJ: [DJ]', //[DJ] - dj's nick ), 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 45), ), // ENG [Count users (registered/total)] # PL [Zliaczanie użytkowników (zarejestrowani/wszyscy)] 'count_users' => array ( 'enabled' => false, //DB must be on 'channel_id' => 177, 'channel_name' => '» Zarejestrowani użytkownicy: [REG]/[TOTAL]', //[REG] - registered users | [TOTAL] - total users in Db 'unregistered_group_id' => 8, 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 30), ), // ENG [Show client_info after join the channel] # PL [Pokaż informacje o kliencie po wejściu na kanał] 'client_info' => array ( 'enabled' => true, 'if_client_on_channel' => array(165), '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]', /************************************ [CLIENT_IP] = Client nickname [CLIENT_NICK] = Client nickname [CLIENT_COUNTRY] = Client country [CLIENT_DBID] = Client databse id [CLIENT_VERSION] = Client TS3 version [CLIENT_CONNECTIONS] = Client total connections [CLIENT_PLATFORM] = Client platform [CLIENT_TOTALCONNECTIONS] = Client total connections [CLIENT_LASTCONNECTED] = Client lastconnected [CLIENT_AWAY_MESSAGE] = Client away message [CLIENT_CREATED] = Client created [CLIENT_ON_SERVER_FOR] = Client is with server for ... for example 2 days and 1 minute *************************************/ 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5), ), // ENG [Event records in the channel descrition] # PL [Zapisywanie klientów na np. event w opisie kanału] 'event_records' => array ( 'enabled' => false, 'if_client_on_channel' => array(12832), 'channel_id' => 9056, 'top_description' => 'Zapisy na event', //Do not use [hr] in name! 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5), ), // ENG [Check temporary channels' name] # PL [Sprawdzanie nazw kanałów tymczasowych] 'check_tmp_channel' => array ( 'enabled' => true, 'file' => 'include/cache/nicks_security.txt', //bad phrases separated by ,(comma) without spaces, enters etc 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 0), ), // ENG [Check public zone] # PL [Sprawdzanie strefy kanałów publicznych] 'check_public_zone' => array ( 'enabled' => false, 'info' => array ( '0' => array ( 'channels_zone' => 43, 'channel_name' => '» Kanał Publiczny #[NUM]', //[Num] channel number 'mininum_channels' => 3, 'maximum_channels' => 25, 'icon_id' => 1655954911, 'modify_power' => 85, //channel needed modify power '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', ), '2' => array ( 'channels_zone' => 31, 'channel_name' => '» Kanał Publiczny #[NUM]', //[Num] channel number 'mininum_channels' => 3, 'maximum_channels' => 25, 'icon_id' => 2681873579, 'modify_power' => 85, //channel needed modify power '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', ), '3' => array ( 'channels_zone' => 37, 'channel_name' => '» Kanał Publiczny #[NUM]', //[Num] channel number 'mininum_channels' => 3, 'maximum_channels' => 25, 'icon_id' => 2457065219, 'modify_power' => 85, //channel needed modify power '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', ), '4' => array ( 'channels_zone' => 43, 'channel_name' => '» Kanał Publiczny #[NUM]', //[Num] channel number 'mininum_channels' => 3, 'maximum_channels' => 25, 'icon_id' => 1722569469, 'modify_power' => 85, //channel needed modify power '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', ), '5' => array ( 'channels_zone' => 49, 'channel_name' => '» Kanał Publiczny #[NUM]', //[Num] channel number 'mininum_channels' => 3, 'maximum_channels' => 25, 'icon_id' => 2194985460, 'modify_power' => 85, //channel needed modify power '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', ), ), 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5 ), ), // ENG [Clear clients ranks] # PL [Wyczyść rangi klienta] 'clear_ranks' => array ( 'enabled' => true, 'if_client_on_channel' => array(218), //all channels 'info' => array ( /********************************** channel_id => array(ranks_to_clear), **********************************/ 218 => array(32,33,34,35,36,41,42,43,44,7,30,23,24,25,26,27,28,37,38,39,30,53), ), 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5), ), ); $config['instance']['3']['logs_system'] = array ( /**************************************************************************** ENG [LOGS SYSTEM] # PL [SYSTEM LOGĂ“W] ****************************************************************************/ 'logs' => array ( // ENG [Turn on/off logs system (true or false)] # PL [Wlaczenie lub wylaczenie systemu logów] 'enabled' => true, // ENG [Days, after which, log files will be deleted] # PL [Czas w dniach, po których pliki logów zostana usunięte] 'delete_interval' => '3', ), ); $config['instance']['3']['options'] = array ( /**************************************************************************** ENG [INSTANCE OPTIONS] # PL [OPCJE INSTANCJI] ****************************************************************************/ // ENG [Folder for functions containing all events and plugins] # PL [Folder w którym sa wszystkie eventy i pluginy] 'folder' => 'third_instance', // ENG [Bot interval in seconds] # PL [Interwal bota w sekundach] 'bot_interval' => 3, // ENG ['events_plugins' or 'commands' (default 'events_plugins')] # PL ['events_plugins' lub 'commands' (domyślnie 'events_plugins')] 'function_type' => 'events_plugins', ); $config['instance']['3']['functions'] = array ( /************************************** ENG [PLUGINS] # PL [PLUGINY] **************************************/ 'plugins' => false, /************************************** ENG [EVENTS] # PL [EVENTY] **************************************/ 'events' => true, // ENG [New users daily] # PL [Nowi użytkownicy dzisiaj] 'new_daily_users' => array ( 'enabled' => true, 'channel_id' => 188, 'with_rang' => 8, //checking if client has one of these rangs 'channel_name' => '» Nowi Użytkownicy: [NEW]', //[NEW] - how many new users 'top_description' => 'Nowi uzytkownicy dzisiaj', 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 0), ), // ENG [Visitors] # PL [Odwiedziny] 'visitors' => array ( 'enabled' => true, 'channel_id' => 9, 'channel_name' => '[cspacer]» Odwiedzin: [VISITORS]«', //[VISITORS] - how many visitors 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 15), ), // ENG [Clients in your database] # PL [Użytkownicy w bazie danych] '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) ( 'enabled' => true, 'idle_time' => 5 * 60, //idle time in seconds 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 30), ), // ENG [Top connections] # PL [Najwięcej polaczeń] 'top_connections' => array ( 'enabled' => true, 'channel_id' => 219, 'top_description' => '[img]https://i.imgur.com/YNmuvo0.png[/img]', 'records' => 15, //how many clients 'ignored_groups' => array(45,62), 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 4,'seconds' => 0), ), // ENG [Top connection time] # PL [Najdluższe polaczenia] 'top_connection_time' => array ( 'enabled' => true, 'channel_id' => 220, 'top_description' => '[img]https://i.imgur.com/xkTA6Mr.png[/img]', 'records' => 15, //how many clients 'ignored_groups' => array(45,62), 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 4,'seconds' => 0), ), // ENG [Top client idle time] # PL [Najdluższy czas nieaktywności] 'top_idle_time' => array ( 'enabled' => false, 'channel_id' => 221, 'top_description' => '[img]https://i.imgur.com/82pPbKb.png[/img]', 'records' => 15, //how many clients 'ignored_groups' => array(45,62), 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 4,'seconds' => 0), ), // ENG [Top time spent on server] # PL [Najdluższy czas na serwerze] 'top_time_spent' => array ( 'enabled' => true, 'channel_id' => 221, 'show_afk_time' => true, 'top_description' => '[img]https://i.imgur.com/ilmgNak.png[/img]', 'records' => 15, //how many clients 'ignored_groups' => array(45,62), 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 4,'seconds' => 0), ), // ENG [Top week time spent on server] # PL [Ranking czasu spędzonego w danym tygodniu] 'top_week_time' => array ( 'enabled' => true, 'channel_id' => 222, 'show_afk_time' => true, 'top_description' => '[img]https://i.imgur.com/O9gaz20.png[/img]', 'records' => 15, //how many clients 'ignored_groups' => array(45,62), 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 4,'seconds' => 0), ), // ENG [Clients levels] # PL [Poziomy klientów] 'levels' => array ( 'enabled' => true, 'ignored_groups' => array(55,75), 'info' => array ( 81 => 1, //lvl group sgid => hours spent on server on which the rang will be given 82 => 7, 83 => 15, 84 => 20, 85 => 33, 86 => 44, 87 => 55, 88 => 60, 89 => 70, 90 => 100, ), 'all_levels_groups' => array(81,82,83,84,85,86,87,88,89,90), 'top_description' => '[img]https://i.imgur.com/58vTGHg.png[/img]', 'records' => 10, 'channel_id' => 315, 'info_to_client' => 'pw', //Info to client | 'poke' / 'pw' / 'none' 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 4,'seconds' => 0), ), // ENG [Random group] # PL [Losowe grupy] 'random_group' => array ( 'enabled' => false, 'must_have_group' => array(7,39), 'ignored_groups' => array(6,35,45,62,63,2), 'random_groups' => array(42), 'time' => '1', //in days 'channel_id' => 186, 'channel_name' => '• Randomowe grupy', //[USER] - last winner's nickname 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 4,'seconds' => 0), ), // ENG [Statistics of admins] # PL [Statystyki administratorów] 'statistics_of_admins' => array ( 'enabled' => true, 'admins_groups' => array(10,11,12,13,14,15,16), 'max_idle_time' => 300, //in seconds 'register' => array(423,24,25,26,27,28,37,38,39,40,53,32,33,34,35,36,41,42,43,44), 'ignored_channels' => array(), //channels where admins will not be check 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5), //Default: 5 seconds ), // ENG [Write statistics of admins] # PL [Wypisz statystyki adminów] 'write_statistics' => array ( 'enabled' => true, 'admins_groups' => array(6,35), //Admins groups to write on the channel description 'groups' => array ( 'top_description' => '[size=14][b]Statystyki administracji[/b][/size][size=13][b]\nNadane grupy[/b][/size]', 'channelid' => 224, ), 'timespent' => array ( 'top_description' => '[size=14][b]Statystyki administracji[/b][/size][size=13][b]\nSpędzony czas[/b][/size]', 'channelid' => 223, ), 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 0), ), ); $config['instance']['4']['logs_system'] = array ( /**************************************************************************** ENG [LOGS SYSTEM] # PL [SYSTEM LOGĂ“W] ****************************************************************************/ 'logs' => array ( // ENG [Turn on/off logs system (true or false)] # PL [Wlaczenie lub wylaczenie systemu logów] 'enabled' => true, // ENG [Days, after which, log files will be deleted] # PL [Czas w dniach, po których pliki logów zostana usunięte] 'delete_interval' => '3', ), ); $config['instance']['4']['options'] = array ( /**************************************************************************** ENG [INSTANCE OPTIONS] # PL [OPCJE INSTANCJI] ****************************************************************************/ // ENG [Folder for functions containing all events and plugins] # PL [Folder w którym sa wszystkie eventy i pluginy] 'folder' => 'fourth_instance', // ENG [Bot interval in seconds] # PL [Interwal bota w sekundach] 'bot_interval' => 3, // ENG ['events_plugins' or 'commands' (default 'events_plugins')] # PL ['events_plugins' lub 'commands' (domyślnie 'events_plugins')] 'function_type' => 'events_plugins', ); $config['instance']['4']['functions'] = array ( /************************************** ENG [PLUGINS] # PL [PLUGINY] **************************************/ 'plugins' => false, /************************************** ENG [EVENTS] # PL [EVENTY] **************************************/ 'events' => true, // ENG [Channels guard] # PL [Strażnik kanalów] 'channels_guard' => array ( 'enabled' => true, 'channels_zone' => 43, //parent channel id 'empty_channel_topic' => '#darmowy', //topic in empty channels 'free_channel_name' => 'Prywatny Kanał - Wolny', 'head_channel_admin_group' => 9, //main head channel admin group id 'check_date' => array //check channel date in topic ( 'enabled' => true, 'new_date_if_owner' => true, //new date if the owner is on the channel 'time_interval_warning' => 2, //days after which the channel name will be changed 'time_interval_delete' => 3, //days after which the channel will be deleted 'warning_text' => '(ZMIEŃ DATĘ)', //warning text added to channel name after 'time_interval_warning' ), 'check_channel_num' => array //check if the next channel has number for example 1., 2., etc ( 'enabled' => true, ), 'check_channel_name' => array //check if the next channel has number for example 1., 2., etc ( 'enabled' => true, 'file' => 'include/cache/nicks_security.txt', //bad phrases separated by ,(comma) without spaces, enters etc ), 'make_empty_channels' => array //make empty channels ( 'enabled' => true, 'minimum_free_channels' => 5, 'icon_id' => '0', ), 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 30), ), // ENG [Get private channel] # PL [Otrzymanie prywatnego kanalu] 'get_private_channel' => array ( 'enabled' => true, 'if_client_on_channel' => array(26), //channel id 'sub_channels' => 2, //how many sub channels 'head_channel_admin_group' => 9, //main head channel admin group id 'needed_server_group' => array(7,30), //needed server group (you need one of them to get a private channel) 'message_type' => 'poke', //message type (poke or message) 'empty_channel_topic' => '#darmowy', //topic in empty channels 'channels_zone' => 43, //parent channel id 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5), ), // ENG [Empty channels' numbers in channel description] # PL [Numery wolnych kanalów w opisie kanalu] 'empty_channels' => array ( 'enabled' => true, 'channel_id' => 225, //channel id 'empty_channel_topic' => '#darmowy', //topic in empty channels 'channels_zone' => 43, //parent channel id 'time_interval_delete' => 6, //days after which the channel will be deleted 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 5,'seconds' => 0), ), // ENG [Number of private channels in channel name] # PL [Ilość prywatnych kanalów w nazwie kanalu] 'private_channels_info' => array ( 'enabled' => true, 'empty_channel_topic' => '#darmowy', //topic in empty channels 'channels_zone' => 43, //parent channel id 'total' => array ( 'enabled' => true, 'channel_id' => 226, 'channel_name' => '[cspacer]» Kanalow prywatnych: [NUM]«', //[NUM] - number of channels ), 'taken' => array ( 'enabled' => true, 'channel_id' => 227, 'channel_name' => '[cspacer]» Zajete: [NUM]«', //[NUM] - number of taken channels ), 'empty' => array ( 'enabled' => true, 'channel_id' => 228, 'channel_name' => '[cspacer]» wolnych kanałów: [NUM]«', //[NUM] - number of empty channels ), 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 0), ), ); $config['instance']['5']['logs_system'] = array ( /**************************************************************************** ENG [LOGS SYSTEM] # PL [SYSTEM LOGĂ“W] ****************************************************************************/ 'logs' => array ( // ENG [Turn on/off logs system (true or false)] # PL [Wlaczenie lub wylaczenie systemu logów] 'enabled' => true, // ENG [Days, after which, log files will be deleted] # PL [Czas w dniach, po których pliki logów zostana usunięte] 'delete_interval' => '3', ), ); $config['instance']['5']['options'] = array ( /**************************************************************************** ENG [INSTANCE OPTIONS] # PL [OPCJE INSTANCJI] ****************************************************************************/ // ENG [Folder for functions containing all events and plugins] # PL [Folder w którym sa wszystkie eventy i pluginy] 'folder' => 'fifth_instance', // ENG [Bot interval in seconds] # PL [Interwal bota w sekundach] 'bot_interval' => 3, // ENG ['events_plugins' or 'commands' (default 'commands')] # PL ['events_plugins' lub 'commands' (domyślnie 'commands')] 'function_type' => 'commands', ); $config['instance']['5']['commands'] = array ( /********************************************* ENG [COMMANDS] # PL [KOMENDY] Explanation: [sgid] - server group id [message] - text message [instance_id] - Xbot instance id *********************************************/ // ENG [Usage: !help] 'help' => array ( 'enabled' => true, 'privileged_groups' => array(10), // 0 - all groups ), // ENG [Usage: !pwall-[message]] 'pwall' => array ( 'enabled' => true, 'privileged_groups' => array(10), // 0 - all groups ), // ENG [Usage: !pokeall-[message]] 'pokeall' => array ( 'enabled' => true, 'privileged_groups' => array(10), // 0 - all groups ), // ENG [Usage: !pwgroup-[sgid]-[message]] 'pwgroup' => array ( 'enabled' => true, 'privileged_groups' => array(10), // 0 - all groups ), // ENG [Usage: !pokegroup-[sgid]-[message]] 'pokegroup' => array ( 'enabled' => true, 'privileged_groups' => array(10), // 0 - all groups ), // ENG [Usage: !meeting] 'meeting' => array ( 'enabled' => true, 'privileged_groups' => array(10), // 0 - all groups 'admins_server_groups' => array(10,11,12,13,14,15,16), 'meeting_channel_id' => 31, ), // ENG [Usage: !clients] 'clients' => array //clients list ( 'enabled' => true, 'privileged_groups' => array(10), // 0 - all groups ), // ENG [Usage: !channels] 'channels' => array //channels list ( 'enabled' => true, 'privileged_groups' => array(10), // 0 - all groups ), // ENG [Usage: !bot-[instance_id]] [Function is restarting Xbot's instance] 'bot' => array //bot management (`starter.sh run` must be ON) ( 'enabled' => true, 'privileged_groups' => array(10), // 0 - all groups ), // ENG [Usage: !ch-[client_dbid]-[subchannels]] 'ch' => array ( 'enabled' => true, 'privileged_groups' => array(10), // 0 - all groups 'head_channel_admin_group' => 9, //main head channel admin group id 'message_type' => 'poke', //message type (poke or message) 'empty_channel_topic' => '#darmowy', //topic in empty channels 'channels_zone' => 43, //parent channel id ), // ENG [Usage: !mute-[client_dbid]-[time_in_seconds]] 'mute' => array //give user specified group on specified time in seconds ( 'enabled' => true, 'privileged_groups' => array(10), // 0 - all groups 'give_group' => 21, ), // ENG [Usage: !admin-[client_dbid]] || Database must be connect with 'admin' => array //show information about specified admin ( 'enabled' => true, 'privileged_groups' => array(0), // 0 - all groups 'admins_groups' => array(10,11,12,13,14,15,16), //all admins groups ), // ENG [Usage: !tpclient-[client_nick]] 'tpclient' => array //moving to specified client ( 'enabled' => true, 'privileged_groups' => array(10), // 0 - all groups ), // ENG [Usage: !tpchannel-[channel_name]] 'tpchannel' => array //moving to specified channel ( 'enabled' => true, 'privileged_groups' => array(10), // 0 - all groups ), ); $config['instance']['6']['logs_system'] = array ( /**************************************************************************** ENG [LOGS SYSTEM] # PL [SYSTEM LOGĂ“W] ****************************************************************************/ 'logs' => array ( // ENG [Turn on/off logs system (true or false)] # PL [Wlaczenie lub wylaczenie systemu logów] 'enabled' => true, // ENG [Days, after which, log files will be deleted] # PL [Czas w dniach, po których pliki logów zostana usunięte] 'delete_interval' => '3', ), ); $config['instance']['6']['options'] = array ( /**************************************************************************** ENG [INSTANCE OPTIONS] # PL [OPCJE INSTANCJI] ****************************************************************************/ // ENG [Folder for functions containing all events and plugins] # PL [Folder w którym sa wszystkie eventy i pluginy] 'folder' => 'sixth_instance', // ENG [Bot interval in seconds] # PL [Interwal bota w sekundach] 'bot_interval' => 1, // ENG ['events_plugins' or 'commands' (default 'live_help')] # PL ['events_plugins' lub 'commands' (domyślnie 'live_help')] 'function_type' => 'live_help', // Do not change ); $config['instance']['6']['functions'] = array ( /************************************** ENG [PLUGINS] # PL [PLUGINY] **************************************/ 'plugins' => true, /************************************** ENG [EVENTS] # PL [EVENTY] **************************************/ 'events' => true, // ENG [Live Help] # PL [Live Help] 'live_help' => array ( 'enabled' => true, 'support_channel_id' => 230, 'ignored_groups' => array(13,75,55), 'commands_enabled' => true, //if not registered commands !m, !k 'registration_groups' => array ( 'enabled' => true, 'min_time' => 5, //in minutes (DB must be on) 'man' => array ( 'sgid' => 7, //command - !m ), 'woman' => array ( 'sgid' => 30, //commdn - !k ), ), //!list, !add, !del 'server_groups' => array ( 'enabled' => false, 'sgids' => array(10,11,12,13,14,15,16,17,18,19,20,21), 'limit' => 2, ), //!faq 'faq' => array ( 'enabled' => true, 'info' => "1. Co ja tu robię? - siedzisz na najlepszym serwerze TS3\n2. Co to za kanał? - jest to kanał pomocy serwera MCPROS.PL\n", ), //!my_info 'client_info' => array ( 'enabled' => true, ), //!admin 'poke_admins' => array ( 'enabled' => true, 'admins_groups' => array(10,11,12,13,14,15,16), //important in `sinusbot` function 'ignored_groups' => array(138), 'ignored_channels' => array(0), //channels where bot doesn't poke admins 'show_client_link' => true, //show client link ([url]) 'with_command' => true, //poke admins only after command !admin 'poke_once' => false, //send one poke to admin (true) or more (false) 'poking_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 15), //Only if poke_once = true ), //!channel 'get_private_channel' => array ( 'enabled' => true, 'sub_channels' => 2, //how many sub channels 'head_channel_admin_group' => 5, //main head channel admin group id 'message_type' => 'poke', //message type (poke or message) 'empty_channel_topic' => '#darmowy', //topic in empty channels 'channels_zone' => 43, //parent channel id 'sb_delay' => 10, ), //`talking` sinusbot 'sinusbot' => array ( 'enabled' => true, 'host' => 'http://127.0.0.1:1111', 'login' => 'admin', 'password' => 'Leemid0123', 'instance_uid' => 'ab02ec7b-bf6d-4a22-8a65-e19055dd1e82', 'playlist_id' => '8ea7ba44-0fec-4c48-904a-1574da8897c2', 'bot_nick' => 'LiveHelp', 'queue_in_nick' => true, //Show in nick number of people in queue 'type' => 1, ), 'read_chat' => 5, //in seconds Default 5 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 0), //Default: 0 seconds ), ); ?>