Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?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' => '178.217.187.251',
- // 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' => '2hi4AkSZ',
- ),
- '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' => 'BardzoSilneH',
- // 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' => false, 'link' => 'http://panel.xbot-ts3.pl/website/?profile&dbid='),
- // ENG [Main admins databases] # PL [Database id głównych adminów]
- 'main_admins_dbid' => array(15,54,56),
- ),
- 'instances' => array
- (
- '1' => array //Aktualizator
- (
- 'enabled' => true,
- 'database_enabled' => true,
- 'bot_name' => 'XBOT ▪ Aktualizator',
- 'default_channel' => 156,
- ),
- '2' => array //Administrator
- (
- 'enabled' => true,
- 'database_enabled' => true,
- 'bot_name' => 'XBOT ▪ Administrator',
- 'default_channel' => 156,
- ),
- '3' => array //Database
- (
- 'enabled' => true,
- 'database_enabled' => true,
- 'bot_name' => 'XBOT ▪ Database',
- 'default_channel' => 156,
- ),
- '4' => array //Channels Guard
- (
- 'enabled' => true,
- 'database_enabled' => false,
- 'bot_name' => 'XBOT ▪ Channels guard',
- 'default_channel' => 156,
- ),
- '5' => array //Commander
- (
- 'enabled' => true,
- 'database_enabled' => true,
- 'bot_name' => 'XBOT ▪ Commander',
- 'default_channel' => 156,
- // ENG [Set individual ts3 login and password] # PL [Ustaw indywidualny login i hasło do ts3]
- 'individual_login' => array
- (
- 'enabled' => false,
- 'login' => '',
- 'password' => '',
- ),
- ),
- '6' => array //LiveHelp
- (
- 'enabled' => true,
- 'database_enabled' => true,
- 'bot_name' => 'XBOT ▪ LiveHelp',
- 'default_channel' => 156,
- // ENG [Set individual ts3 login and password] # PL [Ustaw indywidualny login i hasło do ts3]
- 'individual_login' => array
- (
- 'enabled' => true,
- 'login' => 'livehelp',
- 'password' => 'JqgSCMfr',
- ),
- ),
- ),
- ),
- );
- $config['instance']['1']['logs_system'] = array
- (
- /****************************************************************************
- ENG [LOGS SYSTEM] # PL [SYSTEM LOGÓW]
- ****************************************************************************/
- 'logs' => array
- (
- // ENG [Turn on/off logs system (true or false)] # PL [Włączenie lub wyłączenie systemu logów]
- 'enabled' => true,
- // ENG [Days, after which, log files will be deleted] # PL [Czas w dniach, po których pliki logów zostana usunięte]
- 'delete_interval' => '3',
- ),
- );
- $config['instance']['1']['options'] = array
- (
- /****************************************************************************
- ENG [INSTANCE OPTIONS] # PL [OPCJE INSTANCJI]
- ****************************************************************************/
- // ENG [Folder for functions containing all events and plugins] # PL [Folder w którym sa wszystkie eventy i pluginy]
- 'folder' => 'first_instance',
- // ENG [Bot interval in seconds] # PL [Interwal bota w sekundach]
- 'bot_interval' => 1,
- // ENG ['events_plugins' or 'commands' (default 'events_plugins')] # PL ['events_plugins' lub 'commands' (domyślnie 'events_plugins')]
- 'function_type' => 'events_plugins',
- );
- $config['instance']['1']['functions'] = array
- (
- /**************************************
- ENG [PLUGINS] # PL [PLUGINY]
- **************************************/
- 'plugins' => true,
- // ENG [Informing admins about upcoming meeting] # PL [Informowanie administracji o zbliżajacym się spotkaniu]
- 'admins_meeting' => array
- (
- 'enabled' => false,
- 'info' => array
- (
- 'admins_server_groups' => array(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' => false,
- 'ignored_groups' => array(9,25,61,67,43,31,62,31,43,111,136,187,2114), //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' => 2, // 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' => true,
- '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' => 286,
- 'ignored_groups' => array(),
- 'channel_name' => '[cspacer]» Online: [ONLINE] «', //[ONLINE] - online users
- 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
- ),
- // ENG [Record amount of clients online] # PL [Rekordowa ilośc użytkowników online]
- 'record_online' => array
- (
- 'enabled' => true,
- 'channel_id' => 18,
- 'channel_name' => 'cspacer]» Rekord serwera to: [RECORD] osób «', //[RECORD] - record online users
- 'show_history' => true,
- 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 20),
- ),
- // ENG [List of admins online] # PL [Lista adminów online]
- 'admin_list_online' => array
- (
- 'enabled' => true,
- 'channel_id' => 111,
- 'admins_server_groups' => array(26,29,28,30,31,33,32),
- 'ignored_groups' => array(122),
- 'channel_name' => '[cspacer]» Administratorzy Online: [ONLINE] «', //[ONLINE] - Admins online
- 'top_description' => 'Lista Administracji online',
- 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 15),
- ),
- // 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' => true, //enable admins count in description
- 'info' => array
- (
- 112 => array //channel id
- (
- 'admins_server_groups' => array(26,29,28,30,31,33,32),
- 'ignored_groups' => array(122),
- 'top_description' => '[img]https://i.imgur.com/onCuRVU.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' => 0,'seconds' => 15),
- ),
- // ENG [Change channel name] # PL [Zmiana nazwy kanalu]
- 'change_channel' => array
- (
- 'enabled' => true,
- 'channel_id' => 165,
- 'channel_name' => array
- (
- '[cspacer] Dziękujemy, że jesteś z nami',
- '[cspacer] Nasze IP się nie zmienia',
- '[cspacer] Witamy na GoTalk.PL',
- ),
- 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 45),
- ),
- // ENG [Multifunction] # PL [Wielofunkcyjnośc]
- 'multi_function' => array
- (
- 'enabled' => true,
- 'content' => array
- (
- 'total_ping' => array // ENG [server total ping in channel name] # PL [ping serwera w nazwie kanalu]
- (
- 'enabled' => true,
- 'channel_id' => 299,
- 'channel_name' => '» Średni ping wynosi: [PING] «', // [PING] = ping
- 'integer' => true, // true or false (ping in integer)
- ),
- 'packet_loss' => array // ENG [server packet loss in channel name] # PL [packet loss serwera w nazwie kanalu]
- (
- 'enabled' => false,
- 'channel_id' => 13,
- 'channel_name' => '[cspacer]» Packetloss wynosi: [PACKETLOSS]%', // [PACKETLOSS] = packetloss
- 'integer' => true, // true or false (packetloss in integer)
- ),
- 'channels_count' => array // ENG [channels count in channel name] # PL [ilosc kanalów w nazwie kanalu]
- (
- 'enabled' => true,
- 'channel_id' => 300,
- 'channel_name' => '[cspacer]» Kanałów ogółem: [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' => '[cspacer]» 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' => '[cspacer]» Danych pobranych: [DOWNLOAD]', // [DWONLOAD] = bytes download
- ),
- ),
- 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 15),
- ),
- // ENG [Support channels] # PL [Kanały pomocy]
- 'support_channels' => array
- (
- 'enabled' => true,
- 'content' => array
- (
- 'time_open' => array //Channels open at a specific time
- (
- /*'0' => array // growing number for example 1, 2, 3...
- (
- 'channelId' => 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' => 121, // channel id
- 'admin' => array(),
- 'channel_name_open' => '» Kanał Pomocy TeamSpeak [ON]', // channel name when opened
- 'channel_name_close' => '» Kanał Pomocy TeamSpeak [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' => true,
- 'if_client_on_channel' => array(129), // 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' => 129,
- 'server_group_copy' => 110, // server group to copy
- 'channel_group_id' => 13, // default channel admin group
- 'subchannels' => 8, // 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' => 15),
- ),
- // 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(21), // all checking channels id
- 'create_interval' => 1000000, // In miliseconds
- 'info' => array
- (
- 'Premium' => array //Zone name for example 'VIP' | 'GOLD'
- (
- 'if_on_channel' => 21,
- 'server_group_copy' => 57, // server group to copy
- 'channel_group_id' => 12, // default channel admin group
- 'after_channel' => 82, // the first channel for example spacer
- 'online_from_server_group_name' => '[rspacer] [SERVER_GROUP]: [ONLINE]/[MAX]', // [SERVER_GROUP] - group name, [ONLINE],
- 'spacers' => array
- (
- /*************************************
- '1' => array // Growing number
- (
- 'spacer' => array
- (
- 'name' => '[cspacer] [[NUM]] Premium', // [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] [[NUM]] Premium', // [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
- ),
- ),
- '2' => array // Main channel
- (
- 'spacer' => array
- (
- 'name' => '[rspacer[NUM]] Online z:', // [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_group_spacer' => true,
- ),
- '3' => array // Main channel
- (
- 'spacer' => array
- (
- 'name' => '[rspacer[NUM]] Nadaj grupe', // [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
- ),
- 'get_group_spacer' => true,
- ),
- '4' => array
- (
- 'spacer' => array
- (
- 'name' => '[lspacerzarzad[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' => 20, // Join needed permission
- 'subscribe_needed' => 50, // Subscribe needed permission
- ),
- ),
- '5' => array
- (
- 'spacer' => array
- (
- 'name' => '[lspacerkanaly[NUM]]Kanały', // [NUM] - vip channel number
- 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
- 'join_needed' => 10, // Join needed permission
- 'subscribe_needed' => 30, // Subscribe needed permission
- ),
- 'subchannels' => array
- (
- 'count' => 4, // How many subchannels
- 'name' => 'Kanał #[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
- ),
- ),
- ),
- 'spacer_between' => array
- (
- 'enabled' => true,
- 'spacer_name' => '[*spacerPremium[NUM]]___',
- 'join_needed' => 150,
- 'modify_needed' => 100,
- ),
- ),
- ),
- 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 15),
- ),
- // ENG [Information on channel about twitch/youtube channel] # PL [Informacje o kanale twitch/youtube]
- 'twitch_yt' => array
- (
- 'enabled' => true,
- 'info' => array
- (
- 'twitch_enabled' => 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(170), //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!
- 'add_channel_group' => array //Only for channels from fucntion get_vip_channel and get_vip_channel_spacer
- (
- 'enabled' => true,
- 'guest_channel_group' => 15, //default, guest channel group
- 'zones' => array
- (
- /**************
- 'zone_name' => 'channel_group',
- **************/
- 'VIP' => 13,
- 'Premium' => 16,
- ),
- ),
- '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' => true,
- 'server_groups_id' => array(9,25,61,67), //all checking client's server groups
- 'ignored_groups' => array(56),
- 'idle_time' => 1800, //idle time to have away status (in seconds)
- 'show_description' => true, //show description on channels
- 'status' => array
- (
- 'online' => 'online',
- 'offline' => 'offline',
- 'away' => 'away',
- ),
- '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
- ),
- ***************************************************************/
- 15 => array // client dbid => array
- (
- 'channel_id' => 98, //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/',
- 'email' => 'battnik90@gmail.com',
- ),
- 56 => array // client dbid => array
- (
- 'channel_id' => 99, //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/D0M1N000',
- 'email' => 'D0M1N0@o2.pl',
- ),
- 54 => array // client dbid => array
- (
- 'channel_id' => 100, //channel id
- 'format' => '[[RANG]] [NICK] - [STATUS]', //format on channel name [RANG] - server group name, [NICK] - client nick, [STATUS] - client status (online/away/offline)
- 'fb' => '0',
- 'email' => '0',
- ),
- 507 => array // client dbid => array
- (
- 'channel_id' => 273, //channel id
- 'format' => '[[RANG]] [NICK] - [STATUS]', //format on channel name [RANG] - server group name, [NICK] - client nick, [STATUS] - client status (online/away/offline)
- 'fb' => '0',
- 'email' => '0',
- ),
- 656 => array // client dbid => array
- (
- 'channel_id' => 101, //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/',
- 'email' => 'random@gmail.com',
- ),
- 19833 => array // client dbid => array
- (
- 'channel_id' => 25841, //channel id
- 'format' => '[[RANG]] [NICK] - [STATUS]', //format on channel name [RANG] - server group name, [NICK] - client nick, [STATUS] - client status (online/away/offline)
- 'fb' => '0',
- 'email' => '0',
- ),
- 1165 => array // client dbid => array
- (
- 'channel_id' => 27, //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/',
- 'email' => 'battnik90@gmail.com',
- ),
- ),
- 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 15),
- ),
- // ENG [Status sinusbot] # PL [Status sinusbotów]
- 'status_sinusbot' => array
- (
- 'enabled' => true,
- 'channel_id' => 28,
- 'bots_server_groups' => array(31),
- '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' => true,
- 'channel_id' => 29,
- 'channel_name' => '» Server Query online: [ONLINE]', //[ONLINE] - Server Query online
- 'top_description' => '[img]https://i.imgur.com/KCvBQlm.png[/img]',
- 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 20),
- ),
- // ENG [Ban list] # PL [Lista banów]
- 'ban_list' => array
- (
- 'enabled' => true,
- 'channel_id' => 30,
- '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' => true,
- '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' => true,
- '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' => true,
- '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' => true,
- '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' => true,
- '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' => false,
- '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' => true,
- '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' => true,
- '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' => true,
- 'server_group_copy' => 65,
- 'min_idle_time' => 5*60,
- 'ignored_groups' => array(41),
- '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' => true,
- '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' => true,
- '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' => true, //true if single line = one message || false for one message
- 'to_groups' => array(-1), //connect message to specified server_groups | set -1 to all server groups | set gorups_id separated by comma
- /************************************
- [CLIENT_IP] = Client nickname
- [CLIENT_NICK] = Client nickname
- [CLIENT_COUNTRY] = Client country
- [CLIENT_DBID] = Client databse id
- [CLIENT_VERSION] = Client TS3 version
- [CLIENT_CONNECTIONS] = Client total connections
- [CLIENT_PLATFORM] = Client platform
- [CLIENT_TOTALCONNECTIONS] = Client total connections
- [CLIENT_LASTCONNECTED] = Client lastconnected
- [CLIENT_AWAY_MESSAGE] = Client away message
- [CLIENT_CREATED] = Client created
- [CLIENT_ON_SERVER_FOR] = Client is with server for ... for example 2 days and 1 minute
- [SERVER_MAX_CLIENTS] = Server max clients
- [SERVER_ONLINE] = Online users
- [SERVER_CHANNELS] = Channel number
- [SERVER_ID] = Virtual server id
- [SERVER_PORT] = Server port
- [SERVER_NAME] = Server name
- [SERVER_VERSION] = Server version
- [SERVER_VUI] = Server unique identifier
- [SERVER_WELCOME_MESSAGE] = Virtualserver welcomemessage
- [SERVER_PLATFORM] = Server platform
- [SERVER_HOSTMESSAGE] = Server hostmessage
- [SERVER_UPTIME] = Server uptime
- *************************************/
- ),
- // ENG [Register groups assigner] # PL [Przypisywanie zarejestrowanych grup]
- 'groups_assigner' => array
- (
- 'enabled' => true,
- 'if_client_on_channel' => array(120,121), //all checking channels id
- 'register_groups' => array(10,28), //all register groups
- 'info' => array
- (
- 120 => 28, //channel_id => server group id,
- 121 => 10,
- ),
- //Minimal time on server to be registered [Db connect must be on]
- 'min_time_on_server' => 1, //in minutes
- ),
- // ENG [Assign afk group] # PL [Przypisz grupę afk]
- 'afk_group' => array
- (
- 'enabled' => true,
- 'afk_group' => 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' => 137, //afk channel id
- 'idle_time' => 2400, //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' => 'poke', //poke | message | none
- 'ignored_groups' => array(41,9,25,61,67),
- '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' => 9,
- 'ignored_dbid' => array(15),
- 'give_back' => true,
- 'type' => 'ban',
- 'message' => 'Nie mozesz miec rangi CEO!',
- 'time' => 9999999,
- ),
- '1' => array
- (
- 'group_id' => 25,
- 'ignored_dbid' => array(),
- 'give_back' => true,
- 'type' => 'kick',
- 'message' => 'Nie mozesz miec rangi Support!',
- 'time' => 5,
- ),
- '2' => array
- (
- 'group_id' => 61,
- 'ignored_dbid' => array(),
- 'give_back' => true,
- 'type' => 'kick',
- 'message' => 'Nie mozesz miec rangi TEST Support!',
- 'time' => 5,
- ),
- ),
- ),
- // ENG [Baning for having warning rangs] # PL [Ban za posiadanie X ostrzeżen]
- 'warning_ban' => array
- (
- 'enabled' => false,
- 'ban_time' => '1200', // in seconds
- 'ban_message' => 'Za duzo ostrzezen!',
- 'with_rang' => 212, // the last warning id, for example Warning #3 (if you have 3 warnings)
- 'warning_id' => array
- (
- 212, // the last warning id, for example Warning #3 (if you have 3 warnings)
- 146,
- 144,
- ),
- ),
- // ENG [Block recording users] # PL [Blokowanie użytkowników za nagrywanie]
- 'block_recording' => array
- (
- 'enabled' => true,
- 'ignored_groups' => array(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' => true,
- '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' => true,
- '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' => true,
- 'channel_id' => 45,
- 'channel_name' => '» Godzina : [CLOCK]', // [CLOCK] = clock
- 'format' => 'G:i', // format G: hours, i: minutes, s: seconds
- ),
- 'date' => array //date in channel name
- (
- 'enabled' => true,
- 'channel_id' => 46,
- 'channel_name' => '» 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' => 47,
- 'channel_name' => '» Dzisiaj jest : [DATE&CLOCK]', // [DATE&CLOCK] = date & clock
- 'format' => 'd-m-Y G:i', // format m: month numeric, M: month in words, d: day numeric, D: day in words, Y: year, G: hours, i: minutes, s: seconds
- ),
- ),
- 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 60),
- ),
- // ENG [Change server name] # PL [Zmiana nazwy serwera]
- 'change_server_name' => array
- (
- /****************************************
- DATE FORMAT
- m: month numeric,
- M: month in words,
- d: day numeric,
- D: day in words,
- Y: year,
- G: hours,
- i: minutes,
- s: seconds
- ****************************************/
- 'enabled' => true,
- 'ignored_groups' => array(31,43), //ignored groups, not included in online number
- 'server_name' => '© XBot™ | Serwer testowy | [ONLINE]/[MAX_CLIENTS]', //[ONLINE] - online users, [MAX_CLIENTS] - max clients, [DATE] - format higher, [%] %online
- 'format' => 'd-m-Y G:i',
- 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
- 'data' => '1970-01-01 00:00:00', //Do not change
- ),
- // ENG [Client platform] # PL [Platforma klienta]
- 'client_platform' => array
- (
- 'enabled' => false,
- 'ignored_groups' => array(0),
- 'windows_enabled' => false,
- 'windows_group' => 1044,
- 'linux_enabled' => false,
- 'linux_group' => 236,
- 'android_enabled' => 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' => true,
- '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' => true,
- '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' => true,
- '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' => true, //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' => true,
- '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' => true,
- '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' => 142,
- 'channel_name' => '» Kanał Publiczny #[NUM]', //[Num] channel number
- 'max_users' => 0, // 0 = unlimited
- 'mininum_channels' => 3,
- 'maximum_channels' => 25,
- 'icon_id' => 1655954911,
- 'modify_power' => 85, //channel needed modify power
- 'desc' => '[hr][center][size=15][b][COLOR=red]♠XBot-ts3.pl[/COLOR]♠[/b][/size]\n\n[b][size=12][color=#0039ac]§ Kanały publiczne[/size]\n\n1. Zakaz nagrywania rozmów na kanałach publicznych bez zgody Użytkowników, które na nim przesiadują. Nie\ntyczy się to kanałów, które posiadają zgodę na nagrywanie w opisie.\n2. Kanały publiczne są podzielone na te z limitem Użytkowników oraz na takie, które tego limitu nie posiadają.\n3. Łamanie zasad regulamin na kanałach publicznych skutkuje interwencją Administratora i\nwyrzuceniem danego Użytkownika z kanału.\n4. Kanały publiczne są w głównie przeznaczone dla Użytkowników, które nie posiadają własnego kanału.[/b]\n[hr]Copyrights © [b][COLOR=red]Tyralnia[/COLOR].pl[/b] 2017',
- ),
- '1' => array // Growing number
- (
- 'channels_zone' => 146,
- 'channel_name' => '» Kanał Publiczny #[NUM]', //[Num] channel number
- 'max_users' => 2, // 0 = unlimited
- 'mininum_channels' => 3,
- 'maximum_channels' => 25,
- 'icon_id' => 2681873579,
- 'modify_power' => 85, //channel needed modify power
- 'desc' => '[hr][center][size=15][b][COLOR=red]♠XBot-ts3.pl[/COLOR].pl♠[/b][/size]\n\n[b][size=12][color=#0039ac]§ Kanały publiczne[/size]\n\n1. Zakaz nagrywania rozmów na kanałach publicznych bez zgody Użytkowników, które na nim przesiadują. Nie\ntyczy się to kanałów, które posiadają zgodę na nagrywanie w opisie.\n2. Kanały publiczne są podzielone na te z limitem Użytkowników oraz na takie, które tego limitu nie posiadają.\n3. Łamanie zasad regulamin na kanałach publicznych skutkuje interwencją Administratora i\nwyrzuceniem danego Użytkownika z kanału.\n4. Kanały publiczne są w głównie przeznaczone dla Użytkowników, które nie posiadają własnego kanału.[/b]\n[hr]Copyrights © [b][COLOR=red]Tyralnia[/COLOR].pl[/b] 2017',
- ),
- '2' => array // Growing number
- (
- 'channels_zone' => 151,
- 'channel_name' => '» Kanał Publiczny #[NUM]', //[Num] channel number
- 'max_users' => 3, // 0 = unlimited
- 'mininum_channels' => 3,
- 'maximum_channels' => 25,
- 'icon_id' => 2457065219,
- 'modify_power' => 85, //channel needed modify power
- 'desc' => '[hr][center][size=15][b][COLOR=red]♠XBot-ts3.pl[/COLOR]♠[/b][/size]\n\n[b][size=12][color=#0039ac]§ Kanały publiczne[/size]\n\n1. Zakaz nagrywania rozmów na kanałach publicznych bez zgody Użytkowników, które na nim przesiadują. Nie\ntyczy się to kanałów, które posiadają zgodę na nagrywanie w opisie.\n2. Kanały publiczne są podzielone na te z limitem Użytkowników oraz na takie, które tego limitu nie posiadają.\n3. Łamanie zasad regulamin na kanałach publicznych skutkuje interwencją Administratora i\nwyrzuceniem danego Użytkownika z kanału.\n4. Kanały publiczne są w głównie przeznaczone dla Użytkowników, które nie posiadają własnego kanału.[/b]\n[hr]Copyrights © [b][COLOR=red]Tyralnia[/COLOR].pl[/b] 2017',
- ),
- '3' => array // Growing number
- (
- 'channels_zone' => 155,
- 'channel_name' => '» Kanał Publiczny #[NUM]', //[Num] channel number
- 'max_users' => 4, // 0 = unlimited
- 'mininum_channels' => 3,
- 'maximum_channels' => 25,
- 'icon_id' => 1722569469,
- 'modify_power' => 85, //channel needed modify power
- 'desc' => '[hr][center][size=15][b][COLOR=red]♠XBot-ts3.pl[/COLOR]♠[/b][/size]\n\n[b][size=12][color=#0039ac]§ Kanały publiczne[/size]\n\n1. Zakaz nagrywania rozmów na kanałach publicznych bez zgody Użytkowników, które na nim przesiadują. Nie\ntyczy się to kanałów, które posiadają zgodę na nagrywanie w opisie.\n2. Kanały publiczne są podzielone na te z limitem Użytkowników oraz na takie, które tego limitu nie posiadają.\n3. Łamanie zasad regulamin na kanałach publicznych skutkuje interwencją Administratora i\nwyrzuceniem danego Użytkownika z kanału.\n4. Kanały publiczne są w głównie przeznaczone dla Użytkowników, które nie posiadają własnego kanału.[/b]\n[hr]Copyrights © [b][COLOR=red]Tyralnia[/COLOR].pl[/b] 2017',
- ),
- '4' => array // Growing number
- (
- 'channels_zone' => 159,
- 'channel_name' => '» Kanał Publiczny #[NUM]', //[Num] channel number
- 'max_users' => 5, // 0 = unlimited
- 'mininum_channels' => 3,
- 'maximum_channels' => 25,
- 'icon_id' => 2194985460,
- 'modify_power' => 85, //channel needed modify power
- 'desc' => '[hr][center][size=15][b][COLOR=red]♠XBot-ts3.pl[/COLOR]♠[/b][/size]\n\n[b][size=12][color=#0039ac]§ Kanały publiczne[/size]\n\n1. Zakaz nagrywania rozmów na kanałach publicznych bez zgody Użytkowników, które na nim przesiadują. Nie\ntyczy się to kanałów, które posiadają zgodę na nagrywanie w opisie.\n2. Kanały publiczne są podzielone na te z limitem Użytkowników oraz na takie, które tego limitu nie posiadają.\n3. Łamanie zasad regulamin na kanałach publicznych skutkuje interwencją Administratora i\nwyrzuceniem danego Użytkownika z kanału.\n4. Kanały publiczne są w głównie przeznaczone dla Użytkowników, które nie posiadają własnego kanału.[/b]\n[hr]Copyrights © [b][COLOR=red]Tyralnia[/COLOR].pl[/b] 2017',
- ),
- ),
- 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5 ),
- ),
- // ENG [Clear clients ranks] # PL [Wyczyść rangi klienta]
- 'clear_ranks' => array
- (
- 'enabled' => true,
- 'if_client_on_channel' => array(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' => true,
- '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' => true,
- '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' => true,
- // Allowed links are in the file: include/cache/allowed_links.txt
- 'channels' => array(53), // Type only parent channels
- 'channel_info' => 565, // 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' => true,
- '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' => true,
- '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' => 58,
- 'with_rang' => 111, //checking if client has one of these rangs
- 'channel_name' => '» Nowi Użytkownicy: [NEW]', //[NEW] - how many new users
- 'top_description' => 'Nowi uzytkownicy dzisiaj',
- 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 0),
- ),
- // ENG [Visitors] # PL [Odwiedziny]
- 'visitors' => array
- (
- 'enabled' => true,
- 'channel_id' => 59,
- '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' => 60,
- 'top_description' => '[img]https://i.imgur.com/NmSPayJ.png[/img]',
- 'records' => 15, //how many clients
- 'ignored_groups' => array(31,43),
- 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 4,'seconds' => 0),
- ),
- // ENG [Top connection time] # PL [Najdluższe polaczenia]
- 'top_connection_time' => array
- (
- 'enabled' => true,
- 'channel_id' => 61,
- 'top_description' => '[img]https://i.imgur.com/4yqtJYd.png[/img]',
- 'records' => 15, //how many clients
- 'ignored_groups' => array(31,43),
- 'time_settings' => array('days' => true, 'hours' => true, 'minutes' => true),
- 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 4,'seconds' => 0),
- ),
- // ENG [Top client idle time] # PL [Najdluższy czas nieaktywności]
- 'top_idle_time' => array
- (
- 'enabled' => true,
- 'channel_id' => 62,
- 'top_description' => '[img]https://i.imgur.com/82pPbKb.png[/img]',
- 'records' => 15, //how many clients
- 'ignored_groups' => array(31,43),
- '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' => 63,
- 'show_afk_time' => true,
- 'top_description' => '[img]https://i.imgur.com/zjtZ2bf.png[/img]',
- 'records' => 15, //how many clients
- 'ignored_groups' => array(31,43),
- 'time_settings' => array('days' => true, 'hours' => true, 'minutes' => true),
- 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 4,'seconds' => 0),
- ),
- // ENG [Top week time spent on server] # PL [Ranking czasu spędzonego w danym tygodniu]
- 'top_week_time' => array
- (
- 'enabled' => true,
- 'channel_id' => 64,
- 'show_afk_time' => true,
- 'top_description' => '[img]https://i.imgur.com/eSQHozj.png[/img]',
- 'records' => 15, //how many clients
- 'ignored_groups' => array(31,43),
- 'time_settings' => array('days' => true, 'hours' => true, 'minutes' => true),
- 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 4,'seconds' => 0),
- ),
- // ENG [Clients levels] # PL [Poziomy klientów]
- 'levels' => array
- (
- 'enabled' => true,
- 'ignored_groups' => array(31,43,11),
- 'info' => array
- (
- 48 => 1, //lvl group sgid => hours spent on server on which the rang will be given
- 49 => 5,
- 50 => 10,
- 51 => 15,
- 52 => 20,
- 53 => 30,
- 54 => 40,
- 76 => 100,
- 77 => 200,
- 78 => 10000,
- ),
- 'all_levels_groups' => array(48,49,50,51,52,53,54,76,77,78),
- 'top_description' => '[img]https://i.imgur.com/58vTGHg.png[/img]',
- 'records' => 10,
- 'channel_id' => 65,
- 'info_to_client' => 'pw', //Info to client | 'poke' / 'pw' / 'none'
- 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 4,'seconds' => 0),
- ),
- // ENG [Random group] # PL [Losowe grupy]
- 'random_group' => array
- (
- 'enabled' => true,
- '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' => true,
- 'admins_groups' => array(9,25,61,67),
- 'max_idle_time' => 300, //in seconds
- 'register' => array(10,28),
- 'support_channels' => array(113,114),
- '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' => 0,'seconds' => 5), //Default: 5 seconds
- ),
- // ENG [Write statistics of admins] # PL [Wypisz statystyki adminów]
- 'write_statistics' => array
- (
- 'enabled' => true,
- 'admins_groups' => array(9,25,61,67), //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' => 68,
- ),
- 'timespent' => array
- (
- 'top_description' => '[size=14][b]Statystyki administracji[/b][/size][size=13][b]\nSpędzony czas[/b][/size]',
- 'channelid' => 69,
- ),
- 'help_center' => array
- (
- 'top_description' => '[size=14][b]Statystyki administracji[/b][/size][size=13][b]\nCentrum pomocy[/b][/size]',
- 'channelid' => 70,
- ),
- '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' => true,
- 'channel_id' => 71,
- '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(31,43,11),
- 'header_group' => 84,
- 'footer_group' => 85,
- 'info' => array
- (
- 'connections' => array
- (
- 'enabled' => true,
- 'header_group' => 99,
- 'groups' => array
- (
- /********************
- group_sgid => required_connections,
- *********************/
- 86 => 10,
- 87 => 50,
- 88 => 100,
- 89 => 150,
- 90 => 200,
- 91 => 1000,
- ),
- ),
- 'time_spent' => array
- (
- 'enabled' => true,
- 'header_group' => 100,
- 'groups' => array
- (
- /********************
- group_sgid => required_time_spent,
- *********************/
- 92 => 10 * 60 * 60,
- 93 => 50 * 60 * 60,
- 94 => 100 * 60 * 60,
- 95 => 150 * 60 * 60,
- 96 => 200 * 60 * 60,
- 97 => 1000 * 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' => 185, //parent channel id
- 'empty_channel_topic' => '#free', //topic in empty channels
- 'free_channel_name' => 'Prywatny Kanał - Wolny',
- 'head_channel_admin_group' => 12, //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(12, 13), //new date must be on, type groups which can update the date on the channel
- 'time_interval_warning' => 4, //days after which the channel name will be changed
- 'time_interval_delete' => 6, //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' => 1547656004,
- ),
- '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(123), //channel id
- 'sub_channels' => 2, //how many sub channels
- 'head_channel_admin_group' => 12, //main head channel admin group id
- 'needed_server_group' => array(10,28), //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' => 185, //parent channel id
- 'icon_id' => 968796862,
- 'subchannel_icon_id' => 968796862,
- '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' => 73, //channel id
- 'empty_channel_topic' => '#free', //topic in empty channels
- 'channels_zone' => 185, //parent channel id
- 'time_interval_delete' => 6, //days after which the channel will be deleted
- 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 5,'seconds' => 0),
- ),
- // ENG [Number of private channels in channel name] # PL [Ilość prywatnych kanalów w nazwie kanalu]
- 'private_channels_info' => array
- (
- 'enabled' => true,
- 'empty_channel_topic' => '#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(9,25), // 0 - all groups
- ),
- // ENG [Usage: !pwall-[message]]
- 'pwall' => array
- (
- 'enabled' => true,
- 'privileged_groups' => array(9,25), // 0 - all groups
- ),
- // ENG [Usage: !pokeall-[message]]
- 'pokeall' => array
- (
- 'enabled' => true,
- 'privileged_groups' => array(9,25), // 0 - all groups
- ),
- // ENG [Usage: !pwgroup-[sgid]-[message]]
- 'pwgroup' => array
- (
- 'enabled' => true,
- 'privileged_groups' => array(9,25), // 0 - all groups
- ),
- // ENG [Usage: !pokegroup-[sgid]-[message]]
- 'pokegroup' => array
- (
- 'enabled' => true,
- 'privileged_groups' => array(9,25), // 0 - all groups
- ),
- // ENG [Usage: !meeting]
- 'meeting' => array
- (
- 'enabled' => true,
- 'privileged_groups' => array(9,25), // 0 - all groups
- 'admins_server_groups' => array( 9,25,61,67),
- 'meeting_channel_id' => 98,
- ),
- // ENG [Usage: !clients]
- 'clients' => array //clients list
- (
- 'enabled' => true,
- 'privileged_groups' => array(9,25), // 0 - all groups
- ),
- // ENG [Usage: !channels]
- 'channels' => array //channels list
- (
- 'enabled' => true,
- 'privileged_groups' => array(9,25), // 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(9,25), // 0 - all groups
- ),
- // ENG [Usage: !ch-[client_dbid]-[subchannels]]
- 'ch' => array
- (
- 'enabled' => true,
- 'privileged_groups' => array(9,25), // 0 - all groups
- 'head_channel_admin_group' => 12, //main head channel admin group id
- 'message_type' => 'poke', //message type (poke or message)
- 'empty_channel_topic' => '#free', //topic in empty channels
- 'channels_zone' => 185, //parent channel id
- ),
- // ENG [Usage: !mute-[client_dbid]-[time_in_seconds]]
- 'mute' => array //give user specified group on specified time in seconds
- (
- 'enabled' => true,
- 'privileged_groups' => array(9,25), // 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(9,25), // 0 - all groups
- 'admins_groups' => array( 9,25,61,67), //all admins groups
- ),
- // ENG [Usage: !tpclient-[client_nick]]
- 'tpclient' => array //moving to specified client
- (
- 'enabled' => true,
- 'privileged_groups' => array(9,25), // 0 - all groups
- ),
- // ENG [Usage: !tpchannel-[channel_name]]
- 'tpchannel' => array //moving to specified channel
- (
- 'enabled' => true,
- 'privileged_groups' => array(9,25), // 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(9), // 0 - all groups
- 'admins_groups' => array( 9,25,61,67), //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(9,25), // 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' => 112,
- 'ignored_groups' => array(43),
- 'commands_enabled' => true,
- //if not registered commands !m, !k
- 'registration_groups' => array
- (
- 'enabled' => true,
- 'min_time' => 5, //in minutes (DB must be on)
- 'man' => array
- (
- 'sgid' => 10,
- //command - !m
- ),
- 'woman' => array
- (
- 'sgid' => 28,
- //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(36,37,38,39,40), //checking server groups
- 'limit' => 1, //limit of checking groups
- 'name' => 'Grupy wiekowe',
- ),
- '2' => array
- (
- 'server_groups' => array(13,14,15,16,17,18,19,20,21,22,23,24), //server groups
- 'limit' => 2, //limit of checking groups
- 'name' => 'Grupy 4Fun',
- ),
- '3' => array
- (
- 'server_groups' => array(69,70,71,72,73,74,75,119,120,121,122,123,124,125,126,127,128), //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 XBot-ts3.pl\n",
- ),
- //!my_info
- 'client_info' => array
- (
- 'enabled' => true,
- ),
- //!admin
- 'poke_admins' => array
- (
- 'enabled' => true,
- 'ignored_groups' => array(56),
- '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(9),
- ),
- 'groups' => array
- (
- 'description' => 'aby zmienić grupy',
- 'admins_groups' => array(9),
- ),
- ),
- ),
- 'admins_groups' => array(9), //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' => false,
- 'sub_channels' => 2, //how many sub channels
- 'head_channel_admin_group' => 12, //main head channel admin group id
- 'message_type' => 'poke', //message type (poke or message)
- 'empty_channel_topic' => '#free', //topic in empty channels
- 'channels_zone' => 185, //parent channel id
- 'sb_delay' => 16,
- ),
- //`talking` sinusbot
- 'sinusbot' => array
- (
- 'enabled' => true,
- 'host' => 'http://127.0.0.1:8087',
- 'login' => 'admin',
- 'password' => '',
- 'instance_uid' => 'aa910e67-895f-43cc-9824-402ac5b5cac8',
- 'playlist_id' => 'abf4d0fb-725b-4311-9630-442fff63d112',
- 'bot_nick' => 'XBot',
- '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
- ),
- );
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement