Pastebin
API
tools
faq
paste
Login
Sign up
Please fix the following errors:
New Paste
Syntax Highlighting
<?php /******************************** Author: Tymoteusz `Razor Meister` Bartnik Contact: battnik90@gmail.com TS3: xbot-ts3.pl Graphics: Maja, Adamek Config File ********************************/ define('ICON_ID', 144); define('NEEDED_JOIN_POWER', 139); define('NEEDED_SUBSCRIBE_POWER', 141); define('NEEDED_MODIFY_POWER', 124); $config['general'] = array ( 'connection_ts3' => array ( /************************************************************************************** ENG [MAIN LOGIN TO TEAMSPEAK3 SERVER] # PL [GŁÓWNE LOGOWANIE DO TS3] **************************************************************************************/ // ENG [TeamSpeak3 Server IP Adress] # PL [Adres IP serwera] 'IP' => '', // 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' => '', ), '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' => '', // ENG [Database name] # PL [Nazwa bazy danych] 'db_name' => 'xbot', ), 'instances_settings' => array ( /************************************************************************************** ENG [MAIN INSTANCES SETTINGS] # PL [GŁÓWNE USTAWIENIA INSTANCJI] **************************************************************************************/ 'settings' => array ( // ENG [Show links to profile] # PL [Pokazuj linki do profilu] 'show_links' => array('enabled' => true, 'link' => 'https://tshero.pl/?profile&id='), // ENG [Main admins databases] # PL [Database id głównych adminów] 'main_admins_dbid' => array(1077), ), 'instances' => array ( '1' => array //Aktualizator ( 'enabled' => true, 'database_enabled' => true, 'bot_name' => 'TsHero @ Guard System', 'default_channel' => 401, ), '2' => array //Administrator ( 'enabled' => true, 'database_enabled' => true, 'bot_name' => 'TsHero @ Server Admin', 'default_channel' => 401, ), '3' => array //Database ( 'enabled' => true, 'database_enabled' => true, 'bot_name' => 'TsHero @ Database', 'default_channel' => 401, ), '4' => array //Channels Guard ( 'enabled' => true, 'database_enabled' => false, 'bot_name' => 'TsHero @ Channels guard', 'default_channel' => 401, ), '5' => array //Commander ( 'enabled' => true, 'database_enabled' => true, 'bot_name' => 'TsHero @ Commands', 'default_channel' => 401, // 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' => false, 'database_enabled' => true, 'bot_name' => 'TsHero @ LiveHelp', 'default_channel' => 401, // ENG [Set individual ts3 login and password] # PL [Ustaw indywidualny login i hasło do ts3] 'individual_login' => array ( 'enabled' => false, 'login' => 'livehelp', 'password' => '', ), ), ), ), ); $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', // ENG [Black list type, 'ban' | 'kick'] # PL [Typ black listy, 'ban' - banowanie | 'kick' - kickowanie z serwera] 'black_list_type' => 'kick', ); $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(9,25,61,67), //all admins server groups 'channel_id' => 7, //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(2,155,163,162,158,240,276,277,278,279,237,164), //ignored groups 'file' => 'include/cache/nicks_security.txt', //bad phrases separated by ,(comma) without spaces, enters etc 'check_away_message' => true, 'check_client_description' => true, // Can slow down instance 'ban' => array ( 'enabled' => true, // true or false 'min_kicks' => 4, // ban after X kicks 'ban_time' => 5 * 60, // in seconds 'cache_reset' => 120, // in seconds ), ), // ENG [Server groups limit] # PL [Limit grup serwera] 'groups_limit' => array ( 'enabled' => false, 'ignored_groups' => array(), //ignored groups which will not be check 'info' => array ( /**************************************** '1' => array //growing number, for example 1, 2, 3... ( 'checking_groups' => array(52,53,54,55,56), //checking server groups 'limit' => 1, //limit of checking groups ), ****************************************/ '1' => array ( 'checking_groups' => array(52,53,54,55,56), //checking server groups 'limit' => 1, //limit of checking groups ), '2' => array ( 'checking_groups' => array(10,11,12,13,14,15,16,17,18,19,20,21), //checking server groups 'limit' => 2, //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(135), //All channels from which bot must move clients | Wszystkie kanały, z których bot ma movać 'vip_channels_from_xbot' => array ( 'enabled' => true, 'is_on_channel' => 135, 'ignored_groups' => array(), ), 'info' => array ( /************************* 0 => array //growing number: 0,1,2 etc. ( 'is_on_channel' => 50, //form which channel bot must move people 'move_to_channel' => 25, //to which channel bot must move people 'groups' => array(14,13), //groups which will be checking ), *************************/ 0 => array ( 'is_on_channel' => 135, 'move_to_channel' => 98, 'groups' => array(), ), 1 => array ( 'is_on_channel' => 135, 'move_to_channel' => 115, 'groups' => array(25,61), ), ), ), // ENG [Animated icon] # PL [Animowana ikonka] 'animated_icon' => array ( 'enabled' => false, 'info' => array ( /************************************************* id => array ( 'type' => 'servergroup' OR 'cldbid' //If servergroup, id = sgid || if cldbid, id = client database id 'icons' => array(-2072408170,968796862,1023685817,-1634246665,1726830382), ), *************************************************/ 44 => array ( 'type' => 'servergroup', 'icons' => array(-2072408170,968796862,1023685817,-1634246665,1726830382), ), 15 => array ( 'type' => 'cldbid', 'icons' => 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' => 812, 'ignored_groups' => array(31,43), 'channel_name' => '[cspacer] Online: [ONLINE] ', //[ONLINE] - online users 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 30), ), // ENG [Record amount of clients online] # PL [Rekordowa ilośc użytkowników online] 'record_online' => array ( 'enabled' => true, 'channel_id' => 625, 'channel_name' => '[cspacer] Rekord online: [RECORD] ', //[RECORD] - record online users 'show_history' => false, 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 0), ), // ENG [List of admins online] # PL [Lista adminów online] 'admin_list_online' => array ( 'enabled' => true, 'channel_id' => 1033, 'admins_server_groups' => array(155,163,162,158,240,276,277,278,279), 'ignored_groups' => array(0), 'channel_name' => '[spacer]Dostępni Konsultanci: [ONLINE]', //[ONLINE] - Admins online 'top_description' => '[img]https://i.imgur.com/lulFRoh.png[/img]', 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 0), ), // ENG [Admin list] # PL [Lista adminów] 'admin_list' => array ( 'enabled' => true, 'min_idle_time' => 5*60, //minimal client idle time to be away (in seconds) 'admins_count' => false, //enable admins count in description 'info' => array ( 407 => array //channel id ( 'admins_server_groups' => array(155,163,162,158,240,276,277,278,279), 'ignored_groups' => array(0), 'top_description' => '[img]https://i.imgur.com/3AqIkTP.png[/img]', 'icons_enabled' => false, //Convert rang name to icon 'icons' => array ( /************************* group_id => 'url_to_image', ************************/ 415 => 'https://i.imgur.com/00vgtlc.png', 35 => 'http://surf-ts3.pl/IMAGE/manager.png', ), ), ), 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 0), ), // ENG [Change channel name] # PL [Zmiana nazwy kanalu] 'change_channel' => array ( 'enabled' => false, 'channel_id' => 1826, 'channel_name' => array ( '[cspacer] → Zapraszamy na stronę ! ←', '[cspacer] → Nasze ip się nie zmienia ! ←', '[cspacer] → Dziękujemy że tu jesteś ! ←', '[cspacer] → Życzymy miłych rozmów ! ←', ), 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 0), ), // 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' => false, 'channel_id' => 1026, 'channel_name' => '» Średni ping: [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' => false, 'channel_id' => 1028, 'channel_name' => '» 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' => 648, 'channel_name' => '[cspacer]● Ilość kanałów: [CHANNELS] ● ', // [CHANNELS] = channels count ), 'bytes_upload' => array // ENG [bytes upload on server in channel name] # PL [ilość danych wysłanych przez serwer] ( 'enabled' => false, 'channel_id' => 15, 'channel_name' => '» Danych wysłanych: [UPLOAD]', // [UPLOAD] = bytes upload ), 'bytes_download' => array // ENG [bytes download on server in channel name] # PL [ilość danych pobranych przez serwer] ( 'enabled' => false, 'channel_id' => 16, 'channel_name' => '» Danych pobranych: [DOWNLOAD]', // [DWONLOAD] = bytes download ), ), 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 30), ), // ENG [Support channels] # PL [Kanały pomocy] 'support_channels' => array ( 'enabled' => false, 'content' => array ( 'time_open' => array //Channels open at a specific time ( '0' => array // growing number for example 1, 2, 3... ( 'channelId' => 0, // channel id 'time_open' => '09:00', // time of opening 'time_close' => '23:50', // time of closing 'channel_name_open' => '[»] Centrum Pomocy XBot', // channel name when opened 'channel_name_close' => '[»] Centrum Pomocy XBot [OFF]', // channel name when closed 'needed_join_power' => 1500, //when close 'change_maxfamily_clients' => false, // close family channels too ), '1' => array // growing number for example 1, 2, 3... ( 'channelId' => 114, // channel id 'time_open' => '09:00', // time of opening 'time_close' => '23:50', // time of closing 'channel_name_open' => '[»] Chcę zakupić usługę', // channel name when opened 'channel_name_close' => '[»] Chcę zakupić usługę [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' => 0, 'channel_name_open' => '» Centrum pomocy [ON]', // channel name when opened 'channel_name_close' => '» Centrum pomocy[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] 'get_vip_channel' => array // Db must be on ( 'enabled' => false, 'if_client_on_channel' => array(19,20), // all checking channels id //online_from_server_group function must be ON and get_server_group function must be ON 'info' => array ( 'VIP' => array //Zone name for example 'VIP' | 'GOLD' ( 'if_on_channel' => 19, 'server_group_copy' => 55, // server group to copy 'channel_group_id' => 12, // 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' => 171, // the first channel for example spacer 'join_needed' => 100, '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' => 20, 'server_group_copy' => 57, // server group to copy 'channel_group_id' => 12, // 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' => 96, // the first channel for example spacer 'join_needed' => 150, 'spacer_between' => array ( 'enabled' => true, 'spacer_name' => '[*spacerDiamond[NUM]]---', 'join_needed' => 100, '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' => 10), ), // ENG [Get vip channel spacer] # PL [Otrzymywanie kanału vip na spacerach] 'get_vip_channel_spacer' => array // Db must be on ( 'enabled' => true, 'if_client_on_channel' => array(633,1039,1093,635,4043), // all checking channels id 'create_interval' => 1000, // In miliseconds 'info' => array ( 'Gildyjny' => array //Zone name for example 'VIP' | 'GOLD' ( 'if_on_channel' => 633, 'server_group_copy' => 317, // server group to copy 'channel_group_id' => 33, // default channel admin group 'after_channel' => 423, // the first channel for example spacer 'online_from_server_group_name' => '[cspacer_Gildia] ▪ [SERVER_GROUP]: [ONLINE]/[MAX]▪', // [SERVER_GROUP] - group name, [ONLINE], 'spacers' => array ( /************************************* '1' => array // Growing number ( 'spacer' => array ( 'name' => '[cspacer_premium[NUM]]▪ Gildyjny [[NUM]] ▪', // [NUM] - vip channel number 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 10, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), 'subchannels' => array ( 'count' => 0, // How many subchannels 'name' => 'Podkanał [NUM]', // [NUM] - subchannel number 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 0, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), ), online_from_server_group function must be ON and get_server_group function must be ON add `'get_group_spacer' => true` if get group must be a spacer add `'online_group_spacer' => true` if online from group must be a spacer add `'get_group_subchannel' => true` if get group must be in the subchannel add `'online_group_subchannel' => true` if online from group must be in the subchannel *************************************/ '1' => array // Main channel ( 'spacer' => array ( 'name' => '[cspacer_Gildja[NUM]]▪ Gildyjnyy [[NUM]] ▪', // [NUM] - vip channel number 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 100, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), 'subchannels' => array ( 'count' => 0, // How many subchannels 'name' => 'Podkanał [NUM]', // [NUM] - subchannel number 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 0, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), ), '2' => array // Main channel ( 'spacer' => array ( 'name' => '[cspacer_GildjaO[NUM]] ▪ Online z:▪', // [NUM] - vip channel number 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 100, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), 'subchannels' => array ( 'count' => 0, // How many subchannels 'name' => 'Podkanał [NUM]', // [NUM] - subchannel number 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 0, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), 'online_group_spacer' => true, ), '3' => array // Main channel ( 'spacer' => array ( 'name' => '[cspacer_nadajG[NUM]]▪ Nadaj Range ▪', // [NUM] - vip channel number 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 0, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), 'subchannels' => array ( 'count' => 0, // How many subchannels 'name' => 'Podkanał [NUM]', // [NUM] - subchannel number 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 0, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), 'get_group_spacer' => true, ), '4' => array ( 'spacer' => array ( 'name' => '[cspacer_zarzadGg[NUM]]▪ Zarząd ▪', // [NUM] - vip channel number 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 10, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), 'subchannels' => array ( 'count' => 3, // How many subchannels 'name' => 'Zarząd: [NUM]', // [NUM] - subchannel number 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 0, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), ), '5' => array ( 'spacer' => array ( 'name' => '[cspacer_kanalyG[NUM]]▪ Kanał Główny ▪', // [NUM] - vip channel number 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 10, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), 'subchannels' => array ( 'count' => 10, // How many subchannels 'name' => 'Podkanał #[NUM]', // [NUM] - subchannel number 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 0, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), ), '6' => array ( 'spacer' => array ( 'name' => '[cspacer_RekruG[NUM]]▪ Rekrutacja ▪', // [NUM] - vip channel number 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 100, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), 'subchannels' => array ( 'count' => 3, // How many subchannels 'name' => 'Podkanał #[NUM]', // [NUM] - subchannel number 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 0, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), ), ), 'spacer_between' => array ( 'enabled' => true, 'spacer_name' => '[*spacerGildia[NUM]]...', 'join_needed' => 150, 'modify_needed' => 100, ), ), 'KLAN' => array //Zone name for example 'VIP' | 'GOLD' ( 'if_on_channel' => 1039, 'server_group_copy' => 315, // server group to copy 'channel_group_id' => 33, // default channel admin group 'after_channel' => 871, // the first channel for example spacer 'online_from_server_group_name' => '[cspacer_Klan] [SERVER_GROUP]: [ONLINE]/[MAX]', // [SERVER_GROUP] - group name, [ONLINE], 'spacers' => array ( /************************************* '1' => array // Growing number ( 'spacer' => array ( 'name' => '[cspacer_premium[NUM]]▪ Gildyjny [[NUM]] ▪', // [NUM] - vip channel number 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 10, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), 'subchannels' => array ( 'count' => 0, // How many subchannels 'name' => 'Podkanał [NUM]', // [NUM] - subchannel number 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 0, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), ), online_from_server_group function must be ON and get_server_group function must be ON add `'get_group_spacer' => true` if get group must be a spacer add `'online_group_spacer' => true` if online from group must be a spacer add `'get_group_subchannel' => true` if get group must be in the subchannel add `'online_group_subchannel' => true` if online from group must be in the subchannel *************************************/ '1' => array // Main channel ( 'spacer' => array ( 'name' => '[cspacer_Klan[NUM]]▪ Klann [[NUM]] ▪', // [NUM] - vip channel number 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 100, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), 'subchannels' => array ( 'count' => 0, // How many subchannels 'name' => 'Podkanał [NUM]', // [NUM] - subchannel number 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 0, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), ), '2' => array // Main channel ( 'spacer' => array ( 'name' => '[cspacer_KlanO[NUM]] Online z:', // [NUM] - vip channel number 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 100, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), 'subchannels' => array ( 'count' => 0, // How many subchannels 'name' => 'Podkanał [NUM]', // [NUM] - subchannel number 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 0, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), 'online_group_spacer' => true, ), '3' => array // Main channel ( 'spacer' => array ( 'name' => '[cspacer_nadajK[NUM]]Nadaj Rangę', // [NUM] - vip channel number 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 0, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), 'subchannels' => array ( 'count' => 0, // How many subchannels 'name' => 'Podkanał [NUM]', // [NUM] - subchannel number 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 0, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), 'get_group_spacer' => true, ), '4' => array ( 'spacer' => array ( 'name' => '[lspacer_zarzadKlan[NUM]]Zarząd', // [NUM] - vip channel number 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 100, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), 'subchannels' => array ( 'count' => 3, // How many subchannels 'name' => 'Zarząd: [NUM]', // [NUM] - subchannel number 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 0, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), ), '5' => array ( 'spacer' => array ( 'name' => '[lspacer_kanalyK[NUM]]Kanały', // [NUM] - vip channel number 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 100, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), 'subchannels' => array ( 'count' => 4, // How many subchannels 'name' => 'Podkanał #[NUM]', // [NUM] - subchannel number 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 0, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), ), ), 'spacer_between' => array ( 'enabled' => true, 'spacer_name' => '[*spacerKlan[NUM]]...', 'join_needed' => 150, 'modify_needed' => 100, ), ), 'Elite' => array //Zone name for example 'VIP' | 'GOLD' ( 'if_on_channel' => 635, 'server_group_copy' => 316, // server group to copy 'channel_group_id' => 33, // default channel admin group 'after_channel' => 776, // the first channel for example spacer 'online_from_server_group_name' => '[cspacer_Elite] [SERVER_GROUP] | [ONLINE]/[MAX]', // [SERVER_GROUP] - group name, [ONLINE], 'spacers' => array ( /************************************* '1' => array // Growing number ( 'spacer' => array ( 'name' => '[cspacer_Elite[NUM]]▪ Elite [[NUM]] ▪', // [NUM] - vip channel number 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 100, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), 'subchannels' => array ( 'count' => 0, // How many subchannels 'name' => 'Podkanał [NUM]', // [NUM] - subchannel number 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 0, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), ), online_from_server_group function must be ON and get_server_group function must be ON add `'get_group_spacer' => true` if get group must be a spacer add `'online_group_spacer' => true` if online from group must be a spacer add `'get_group_subchannel' => true` if get group must be in the subchannel add `'online_group_subchannel' => true` if online from group must be in the subchannel *************************************/ '1' => array // Main channel ( 'spacer' => array ( 'name' => '[cspacer_Elite[NUM]]▪ Elite [[NUM]] ▪', // [NUM] - vip channel number 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 100, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), 'subchannels' => array ( 'count' => 0, // How many subchannels 'name' => 'Podkanał [NUM]', // [NUM] - subchannel number 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 0, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), ), '2' => array // Main channel ( 'spacer' => array ( 'name' => '[cspacer_EliteO[NUM]]Online z:', // [NUM] - vip channel number 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 100, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), 'subchannels' => array ( 'count' => 0, // How many subchannels 'name' => 'Podkanał [NUM]', // [NUM] - subchannel number 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 0, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), 'online_group_spacer' => true, ), '3' => array // Main channel ( 'spacer' => array ( 'name' => '[cspacer_nadajE[NUM]]Nadaj Rangę', // [NUM] - vip channel number 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 0, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), 'subchannels' => array ( 'count' => 0, // How many subchannels 'name' => 'Podkanał [NUM]', // [NUM] - subchannel number 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 0, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), 'get_group_spacer' => true, ), '4' => array ( 'spacer' => array ( 'name' => '[lspacer_nazwaElite[NUM]]Zarząd', // [NUM] - vip channel number 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 100, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), 'subchannels' => array ( 'count' => 9, // How many subchannels 'name' => 'Zarząd: [NUM]', // [NUM] - subchannel number 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 0, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), ), ), 'spacer_between' => array ( 'enabled' => true, 'spacer_name' => '[*spacerElitex[NUM]]...', 'join_needed' => 150, 'modify_needed' => 100, ), ), 'Druzyna' => array //Zone name for example 'VIP' | 'GOLD' ( 'if_on_channel' => 1093, 'server_group_copy' => 341, // server group to copy 'channel_group_id' => 33, // default channel admin group 'after_channel' => 662, // the first channel for example spacer 'online_from_server_group_name' => '[cspacer_Elite] [SERVER_GROUP] | [ONLINE]/[MAX]', // [SERVER_GROUP] - group name, [ONLINE], 'spacers' => array ( /************************************* '1' => array // Growing number ( 'spacer' => array ( 'name' => '[cspacer_Elite[NUM]]▪ Drużyna [[NUM]] ▪', // [NUM] - vip channel number 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 100, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), 'subchannels' => array ( 'count' => 0, // How many subchannels 'name' => 'Podkanał [NUM]', // [NUM] - subchannel number 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 0, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), ), online_from_server_group function must be ON and get_server_group function must be ON add `'get_group_spacer' => true` if get group must be a spacer add `'online_group_spacer' => true` if online from group must be a spacer add `'get_group_subchannel' => true` if get group must be in the subchannel add `'online_group_subchannel' => true` if online from group must be in the subchannel *************************************/ '1' => array // Main channel ( 'spacer' => array ( 'name' => '[cspacer_druzyna[NUM]]▪ Drużyna[[NUM]] ▪', // [NUM] - vip channel number 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 100, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), 'subchannels' => array ( 'count' => 0, // How many subchannels 'name' => 'Podkanał [NUM]', // [NUM] - subchannel number 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 0, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), ), '2' => array // Main channel ( 'spacer' => array ( 'name' => '[cspacer_DruzyO[NUM]]Online z:', // [NUM] - vip channel number 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 100, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), 'subchannels' => array ( 'count' => 0, // How many subchannels 'name' => 'Podkanał [NUM]', // [NUM] - subchannel number 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 0, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), 'online_group_spacer' => true, ), '3' => array // Main channel ( 'spacer' => array ( 'name' => '[cspacer_nadajD[NUM]]Nadaj Rangę', // [NUM] - vip channel number 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 0, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), 'subchannels' => array ( 'count' => 0, // How many subchannels 'name' => 'Podkanał [NUM]', // [NUM] - subchannel number 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 0, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), 'get_group_spacer' => true, ), '4' => array ( 'spacer' => array ( 'name' => '[lspacer_nazwaDruz[NUM]]Drużyna', // [NUM] - vip channel number 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 100, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), 'subchannels' => array ( 'count' => 5, // How many subchannels 'name' => 'Druzynowy: [NUM]', // [NUM] - subchannel number 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 0, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), ), ), 'spacer_between' => array ( 'enabled' => true, 'spacer_name' => '[*spacerElite[NUM]]...', 'join_needed' => 150, 'modify_needed' => 100, ), ), 'Partner' => array //Zone name for example 'VIP' | 'GOLD' ( 'if_on_channel' => 4043, 'server_group_copy' => 2576, // server group to copy 'channel_group_id' => 40, // default channel admin group 'after_channel' => 411, // the first channel for example spacer 'online_from_server_group_name' => '[cspacer_p] [SERVER_GROUP] | [ONLINE]/[MAX]', // [SERVER_GROUP] - group name, [ONLINE], 'spacers' => array ( /************************************* '1' => array // Growing number ( 'spacer' => array ( 'name' => '[cspacer_Elite[NUM]]▪ Drużyna [[NUM]] ▪', // [NUM] - vip channel number 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 100, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), 'subchannels' => array ( 'count' => 0, // How many subchannels 'name' => 'Podkanał [NUM]', // [NUM] - subchannel number 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 0, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), ), online_from_server_group function must be ON and get_server_group function must be ON add `'get_group_spacer' => true` if get group must be a spacer add `'online_group_spacer' => true` if online from group must be a spacer add `'get_group_subchannel' => true` if get group must be in the subchannel add `'online_group_subchannel' => true` if online from group must be in the subchannel *************************************/ '1' => array // Main channel ( 'spacer' => array ( 'name' => '[cspacer_p[NUM]]▪ Partner[[NUM]] ▪', // [NUM] - vip channel number 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 100, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), 'subchannels' => array ( 'count' => 0, // How many subchannels 'name' => 'Podkanał [NUM]', // [NUM] - subchannel number 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 0, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), ), '2' => array // Main channel ( 'spacer' => array ( 'name' => '[cspacer_p[NUM]]link', // [NUM] - vip channel number 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 100, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), 'subchannels' => array ( 'count' => 0, // How many subchannels 'name' => 'Podkanał [NUM]', // [NUM] - subchannel number 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 0, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), ), '3' => array // Main channel ( 'spacer' => array ( 'name' => '[cspacer_p[NUM]]regulamin', // [NUM] - vip channel number 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 0, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), 'subchannels' => array ( 'count' => 0, // How many subchannels 'name' => 'Podkanał [NUM]', // [NUM] - subchannel number 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 0, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), ), '4' => array ( 'spacer' => array ( 'name' => '[cspacer_p[NUM]]Administracja', // [NUM] - vip channel number 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 100, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), 'subchannels' => array ( 'count' => 5, // How many subchannels 'name' => 'Admin #[NUM]', // [NUM] - subchannel number 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 0, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), ), '5' => array ( 'spacer' => array ( 'name' => '[cspacer_p[NUM]]Centrum Pomocy', // [NUM] - vip channel number 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 100, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), 'subchannels' => array ( 'count' => 5, // How many subchannels 'name' => 'Centrum Pomocy #[NUM]', // [NUM] - subchannel number 'subchannels_red' => false, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 0, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), ), '6' => array ( 'spacer' => array ( 'name' => '[cspacer_p[NUM]]Sprawdzanie', // [NUM] - vip channel number 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 100, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), 'subchannels' => array ( 'count' => 3, // How many subchannels 'name' => '» Jestem sprawdzany [[NUM]]', // [NUM] - subchannel number 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited 'join_needed' => 0, // Join needed permission 'subscribe_needed' => 0, // Subscribe needed permission ), ), ), 'spacer_between' => array ( 'enabled' => true, 'spacer_name' => '[*spacerp[NUM]]...', 'join_needed' => 150, 'modify_needed' => 100, ), ), ), 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 10), ), // ENG [Information on channel about twitch/youtube channel] # PL [Informacje o kanale twitch/youtube] 'twitch_yt' => array ( 'enabled' => false, 'info' => array ( 'twitch_enabled' => true, 'twitch_api_key' => 'oaocbf2zpmv6807kp9jcxkwmcjvq5a', // you can change it if you want https://www.twitch.tv/settings/connections 'twitch' => array ( 'izakooo' => array //Twitch channel name ( 'main_channel' => array //Channel where will be description ( 'channel_id' => 23, 'channel_name' => '» [Twitch] izakooo [STATUS_TWITCH]', //[STATUS_TWITCH] - on live or no ), 'follows' => array //Channel where will be followers count in channel name ( 'channel_id' => 464, 'channel_name' => '» Followersów: [FOLLOWS]', //[FOLLOWS] - FOLLOWS count ), ), ), 'youtube_enabled' => true, 'youtube_api_key' => 'AIzaSyDSeoveGEL2Tycy3M2FBnf5uyPVlZk7et8', // YouTube api key 'youtube' => array ( /***************************************** 'UC-suExuAUNgJmyKcxA-PGzg' => array //YouTube channel id ( 'main_channel' => array //Channel where will be description and SUBS in channel name ( 'channel_id' => 0, //channel id 'channel_name' => '[ YouTuber ] Ramzes: [SUBS] subów', //[SUBS] - subscribers //[NAME] - youtuber nick ), 'videos_count' => array //Channel where will be Videos count in channel name ( 'channel_id' => 0, //channel id 'channel_name' => '» Filmów na kanale: [VIDEOS]', //[VIDEOS] - videos count ), 'views_count' => array //Channel where will be views count in channel name ( 'channel_id' => 0, //channel id 'channel_name' => '» Wyświetleń: [VIEWS]', //[VIEWS] - views count ), ), ******************************************/ 'UCSeqSPSJDl0EXezzjJrwQNg' => array //YouTube channel id ( 'main_channel' => array //Channel where will be description and SUBS in channel name ( 'channel_id' => 24, 'channel_name' => '» [YouTuber] izak LIVE: [SUBS] subów', //[SUBS] - subscribers //[NAME] - youtuber nick ), 'videos_count' => array //Channel where will be Videos count in channel name ( 'channel_id' => 25, 'channel_name' => '» Filmów na kanale: [VIDEOS]', //[VIDEOS] - videos count ), 'views_count' => array //Channel where will be views count in channel name ( 'channel_id' => 26, '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 'max_users' => 30, //max users in description 'info' => array ( /******************************* 233 => array // Channel ID ( 'server_groups' => array(10), // Server groups separated by comma 'show_description' => true, // Show users in description 'only_online' => true, // Show only online clients 'channel_name' => '[rspacer]Online z [SERVER_GROUP]: [ONLINE]/[MAX]', // Channel name 'top_description' => '| Lista osób z rangi: [SERVER_GROUP] |', // Top description ), *******************************/ /*168 => array ( 'server_groups' => array(13,14), 'show_description' => true, 'only_online' => false, 'channel_name' => '[rspacer]Online z [SERVER_GROUP]: [ONLINE]/[MAX]', 'top_description' => '| Lista osób z rangi: [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(0), //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 'poke_client' => false, //Poke client for example: You have just received clan group! 'verified_channel_group' => 13, //Only for channels from fucntion get_vip_channel and get_vip_channel_spacer 'quest_channel_group' => 15, //Only for channels from fucntion get_vip_channel and get_vip_channel_spacer 'info' => array ( //21410 => 227, //channel id => server group id //170 => 13, ), '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(155,163,162,158,240,276,277,278,279), //all checking client's server groups 'ignored_groups' => array(0), 'idle_time' => 1800, //idle time to have away status (in seconds) 'show_description' => true, //show description on channels 'status' => array ( 'online' => 'dostępny', 'offline' => 'niedostępny', 'away' => 'afk', ), '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) 'fb' => 'https://www.facebook.com/XBot-bot-na-tw%C3%B3j-serwer-TS3-1719172075053504/messages/', //If none set 0 'email' => 'battnik90@gmail.com', //If none set 0 ), ***************************************************************/ 1077 => array // client dbid => array ( 'channel_id' => 608, //channel id 'format' => '[NICK] - [STATUS]', //format on channel name [RANG] - server group name, [NICK] - client nick, [STATUS] - client status (online/away/offline) 'fb' => '0', 'email' => '0', ), 1822 => array // client dbid => array ( 'channel_id' => 822, //channel id 'format' => '[NICK] - [STATUS]', //format on channel name [RANG] - server group name, [NICK] - client nick, [STATUS] - client status (online/away/offline) 'fb' => '0', 'email' => '0', ), 1076 => array // client dbid => array ( 'channel_id' => 821, //channel id 'format' => '[NICK] - [STATUS]', //format on channel name [RANG] - server group name, [NICK] - client nick, [STATUS] - client status (online/away/offline) 'fb' => '0', 'email' => '0', ), ), 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 0), ), // ENG [Status sinusbot] # PL [Status sinusbotów] 'status_sinusbot' => array ( 'enabled' => false, 'channel_id' => 2200, 'bots_server_groups' => array(164), 'top_description' => '[img]https://i.imgur.com/cWwskNb.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' => 1029, 'channel_name' => '» Server Query online: [ONLINE]', //[ONLINE] - Server Query online 'top_description' => '[img]https://i.imgur.com/QdQgT6s.png[/img]', 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 30), ), // ENG [Ban list] # PL [Lista banów] 'ban_list' => array ( 'enabled' => false, 'channel_id' => 1030, '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' => 31, 'channel_name' => '» Fanpage (Likes: [LIKES])', //[LIKES] - likes count 'page_id' => '1719172075053504', //You can find it on website: https://findmyfbid.com/ 'access_token' => '', '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: 'cs16' - CS 1.6 server | 'csgo' - CS:GO server | 'minecraft' - Minecraft server All servers: https://github.com/Austinb/GameQ/tree/v3/src/GameQ/Protocols 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' => 'cs16', 'host' => '193.70.125.254:27030', 'channel_id' => 20922, 'channel_name' => 'Online: [CLIENTS_ONLINE] | Mapa: [MAP]', 'custom_server_name' => '0', // Set 0 if none ), ******************************************/ 0 => array ( 'type' => 'minecraft', 'host' => '91.134.209.194:25565', 'channel_id' => 33, 'channel_name' => '» MC ([CLIENTS_ONLINE]/[CLIENTS_MAX])', 'custom_server_name' => 'KRAINA MC', // Set 0 if none ), 1 => array ( 'type' => 'cs16', 'host' => '213.238.173.177:27015', 'channel_id' => 34, 'channel_name' => '» COD MOD ([CLIENTS_ONLINE]/[CLIENTS_MAX])', 'custom_server_name' => '0', // Set 0 if none ), ), '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' => false, 'channel_id' => 35, 'channel_name' => '» Osób online spoza Polski: [ONLINE]', //[ONLINE] online clients outside the specified country 'default_country' => 'PL', 'top_description' => 'Lista osób ONLINE spoza Polski', 'ignored_groups' => array(31,43), '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' => 36, 'channel_name' => '» Imieniny: [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' => 129, 'info' => array ( '[cspacer] TSowicze.pl' => "[center][img]https://i.imgur.com/oKhD1uM.png[/img][/center]", '[cspacer] Aplikacja XBot' => "[center][img]http://adamek-ts3.eu/png/Xbot.png[/img][hr][/center][center][size=15][b]Informacje[/b][/size][/center][hr] [list][*][size=10][b]Witam, chciałbym Wam zaprezentować bota pod serwery TS3 - [url=ts3server://xbot-ts3.pl]XBota.[/url][/list][list][*][B]Jest on zautomatyzowaną aplikacją napisaną od zera przeze mnie ([U][I] RazorMeister [/I][/U]). Posiada dużo pluginów, eventów i komend, które ułatwiają pracę zarówno administracji serwerów jak i ich użytkownikom. Więcej szczegółowych informacji dotyczących poszczególnych instancji jak i samych funkcji udzielę Na Ts3 IP: [url=ts3server://xbot-ts3.pl]XBot-Ts3.pl.[/url][/B][/list][list][*][size=10][B]Forum: [/B][url=https://tsforum.pl/xbot-bot-pod-tw%C3%B3j-serwer-teamspeak3-797/][B][XBOT] - Bot pod Twój serwer TeamSpeak3[/B][/url][/list][list][*][size=10][img]https://i.imgur.com/xcWAHb0.png[/img] [B]FB[/B]: [url=https://www.facebook.com/XBot-bot-na-tw%C3%B3j-serwer-TS3-1719172075053504/messages/][B]XBOT[/B][/url][/list][list][*][size=10][img]https://i.imgur.com/7zaoIAK.png[/img] [B]Email[/B]: [url=mailto:battnik90@gmail.com][B]battnik90@gmail.com[/B][/url] [hr][/list]", ), 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 0), ), // ENG [Generate cache] # PL [Generuj plik cache] 'generate_cache' => array ( 'enabled' => true, 'target_file' => '/var/www/html/vip/cache/cache.txt', 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5), ), // ENG [XBot info] # PL [Informacje od twórcy w opisie kanału] 'xbot_info' => array //Checking on the server every 15 minutes ( 'enabled' => false, 'channel_id' => 37, 'translate' => array ( 'enabled' => false, 'target_language' => 'en', // Type language code https://cloud.google.com/translate/docs/languages ), 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 30), ), // ENG [Get YT channel] # PL [Otrzymywanie kanału YouTube] 'get_yt_channel' => array // Db must be on ( 'enabled' => false, 'if_client_on_channel' => array(38), // all checking channels id 'if_on_channel' => 38, 'channel_group_id' => 12, // default channel admin group 'subchannels' => 5, // how many subchannels 'subchannels_red' => true, // true - max cleints = 0 | false - max clients = unlimited 'videos_count' => true, // create channel with information about videos count on yt channel 'views_count' => true, // create channel with information about views count on yt channel 'after_channel' => 79, // the first channel for example spacer 'spacer_between' => array ( 'enabled' => true, 'spacer_name' => '[*spacerYT[NUM]]___', 'join_needed' => 150, 'modify_needed' => 100, ), 'main_channel' => '[cspacer]■ [[NUM]] YT ■', // [NUM] - vip channel number 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 10,'seconds' => 0), ), // ENG [Away Group] # PL [Grupa away] 'away_group' => array ( 'enabled' => false, 'server_group_copy' => 318, 'min_idle_time' => 15*60, 'ignored_groups' => array(2,164), 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5), ), // ENG [Cache icons] # PL [Generuj ikonki do katalogu] 'cache_icons' => array ( 'enabled' => true, 'icons_path' => '/var/www/html/server_icons/', 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 5,'seconds' => 0), ), // ENG [Weather in cities] # PL [Pogoda w miastach] 'weather' => array ( 'enabled' => false, 'api_key' => '', //You can find api on website: openweathermap.org 'info' => array ( 39 => array ( 'country_code' => 'PL', //country code for example: Poland - PL 'city' => 'Warszawa', //without polish symbols 'channel_name' => '» Pogoda - [CITY]', //[CITY] - city name ), ), 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 5,'seconds' => 0), ), // ENG [Countdown] # PL [Odliczanie] 'countdown' => array ( 'enabled' => false, 'time_settings' => array('days' => true, 'hours' => true, 'minutes' => false), 'info' => array ( /************************************** '0' => array // Growing number: 0, 1, 2, etc ( 'channel_id' => 5761, 'channel_name' => 'Do wakacji [COUNT]', //[COUNT] - time to/from date 'date' => '22-06-2018 09:00', // Format: dd-mm-YYYY GG:MM for example: 22-06-2018 09:00 'count_type' => 'to_date', // Count type: 'to_date' (for example time to next event), 'from_date' (for example time from server start) ), ***************************************/ '0' => array ( 'channel_id' => 41, 'channel_name' => '» Do [COUNT]', //[COUNT] - time to/from date 'date' => '03-09-2018 09:00', // Format: dd-mm-YYYY GG:MM for example: 22-06-2018 09:00 'count_type' => 'to_date', // Count type: 'to_date' (for example time to next event), 'from_date' (for example time from server start) ), '1' => array ( 'channel_id' => 42, 'channel_name' => '» Od [COUNT]', //[COUNT] - time to/from date 'date' => '01-01-2018 09:00', // Format: dd-mm-YYYY GG:MM for example: 22-06-2018 09:00 'count_type' => 'from_date', // Count type: 'to_date' (for example time to next event), 'from_date' (for example time from server start) ), ), 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 5,'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' => true, // ENG [Connect message] # PL [Wiadomośc polaczenia] 'connect_message' => array ( 'enabled' => true, 'file' => 'include/cache/connect_message.txt', //file to connect message 'many_messages' => false, //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' => true, 'if_client_on_channel' => array(830,829), //all checking channels id 'register_groups' => array(159,157), //all register groups 'info' => array ( 830 => 157, //channel_id => server group id, 829 => 159, ), //Minimal time on server to be registered [Db connect must be on] 'min_time_on_server' => 60, //in minutes ), // ENG [Assign afk group] # PL [Przypisz grupę afk] 'afk_group' => array ( 'enabled' => false, 'afk_group' => 104, //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(41,9,25,61,67), 'ignored_channels' => array(), ), // ENG [Move afk clients to channel] # PL [Przenieś użytkowników afk na kanal] 'afk_move' => array ( 'enabled' => true, 'channel_id' => 1532, //afk channel id 'idle_time' => 3500, //in seconds 'move_if_away' => true, //move client if has away status 'move_if_muted'=> true, //move client if is muted 'move_back' => true, //if client no longer afk move him back (true or false) 'message_type' => 'none', //poke | message | none 'ignored_groups' => array(247,164,186), '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' => true, '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' => 155, 'ignored_dbid' => array(1077), 'give_back' => true, 'type' => 'ban', 'message' => 'Nie mozesz miec rangi Właściciel!', 'time' => 9999999, ), '1' => array ( 'group_id' => 280, 'ignored_dbid' => array(), 'give_back' => true, 'type' => 'ban', 'message' => 'Zostałeś zbanowany na 15 minut!', 'time' => 900, ), '2' => array ( 'group_id' => 233, 'ignored_dbid' => array(), 'give_back' => true, 'type' => 'ban', 'message' => 'Zostałeś zbanowany na 30 minut!', 'time' => 1800, ), '3' => array ( 'group_id' => 187, 'ignored_dbid' => array(), 'give_back' => true, 'type' => 'ban', 'message' => 'Zostałeś zbanowany na 1 godzine!', 'time' => 3600, ), '4' => array ( 'group_id' => 188, 'ignored_dbid' => array(), 'give_back' => true, 'type' => 'ban', 'message' => 'Zostałeś zbanowany na 6 godzin!', 'time' => 21600, ), '5' => array ( 'group_id' => 189, 'ignored_dbid' => array(), 'give_back' => true, 'type' => 'ban', 'message' => 'Zostałeś zbanowany na 12 godzin!', 'time' => 43200, ), '6' => array ( 'group_id' => 190, 'ignored_dbid' => array(), 'give_back' => true, 'type' => 'ban', 'message' => 'Zostałeś zbanowany na 24 godziny!', 'time' => 86400, ), '7' => array ( 'group_id' => 191, 'ignored_dbid' => array(), 'give_back' => true, 'type' => 'ban', 'message' => 'Zostałeś zbanowany pernametnie', 'time' => 99999999, ), ), ), // 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(9), 'type' => 'kick', //`ban`, `kick`, 'message' => 'Nie możesz nagrywać!', //message to the client; if `ban` or `kick` it's the reason 'time' => 60, //ban timeout ), // ENG [Anty VPN] # PL [Event przeciw VPN'om] 'anty_vpn' => array ( 'enabled' => false, 'X-Key' => '', // You can change at website `https://iphub.info/pricing` 'ignored_groups' => array(9,25,61,67,59), 'allowed_ips' => array('265.194.334.122'), //ignored ips in `'` for example: '127.0.0.1' separated by comma. Your IP, where xbot is, is included. '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(9,25,61,67,10,28), 'register_group' => 10, //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://xbot-ts3.pl.pl?addbookmark=xbot-ts3.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' => true, 'content' => array ( 'clock' => array //clock in channel name ( 'enabled' => false, 'channel_id' => 835, 'channel_name' => '[cspacer]♦> Aktualna Godzina : [CLOCK] <♦', // [CLOCK] = clock 'format' => 'G:i', // format G: hours, i: minutes, s: seconds ), 'date' => array //date in channel name ( 'enabled' => false, 'channel_id' => 658, 'channel_name' => '[cspacer]♦> Data : [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' => true, 'channel_id' => 835, 'channel_name' => '[cspacer]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, 'ignored_groups' => array(31,43), //ignored groups, not included in online number 'server_name' => 'TsHero.pl | online: [ONLINE]/[MAX_CLIENTS] | Brak IPLoggerów | Autorski', //[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' => 15), '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' => true, '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' => false, 'if_client_on_channel' => array(113,114), //all checking channels 'ignored_groups' => array(56), //if admin has this group, bot will not poke him 'ignored_group_if_on_channel' => array(43), //if client has this group, bot will not poke admins 'info' => array ( /************************* ### # poking server groups: channel_id => array(server_groups separated by comma), ### ### # poking client: channel_id => client_database_id, ### *************************/ 113 => array(9,25,61,67), 114 => array(9,25,61,67), ), '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]) 'kick_if_away' => true, //kick client if is away (muted microphone/headphones) 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 2), ), // ENG [Generate banner] # 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' => false, 'admins_online' => array //Liczba adminow online ( 'enabled' => true, 'admins_server_groups' => array(11,14,16,18,19,20,23), 'font' => 'calibri', 'color' => array(255, 255, 255), 'co-ordinates' => array(20,0,118,160), ), 'clients_online' => array //Klienci online ( 'enabled' => true, 'show_max_clients' => false, 'font' => 'calibri', 'color' => array(255, 255, 255), 'co-ordinates' => array(20,0,118,235), ), 'record_online' => array //Rekord online ( 'enabled' => true, 'font' => 'calibri', 'color' => array(255,255,255), 'co-ordinates' => array(20,0,770,160), ), 'clock' => array //Zegar ( 'enabled' => true, 'font' => 'calibri', 'color' => array(255, 255, 255), 'co-ordinates' => array(20,0,110,80), ), 'channels_count' => array //Liczba kanałów ( 'enabled' => false, 'font' => 'calibri', 'color' => array(255,255,255), 'co-ordinates' => array(20,0,500,300), ), 'name_day' => array //Imieniny ( 'enabled' => true, 'font' => 'calibri', 'color' => array(255,255,255), 'co-ordinates' => array(15,0,455,255), ), 'fanpage_likes' => array //Like'i z fanpage'a ( 'enabled' => true, 'page_id' => '1719172075053504', //You can find it on website: https://findmyfbid.com/ 'access_token' => '', 'font' => 'calibri', 'color' => array(255,255,255), 'co-ordinates' => array(20,0,770,80), ), 'uptime' => array //Uptime ( 'enabled' => false, 'font' => 'calibri', 'color' => array(255,255,255), 'co-ordinates' => array(20,0,300,300), ), 'date' => array //Data ( 'enabled' => true, 'font' => 'calibri', 'format' => 'd.m.Y', 'color' => array(255,255,255), 'co-ordinates' => array(20,0,765,240), ), 'image_file' => array('include/cache/banner.png', 'include/cache/banner1.png', 'include/cache/banner2.png', 'include/cache/banner3.png'), 'target_image_file' => '/var/www/html/banner.png', 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 10), ), // ENG [Host message] # PL [Wiadomość hosta] 'host_message' => array ( 'enabled' => false, 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 30), ), // 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 *********************************/ 48 => '» 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' => 49, 'channel_name' => '» Zarejestrowani użytkownicy: [REG]/[TOTAL]', //[REG] - registered users | [TOTAL] - total users in Db 'unregistered_group_id' => 11, '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' => false, 'if_client_on_channel' => array(50), '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(52), 'channel_id' => 51, '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' => 0,'seconds' => 5), ), // ENG [Check public zone] # PL [Sprawdzanie strefy kanałów publicznych] 'check_public_zone' => array ( 'enabled' => true, 'info' => array ( '0' => array // Growing number ( 'channels_zone' => 860, 'channel_name' => '» Kanał Publiczny #[NUM]', //[Num] channel number 'max_users' => 0, // 0 = unlimited 'mininum_channels' => 2, 'maximum_channels' => 25, 'icon_id' => 0, 'modify_power' => 85, //channel needed modify power 'desc' => '', ), '1' => array // Growing number ( 'channels_zone' => 732, 'channel_name' => '» Kanał Publiczny #[NUM]', //[Num] channel number 'max_users' => 2, // 0 = unlimited 'mininum_channels' => 2, 'maximum_channels' => 25, 'icon_id' => 0, 'modify_power' => 85, //channel needed modify power 'desc' => '', ), '2' => array // Growing number ( 'channels_zone' => 737, 'channel_name' => '» Kanał Publiczny #[NUM]', //[Num] channel number 'max_users' => 3, // 0 = unlimited 'mininum_channels' => 2, 'maximum_channels' => 25, 'icon_id' => 0, 'modify_power' => 85, //channel needed modify power 'desc' => '', ), '3' => array // Growing number ( 'channels_zone' => 742, 'channel_name' => '» Kanał Publiczny #[NUM]', //[Num] channel number 'max_users' => 4, // 0 = unlimited 'mininum_channels' => 2, 'maximum_channels' => 25, 'icon_id' => 0, 'modify_power' => 85, //channel needed modify power 'desc' => '', ), '4' => array // Growing number ( 'channels_zone' => 747, 'channel_name' => '» Kanał Publiczny #[NUM]', //[Num] channel number 'max_users' => 5, // 0 = unlimited 'mininum_channels' => 2, 'maximum_channels' => 25, 'icon_id' => 0, 'modify_power' => 85, //channel needed modify power 'desc' => '', ), ), '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' => false, 'if_client_on_channel' => array(53), //all channels 'info' => array ( /********************************** channel_id => array(ranks_to_clear), **********************************/ 53 => array(13,14,15,16,17,18,19,20,21,22,23,24), ), 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5), ), // ENG [Delete client permissions] # PL [Wyczyść pozwolenia klienta] 'delete_client_permissions' => array ( 'enabled' => false, 'ignored_groups' => array(9), //ignored server groups 'ignored_dbids' => array(1), //ignored database clients id 'ignored_perms' => array('i_icon_id'), //this perms won't be deleted 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 2), ), // ENG [Check clients on the same IP] # PL [Sprawdzanie użytkowników na tym samym ip] 'check_ip' => array ( 'enabled' => false, 'ignored_groups' => array(), 'max_users' => 4, // Max users on the same ip 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 10), ), // ENG [Check urls in the channel description] # PL [Sprawdzanie linków w opisach kanałów] 'check_description' => array ( 'enabled' => false, // Allowed links are in the file: include/cache/allowed_links.txt 'channels' => array(793), // Type only parent channels 'channel_info' => 0, // Info about not allowed links on channels 'check_vip_channels' => true, // true or false 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5), ), // ENG [Save channel edits logs in description] # PL [Zapisz logi edycji kanału w opisie] 'channels_edits' => array ( 'enabled' => false, 'zones' => array ( /********************* channel_id => array(checking_channels), *********************/ 54 => array(55,56), ), 'ignored_groups' => array(), 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5), ), // ENG [Fill channels' description when is empty] # PL [Wpisz opis do pustych kanałów] 'fill_empty_channels' => array ( 'enabled' => false, 'description' => "[hr][center][img]https://i.imgur.com/QNsSDKZ.png[/img][/center][hr]\n\n[center][size=12][b]Serwer supportowy i testowy aplikacji XBot.[/b][/size][/center]\n[hr]", 'needed_phrase' => "spacer", // Channel need this phrase in name 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 1,'minutes' => 0,'seconds' => 0), ), ); $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' => 1027, 'with_rang' => 156, //checking if client has one of these rangs 'channel_name' => '[cspacer] 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' => false, 'channel_id' => 1025, 'channel_name' => '» 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' => 10), ), // ENG [Top connections] # PL [Najwięcej polaczeń] 'top_connections' => array ( 'enabled' => true, 'channel_id' => 615, 'top_description' => '[img]https://i.imgur.com/MHn5vsW.png[/img]', 'records' => 15, //how many clients 'ignored_groups' => array(237,164,156), 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 3,'seconds' => 0), ), // ENG [Top connection time] # PL [Najdluższe polaczenia] 'top_connection_time' => array ( 'enabled' => true, 'channel_id' => 611, 'top_description' => '[img]https://i.imgur.com/u1SIoKo.png[/img]', 'records' => 15, //how many clients 'ignored_groups' => array(237,164,156), 'time_settings' => array('days' => true, 'hours' => true, 'minutes' => true), 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 3,'seconds' => 0), ), // ENG [Top client idle time] # PL [Najdluższy czas nieaktywności] 'top_idle_time' => array ( 'enabled' => false, 'channel_id' => 62, 'top_description' => '[img]https://i.imgur.com/82pPbKb.png[/img]', 'records' => 15, //how many clients 'ignored_groups' => array(31,43,156), 'time_settings' => array('days' => true, 'hours' => true, 'minutes' => true), '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' => 834, 'show_afk_time' => true, 'top_description' => '[img]https://i.imgur.com/cUSUxSr.png[/img]', 'records' => 15, //how many clients 'ignored_groups' => array(237,164,156), 'time_settings' => array('days' => true, 'hours' => true, 'minutes' => true), 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 3,'seconds' => 0), ), // ENG [Top week time spent on server] # PL [Ranking czasu spędzonego w danym tygodniu] 'top_week_time' => array ( 'enabled' => false, 'channel_id' => 833, 'show_afk_time' => true, 'top_description' => '[img]https://i.imgur.com/UzINIvA.png[/img]', 'records' => 15, //how many clients 'ignored_groups' => array(237,164,156), 'time_settings' => array('days' => true, 'hours' => true, 'minutes' => true), 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 3,'seconds' => 0), ), // ENG [Clients levels] # PL [Poziomy klientów] 'levels' => array ( 'enabled' => true, 'ignored_groups' => array(237,164,186,156), 'info' => array ( 169 => 1, //lvl group sgid => hours spent on server on which the rang will be given 170 => 8, 171 => 35, 172 => 55, 173 => 100, 174 => 145, 175 => 350, 176 => 555, 177 => 750, 178 => 975, 1097 => 1400, 1098 => 2000, 1099 => 2800, 1100 => 4500, 1101 => 6000, 1102 => 8760, ), 'all_levels_groups' => array(169,170,171,172,173,174,175,176,177,178), 'top_description' => '[img]https://i.imgur.com/Ai6624e.png[/img]', 'records' => 15, 'channel_id' => 1041, 'info_to_client' => 'pw', //Info to client | 'poke' / 'pw' / 'none' 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 3,'seconds' => 0), ), // ENG [Random group] # PL [Losowe grupy] 'random_group' => array ( 'enabled' => false, 'must_have_group' => array(10,28), 'ignored_groups' => array(31,43,9,25,61,67,30,81), 'random_groups' => array(30), 'time' => '1', //in days 'records' => 15, 'channel_id' => 66, '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' => false, 'admins_groups' => array(155,163,162,158,240,276,277,278,279), 'max_idle_time' => 300, //in seconds 'register' => array(159,157,164), 'support_channels' => array(628,1038,1036,1037), 'ignored_groups' => array(), //groups will not be counted to helped people 'ignored_channels' => array(), //channels where admins will not be check 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 0), //Default: 5 seconds ), // ENG [Write statistics of admins] # PL [Wypisz statystyki adminów] 'write_statistics' => array ( 'enabled' => false, 'admins_groups' => array(155,163,162,158,240,276,277,278,279), //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' => 604, ), 'timespent' => array ( 'top_description' => '[size=14][b]Statystyki administracji[/b][/size][size=13][b]\nSpędzony czas[/b][/size]', 'channelid' => 605, ), 'help_center' => array ( 'top_description' => '[size=14][b]Statystyki administracji[/b][/size][size=13][b]\nCentrum pomocy[/b][/size]', 'channelid' => 606, ), 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 0), ), // ENG [Actions logs in the channel description] # PL [Akcje serwera/bota w opisie kanału] 'actions_logs' => array ( 'enabled' => false, 'channel_id' => 1031, 'top_description' => 'Akcje Na Serwerze', 'records' => 30, 'show_id' => true, // Show action id 'info' => array ( /************************ 'function_name' => true/false, //enable if you want to see logs from this function DO NOT ADD FUNCTIONS! ************************/ //Instance I 'get_vip_channel' => true, 'get_yt_channel' => true, 'nicks_security' => true, //Instance II 'groups_assigner' => true, 'auto_register' => true, 'block_recording' => true, 'anty_vpn' => true, 'poke_admins' => true, //Instance III 'levels' => true, 'random_group' => true, //Instance IV 'get_private_channel' => true, 'channels_guard' => true, ), 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 15), ), // ENG [Server achievements] # PL [Osiągnięcia] 'achievements' => array ( 'enabled' => true, 'ignored_groups' => array(164,237,156,186), 'header_group' => 281, 'footer_group' => 0, 'info' => array ( 'connections' => array ( 'enabled' => true, 'header_group' => 0, 'groups' => array ( /******************** group_sgid => required_connections, *********************/ 282 => 100, 283 => 250, 284 => 500, 285 => 1000, 310 => 1500, ), ), 'time_spent' => array ( 'enabled' => true, 'header_group' => 286, 'groups' => array ( /******************** group_sgid => required_time_spent, *********************/ 287 => 10 * 60 * 60, 288 => 50 * 60 * 60, 289 => 100 * 60 * 60, 290 => 175 * 60 * 60, 311 => 350 * 60 * 60, 14845 => 750 * 60 * 60, 14846 => 1200 * 60 * 60, ), ), ), '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' => 793, //parent channel id 'empty_channel_topic' => '#free', //topic in empty channels 'free_channel_name' => 'Prywatny Kanał - Wolny', 'head_channel_admin_group' => 24, //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 'channel_groups' => array(25,35,36,32,31), //new date must be on, type groups which can update the date on the channel 'time_interval_warning' => 5, //days after which the channel name will be changed 'time_interval_delete' => 7, //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(641), //channel id 'sub_channels' => 2, //how many sub channels 'head_channel_admin_group' => 24, //main head channel admin group id 'needed_server_group' => array(159,157), //needed server group (you need one of them to get a private channel) 'message_type' => 'poke', //message type (poke or message) 'empty_channel_topic' => '#free', //topic in empty channels 'channels_zone' => 793, //parent channel id 'icon_id' => 0, 'subchannel_icon_id' => 0, 'needed_modify_power' => 50, //needed modify power on main channel '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' => 641, //channel id 'empty_channel_topic' => '#free', //topic in empty channels 'channels_zone' => 793, //parent channel id 'time_interval_delete' => 7, //days after which the channel will be deleted 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 2,'seconds' => 0), ), // ENG [Number of private channels in channel name] # PL [Ilość prywatnych kanalów w nazwie kanalu] 'private_channels_info' => array ( 'enabled' => false, 'empty_channel_topic' => '#free', //topic in empty channels 'channels_zone' => 185, //parent channel id 'total' => array ( 'enabled' => false, 'channel_id' => 22192, 'channel_name' => 'Kanalow prywatnych: [NUM]', //[NUM] - number of channels ), 'taken' => array ( 'enabled' => false, 'channel_id' => 22193, 'channel_name' => 'Zajete: [NUM]', //[NUM] - number of taken channels ), 'empty' => array ( 'enabled' => true, 'channel_id' => 73, 'channel_name' => 'Liczba 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 miliseconds] # PL [Interwal bota w milisekundach] 'bot_interval' => 100, //1000 = one second // ENG ['events_plugins' or 'commands' (default 'commands')] # PL ['events_plugins' lub 'commands' (domyślnie 'commands')] 'function_type' => 'commands', // ENG [Channel id for commands list] # PL [Id kanału do spisu komend] 'commands_list' => 325, ); $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(155), // 0 - all groups ), // ENG [Usage: !pwall-[message]] 'pwall' => array ( 'enabled' => true, 'privileged_groups' => array(155), // 0 - all groups ), // ENG [Usage: !pokeall-[message]] 'pokeall' => array ( 'enabled' => true, 'privileged_groups' => array(155), // 0 - all groups ), // ENG [Usage: !pwgroup-[sgid]-[message]] 'pwgroup' => array ( 'enabled' => true, 'privileged_groups' => array(155), // 0 - all groups ), // ENG [Usage: !pokegroup-[sgid]-[message]] 'pokegroup' => array ( 'enabled' => true, 'privileged_groups' => array(155), // 0 - all groups ), // ENG [Usage: !meeting] 'meeting' => array ( 'enabled' => true, 'privileged_groups' => array(155), // 0 - all groups 'admins_server_groups' => array(155,163,162,158,240,276,277,278,279), 'meeting_channel_id' => 401, ), // ENG [Usage: !clients] 'clients' => array //clients list ( 'enabled' => true, 'privileged_groups' => array(155), // 0 - all groups ), // ENG [Usage: !channels] 'channels' => array //channels list ( 'enabled' => true, 'privileged_groups' => array(155), // 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(155), // 0 - all groups ), // ENG [Usage: !ch-[client_dbid]-[subchannels]] 'ch' => array ( 'enabled' => true, 'privileged_groups' => array(155), // 0 - all groups 'head_channel_admin_group' => 24, //main head channel admin group id 'message_type' => 'poke', //message type (poke or message) 'empty_channel_topic' => '#free', //topic in empty channels 'channels_zone' => 793, //parent channel id ), // ENG [Usage: !mute-[client_dbid]-[time_in_seconds]] 'mute' => array //give user specified group on specified time in seconds ( 'enabled' => false, 'privileged_groups' => array(155), // 0 - all groups 'give_group' => 58, ), // ENG [Usage: !admin-[client_dbid]] || Database must be connect with 'admin' => array //show information about specified admin ( 'enabled' => true, 'privileged_groups' => array(155), // 0 - all groups 'admins_groups' => array(155,163,162,158,240,276,277,278,279), //all admins groups ), // ENG [Usage: !tpclient-[client_nick]] 'tpclient' => array //moving to specified client ( 'enabled' => true, 'privileged_groups' => array(155), // 0 - all groups ), // ENG [Usage: !tpchannel-[channel_name]] 'tpchannel' => array //moving to specified channel ( 'enabled' => true, 'privileged_groups' => array(155), // 0 - all groups ), // ENG [Usage: !gsecurity-[type]-[client_dbid]-[group_id] type=add or type=del 'gsecurity' => array //adding/del user to groups security function ( 'enabled' => true, 'privileged_groups' => array(155), // 0 - all groups 'admins_groups' => array(155,163,162,158,240,276,277,278,279), //all admins groups checking in groups_security event ), // ENG [Usage: !clientinfo-[client_dbid]] || Database must be connect with 'clientinfo' => array //show information about specified client ( 'enabled' => true, 'privileged_groups' => array(155), // 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 miliseconds] # PL [Interwal bota w milisekundach] 'bot_interval' => 100, //1000 = one second // 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' => false, /************************************** ENG [EVENTS] # PL [EVENTY] **************************************/ 'events' => true, // ENG [Live Help] # PL [Live Help] 'live_help' => array ( 'enabled' => true, 'support_channel_id' => 628, 'ignored_groups' => array(237), 'commands_enabled' => true, //if not registered commands !m, !k 'registration_groups' => array ( 'enabled' => true, 'min_time' => 0, //in minutes (DB must be on) 'man' => array ( 'sgid' => 157, //command - !m ), 'woman' => array ( 'sgid' => 159, //commdn - !k ), ), //!list, !add, !del 'server_groups' => array ( 'enabled' => true, 'info' => array ( /**************************************** '1' => array //growing number, for example 1, 2, 3... ( 'server_groups' => array(52,53,54,55,56), //server groups 'limit' => 1, //limit of checking groups 'name' => 'Grupy wiekowe', ), ****************************************/ '1' => array ( 'server_groups' => array(180,181,182,183,184,185), //checking server groups 'limit' => 1, //limit of checking groups 'name' => 'Grupy wiekowe', ), '2' => array ( 'server_groups' => array(230,224,225,231,226,229,232,227,228,222,223,221,220,219,241,242,243,217,214,216,213,215,212,211,210,204,207,209,205,208,203,202,201,206,200,199,198,197,299,196,270), //server groups 'limit' => 2, //limit of checking groups 'name' => 'Grupy 4Fun', ), '3' => array ( 'server_groups' => array(250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265), //server groups 'limit' => 1, //limit of checking groups 'name' => 'Grupy województw', ), ), ), //!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 tshero.pl\n", ), //!my_info 'client_info' => array ( 'enabled' => true, ), //!admin 'poke_admins' => array ( 'enabled' => true, 'ignored_groups' => array(0), 'ignored_channels' => array(), //channels where bot doesn't poke admins 'show_client_link' => true, //show client link ([url]) 'with_command' => array ( 'enabled' => true, 'commands' => array ( 'admin' => array ( 'description' => 'aby uzykać pomoc', 'admins_groups' => array(155,163,162,158,240,276,277,278,279), ), ), ), 'admins_groups' => array(155,163,162,158,240,276,277,278,279), //all admins groups 'poke_once' => true, //send one poke to admin (true) or more (false) 'poking_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5), //Only if poke_once = true ), //!channel 'get_private_channel' => array ( 'enabled' => true, 'sub_channels' => 2, //how many sub channels 'head_channel_admin_group' => 24, //main head channel admin group id 'message_type' => 'poke', //message type (poke or message) 'empty_channel_topic' => '#free', //topic in empty channels 'channels_zone' => 793, //parent channel id 'sb_delay' => 16, ), //`talking` sinusbot 'sinusbot' => array ( 'enabled' => false, 'host' => '', 'login' => 'xbot', 'password' => '', 'instance_uid' => '797c8296-4e1c-4216-90a1-e2249a244e3e', 'playlist_id' => '2e37640b-50e3-40bb-93d4-f057f436424c', 'bot_nick' => 'Asystent', 'queue_in_nick' => true, //Show in nick number of people in queue 'type' => 1, ), 'read_chat' => 1, //in seconds Default 1 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 0), //Default: 0 seconds ), ); $language['function']['down_desc'] = " [hr][right][size=9]Wygenerowane przez: [b][url=https://tshero.pl]TsHero.pl[/url]"; //Miało być tanio więc stopka siedzi tu. Kod i tak błaga o eutanazję więc stopka tu pasuje :) ?>
Optional Paste Settings
Category:
None
Cryptocurrency
Cybersecurity
Fixit
Food
Gaming
Haiku
Help
History
Housing
Jokes
Legal
Money
Movies
Music
Pets
Photo
Science
Software
Source Code
Spirit
Sports
Travel
TV
Writing
Tags:
Syntax Highlighting:
None
Bash
C
C#
C++
CSS
HTML
JSON
Java
JavaScript
Lua
Markdown (PRO members only)
Objective C
PHP
Perl
Python
Ruby
Swift
4CS
6502 ACME Cross Assembler
6502 Kick Assembler
6502 TASM/64TASS
ABAP
AIMMS
ALGOL 68
APT Sources
ARM
ASM (NASM)
ASP
ActionScript
ActionScript 3
Ada
Apache Log
AppleScript
Arduino
Asymptote
AutoIt
Autohotkey
Avisynth
Awk
BASCOM AVR
BNF
BOO
Bash
Basic4GL
Batch
BibTeX
Blitz Basic
Blitz3D
BlitzMax
BrainFuck
C
C (WinAPI)
C Intermediate Language
C for Macs
C#
C++
C++ (WinAPI)
C++ (with Qt extensions)
C: Loadrunner
CAD DCL
CAD Lisp
CFDG
CMake
COBOL
CSS
Ceylon
ChaiScript
Chapel
Clojure
Clone C
Clone C++
CoffeeScript
ColdFusion
Cuesheet
D
DCL
DCPU-16
DCS
DIV
DOT
Dart
Delphi
Delphi Prism (Oxygene)
Diff
E
ECMAScript
EPC
Easytrieve
Eiffel
Email
Erlang
Euphoria
F#
FO Language
Falcon
Filemaker
Formula One
Fortran
FreeBasic
FreeSWITCH
GAMBAS
GDB
GDScript
Game Maker
Genero
Genie
GetText
Go
Godot GLSL
Groovy
GwBasic
HQ9 Plus
HTML
HTML 5
Haskell
Haxe
HicEst
IDL
INI file
INTERCAL
IO
ISPF Panel Definition
Icon
Inno Script
J
JCL
JSON
Java
Java 5
JavaScript
Julia
KSP (Kontakt Script)
KiXtart
Kotlin
LDIF
LLVM
LOL Code
LScript
Latex
Liberty BASIC
Linden Scripting
Lisp
Loco Basic
Logtalk
Lotus Formulas
Lotus Script
Lua
M68000 Assembler
MIX Assembler
MK-61/52
MPASM
MXML
MagikSF
Make
MapBasic
Markdown (PRO members only)
MatLab
Mercury
MetaPost
Modula 2
Modula 3
Motorola 68000 HiSoft Dev
MySQL
Nagios
NetRexx
Nginx
Nim
NullSoft Installer
OCaml
OCaml Brief
Oberon 2
Objeck Programming Langua
Objective C
Octave
Open Object Rexx
OpenBSD PACKET FILTER
OpenGL Shading
Openoffice BASIC
Oracle 11
Oracle 8
Oz
PARI/GP
PCRE
PHP
PHP Brief
PL/I
PL/SQL
POV-Ray
ParaSail
Pascal
Pawn
Per
Perl
Perl 6
Phix
Pic 16
Pike
Pixel Bender
PostScript
PostgreSQL
PowerBuilder
PowerShell
ProFTPd
Progress
Prolog
Properties
ProvideX
Puppet
PureBasic
PyCon
Python
Python for S60
QBasic
QML
R
RBScript
REBOL
REG
RPM Spec
Racket
Rails
Rexx
Robots
Roff Manpage
Ruby
Ruby Gnuplot
Rust
SAS
SCL
SPARK
SPARQL
SQF
SQL
SSH Config
Scala
Scheme
Scilab
SdlBasic
Smalltalk
Smarty
StandardML
StoneScript
SuperCollider
Swift
SystemVerilog
T-SQL
TCL
TeXgraph
Tera Term
TypeScript
TypoScript
UPC
Unicon
UnrealScript
Urbi
VB.NET
VBScript
VHDL
VIM
Vala
Vedit
VeriLog
Visual Pro Log
VisualBasic
VisualFoxPro
WHOIS
WhiteSpace
Winbatch
XBasic
XML
XPP
Xojo
Xorg Config
YAML
YARA
Z80 Assembler
ZXBasic
autoconf
jQuery
mIRC
newLISP
q/kdb+
thinBasic
Paste Expiration:
Never
Burn after read
10 Minutes
1 Hour
1 Day
1 Week
2 Weeks
1 Month
6 Months
1 Year
Paste Exposure:
Public
Unlisted
Private
Folder:
(members only)
Password
NEW
Enabled
Disabled
Burn after read
NEW
Paste Name / Title:
Create New Paste
Hello
Guest
Sign Up
or
Login
Sign in with Facebook
Sign in with Twitter
Sign in with Google
You are currently not logged in, this means you can not edit or delete anything you paste.
Sign Up
or
Login
Public Pastes
Tttg
5 hours ago | 0.33 KB
OoT rando seed 6/6
5 hours ago | 68.46 KB
Symbol Dump for Discord
21 hours ago | 0.41 KB
tes
1 day ago | 0.02 KB
Untitled
1 day ago | 2.28 KB
GSA NS
1 day ago | 1.37 KB
WaterFul.m
MatLab | 1 day ago | 0.42 KB
WaterEmpty.m
MatLab | 1 day ago | 0.54 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!