'127.0.0.1', /** * @name TeamSpeak3 Server Query Port * @default 10011 */ 'server_query_port' => 10011, /** * @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 false */ 'commands_mode' => false, /** * @name There you can change bot nickname * @default mBot Premium */ 'bot_name' => [ 'name' => 'Guard System', 'prefix' => 1, #Avaliable: 1: m-bot, 2: mbot, 3: MBOT, 4: k-scripts, 5: ts-mbot ], /** * @name Channel ID where bot enter (false - disable / id - enable) * @default false */ 'move_to_channel' => 17, ]; $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' => '', 'name' => 'mbot' ]; /** end of mysql configuartion **/ $config[1]['plugins'] = [ /** * @name Dosabled plugins * @format 'simplePlugin' */ 'ignored_plugins' => ['banGroups', 'noRecording', 'serverGroupProtection'], /** * @name Specyfic plugin configurations */ 'plugins_configs' => [ 'connectMessage' => [ 'cache_file' => 'cache/connection_record', 'poke' => ['poke_message_status' => false] ], 'noRecording' => [ 'no_record_channels' => [], 'groups_ignore' => [244, 238, 11, 12] ], 'banGroups' => [ 'groups' => [ ['time' => 15 * 60, 'group' => 209, 'reason' => 'Ban nadany na okres 15 minut.'], ['time' => 30 * 60, 'group' => 209, 'reason' => 'Ban nadany na okres 30 minut.'], ] ], 'serverGroupProtection' => [ 'allgroups' => [244, 238, 11], 'userInGroup' => [16 => 244, 20204 => 244, 20186 => 244, 20811 => 244, 20187 => 238, 20460 => 238, 20370 => 11] ], ] ]; $config[1]['events'] = [ /** * @name Dosabled events * @format 'simpleEvent' */ 'ignored_events' => ['reklama', 'adminsOnline', 'groupUsersList'], /** * @name Specyfic events time configuration */ 'events_executes' => [ 'serverName' => ['seconds' => 10, 'minutes' => 1, 'hours' => 0,'days' => 0], 'onlineRecord' => ['seconds' => 10,'minutes' => 0,'hours' => 0,'days' => 0], 'adminsOnline' => ['seconds' => 5,'minutes' => 0,'hours' => 0,'days' => 0], 'groupUsersList' => ['seconds' => 5,'minutes' => 3,'hours' => 0,'days' => 0], 'adminList' => ['seconds' => 5,'minutes' => 4,'hours' => 0,'days' => 0], 'adminsOnChannels' => ['seconds' => 0,'minutes' => 1,'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], 'reklama' => ['seconds' => 0, 'minutes' => 0, 'hours' => 2, 'days' => 0], ], /** * @name Specyfic event configurations */ 'events_configs' => [ 'reklama' => [ 'mode' => 'server', # available modes: 'server', 'channel:cid', 'clients' cid=channelid 'message' => 'Witaj na [b]K-Scripts.eu[/b].\n Potrzebne linki:\n\t Strona główna: [url=http://k-scripts.eu]Przenieś[/url]\n\t FanPage: [url=https://www.facebook.com/kscriptss/?ref=aymt_homepage_panel]Przenieś[/url]' ], 'serverName' => [ 'change_modal_message' => [ 'status' => true, ], 'ignore_groups' => [407], 'name' => 'nieinteresujsieTS.eu | Stabilny | Darmowy | Bezpieczny | ONLINE: [online]', ], 'adminsOnline' => [ 'channel_name' => '[cspacerHelp03]Dostępni admini: [admins] [name]', 'up_description' => '\n [center][size=11][b]Status Administracji[/size][/center]\n\n', 'write_channel' => 11750, 'groups' => [244, 238, 11, 12] ], 'adminList' => [ 'up_description' => '\n [center][size=15][b]Lista Administracji[/size][/center]\n\n', 'groups' => [9, 81, 82], 'away_time' => 10 * 60, 'channel' => 16, ], 'channelGroup' => [ 'onClientAreOnChannel' => [74, 75, 76], 'groups' => [74 => [12], 75 => [13], 76 => [14]], 'all_groups' => [12, 13, 14], 'time' => 0 ], 'adminsOnChannels' => [ 'adminList' => [ # ["[group_name]", "[admin_status]", "[admin_nick]"] 'obrzZv4HhglonZs/rLoLyBk7vBM=' => ['channel_id' => 2807], 'unUCtzy+2j0JWdf6adaWVirwH6s=' => ['channel_id' => 4528], 'NL278IIwCE/XlLBRYwuzlGCklfI=' => ['channel_id' => 2809], 'warYa5E+wimCJZZtaazWBUTcB5k=' => ['channel_id' => 2810], ], 'channel_name' => '[admin_nick] jest ►► [admin_status]', # Sposób wyświetlania. Domyślnie: K-Scripts jest online 'groups' => [9, 81, 82], // 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' => 161, // Kanał, gdzie ma wypisywać osoby. 'numbers_of_records' => 10, // Ilośc rekordów 'groups_ignore' => [9, 81, 82, 407, 14] // Ignorowane grupy. ], 'topConnections' => [ 'top_desc' => '[center][size=15][b]Ranking TOP [records][/b]\n Największa ilość połączeń[/center]\n\n', 'write_channel' => 162, // Kanał, gdzie ma wypisywać osoby. 'numbers_of_records' => 10, // Ilośc rekordów 'groups_ignore' => [9, 81, 82, 407, 14] // Ignorowane grupy. ], 'timeSpent' => [ 'top_desc' => '[center][size=15][b]Ranking TOP [count][/b]\n Spędzony czas[/center]\n\n', 'write_channel' => 160, // Kanał, gdzie ma wypisywać osoby. 'numbers_of_records' => 10, // Ilośc rekordów 'interval' => 5 * 60, // Tutaj zostawiamy bez zmian, w przypadku gdy zmienimy czas edytowania kanału tutaj tez. 'groups_ignore' => [9, 81, 82, 407, 14] // Ignorowane grupy. ], 'onlineRecord' => [ 'write_channel' => 154, // Kanał gdzie ma wpisywać 'name' => 'Rekord online: [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][end]', 'cache_file' => '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' => 163, // Kanał, gdzie ma wypisywać osoby. 'numbers_of_records' => 10, // 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' => [9, 81, 82, 407, 14], // Ignorowane grupy. 'cache_path' => 'inc/cache/', ], 'groupUsersList' => [ 'clans' => [ [ 'up_description' => '\n [center][size=11][b]Strefa Premium[/center]\n\n[center]', 'group' => [187], 'cid' => 1423560, 'name' => 'Obecnie online: [online]/[all]' ], [ 'up_description' => '\n [center][size=11][b]Strefa Premium[/center]\n\n[center]', 'group' => [245], 'cid' => 1423573, 'name' => 'Obecnie online: [online]/[all]' ], [ 'up_description' => '\n [center][size=11][b]Strefa Premium[/center]\n\n[center]', 'group' => [1998], 'cid' => 1424019, 'name' => 'Obecnie online: [online]/[all]' ] ], ], 'poke_admins' => [ 'type' => 'poke', // Dostępne typy: poke/pw 'onClientAreOnChannel' => [83, 84, 85], // Lista kanałów pomocy 'groups_poke' => [ 83 => [9, 81, 82], 84 => [9, 81, 82], 85 => [9, 81, 82], ], 'ignored_channel' => [], // Ignorowane kanały, jeżeli będzie tam admin nie dostanie poke. 'groups' => [9, 81, 82], // Rangi, które mają dostawać poke, wpisujemy wszystkie ], 'multiFunction' => [ 'status' => true, // Status 'ignore_groups' => [407], 'Current_time' => [ 'status' => false, // Status 'channel_to_typing' => 240, // Kanał gdzie ma wpisywać 'channel_name' => '● Zegarynka: [time]' // Nazwa kanału ], 'Number_of_channels' => [ 'status' => false, // Status 'channel_to_typing' => 227, // Kanał gdzie ma wpisywać 'channel_name' => '● Ilość kanałów: [channels]' // Nazwa kanału ], 'Online_list' => [ 'status' => true, // Status 'channel_to_typing' => 155, // Kanał gdzie ma wpisywać 'channel_name' => 'Obecnie 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' => false, // Status 'pid' => [34], // Wpisujemy sekcję kanałow prywatnych 'channel_to_typing' => 230, // Kanał gdzie ma wpisywać 'channel_name' => '● Kanałów 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' => '127.0.0.1', /** * @name TeamSpeak3 Server Query Port * @default 10011 */ 'server_query_port' => 10011, /** * @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 false */ 'commands_mode' => false, /** * @name There you can change bot nickname * @default mBot Premium */ 'bot_name' => [ 'name' => 'Server Admin', 'prefix' => 1, #Avaliable: 1: m-bot, 2: mbot, 3: MBOT, 4: k-scripts, 5: ts-mbot ], /** * @name Channel ID where bot enter (false - disable / id - enable) * @default false */ 'move_to_channel' => 17 ]; $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 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[2]['db'] = [ 'host' => 'localhost', 'user' => 'root', 'pass' => 'siiWbx5cx12', 'name' => 'mbot' ]; $config[2]['plugins'] = [ /** * @name Dosabled plugins * @format 'simplePlugin' */ 'ignored_plugins' => ['mvGrToChfCh', 'groupLimit'], /** * @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' => [9, 81, 82], // Ignorowane grupy 'nickname_regular' => '' ], 'noAfk' => [ 'afk_channel_id' => 120, // 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' => [9, 81, 82, 407, 14], // Ignorowane grupy 'move_message' => false // Wiadomośc po przeniesieniu ], 'groupLimit' => [ 'groups' => [244, 238, 11, 12, 187, 245, 246, 247, 147, 148, 149, 150, 151, 111, 112, 113, 114, 115, 116, 232, 256, 200, 199, 120, 121, 122, 21, 23, 30, 29, 26, 222, 223, 254, 253, 23, 250], // 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' => [ ['isOnChannel' => 1, 'isInGroup' => 171, 'moveToChannel' => 40], ['isOnChannel' => 1, 'isInGroup' => 169, 'moveToChannel' => 44], ['isOnChannel' => 1, 'isInGroup' => 172, 'moveToChannel' => 47], ['isOnChannel' => 1, 'isInGroup' => 173, 'moveToChannel' => 48], ['isOnChannel' => 1, 'isInGroup' => 217, 'moveToChannel' => 294], ] ], ] ]; $config[2]['events'] = [ /** * @name Dosabled events * @format 'simpleEvent' */ 'ignored_events' => ['youtubeInfo', 'vipGroup', 'Partners', 'awayGroup', 'musicInformation'], /** * @name Specyfic events time configuration */ 'events_executes' => [ 'cleanup' => ['seconds' => 0, 'minutes' => 5, 'hours' => 0, 'days' => 0], 'vipGroup' => ['seconds' => 5,'minutes' => 0,'hours' => 0,'days' => 0], 'freeChannels' => ['seconds' => 1,'minutes' => 1,'hours' => 0,'days' => 0], 'newUsersToday' => ['seconds' => 0, 'minutes' => 2, '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], 'awayGroup' => ['seconds' => 0, 'minutes' => 1, 'hours' => 0, 'days' => 0], ], /** * @name Specyfic event configurations */ 'events_configs' => [ 'awayGroup' => [ 'away_group' => 249, // Grupa, która ma nadać 'groups_ignore' => [244, 238, 11, 12], // Grupy ignorowane 'time' => 1 * 60 * 60, ], 'vipGroup' => [ 'onClientAreOnChannel' => [1423559, 1423572, 1424018], 'groups' => [ 1423559 => [187], 1423572 => [245], 1424018 => [1998], ], 'all_groups' => [187, 245, 1998], ], 'musicInformation' => [ 'musicbots' => [ [ 'number' => 1, 'mainInformation' => [ 'host' => 'http://musicbots.k-scripts.eu', 'login' => 'admin', 'password' => '', 'instance' => 'fa59ce0f-87fd-4d74-ace3-b9fdc9100fb9', 'database_id' => 20338, 'youtube' => true ], 'channels' => [ 'description' => '[size=10]Last songs played on this section:[/size]\n[center][history][/center]\n\n', 'mainChannel' => 1423679, 'others' => [ 'author' => [ 'format' => 'Autor: [author]', 'channel' => 1423681 ], 'title' => [ 'format' => 'Tytuł: [title]', 'channel' => 1423680 ] ] ] ], /* Następny [ 'number' => 1, 'mainInformation' => [ 'host' => 'http://k-scripts.eu:82', 'login' => 'mbot', 'password' => 'mbot5615', 'instance' => '81f63ab2-d5da-48a5-acae-c02f6ae73f25', 'database_id' => 2295, 'youtube' => true ], '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' => [ 'channelsection' => 169, // Sekcja kanałów prywatnych 'days' => [7, 8, 9, 10], 'channels' => [ 'mainchannel' => [ 'channel_id' => 79, #Kanał gdzie ma zostać umieszczony opis. 'description' => ' [center][size=15][b]Automatyczne centrum[/b]\n Dostępne kanały[/center]\n [size=12][b]Kanały dostępne:[/b] [freeChannels]\n[b]Lista kanałów do usunięcia:[/b] [channelstodelete][/size]\n[hr][end]' ], 'secondchannel' => [ 'channelid' => 79, #Kanał gdzie ma zostać wpisana nazwa 'channel_name' => '[ AUTO ] Kanał Prywatny (Wolne: [freeChannels])', // Nazwa kanału ], ], ], 'newUsersToday' => [ 'channel_name' => 'Nowi użytkownicy: [count] [name]', // Nazwa kanału 'top_desc' => '[size=10] Ostatnio dołączyli:[/size][size=9][list]\n', 'write_channel' => 157, // Kanał gdzie ma wypisywać 'need_groups' => [12, 13], // Grupy potrzebne do sprawdzania ], 'Partners' => [ 'partners' => [ [ 'name' => '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/kscriptss/?ref=aymt_homepage_panel]Przejdź[/url][/b] [/size] [hr] [right][size=9]Wygenerowane przez: [b][url=http://K-Scripts.eu/?teamspeak]MBOT (Wersja: 25.0)[/url][/right]' ], ], 'channel' => 1423624 ], 'youtubeInfo' => [ 'channels' => [ [ 'youtube_id' => 'UCtGmMo9NJaQG3hl1gsj1Hzw', #Youtube ID Przykład:https://www.youtube.com/channel/UCNhtAn1MT600xiNiX8ErnyQ Id to: UCNhtAn1MT600xiNiX8ErnyQ 'channel_name' => '● Przykład [Subskrybcji: [number]]', 'channel_id' => 1064543 ], ] ] ], ]; /** Bot id 3 configuration **/ $config[3]['connection'] = [ /** * @name TeamSpeak3 Server IP Adress * @format 0.0.0.0 */ 'server_ip' => '127.0.0.1', /** * @name TeamSpeak3 Server Query Port * @default 10011 */ 'server_query_port' => 10011, /** * @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 false */ 'commands_mode' => false, /** * @name There you can change bot nickname * @default mBot Premium */ 'bot_name' => [ 'name' => 'Channel Master', 'prefix' => 1, #Avaliable: 1: m-bot, 2: mbot, 3: MBOT, 4: k-scripts, 5: ts-mbot ], /** * @name Channel ID where bot enter (false - disable / id - enable) * @default false */ 'move_to_channel' => 17 ]; $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 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' => 30, /** * @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]['plugins'] = [ /** * @name Disabled plugins * @format 'simplePlugin' */ 'ignored_plugins' => [], /** * @name Specyfic plugin configurations */ 'plugins_configs' => [ 'channelCheckers' => [ 'channel_name_regex' => '/[0-9]{1,3}\.(.*)/', 'channel_num_regex' => '/(.*)\.(.*)/', 'channel_data_regex' => '/^[0-9]{2}\.[0-9]{2}\.[0-9]{2}$/', '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. 'checkGroups' => [5, 6, 7], // Grupy, dzięki którym rangi będą aktualizowane 'checkSubChannels' => false, // Sprawdzenie złych nazw w podkanałach 'channels_section' => 169, // 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'], 'daysto' => ['warning' => 5, 'delete' => 7], 'channelAdmin' => 5, 'freeChannels_name' => 'Prywatny Kanał - Wolny', // Nazwa kanałów wolnych 'date_name' => '[ZMIEŃ DATĘ]', // W przypadku gdy kanał jest starszy niż 7 dni, co ma dopisywać do niego jako informację. 'minimal_freeChannels' => 5, // Minimalna ilość kanałów wolnych ], ] ]; /** end of adds configuration **/ /** Bot id 4 configuration **/ $config[4]['connection'] = [ /** * @name TeamSpeak3 Server IP Adress * @format 0.0.0.0 */ 'server_ip' => '127.0.0.1', /** * @name TeamSpeak3 Server Query Port * @default 10011 */ 'server_query_port' => 10011, /** * @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 false */ 'commands_mode' => false, /** * @name There you can change bot nickname * @default mBot Premium */ 'bot_name' => [ 'name' => 'Automatic Admin', 'prefix' => 1, #Avaliable: 1: m-bot, 2: mbot, 3: MBOT, 4: k-scripts, 5: ts-mbot ], /** * @name Channel ID where bot enter (false - disable / id - enable) * @default false */ 'move_to_channel' => 17 ]; $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' => true, /** * @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' => 5, /** * @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[4]['db'] = [ 'host' => 'localhost', 'user' => 'root', 'pass' => 'siiWbx5cx12', 'name' => 'mbot' ]; /** end of mysql configuartion **/ $config[4]['plugins'] = [ /** * @name Dosabled plugins * @format 'simplePlugin' */ 'ignored_plugins' => ['proxyBlocker', 'autoRegister', 'protectedChannels'], /** * @name Specyfic plugin configurations */ 'plugins_configs' => [ 'proxyBlocker' => [ 'Notifications' => [ 'status' => true, 'groups' => [9, 81, 82] ], 'groups_ignore' => [9, 81, 82, 14] ], 'autoRegister' => [ 'groups' => [21], // Grupę, którą ma dodac. 'groups_ignore' => [244, 238, 11, 12, 21, 23], // Ignorowane grupy 'time' => 30 * 60 // Po jakim czasie ma ją nadać domyślnie 1 godzina. ], 'protectedChannels' => [ 'channels' => [ 1424000 => [244], #channel = groups 1423558 => [756] ], 'groups_ignore' => [244], ] ] ]; $config[4]['events'] = [ /** * @name Dosabled events * @format 'simpleEvent' */ 'ignored_events' => ['randomGroup', 'generatingBanner', 'awardsSystem', 'registerReminder'], /** * @name Specyfic events time configuration */ 'events_executes' => [ 'generatingBanner' => ['seconds' => 30, 'minutes' => 0, 'hours' => 0, 'days' => 0], 'getChannel' => ['seconds' => 10,'minutes' => 0,'hours' => 0,'days' => 0], 'userPlatform' => ['seconds' => 35,'minutes' => 0,'hours' => 0,'days' => 0], 'clientLevels' => ['seconds' => 0, 'minutes' => 5, 'hours' => 0, 'days' => 0], 'awardsSystem' => ['seconds' => 1, 'minutes' => 0, 'hours' => 0, 'days' => 0], 'randomGroup' => ['seconds' => 0, 'minutes' => 3, 'hours' => 0, 'days' => 0], 'registerReminder' => ['seconds' => 0, 'minutes' => 10, 'hours' => 0, 'days' => 0], 'fbposts' => ['seconds' => 5, 'minutes' => 10, 'hours' => 0, 'days' => 0], 'publicProtection' => ['seconds' => 20, 'minutes' => 0, 'hours' => 0, 'days' => 0], ], /** * @name Specyfic event configurations */ 'events_configs' => [ 'randomGroup' => [ 'cache_path' => 'cache/', 'need_groups' => [21], // ID grup, które sa potrzebne do brania udziału min. 1 'add_group' => 30, // 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' => 1423626, // 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: 25.0)[/url][/right]' ], ], ], ], 'awardsSystem' => [ 'need_group' => [178, 177, 218], // Grupy potrzebne do brania udziału. 'groups_ignore' => [220], // Ignorowane grupy 'totalClientsConnections' => [ 'status' => true, // Status 'section_group' => 5085, // Id grupy głównej np. Osiągnięcia ilość połączeń: 'connections' => [ [5087, 1], // Grupa, ilość połączeń [5088, 50], [5089, 100], [5090, 300], [5091, 1000] ], ], 'timeSpent' => [ 'status' => true, // Status 'section_group' => 5093, // Id grupy głównej np. Osiągnięcia ilość połączeń: 'time' => [ [5094, 1], // Grupa, czas w godzinach [5095, 10], [5096, 50], [5097, 100], [5098, 300] ], ] ], 'clientLevels' => [ 'output' => '[center][size=11]TOP [count]\n Największy poziom:[/size][/center]\n\n', 'numbers_of_records' => 10, // Ilość rekordów wyświetlanych 'end_output' => '\n[hr][right][size=9]Wygenerowane przez: [b][url=http://K-Scripts.eu/?teamspeak]MBOT (Wersja: 25.0)[/url][/right]', 'write_channel' => 397, // Kanał gdzie ma wpisywać 'cache_path' => 'cache/', 'need_group' => [12, 13], // Grupy potrzebne do nadawania 'groups_ignore' => [14, 407], // Ignorowane grupy 'levels' => [ [16, 10 * 60], //LVL 1 [17, 1 * 60 * 60], //LVL 2 [18, 10 * 60 * 60], //LVL 3 [19, 1 * 24 * 60 * 60], //LVL 4 [20, 9 * 24 * 60 * 60], //LVL 5 [83, 14 * 24 * 60 * 60], //LVL 6 [84, 20 * 24 * 60 * 60], //LVL 7 [85, 31 * 24 * 60 * 60], //LVL 8 [86, 2 * 31 * 24 * 60 * 60], //LVL 9 [87, 4 * 31 * 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 ], 'userPlatform' => [ 'group' => 15, // W przypadku gdy klient jest zalogowany na IOS lub Androdzie otrzymuje tą grupę. ], 'getChannel' => [ 'channels_section' => 169, // Sekcja kanałów prywatnych 'need_groups' => [12, 13], // 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' => 79, // ID kanału, gdy na niego wejdziemy otrzymamy kanał. ], 'generatingBanner' => [ 'admins_groups' => [105], // Id grup administracji 'get_file_from' => 'assets/', // Ścieżka do katalogu z plikami 'save_file_here' => '/var/www/', // Gdzie ma zapisać banner ], 'registerReminder' => [ 'ignore_groups' => [171, 169, 172, 173, 217, 214, 1442, 178, 177, 220, 218], 'message' => 'Nie jesteś zarejestrowany. Zapraszamy na kanał rejestracji.' ], 'fbposts' => [ 'fanpages' => [ [ 'fanpage' => '974983679319906', #ID or UserName 'token' => '202747330145343|zn0uoqS79Mdkbf2qqdVdpGdo0fo', # Valid access token (https://developers.facebook.com/) 'post' => 3, 'posttemplate' => ' [size=12][url=https://www.facebook.com/[name]/posts/[postid]]Post numer [num][/url][/size] [size=10][message][/size] [right][size=9]Utworzony: [b][date][/b][/right] [hr] ', #Post template 'description' => ' [center][size=12]nieinteresujsieTS.eu ([b][url=https://www.facebook.com/nieinteresujsieTS.eu]Facebook[/url][/b])[/center] [size=10]Zbiór ostatnich postów z naszego [b]FanPage[/b]. Są one aktualizowane automatycznie raz na [b]10 minut[/b]. [/size] [post] \n[right][size=9]Wygenerowane przez: [b] Bot Stefan (Wersja: 1.0)[/b][/right] ', #Full description 'channelid' => 3684 ], ], ], 'publicProtection' => [ 'options' => [ 'min' => 2, # Minimalna ilość kanałów w każdej strefie 'max' => 10, # Maksymalna ilość kanałów w każdej strefie 'maxfreechannels' => 1, # Maksymalna ilość wolnych kanałów 'ch_name_template' => '➥ ρυвℓιczηу [ch_num]', # Wygląd nazwy kanału 'ch_desc_template' => '' # Wygląd opisu kanału ], 'channels' => [ 100 => 2798, # Maksymalnie 100 użytkowników 2 => 125, # Maksymalnie 2 użytkowników 3 => 131, # Maksymalnie 3 użytkowników 4 => 136, # Maksymalnie 4 użytkowników 5 => 2781, # Maksymalnie 5 użytkowników ] ], ] ]; /** 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 10011 */ 'server_query_port' => 10011, /** * @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' => [ 'name' => 'Informant', 'prefix' => 1, #Avaliable: 1: m-bot, 2: mbot, 3: MBOT, 4: k-scripts, 5: ts-mbot ], /** * @name Channel ID where bot enter (false - disable / id - enable) * @default false */ 'move_to_channel' => 17 ]; $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' => [], /** * @name Specyfic command configuration */ 'commands_configs' => [ 'moveclient' => [ 'groups' => [9, 81], 'help' => 'Komenda przenosi użytkownika na Twój kanał.', 'usage' => '' ], 'gotoclient' => [ 'groups' => [9, 81], 'blocked_channels' => [], 'help' => 'Komenda przenosi Cię na kanał użytkownika.', 'usage' => '' ], 'meeting' => [ 'groups' => [9, 81], 'move_groups' => [9, 81, 82], 'meeting_channel' => 16, 'help' => 'Komenda przenosi wszystkich administratorów na określony kanał.', 'usage' => '' ], 'adminsonline' => [ 'groups' => [9, 81], 'admin_groups' => [9, 81, 82], 'help' => 'Komenda wyświetla listę administratorów online.', 'usage' => '' ], 'channellist' => [ 'groups' => [9, 81], 'help' => 'Komenda wyświetla listę kanałów.', 'usage' => '' ], 'clientlist' => [ 'groups' => [9, 81], 'help' => 'Komenda wyświetla listę użytkowników wraz z dodatkowymi danymi.', 'usage' => '' ], 'commands' => [ 'groups' => [9, 81], 'help' => 'Komenda wyświetla informacje o dostępnych komendach.', 'usage' => '' ], 'memory' => [ 'groups' => [9, 81], 'help' => 'Komenda pokazuje aktualny stan używanej pamięci przez aplikacje.', 'usage' => '' ], 'findclients' => [ 'groups' => [9, 81], 'help' => 'Komenda wyszukuje użytkownika którego nazwa zawiera frazę z parametru.', 'usage' => '' ], 'pwall' => [ 'groups' => [9, 81], 'help' => 'Komenda wysyła wiadomość prywatną do wszystkich użytkowników serwera o danej treści.', 'usage' => '' ], 'pwToGroup' => [ 'groups' => [9, 81], 'help' => 'Komenda wysyła wiadomość prywatną do wszystkich użytkowników w podanej grupie', 'usage' => '' ], 'pokeToGroup' => [ 'groups' => [9, 81], 'help' => 'Komenda wysyła poke do wszystkich użytkowników w podanej grupie.', 'usage' => '' ], 'pwToAdmin' => [ 'groups' => [9, 81], 'admin_group' => [9, 81, 82], 'help' => 'Komenda wysyła wiadomość prywatną do wszystkich adminów', 'usage' => '' ], 'pokeToAdmin' => [ 'groups' => [9, 81], 'admin_group' => [9, 81, 82], 'help' => 'Komenda wysyła poke do wszystkich adminów.', 'usage' => '' ], 'pokeall' => [ 'groups' => [9, 81], 'help' => 'Komenda wysyła poke do wszystkich użytkowników serwera.', 'usage' => '' ], 'bot' => [ 'groups' => [9, 81], 'help' => 'Komenda wysyła poke do wszystkich użytkowników serwera.', 'usage' => '' ], 'bingo' => [ 'groups' => [9, 81], 'help' => '', 'usage' => '' ], 'trueOrfalse' => [ 'groups' => [9, 81], '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' => '!trueOrFalse', 'usage' => '' ], ] ]; /** end of adds configuration **/ /** Bot id 6 configuration **/ $config[6]['connection'] = [ /** * @name TeamSpeak3 Server IP Adress * @format 0.0.0.0 */ 'server_ip' => '127.0.0.1', /** * @name TeamSpeak3 Server Query Port * @default 10011 */ 'server_query_port' => 10011, /** * @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 false */ 'commands_mode' => false, /** * @name There you can change bot nickname * @default mBot Premium */ 'bot_name' => [ 'name' => 'Premium Instance', 'prefix' => 1, #Avaliable: 1: m-bot, 2: mbot, 3: MBOT, 4: k-scripts, 5: ts-mbot ], /** * @name Channel ID where bot enter (false - disable / id - enable) * @default false */ 'move_to_channel' => 17, ]; $config[6]['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' => 'PremiumInstance', /** * @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 ]; /** Mysql configuration **/ $config[6]['db'] = [ 'host' => 'localhost', 'user' => 'root', 'pass' => 'siiWbx5cx12', 'name' => 'mbot' ]; /** end of mysql configuartion **/ $config[6]['plugins'] = [ /** * @name Dosabled plugins * @format 'simplePlugin' */ 'ignored_plugins' => [], /** * @name Specyfic plugin configurations */ 'plugins_configs' => [] ]; $config[6]['events'] = [ /** * @name Dosabled events * @format 'simpleEvent' */ 'ignored_events' => [], /** * @name Specyfic events time configuration */ 'events_executes' => [ 'Premium' => ['seconds' => 10, 'minutes' => 0, 'hours' => 0, 'days' => 0], 'PremiumOnline' => ['seconds' => 0, 'minutes' => 2, 'hours' => 0, 'days' => 0], 'PremiumAssets' => ['seconds' => 10, 'minutes' => 0, 'hours' => 0, 'days' => 0], 'VIP' => ['seconds' => 10, 'minutes' => 0, 'hours' => 0, 'days' => 0], 'VIPOnline' => ['seconds' => 10, 'minutes' => 2, 'hours' => 0, 'days' => 0], 'VIPAssets' => ['seconds' => 10, 'minutes' => 0, 'hours' => 0, 'days' => 0], 'YT' => ['seconds' => 10, 'minutes' => 0, 'hours' => 0, 'days' => 0], 'YTSubs' => ['seconds' => 20, 'minutes' => 2, 'hours' => 0, 'days' => 0], 'chartsGenerator' => ['seconds' => 0, 'minutes' => 0, 'hours' => 1, 'days' => 0] ], /** * @name Specyfic event configurations */ 'events_configs' => [ 'Premium' => [ 'channel_name' => '[cspacer]⚊⚌☰ Premium [number] ☰⚌⚊', # Wygląd nazwy kanału 'first_order' => 172, # Pierszy kanał odpowiadający za strefę kanałów premium 'source_group_id' => 3411, # Numery grupy, który będzie kopiowany 'max_subchannels' => 7, # Ilość podkanałów 'channel_codec' => 4, # Numer kodeku kanału. Domyślnie: Opus Voice 'channel_codec_level' => 10, # Numer wartości kodeku. Domyślnie: 10 (estimated bitrate: 7.71 KiB/s) 'channel_admin_group_id' => 15, # Grupa kanałowa, która ma zostać nadana 'onClientAreOnChannel' => [78], # Kanał odpowiadający za tworzenie kanału ], 'PremiumOnline' => [ 'up_description' => '\n [center][size=11][b]Strefa Premium[/center]\n\n[center]', # Nagłowek 'name' => 'oɴlιɴe: [online]/[all]' # Wygłąd nazwy kanału ], 'VIP' => [ 'channel_name' => '[cspacer]⚊⚌☰ VIP [number] ☰⚌⚊', # Wygląd nazwy kanału 'first_order' => 3098, # Pierszy kanał odpowiadający za strefę kanałów premium 'source_group_id' => 3570, # Numery grupy, który będzie kopiowany 'max_subchannels' => 5, # Ilość podkanałów 'channel_codec' => 4, # Numer kodeku kanału. Domyślnie: Opus Voice 'channel_codec_level' => 10, # Numer wartości kodeku. Domyślnie: 10 (estimated bitrate: 7.71 KiB/s) 'channel_admin_group_id' => 15, # Grupa kanałowa, która ma zostać nadana 'onClientAreOnChannel' => [81], # Kanał odpowiadający za tworzenie kanału ], 'VIPOnline' => [ 'up_description' => '\n [center][size=11][b]Strefa VIP[/center]\n\n[center]', # Nagłowek 'name' => 'oɴlιɴe: [online]/[all]' # Wygłąd nazwy kanału ], 'YT' => [ 'channel_name' => '[cspacer]⚊⚌☰ YouTube [number] ☰⚌⚊', # Wygląd nazwy kanału 'first_order' => 6464, # Pierszy kanał odpowiadający za strefę kanałów premium 'max_subchannels' => 3, # Ilość podkanałów 'channel_codec' => 4, # Numer kodeku kanału. Domyślnie: Opus Voice 'channel_codec_level' => 10, # Numer wartości kodeku. Domyślnie: 10 (estimated bitrate: 7.71 KiB/s) 'channel_admin_group_id' => 15, # Grupa kanałowa, która ma zostać nadana 'onClientAreOnChannel' => [80], # Kanał odpowiadający za tworzenie kanału ], 'YTSubs' => ['name' => '[data] ѕυв'], 'chartsGenerator' => [ 'checker_type' => 'charts', 'file_path' => '/var/www/charts/', 'ignored_channels' => [] ], ] ]; /** end of adds configuration **/ ?>