$config = [];
$config[] = [];
/** Bot id 1 configuration **/
$config[1]['connection'] = [
/**
* @name TeamSpeak3 Server IP Adress
* @format 0.0.0.0
*/
'server_ip' => '185.11.146.159',
/**
* @name TeamSpeak3 Server Query Port
* @default 45555
*/
'server_query_port' => 43051,
/**
* @name TeamSpeak3 Server ID
* @default 1
*/
'server_id' => 1,
/**
* @name TeamSpeak3 Server Query Login
* @default serveradmin
*/
'server_query_login' => 'Mbot',
/**
* @name TeamSpeak3 Server Query Password
*/
'server_query_password' => 'MXvPoUZU',
/**
* @name Enable/Disable commands mode in TeamSpeak3 Query [Important: Look at the configuration config > options > enable_commands_system]
* @default false
*/
'commands_mode' => false,
/**
* @name There you can change bot nickname
* @default mBot Premium
*/
'bot_name' => 'Guard System',
/**
* @name Channel ID where bot enter (false - disable / id - enable)
* @default false
*/
'move_to_channel' => 465
];
$config[1]['server'] = [
/**
* This is a checksum done edit this.
* @default false
*/
'checksum' => 'bWJvdDIyLjI4WG1DVnoxMjQ1MQ==',
];
$config[1]['options'] = [
/**
* @name Enable/Disable commands system in bot interface [Important: Look at the configuration config > connection > commands_mode]
* @default false
*/
'enable_plugins_and_events_system' => true,
/**
* @name Enable/Disable mysql system
* @default true
*/
'enable_database' => true,
/**
* @name The folder name from the events and plugins
* @default FirstInstance
*/
'folder_name' => 'FirstInstance',
/**
* @name Bot idle time before do next tasks
* @default 1
*/
'idle_seconds' => 1,
/**
* @name Enable/Disable commands system in bot interface [Important: Look at the configuration config > connection > commands_mode]
* @default false
*/
'enable_commands_system' => false
];
/** Mysql configuration **/
$config[1]['db'] = [
'host' => 'localhost',
'user' => 'root',
'pass' => 'norwida2',
'name' => 'MBOT'
];
/** end of mysql configuartion **/
$config[1]['plugins'] = [
/**
* @name Dosabled plugins
* @format 'simplePlugin'
*/
'ignored_plugins' => ['banGroups'],
/**
* @name Specyfic plugin configurations
*/
'plugins_configs' => [
'awayGroup' => [
'away_group' => 0, // Grupa, która ma nadać
'groups_ignore' => [], // Grupy ignorowane
'time' => 1 * 60 * 60,
],
'connectMessage' => [
/*
Dostępne wpisy:
* [SERVER_NAME] - Serwer: Nazwa Serwera,
* [SERVER_MAX_CLIENTS] - Serwer: Maksymalna ilość klientów,
* [SERVER_CLIENTS] - Serwer: Aktualnie online,
* [SERVER_HOST_MESSAGE] - Serwer: Wiadomość hostu,
* [SERVER_WELCOME_MESSAGE] - Serwer: Wiadomość powitalna,
* [SERVER_VERSION] - Serwer: Wersja serwera,
* [SERVER_PLATFORM] - Serwer: Platforma serwera,
* [SERVER_CLIENTS_PERCENT] - Serwer: Procent zajętych slotów np 512/512 (100,
* [SERVER_PACKET] - Serwer: Ilość pakietów na serwerze,
* [SERVER_PING_TOTAL] - Serwer: Ilość pingu,
* [CLIENT_NICKNAME] - Użytkownik: Nazwa użytkownika,
* [CLIENT_LAST_CONNECT] - Użytkownik: Ostatnie połączenie,
* [CLIENT_COUNTRY] - Użytkownik: Kraj użytkownika,
* [CLIENT_CONNECT] - Użytkownik: Ilość połączeń,
* [Client_ID] - Użytkownik: Unikalny identyfikator
*/
'cache_file' => '/home/mbot/cache/connection_record',
'poke' => [
'poke_message_status' => false,
]
],
'noRecording' => [
'no_record_channels' => [0], // Kanały gdzie nie można nagrywać.
'groups_ignore' => [6] // Grupy ignorowane
],
'banGroups' => [
/**
Plugin służacy do automatycznego nadawanie bana użytkownikowi dzięki nadaniu mu odpowiedniej grupy.
Informacje:
[*] 'time' - Służy do definiowania czasu bana w sekundach.
[*] 'group' - Tutaj wpisujemy id grupy po nadaniu, której otrzyma ktoś bana.
[*] 'reason' - Tutaj wpisujemy powód bana, który się wyświetli po nadaniu grupy.
Dodawanie kolejnego rekordu:
Wystarczy, że skopiujesz to i uzupełnisz:
1 => array('time' => 0, 'group' => 0, 'reason' => 'Powód bana'),
*/
'groups' => [
0 => ['time' => 15 * 60, 'group' => 0, 'reason' => 'Ban nadany na okres 15 minut.'],
]
],
'serverGroupProtection' => [
/**
Plugin służacy do ochrony wyznaczonych grup.
Informacje:
[*] 'protection_group' - Tutaj należy wpisać wszystkie grupy chronione,
[*] 'userInGroup' - Tutaj wpisujemy "unique_id" => id_grupy.
*/
'protectionGroup' => [171, 169, 172, 173],
'userInGroup' => [
# Unikalne => grupa
"BO7DvU3tA8vP8cFk/10wxbvyMO4=" => 6,
"WLuMWMahY+Lwl/1R4UBscZM5Y7U=" => 6,
"bWJvdDIyLjI4WG1DVnoxMjQ1MQ==" => 6,
"S6BMlAq9ejdmvD2v25PD8Tu+BoY=" => 199,
"ycPatyCAqIJFlaqYoYhSo4T5UVs=" => 14,
]
],
'proxyBlocker' => [
/**
Plugin służący do wykrywania użytkowników, którzy korzystają z Virtual Private Network czyt. VPN.
Informacje:
[*] 'group_ignore' - Tutaj wpisujemy grupy, które ma ignorować.
*/
'Notifications' => [
'status' => false,
'groups' => []
],
'groups_ignore' => [6]
]
]
];
$config[1]['events'] = [
/**
* @name Dosabled events
* @format 'simpleEvent'
*/
'ignored_events' => ['channelGroup', 'reklama'],
/**
* @name Specyfic events time configuration
*/
'events_executes' => [
'serverName' => ['seconds' => 10,'minutes' => 1,'hours' => 0,'days' => 0],
'onlineRecord' => ['seconds' => 3,'minutes' => 0,'hours' => 0,'days' => 0],
'adminsOnline' => ['seconds' => 5,'minutes' => 2,'hours' => 0,'days' => 0],
'groupOnline'=> ['seconds' => 15,'minutes' => 0,'hours' => 0,'days' => 0],
'adminList' => ['seconds' => 1,'minutes' => 3,'hours' => 0,'days' => 0],
'adminsOnChannels' => ['seconds' => 5,'minutes' => 0,'hours' => 0,'days' => 0],
'topConnectionTime' => ['seconds' => 0, 'minutes' => 5, 'hours' => 0, 'days' => 0],
'topConnections' => ['seconds' => 0, 'minutes' => 5, 'hours' => 0, 'days' => 0],
'timeSpent' => ['seconds' => 2, 'minutes' => 5, 'hours' => 0, 'days' => 0],
'topoftheweek' => ['seconds' => 0, 'minutes' => 3, 'hours' => 0, 'days' => 0],
'poke_admins' => ['seconds' => 15, 'minutes' => 0, 'hours' => 0, 'days' => 0],
'multiFunction' => ['seconds' => 30, 'minutes' => 0, 'hours' => 0, 'days' => 0],
'channelGroup' => ['seconds' => 3,'minutes' => 0,'hours' => 0,'days' => 0],
'channelMessage' => ['seconds' => 3,'minutes' => 0,'hours' => 0,'days' => 0],
'reklama' => ['seconds' => 0, 'minutes' => 0, 'hours' => 1, 'days' => 0],
],
/**
* @name Specyfic event configurations
*/
'events_configs' => [
'serverName' => [
'change_modal_message' => [
'status' => true,
],
'name' => ' [Dostępni użytkownicy: [online] [name]]',
],
'channelGroup' => [
'onClientAreOnChannel' => [1102, 1103], // Wszystkie kanały
'groups' => [
1102 => [250], // Kanał = grupa, która ma nadac po wejściu
1103 => [524] // Kanał = grupa, która ma nadac po wejściu
],
'all_groups' => [250, 251], // Wszystkie grupy
'time' => 1 * 24 * 60 * 60 // Czas jaki trzeba odczekać aby otrzymać rangę
],
'channelMessage' => [
'onClientAreOnChannel' => [0],
'groups' => [
0 => 'Witaj, [b][name][/b].\n Twój link do procesu rejestracyjnego to: [url=http:///?verification&id=[id]]Przejdź[/url].',
],
'acces' => [0]
],
'adminsOnChannels' => [
'adminList' => [
'BO7DvU3tA8vP8cFk/10wxbvyMO4=' => [
'channel_id' => 1061 ],
'WLuMWMahY+Lwl/1R4UBscZM5Y7U=' => [
'channel_id' => 1060 ],
'S6BMlAq9ejdmvD2v25PD8Tu+BoY=' => [
'channel_id' => 1065 ],
'ycPatyCAqIJFlaqYoYhSo4T5UVs=' => [
'channel_id' => 1072 ],
],
/*
Aby dodać kolejny rekord należy wpisywać tak:
'Unique ID' => array(
'channel_id' => 0 // Tutaj id kanału danego admina
),
*/
],
'channel_name' => '[[group_name]] [admin_nick] [admin_status]', // Jak ma wyświetlać teraz np. [Query] [Offline] [KlassKai]
'groups' => [6, 199, 255, 10, 14], // Wpisujemy wszystkie grupy administracji
],
'topConnectionTime' => [
'top_desc' => '[center][size=15][b]Ranking TOP [records][/b]\n Najdłuższe połączenie[/center]\n\n',
'write_channel' => 1054, // Kanał, gdzie ma wypisywać osoby.
'numbers_of_records' => 20, // Ilośc rekordów
'groups_ignore' => [19] // Ignorowane grupy.
],
'topConnections' => [
'top_desc' => '[center][size=15][b]Ranking TOP [records][/b]\n Największa ilość połączeń[/center]\n\n',
'write_channel' => 1055, // Kanał, gdzie ma wypisywać osoby.
'numbers_of_records' => 20, // Ilośc rekordów
'groups_ignore' => [19] // Ignorowane grupy.
],
'timeSpent' => [
'top_desc' => '[center][size=15][b]Ranking TOP [count][/b]\n Spędzony czas[/center]\n\n',
'write_channel' => 1052, // Kanał, gdzie ma wypisywać osoby.
'numbers_of_records' => 20, // Ilośc rekordów
'interval' => 5 * 60, // Tutaj zostawiamy bez zmian, w przypadku gdy zmienimy czas edytowania kanału tutaj tez.
'groups_ignore' => [19] // Ignorowane grupy.
],
'onlineRecord' => [
'write_channel' => 295, // Kanał gdzie ma wpisywać
'name' => '[››] Rekord użytkowników: [record]', // Nazwa kanału
'description' => '[center][size=15][b]Informacje - Serwer[/b]\n Rekord dostępnych użytkowników[/center]\n[size=10]\nObecny rekord wynosi: [b][record][/b].\nRekord ustanowiono: [b][date][/b][/size][right][size=9]Wygenerowane przez: [b][url=http://K-Scripts.eu/?teamspeak]MBOT (Wersja: 24.0)[/url][/right]',
'cache_file' => '/home/mbot/inc/cache/recordOnline' // Wpisujemy sciężkę do pliku.
],
'topoftheweek' => [
'top_desc' => '[center][size=15][b]Ranking najaktywniejszych z całego tygodnia[/center]\n',
'write_channel' => 1104, // Kanał, gdzie ma wypisywać osoby.
'numbers_of_records' => 20, // Ilośc rekordów
'interval' => 5 * 60, // Tutaj zostawiamy bez zmian, w przypadku gdy zmienimy czas edytowania kanału tutaj tez.
'ignore_idle_time' => 10 * 60,
'groups_ignore' => [19], // Ignorowane grupy.
'cache_path' => '/home/mbot/inc/cache/',
],
'adminsOnline' => [
'write_channel' => 70, // Kanał gdzie ma wpisywać
'channel_name' => '[rspacer]Dostępnych Adminów: [admins]', // Nazwa kanału
'up_description' => '\n [center][size=11][b]Status Administracji[/size][/center]\n\n',
'groups' => [6, 199, 255, 10, 14] // Grupy administracji
],
'groupOnline' => [
'up_description' => '\n [center][size=11][b]Strefa VIP[/center]\n\n',
'clans' => [
1 => [
'group' => [257],
'cid' => 1105,
'name' => '[››]Online PNKK [online]'
],
2 => [
'group' => [0],
'cid' => 0,
'name' => 'Osób dostępnych: [online]'
],
],
],
'adminList' => [
'up_description' => '\n [center][size=15][b]Lista Administracji[/size][/center]\n\n',
'groups' => [0], // Grupy administracji np. array(3,5),
'away_time' => 0 * 0, // Czas po jakim ma pokazywac Away.
'channel' => 0, // Kanał gdzie ma wypisywać
],
'poke_admins' => [
'type' => 'poke', // Dostępne typy: poke/pw
'onClientAreOnChannel' => [448], // Lista kanałów pomocy
'groups_poke' => [
448 => [252], // Kanał = grupy, które ma poketować.
],
'ignored_channel' => [448], // Ignorowane kanały, jeżeli będzie tam admin nie dostanie poke.
'groups' => [252], // Rangi, które mają dostawać poke, wpisujemy wszystkie
],
'multiFunction' => [
'status' => true, // Status
'Current_time' => [
'status' => true, // Status
'channel_to_typing' => 1075, // Kanał gdzie ma wpisywać
'channel_name' => '[cspacer]» Zegarynka: [time] «' // Nazwa kanału
],
'Number_of_channels' => [
'status' => true, // Status
'channel_to_typing' => 1046, // Kanał gdzie ma wpisywać
'channel_name' => '[››] Ilość kanałów: [channels]' // Nazwa kanału
],
'Online_list' => [
'status' => true, // Status
'channel_to_typing' => 1048, // Kanał gdzie ma wpisywać
'channel_name' => '[››] Użytkowników online: [clients]' // Nazwa kanału
],
'Away_list' => [
'status' => false, // Status
'channel_to_typing' => 78, // Kanał gdzie ma wpisywać
'channel_name' => 'Niedostępni użytkownicy: [clients] [name]' // Nazwa kanału
],
'Private_channels' => [
'status' => true, // Status
'pid' => [516, 519], // Wpisujemy sekcję kanałow prywatnych
'channel_to_typing' => 1047, // Kanał gdzie ma wpisywać
'channel_name' => '[››] Kanałow prywatnych: [priv_channels]' // Nazwa kanału
]
],
]
];
/** end of adds configuration **/
/** Bot id 2 configuration **/
$config[2]['connection'] = [
/**
* @name TeamSpeak3 Server IP Adress
* @format 0.0.0.0
*/
'server_ip' => '185.11.146.159',
/**
* @name TeamSpeak3 Server Query Port
* @default 45555
*/
'server_query_port' => 43051,
/**
* @name TeamSpeak3 Server ID
* @default 1
*/
'server_id' => 1,
/**
* @name TeamSpeak3 Server Query Login
* @default serveradmin
*/
'server_query_login' => 'Mbot',
/**
* @name TeamSpeak3 Server Query Password
*/
'server_query_password' => 'MXvPoUZU',
/**
* @name Enable/Disable commands mode in TeamSpeak3 Query [Important: Look at the configuration config > options > enable_commands_system]
* @default false
*/
'commands_mode' => false,
/**
* @name There you can change bot nickname
* @default mBot Premium
*/
'bot_name' => 'Channel Master',
/**
* @name Channel ID where bot enter (false - disable / id - enable)
* @default false
*/
'move_to_channel' => 465
];
$config[2]['server'] = [
/**
* This is a checksum done edit this.
* @default false
*/
'checksum' => 'bWJvdDIyLjI4WG1DVnoxMjQ1MQ==',
];
$config[2]['options'] = [
/**
* @name Enable/Disable commands system in bot interface [Important: Look at the configuration config > connection > commands_mode]
* @default false
*/
'enable_plugins_and_events_system' => true,
/**
* @name Enable/Disable mysql system
* @default false
*/
'enable_database' => false,
/**
* @name The folder name from the events and plugins
* @default FirstInstance
*/
'folder_name' => 'ThirtyInstance',
/**
* @name Bot idle time before do next tasks
* @default 1
*/
'idle_seconds' => 10,
/**
* @name Enable/Disable commands system in bot interface [Important: Look at the configuration config > connection > commands_mode]
* @default false
*/
'enable_commands_system' => false
];
$config[2]['plugins'] = [
/**
* @name Disabled plugins
* @format 'simplePlugin'
*/
'ignored_plugins' => [],
/**
* @name Specyfic plugin configurations
*/
'plugins_configs' => [
'channelCheckers' => [
'checker_type' => 'topicdate',
'channel_name_regex' => '/[0-9]{1,3}\.(.*)/',
'channel_num_regex' => '/(.*)\.(.*)/',
'channel_data_regex' => '/^[0-9]{2}\.[0-9]{2}\.[0-9]{2}$/',
'date_name' => '[ZMIEŃ DATĘ]', // W przypadku gdy kanał jest starszy niż 7 dni, co ma dopisywać do niego jako informację.
'check_channel_names' => true, // Czy ma sprawdzać nazwy.
'Editing_by_Admin' => true, // Gdy właściciel kanału jest na nim data się aktualizuje
'check_channel_data' => true, // Sprawdzanie daty.
'head_channel_admin_group_id' => 5, // ID rangi kanałowej głównej.
'channel_admin_group_id' => 101, // ID rangi kanałowej zaraz po głownej.
'chennel_pid' => [139], // Sekcja, gdzie znajdują się kanały prywatne.
'channels_section' => 139, // Sekcja, gdzie znajdują się kanały prywatne.
'foul_language' => ['fuck','shit','pizda','hitler','cwel','spierdalaj','skurwiel','idiota','dziwka','suka','jebac','kurwa','huj','cipa','chuj','server admin','Support Admin','Manager Admin','Public Admin','Junior Public Admin','Guardian Admin','Admin','.pl','.eu','.com','online-ts3','net-speak'],
'freeChannels_name' => 'Prywatny Kanał - Wolny', // Nazwa kanałów wolnych
'minimal_freeChannels' => 20, // Minimalna ilość kanałów wolnych
],
]
];
/** end of adds configuration **/
/** Bot id 3 configuration **/
$config[3]['connection'] = [
/**
* @name TeamSpeak3 Server IP Adress
* @format 0.0.0.0
*/
'server_ip' => '185.11.146.159',
/**
* @name TeamSpeak3 Server Query Port
* @default 45555
*/
'server_query_port' => 43051,
/**
* @name TeamSpeak3 Server ID
* @default 1
*/
'server_id' => 1,
/**
* @name TeamSpeak3 Server Query Login
* @default serveradmin
*/
'server_query_login' => 'Mbot',
/**
* @name TeamSpeak3 Server Query Password
*/
'server_query_password' => 'MXvPoUZU',
/**
* @name Enable/Disable commands mode in TeamSpeak3 Query [Important: Look at the configuration config > options > enable_commands_system]
* @default false
*/
'commands_mode' => false,
/**
* @name There you can change bot nickname
* @default mBot Premium
*/
'bot_name' => 'Admin Helper',
/**
* @name Channel ID where bot enter (false - disable / id - enable)
* @default false
*/
'move_to_channel' => 465
];
$config[3]['server'] = [
/**
* This is a checksum done edit this.
* @default false
*/
'checksum' => 'bWJvdDIyLjI4WG1DVnoxMjQ1MQ==',
];
$config[3]['options'] = [
/**
* @name Enable/Disable commands system in bot interface [Important: Look at the configuration config > connection > commands_mode]
* @default false
*/
'enable_plugins_and_events_system' => true,
/**
* @name Enable/Disable mysql system
* @default true
*/
'enable_database' => true,
/**
* @name The folder name from the events and plugins
* @default FirstInstance
*/
'folder_name' => 'SecondInstance',
/**
* @name Bot idle time before do next tasks
* @default 1
*/
'idle_seconds' => 5,
/**
* @name Enable/Disable commands system in bot interface [Important: Look at the configuration config > connection > commands_mode]
* @default false
*/
'enable_commands_system' => false
];
$config[3]['db'] = [
'host' => 'localhost',
'user' => 'root',
'pass' => 'norwida2',
'name' => 'MBOT'
];
$config[3]['plugins'] = [
/**
* @name Dosabled plugins
* @format 'simplePlugin'
*/
'ignored_plugins' => [],
/**
* @name Specyfic plugin configurations
*/
'plugins_configs' => [
'badNicknames' => [
'foul_words' => ['shit', 'kurwa', 'huj', 'cipa', 'pierdolony', 'chuj', 'dziwka', 'kutas', 'CHUJ', 'Szmata' ,'Pizda' ,'PIZDA' ,'Pierdol Się' ,'Pierdol sie' ,'PIERDOL SIĘ' ,'jebać adminów' ,'JEBAĆ ADMINÓW' ,'Jebać Administracje' ,'Chuj' ,'KURWA' ,'shit' ,'kurwa' ,'huj' ,'cipa' , 'chuj' , 'dziwka' , 'kutas', 'CHUJ', 'Szmata', 'Pizda' ,'PIZDA' ,'Pierdol Się' ,'Pierdol sie' ,'PIERDOL SIĘ' ,'Jebać Adminów', 'JEBAĆ ADMINÓW', 'Jebać Administracje', 'Chuj', 'KURWA', 'pento', 'Administrator', 'Admin', 'ssij', 'cwel', 'cwele', 'pizda', 'spierdalaj' ,'wypierdalaj', 'serwer', '[]', 'kurwiszon', 'skurwysyn', 'ciota', 'root', 'SA', '[Ts Administrator]','TeamSpeakUser','fubu','JP armia','ROOT','Admin', '.pl','Administrator', 'Admin', 'serveradmin', 'server admin', 'query', 'queryadmin', 'query admin', 'serwer', 'server', 'serweradmin', 'serwer admin', 'owner', 'root', '.com', '.eu', '.org', '.net', '.com.pl', 'kurwa', 'Support Admin','Manager Admin', 'Public Admin', 'Administarto', 'http:'], /** Zle nicki **/
'groups_ignore' => [6], // Ignorowane grupy
'nickname_regular' => ''
],
'noAfk' => [
'afk_channel_id' => 0, // Kanał na który ma przenieść.
'clidb_ignore' => [], // Ignorowani klienci (Client_Database_ID)
'check_channels_id' => [], // Id kanałów gdzie ma tylko sprawdzać.
'groups_ignore' => [0], // Ignorowane grupy
'move_message' => false // Wiadomośc po przeniesieniu
],
'autoRegister' => [
'groups' => [0], // Grupę, którą ma dodac.
'groups_ignore' => [0], // Ignorowane grupy
'time' => 30 * 60 // Po jakim czasie ma ją nadać domyślnie 1 godzina.
],
'groupLimit' => [
'groups' => [6], // Ignorowane grupy
'limit' => 6, // Limit grup
],
'mvGrToChfCh' => [
/**
Wydarzenie służące do przenoszenia użytkownika z danego kanału z danej grupy na określony w konfiguracji kanał.
Informacje:
[*] 'isOnChannel' - Tutaj wpisujemy kanał, z którego ma wrzucać.
[*] 'isInGroup' - Tutaj wpisujemy id grupy, w której musi być dany użytkownik.
[*] 'moveToChannel' - Tutaj wpisujemy id kanału na który ma przerzucić danego usera.
Dodawanie nowego rekordu:
Aby dodać kolejny rekord wystarczy skopiować to:
numer => array('isOnChannel' => 0, 'isInGroup' => 0, 'moveToChannel' => 0),
**/
'list' => [
1 => ['isOnChannel' => 1, 'isInGroup' => 0, 'moveToChannel' => 0],
2 => ['isOnChannel' => 1, 'isInGroup' => 0, 'moveToChannel' => 0],
3 => ['isOnChannel' => 1, 'isInGroup' => 0, 'moveToChannel' => 0],
4 => ['isOnChannel' => 1, 'isInGroup' => 0, 'moveToChannel' => 0],
5 => ['isOnChannel' => 1, 'isInGroup' => 0, 'moveToChannel' => 0],
]
],
]
];
$config[3]['events'] = [
/**
* @name Dosabled events
* @format 'simpleEvent'
*/
'ignored_events' => ['musicChannel', 'clientLevels', 'awardsSystem', 'musicSinus', 'musicInformation'],
/**
* @name Specyfic events time configuration
*/
'events_executes' => [
'cleanup' => ['seconds' => 0, 'minutes' => 5, 'hours' => 0, 'days' => 0],
'vipGroup' => ['seconds' => 1,'minutes' => 0,'hours' => 0,'days' => 0],
'musicChannel' => ['seconds' => 10,'minutes' => 0,'hours' => 0,'days' => 0],
'getChannel' => ['seconds' => 10,'minutes' => 0,'hours' => 0,'days' => 0],
'freeChannels' => ['seconds' => 1,'minutes' => 6,'hours' => 0,'days' => 0],
'userPlatform' => ['seconds' => 35,'minutes' => 0,'hours' => 0,'days' => 0],
'clientLevels' => ['seconds' => 0, 'minutes' => 5, 'hours' => 0, 'days' => 0],
'awardsSystem' => ['seconds' => 0, 'minutes' => 10, 'hours' => 0, 'days' => 0],
'newUsersToday' => ['seconds' => 0, 'minutes' => 2, 'hours' => 0, 'days' => 0],
'randomGroup' => ['seconds' => 0, 'minutes' => 10, 'hours' => 0, 'days' => 0],
'Partners' => ['seconds' => 30, 'minutes' => 0, 'hours' => 0, 'days' => 0],
'musicInformation' => ['seconds' => 20, 'minutes' => 0, 'hours' => 0, 'days' => 0],
'youtubeInfo' => ['seconds' => 1, 'minutes' => 3, 'hours' => 0, 'days' => 0],
],
/**
* @name Specyfic event configurations
*/
'events_configs' => [
'vipGroup' => [
/*
Automatyczne nadawanie rangi gildii.
Domyślnie:
- 'onClientAreOnChannel' - tutaj wpisujemy wszystkie id kanałów,
- 'groups' - tutaj wpisujemy id kanału = id rangi, którą ma nadać,
- 'all_groups' - tutaj wpisujemy id wszystkich grup.
*/
'onClientAreOnChannel' => [899],
'groups' => [
899 => [257],
],
'all_groups' => [257],
],
'userPlatform' => [
'mobile_group' => 258, // W przypadku gdy klient jest zalogowany na IOS lub Androdzie otrzymuje tą grupę.
],
'musicInformation' => [
'mainInformation' => [
'host' => 'http://127.0.0.1:8087',
'login' => 'admin',
'password' => '',
'instance' => '3ee8d707-f8bd-4ffa-9437-9a9150176bb7',
'database_id' => 1364,
'youtube' => false
],
'channels' => [
'description' => '[size=10]Last songs played on this section:[/size]\n[center][history][/center]\n\n',
'mainChannel' => 82,
'others' => [
'author' => [
'format' => 'Autor: [author]',
'channel' => 85
],
'title' => [
'format' => 'Tytuł: [title]',
'channel' => 84
]
]
]
],
'freeChannels' => [
/*
freeChannels - Darmowe kanały, wpisuje tutaj wolne kanały jak i te, które zostaną usunięte danego dnia.
*/
'channel_pid' => 139, // Sekcja kanałów prywatnych
'write_channel' => 483, // Kanał gdzie ma wpisywać opis.
'channel_id2' => 483, // Kanał gdzie ma wpisywać nazwę
'channel_name' => 'Dostępnych kanałów: [freeChannels]', // Nazwa kanału
'top_desc' => '[center][size=15][b]Automatyczne centrum[/b]\n Dostępne kanały\n[/center]\n\n[size=12][b]Kanały dostępne:[/b] ',
'end_desc' => '[/size]\n[hr][right][size=9]Wygenerowane przez: [b][url=http://K-Scripts.eu/?teamspeak]MBOT (Wersja: 24.0)[/url][/right]',
],
'getChannel' => [
/*
getChannel - automatyczne nadawanie kanału po wejściu na określony kanał.
*/
'channels_section' => 516, 519 // Sekcja kanałów prywatnych
'need_groups' => [250, 251, 16], // Potrzebne grupy do otrzymania kanału
'channel_num_regex' => '/(.*)\.(.*)/', // regex nazwy kanału
'channel_admin_group_id' => 5, // ID grupy, która ma nadać
'default_subchannels' => 2, // Domyślna ilość podkanałów
'max_subchannels' => 2, // Maksymalna ilość podkanałów
'channel_codec' => 4,
'channel_codec_level' => 10,
'onClientAreOnChannel' => [1038], // ID kanału, gdy na niego wejdziemy otrzymamy kanał.
],
'clientLevels' => [
/*
clientLevels - System leveli względem Twojej aktywności
*/
'output' => '[center][size=11]TOP [count]\n Największy poziom:[/size][/center]\n\n',
'numbers_of_records' => 0, // Ilość rekordów wyświetlanych
'end_output' => '\n[hr][right][size=9]Wygenerowane przez: [b][url=http://K-Scripts.eu/?teamspeak]MBOT (Wersja: 24.0)[/url][/right]',
'write_channel' => 0, // Kanał gdzie ma wpisywać
'cache_path' => '/home/mbot/cache/',
'need_group' => [0], // Grupy potrzebne do nadawania
'groups_ignore' => [105], // Ignorowane grupy
'levels' => [
[112, 10], //LVL 1
[113, 30 * 60], //LVL 2
[114, 3 * 60 * 60], //LVL 3
[115, 6 * 60 * 60], //LVL 4
[116, 9 * 60 * 60], //LVL 5
[117, 12 * 60 * 60], //LVL 6
[118, 15 * 60 * 60], //LVL 7
[119, 18 * 60 * 60], //LVL 8
[120, 21 * 60 * 60], //LVL 9
[121, 24 * 60 * 60], //LVL 10
],
'interval' => 5 * 60, // Co jaki czas ma dodawać czas
'ignore_idle_time' => 15 * 60, // Czas po którym nie jest dodawany czas
],
'awardsSystem' => [
/*
awardsSystem - System osiągnięc.
*/
'need_group' => [0], // Grupy potrzebne do brania udziału.
'groups_ignore' => [0], // Ignorowane grupy
'totalClientsConnections' => [
'status' => false, // Status
'section_group' => 0, // Id grupy głównej np. Osiągnięcia ilość połączeń:
'connections' => [
[123, 1], // Grupa, ilość połączeń
[124, 50],
[125, 100],
[126, 300],
[127, 1000]
],
],
'timeSpent' => [
'status' => false, // Status
'section_group' => 128, // Id grupy głównej np. Osiągnięcia ilość połączeń:
'time' => [
[129, 0], // Grupa, czas w godzinach
[130, 10],
[131, 50],
[132, 100],
[133, 300]
],
]
],
'newUsersToday' => [
/*
newUsersToday - Lista nowych użytkowników dziś
*/
'channel_name' => 'Nowi użytkownicy: [count]', // Nazwa kanału
'top_desc' => '[size=10] Ostatnio dołączyli:[/size][size=9][list]\n',
'end_desc' => '[/list][hr][/size][right][size=9]Wygenerowane przez: [b][url=http://K-Scripts.eu/?teamspeak]MBOT (Wersja: 24.0)[/url][/right]',
'write_channel' => 1049, // Kanał gdzie ma wypisywać
'need_groups' => [8], // Grupy potrzebne do sprawdzania
],
'randomGroup' => [
/*
randomGroup - Losowanie rangi, nadawanie jej użytkownikowi na 1 dzień, później automatyczne zdejmowanie.
*/
'cache_path' => '/home/mbot/cache/',
'need_groups' => [8, 250, 251, 16], // ID grup, które sa potrzebne do brania udziału min. 1
'ignore_groups' => [6, 199, 255, 10, 14], // Ignorowane grupy
'add_group' => 29, // ID grupy, która ma nadać
'group_time' => 1 * 24 * 60 * 60, // Na jaki okres jest grupa
'channels' => [
'winner' => [
'channel_name' => '[››] Ostatnio wylosowany: [winner_nick]', // Nazwa kanału informacyjnego
'channel_cid' => 1106, // Id kanału informacyjnego
'channel_description' => [
'start' => '\n [center][size=15][b]Loteria VIP[/size][/center]\n\n',
'end' => '\n[right][size=9]Wygenerowane przez: [b][url=http://K-Scripts.eu/?teamspeak]MBOT (Wersja: 24.0)[/url][/right]'
],
],
],
],
'Partners' => [
/*
Partners - Automatycznie wpisywanie i losowanie partnera w kanał ze zdefiniowaną nazwą jak i opisałem kanału.
Domyślnie:
0 => array(
'name' => 'Nazwa kanłu',
'desc' => 'Opis'
),
*/
'partners' => [
0 => [
'name' => '[cspacer]K-Scripts.eu - Usługi Programistyczne',
'desc' => '[center][size=15][b]Partnerzy[/b]
[/center]
[size=10][b]K-scripts[/b] to działalność założona przez zdolnego programistę i developera. Ambicję i ciężką pracę postanowiono przekuć w firmę, która będzie kontynuowała tradycję dokładności, rzetelności i pomysłowości.[/size]
[size=10]
Postawowe informacje:
[list]
[*] Link do strony: [b][url=http://k-scripts.eu/]Przejdź[/url][/b]
[*] Link do FanPage: [b][url=https://www.facebook.com/K-Scriptseu-171013159931042/]Przejdź[/url][/b]
[/size]
[hr]
[right][size=9]Wygenerowane przez: [b][url=http://K-Scripts.eu/?teamspeak]MBOT (Wersja: 24.0)[/url][/right]'
],
],
'channel' => 293
],
'youtubeInfo' => [
'channels' => [
0 => [
'youtube_id' => 'UCerbPUXWmZqUOVe-SmI_nHQ',
'channel_name' => '[››] KacpereGG [[number]]',
'channel_id' => 1007
],
]
]
],
];
/** Bot id 4 configuration **/
$config[4]['connection'] = [
/**
* @name TeamSpeak3 Server IP Adress
* @format 0.0.0.0
*/
'server_ip' => '185.11.146.159',
/**
* @name TeamSpeak3 Server Query Port
* @default 45555
*/
'server_query_port' => 43051,
/**
* @name TeamSpeak3 Server ID
* @default 1
*/
'server_id' => 1,
/**
* @name TeamSpeak3 Server Query Login
* @default serveradmin
*/
'server_query_login' => 'Mbot',
/**
* @name TeamSpeak3 Server Query Password
*/
'server_query_password' => 'MXvPoUZU',
/**
* @name Enable/Disable commands mode in TeamSpeak3 Query [Important: Look at the configuration config > options > enable_commands_system]
* @default false
*/
'commands_mode' => false,
/**
* @name There you can change bot nickname
* @default mBot Premium
*/
'bot_name' => 'Downloader',
/**
* @name Channel ID where bot enter (false - disable / id - enable)
* @default false
*/
'move_to_channel' => false
];
$config[4]['server'] = [
/**
* This is a checksum done edit this.
* @default false
*/
'checksum' => 'bWJvdDIyLjI4WG1DVnoxMjQ1MQ==',
];
$config[4]['options'] = [
/**
* @name Enable/Disable commands system in bot interface [Important: Look at the configuration config > connection > commands_mode]
* @default false
*/
'enable_plugins_and_events_system' => true,
/**
* @name Enable/Disable mysql system
* @default true
*/
'enable_database' => false,
/**
* @name The folder name from the events and plugins
* @default FirstInstance
*/
'folder_name' => 'FourthInstance',
/**
* @name Bot idle time before do next tasks
* @default 1
*/
'idle_seconds' => 0,
/**
* @name Enable/Disable commands system in bot interface [Important: Look at the configuration config > connection > commands_mode]
* @default false
*/
'enable_commands_system' => false
];
/** end of mysql configuartion **/
$config[4]['plugins'] = [
/**
* @name Dosabled plugins
* @format 'simplePlugin'
*/
'ignored_plugins' => [],
/**
* @name Specyfic plugin configurations
*/
'plugins_configs' => [
'getData' => [
'file' => '/var/www//hosting/banner/cachefile', // Gdzie ma zapisywać dane
'time' => 1 * 10 // Czas co jaki ma zapisywać pliki
]
]
];
$config[4]['events'] = [
/**
* @name Dosabled events
* @format 'simpleEvent'
*/
'ignored_events' => ['generatingBanner', 'channelStatisticsActive'],
/**
* @name Specyfic events time configuration
*/
'events_executes' => array(
'generatingBanner' => array('seconds' => 30, 'minutes' => 0, 'hours' => 0, 'days' => 0),
'channelStatisticsActive' => array('seconds' => 1, 'minutes' => 0, 'hours' => 0, 'days' => 0),
'chartsGenerator' => array('seconds' => 0, 'minutes' => 0, 'hours' => 1, 'days' => 0),
),
/**
* @name Specyfic event configurations
*/
'events_configs' => [
'generatingBanner' => [
/*
generatingBanner - Automatyczne generowanie bannera.
*/
'admins_groups' => [105], // Id grup administracji
'get_file_from' => '/home/mbot/assets/', // Ścieżka do katalogu z plikami
'save_file_here' => '/var/www/', // Gdzie ma zapisać banner
],
'channelStatisticsActive' => [
'cache_path' => '/home/mbot/inc/cache/channels/',
'check_section' => [139],
'scan_hours' => '0-22',
'minimum_period' => 7,
'min_value' => 0,
'channel_id' => 139,
'ignored_channels' => []
],
'chartsGenerator' => [
'checker_type' => 'charts',
'channel_id' => [130],
'ignored_channels' => array(),
],
]
];
/** end of adds configuration **/
/** Bot id 5 configuration **/
$config[5]['connection'] = [
/**
* @name TeamSpeak3 Server IP Adress
* @format 0.0.0.0
*/
'server_ip' => '127.0.0.1',
/**
* @name TeamSpeak3 Server Query Port
* @default 45555
*/
'server_query_port' => 45555,
/**
* @name TeamSpeak3 Server ID
* @default 1
*/
'server_id' => 1,
/**
* @name TeamSpeak3 Server Query Login
* @default serveradmin
*/
'server_query_login' => 'serveradmin',
/**
* @name TeamSpeak3 Server Query Password
*/
'server_query_password' => '',
/**
* @name Enable/Disable commands mode in TeamSpeak3 Query [Important: Look at the configuration config > options > enable_commands_system]
* @default true
*/
'commands_mode' => true,
/**
* @name There you can change bot nickname
* @default mBot Premium
*/
'bot_name' => 'Informant',
/**
* @name Channel ID where bot enter (false - disable / id - enable)
* @default false
*/
'move_to_channel' => 37
];
$config[5]['server'] = [
/**
* This is a checksum done edit this.
* @default false
*/
'checksum' => 'bWJvdDIyLjI4WG1DVnoxMjQ1MQ==',
];
$config[5]['options'] = [
/**
* @name Enable/Disable commands system in bot interface [Important: Look at the configuration config > connection > commands_mode]
* @default false
*/
'enable_commands_system' => true,
'enable_plugins_and_events_system' => false,
/**
* @name Enable/Disable mysql system
* @default true
*/
'enable_database' => false,
/**
* @name Bot idle time before do next tasks
* @default 1
*/
'idle_seconds' => 1
];
$config[5]['commands'] = [
/**
* @name Disabled commands
* @format 'simpleCommand'
*/
'disable_commands' => ['chvip','chgvip','ch'],
/**
* @name Specyfic command configuration
*/
'commands_configs' => [
'ch' => [
'groups' => [182,183,184,185,186,187],
'channels_section' => 3379,
'channel_num_regex' => '/(.*)\.(.*)/',
'channel_admin_group_id' => 53,
'default_subchannels' => 0,
'max_subchannels' => 2,
'channel_codec' => 2,
'channel_codec_level' => 8,
'help' => 'Komenda zakłada kanał w strefie prywatnej.',
'usage' => '
],
'moveclient' => [
'groups' => [169, 171],
'help' => 'Komenda przenosi użytkownika na Twój kanał.',
'usage' => '
],
'gotoclient' => [
'groups' => [169, 171],
'blocked_channels' => [],
'help' => 'Komenda przenosi Cię na kanał użytkownika.',
'usage' => '
],
'meeting' => [
'groups' => [169, 171],
'move_groups' => [169, 171, 172, 173],
'meeting_channel' => 7,
'help' => 'Komenda przenosi wszystkich administratorów na określony kanał.',
'usage' => ''
],
'adminsonline' => [
'groups' => [169, 171],
'admin_groups' => [169, 171, 172, 173],
'help' => 'Komenda wyświetla listę administratorów online.',
'usage' => ''
],
'channellist' => [
'groups' => [169, 171],
'help' => 'Komenda wyświetla listę kanałów.',
'usage' => ''
],
'clientlist' => [
'groups' => [169, 171],
'help' => 'Komenda wyświetla listę użytkowników wraz z dodatkowymi danymi.',
'usage' => ''
],
'commands' => [
'groups' => [169, 171],
'help' => 'Komenda wyświetla informacje o dostępnych komendach.',
'usage' => ''
],
'memory' => [
'groups' => [169, 171],
'help' => 'Komenda pokazuje aktualny stan używanej pamięci przez aplikacje.',
'usage' => ''
],
'findclients' => [
'groups' => [169, 171],
'help' => 'Komenda wyszukuje użytkownika którego nazwa zawiera frazę z parametru.',
'usage' => '
],
'pwall' => [
'groups' => [169, 171],
'help' => 'Komenda wysyła wiadomość prywatną do wszystkich użytkowników serwera o danej treści.',
'usage' => '
],
'pwToGroup' => [
'groups' => [169, 171],
'help' => 'Komenda wysyła wiadomość prywatną do wszystkich użytkowników w podanej grupie',
'usage' => '
],
'pokeToGroup' => [
'groups' => [169, 171],
'help' => 'Komenda wysyła poke do wszystkich użytkowników w podanej grupie.',
'usage' => '
],
'pwToAdmin' => [
'groups' => [169, 171],
'admin_group' => array(169, 171, 172, 173),
'help' => 'Komenda wysyła wiadomość prywatną do wszystkich adminów',
'usage' => '
],
'pokeToAdmin' => [
'groups' => [169, 171],
'admin_group' => array(169, 171, 172, 173),
'help' => 'Komenda wysyła poke do wszystkich adminów.',
'usage' => '
],
'pokeall' => [
'groups' => [169, 171],
'help' => 'Komenda wysyła poke do wszystkich użytkowników serwera.',
'usage' => '
],
'bot' => [
'groups' => [169, 171],
'help' => 'Komenda wysyła poke do wszystkich użytkowników serwera.',
'usage' => '
],
'bingo' => [
'groups' => [],
'help' => '',
'usage' => ''
],
'trueOrfalse' => [
'groups' => [171],
'pytania' => [
1 => [
'typ' => 'Prawdziwe',
'pytanie' => 'Przykładowe pytanie1'
],
2 => [
'typ' => 'Fałszywe',
'pytanie' => 'Przykładowe pytanie2'
],
3 => [
'typ' => 'Fałszywe',
'pytanie' => 'Przykładowe pytanie3'
],
],
'help' => '',
'usage' => '
],
]
];
/** end of adds configuration **/
?>