Advertisement
Guest User

v21

a guest
Mar 4th, 2018
465
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 78.10 KB | None | 0 0
  1. <?php
  2. /********************************
  3.  
  4. Author: Tymoteusz `Razor Meister` Bartnik
  5.  
  6. Contact: battnik90@gmail.com
  7.  
  8. TS3: xbot-ts3.pl
  9.  
  10. Graphics: Maja, Adamek
  11.  
  12. Config File
  13.  
  14. ********************************/
  15.  
  16.  
  17. $config['general'] = array
  18. (
  19. 'connection_ts3' => array
  20. (
  21. /**************************************************************************************
  22.  
  23. ENG [MAIN LOGIN TO TEAMSPEAK3 SERVER] # PL [GŁÓWNE LOGOWANIE DO TS3]
  24.  
  25. **************************************************************************************/
  26.  
  27.  
  28. // ENG [TeamSpeak3 Server IP Adress] # PL [Adres IP serwera]
  29. 'IP' => '178.217.184.55',
  30.  
  31. // ENG [TeamSpeak3 Server Query Port] # PL [Port Query serwera]
  32. 'query_port' => '10011',
  33.  
  34. // ENG [TeamSpeak3 Server Port] # PL [Port serwera]
  35. 'port' => '9987',
  36.  
  37. // ENG [TeamSpeak3 Server Query Login] # PL [Login Query serwera]
  38. 'login' => 'TsPeners',
  39.  
  40. // ENG [TeamSpeak3 Server Query Password] # PL [Haslo Query serwera]
  41. 'password' => '575HTZvK',
  42. ),
  43.  
  44. 'connection_database' => array
  45. (
  46. /**************************************************************************************
  47.  
  48. ENG [MAIN LOGIN TO DATABASE] # PL [GŁÓWNE LOGOWANIE DO BAZY DANYCH]
  49.  
  50. **************************************************************************************/
  51.  
  52.  
  53. // ENG [Database IP] # PL [Adres IP bazy danych]
  54. 'db_ip' => '127.0.0.1',
  55.  
  56. // ENG [Database user] # PL [Użytkownik bazy danych]
  57. 'db_user' => 'root',
  58.  
  59. // ENG [Database password] # PL [Hasło do bazy danych]
  60. 'db_password' => 'Baza#1234',
  61.  
  62. // ENG [Database name] # PL [Nazwa bazy danych]
  63. 'db_name' => 'xbot_new',
  64. ),
  65.  
  66. 'instances_settings' => array
  67. (
  68. /**************************************************************************************
  69.  
  70. ENG [MAIN INSTANCES SETTINGS] # PL [GŁÓWNE USTAWIENIA INSTANCJI]
  71.  
  72. **************************************************************************************/
  73.  
  74.  
  75. '1' => array //Aktualizator
  76. (
  77. 'enabled' => true,
  78. 'database_enabled' => true,
  79. 'bot_name' => 'XBOT ▪ Aktualizator',
  80. 'default_channel' => 136,
  81. ),
  82.  
  83. '2' => array //Administrator
  84. (
  85. 'enabled' => true,
  86. 'database_enabled' => true,
  87. 'bot_name' => 'XBOT ▪ Administrator',
  88. 'default_channel' => 136,
  89. ),
  90.  
  91. '3' => array //Database
  92. (
  93. 'enabled' => true,
  94. 'database_enabled' => true,
  95. 'bot_name' => 'XBOT ▪ Database',
  96. 'default_channel' => 136,
  97. ),
  98.  
  99. '4' => array //Channels Guard
  100. (
  101. 'enabled' => true,
  102. 'database_enabled' => true,
  103. 'bot_name' => 'XBOT ▪ Channels guard',
  104. 'default_channel' => 136,
  105. ),
  106.  
  107. '5' => array //Commander
  108. (
  109. 'enabled' => false,
  110. 'database_enabled' => false,
  111. 'bot_name' => 'XBOT ▪ Commander',
  112. 'default_channel' => 136,
  113.  
  114. // ENG [Set individual ts3 login and password] # PL [Ustaw indywidualny login i hasło do ts3]
  115. 'individual_login' => array
  116. (
  117. 'enabled' => false,
  118. 'login' => '',
  119. 'password' => '',
  120. ),
  121. ),
  122.  
  123. '6' => array //LiveHelp
  124. (
  125. 'enabled' => false,
  126. 'database_enabled' => false,
  127. 'bot_name' => 'XBOT ▪ LiveHelp',
  128. 'default_channel' => 136,
  129.  
  130. // ENG [Set individual ts3 login and password] # PL [Ustaw indywidualny login i hasło do ts3]
  131. 'individual_login' => array
  132. (
  133. 'enabled' => true,
  134. 'login' => 'lh',
  135. 'password' => '',
  136. ),
  137. ),
  138. ),
  139. );
  140.  
  141.  
  142.  
  143. $config['instance']['1']['logs_system'] = array
  144. (
  145. /****************************************************************************
  146.  
  147. ENG [LOGS SYSTEM] # PL [SYSTEM LOGÓW]
  148.  
  149. ****************************************************************************/
  150.  
  151.  
  152. 'logs' => array
  153. (
  154. // ENG [Turn on/off logs system (true or false)] # PL [Włączenie lub wyłączenie systemu logów]
  155. 'enabled' => true,
  156.  
  157. // ENG [Days, after which, log files will be deleted] # PL [Czas w dniach, po których pliki logów zostana usunięte]
  158. 'delete_interval' => '3',
  159. ),
  160. );
  161.  
  162.  
  163.  
  164. $config['instance']['1']['options'] = array
  165. (
  166. /****************************************************************************
  167.  
  168. ENG [INSTANCE OPTIONS] # PL [OPCJE INSTANCJI]
  169.  
  170. ****************************************************************************/
  171.  
  172.  
  173. // ENG [Folder for functions containing all events and plugins] # PL [Folder w którym sa wszystkie eventy i pluginy]
  174. 'folder' => 'first_instance',
  175.  
  176. // ENG [Bot interval in seconds] # PL [Interwal bota w sekundach]
  177. 'bot_interval' => 1,
  178.  
  179. // ENG ['events_plugins' or 'commands' (default 'events_plugins')] # PL ['events_plugins' lub 'commands' (domyślnie 'events_plugins')]
  180. 'function_type' => 'events_plugins',
  181.  
  182. // ENG [Black list type, 'ban' | 'kick'] # PL [Typ black listy, 'ban' - banowanie | 'kick' - kickowanie z serwera]
  183. 'black_list_type' => 'ban',
  184. );
  185.  
  186.  
  187.  
  188. $config['instance']['1']['functions'] = array
  189. (
  190.  
  191.  
  192. /**************************************
  193.  
  194. ENG [PLUGINS] # PL [PLUGINY]
  195.  
  196. **************************************/
  197.  
  198.  
  199. 'plugins' => true,
  200.  
  201.  
  202. // ENG [Informing admins about upcoming meeting] # PL [Informowanie administracji o zbliżajacym się spotkaniu]
  203. 'admins_meeting' => array
  204. (
  205. 'enabled' => false,
  206. 'info' => array
  207. (
  208. 'admins_server_groups' => array(18,46,17,19,16,15,14,11,14,10), //all admins server groups
  209. 'channel_id' => 71, //meeting channel id
  210. 'channel_name' => 'Zebranie Administracji [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
  211. 'information_before' => true, //informing admins `time_to_meeting` seconds before meeting
  212. 'time_to_meeting' => 300, //in seconds
  213. 'move_admins' => true, //move admins to meeting channel on time
  214. ),
  215. ),
  216.  
  217.  
  218. // ENG [Nicknames security] # PL [Ochrona nicków]
  219. 'nicks_security' => array
  220. (
  221. 'enabled' => true,
  222. 'ignored_groups' => array(), //ignored groups
  223. 'file' => 'include/cache/nicks_security.txt', //bad phrases separated by ,(comma) without spaces, enters etc
  224. ),
  225.  
  226.  
  227. // ENG [Server groups limit] # PL [Limit grup serwera]
  228. 'groups_limit' => array
  229. (
  230. 'enabled' => false,
  231. 'ignored_groups' => array(), //ignored groups which will not be check
  232. 'info' => array
  233. (
  234. /****************************************
  235.  
  236. '1' => array //growing number, for example 1, 2, 3...
  237. (
  238. 'checking_groups' => array(52,53,54,55,56), //checking server groups
  239. 'limit' => 1, //limit of checking groups
  240. ),
  241.  
  242. ****************************************/
  243.  
  244. '1' => array
  245. (
  246. 'checking_groups' => array(52,53,54,55,56), //checking server groups
  247. 'limit' => 1, //limit of checking groups
  248. ),
  249. '2' => array
  250. (
  251. 'checking_groups' => array(10,11,12,13,14,15,16,17,18,19,20,21), //checking server groups
  252. 'limit' => 2, //limit of checking groups
  253. ),
  254. ),
  255. ),
  256.  
  257.  
  258. // ENG [Move specified groups to channel from specified channel] # PL [Przenoszenie użytkowników z określoną grupą z kanału na kanał]
  259. 'move_groups' => array
  260. (
  261. 'enabled' => false,
  262. 'if_client_on_channel' => array(20164,17281), //All channels from which bot must move clients | Wszystkie kanały, z których bot ma movać
  263. 'info' => array
  264. (
  265. /*************************
  266.  
  267. 'is_on_channel_id' => array('group_id', 'move_to_channel_id'),
  268.  
  269. *************************/
  270.  
  271. 17281 => array(1573,12197),
  272. 20164 => array(511,12196),
  273. ),
  274. ),
  275.  
  276.  
  277. // ENG [Animated icon] # PL [Animowana ikonka]
  278. 'animated_icon' => array
  279. (
  280. 'enabled' => true,
  281. 'info' => array
  282. (
  283. /*************************************************
  284.  
  285. id => array
  286. (
  287. 'type' => 'servergroup' OR 'cldbid' //If servergroup, id = sgid || if cldbid, id = client database id
  288. 'icons' => array(-2072408170,968796862,1023685817,-1634246665,1726830382),
  289. ),
  290.  
  291. *************************************************/
  292.  
  293. 72 => array
  294. (
  295. 'type' => 'servergroup',
  296. 'icons' => array(-1565214971,-1355271991,330891713),
  297. ),
  298. 24 => array
  299. (
  300. 'type' => 'cldbid',
  301. 'icons' => array(-2072408170,968796862,1023685817,-1634246665,1726830382),
  302. ),
  303. ),
  304. ),
  305.  
  306.  
  307. /**************************************
  308.  
  309. ENG [EVENTS] # PL [EVENTY]
  310.  
  311. **************************************/
  312.  
  313.  
  314. 'events' => true,
  315.  
  316.  
  317. // ENG [Online users] # PL [Użytkownicy online]
  318. 'online_users' => array
  319. (
  320. 'enabled' => true,
  321. 'channel_id' => 15,
  322. 'ignored_groups' => array(39),
  323. 'channel_name' => '[»] Liczba Osób Online: [ONLINE]', //[ONLINE] - online users
  324. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
  325. ),
  326.  
  327.  
  328. // ENG [Record amount of clients online] # PL [Rekordowa ilośc użytkowników online]
  329. 'record_online' => array
  330. (
  331. 'enabled' => true,
  332. 'channel_id' => 16,
  333. 'channel_name' => '[»] Rekord Osób Online: [RECORD]', //[RECORD] - record online users
  334. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 20),
  335. ),
  336.  
  337.  
  338. // ENG [List of admins online] # PL [Lista adminów online]
  339. 'admin_list_online' => array
  340. (
  341. 'enabled' => true,
  342. 'channel_id' => 171,
  343. 'admins_server_groups' => array(18,46,17,19,16,15,14,11,14,10),
  344. 'ignored_groups' => array(),
  345. 'channel_name' => '[spacer][»] Centrum Pomocy adminów: [ONLINE]', //[ONLINE] - Admins online
  346. 'top_description' => 'Lista Administracji online',
  347. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 15),
  348. ),
  349.  
  350.  
  351. // ENG [Admin list] # PL [Lista adminów]
  352. 'admin_list' => array
  353. (
  354. 'enabled' => true,
  355. 'channel_id' => 13,
  356. 'admins_server_groups' => array(18,46,17,19,16,15,14,11,14,10),
  357. 'ignored_groups' => array(),
  358. 'min_idle_time' => 5*60, //minimal client idle time to be away (in seconds)
  359. 'admins_count' => true, //enable admins count in description
  360. 'top_description' => '[img]https://i.imgur.com/onCuRVU.png[/img]',
  361. 'icons_enabled' => false, //Convert rang name to icon
  362. 'icons' => array
  363. (
  364. /*************************
  365.  
  366. group_id => 'url_to_image',
  367.  
  368. ************************/
  369.  
  370. 6 => '',
  371. 35 => '',
  372. ),
  373. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 15),
  374. ),
  375.  
  376.  
  377. // ENG [Change channel name] # PL [Zmiana nazwy kanalu]
  378. 'change_channel' => array
  379. (
  380. 'enabled' => true,
  381. 'channel_id' => 189,
  382. 'channel_name' => array
  383. (
  384. '[cspacer] » Informacje «',
  385. '[cspacer] » Bezpieczny «',
  386. '[cspacer] » Stabilny «',
  387. '[cspacer] » Ochrona danych osobowy «',
  388. '[cspacer] » Nasze IP nigdy się nie zmienia «',
  389. '[cspacer] » Witaj na Ts-Peners.pl «',
  390. '[cspacer] » Nowy Baner Na Święta «',
  391. ),
  392. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 45),
  393. ),
  394.  
  395.  
  396. // ENG [Multifunction] # PL [Wielofunkcyjnośc]
  397. 'multi_function' => array
  398. (
  399. 'enabled' => true,
  400. 'content' => array
  401. (
  402. 'total_ping' => array // ENG [server total ping in channel name] # PL [ping serwera w nazwie kanalu]
  403. (
  404. 'enabled' => false,
  405. 'channel_id' => 183,
  406. 'channel_name' => '» Średni ping wynosi: [PING]', // [PING] = ping
  407. 'integer' => true, // true or false (ping in integer)
  408. ),
  409. 'packet_loss' => array // ENG [server packet loss in channel name] # PL [packet loss serwera w nazwie kanalu]
  410. (
  411. 'enabled' => false,
  412. 'channel_id' => 189,
  413. 'channel_name' => '» Packetloss wynosi: [PACKETLOSS]%', // [PACKETLOSS] = packetloss
  414. 'integer' => true, // true or false (packetloss in integer)
  415. ),
  416. 'channels_count' => array // ENG [channels count in channel name] # PL [ilosc kanalów w nazwie kanalu]
  417. (
  418. 'enabled' => true,
  419. 'channel_id' => 17,
  420. 'channel_name' => '[»] Wszystkich Kanałow: [CHANNELS]', // [CHANNELS] = channels count
  421. ),
  422. 'bytes_upload' => array // ENG [bytes upload on server in channel name] # PL [ilość danych wysłanych przez serwer]
  423. (
  424. 'enabled' => false,
  425. 'channel_id' => 2547,
  426. 'channel_name' => '» Danych wysłanych: [UPLOAD]', // [UPLOAD] = bytes upload
  427. ),
  428. 'bytes_download' => array // ENG [bytes download on server in channel name] # PL [ilość danych pobranych przez serwer]
  429. (
  430. 'enabled' => false,
  431. 'channel_id' => 2548,
  432. 'channel_name' => '» Danych pobranych: [DOWNLOAD]', // [DWONLOAD] = bytes download
  433. ),
  434. ),
  435. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 15),
  436. ),
  437.  
  438.  
  439. // ENG [Support channels] # PL [Kanały pomocy]
  440. 'support_channels' => array
  441. (
  442. 'enabled' => true,
  443. 'content' => array
  444. (
  445. 'time_open' => array //Channels open at a specific time
  446. (
  447. '0' => array // growing number for example 1, 2, 3...
  448. (
  449. 'channelId' => 173, // channel id
  450. 'time_open' => '09:00', // time of opening
  451. 'time_close' => '22:00', // time of closing
  452. 'channel_name_open' => '[»] Centrum Pomocy TS3 [ON]', // channel name when opened
  453. 'channel_name_close' => '[»] Centrum Pomocy TS3 [OFF]', // channel name when closed
  454. 'needed_join_power' => 1500, //when close
  455. 'change_maxfamily_clients' => false, // close family channels too
  456. ),
  457. ),
  458.  
  459. 'open_when_admin' => array //Channels open when admin from server group is online
  460. (
  461. /*************************
  462.  
  463. ###
  464. # open when admin from groups online: 'admin' => array(server_groups separated by comma),
  465. ###
  466.  
  467. ###
  468. # open when client online: 'admin' => client_database_id,
  469. ###
  470.  
  471. *************************/
  472.  
  473. '0' => array // growing number for example 1, 2, 3...
  474. (
  475. 'channelId' => 172, // channel id
  476. 'admin' => array(18,46,17,19,16,15,14,11,14,10),
  477. 'channel_name_open' => '[»] Sprawa Do Administracji [ON]', // channel name when opened
  478. 'channel_name_close' => '[»] Sprawa Do Administracji [OFF]', // channel name when closed
  479. 'needed_join_power' => 200, //when close
  480. 'change_maxfamily_clients' => false, // close family channels too
  481. ),
  482. ),
  483.  
  484. ),
  485. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 10),
  486. ),
  487.  
  488.  
  489. // ENG [Get vip channel] # PL [Otrzymywanie kanału vip]
  490. 'get_vip_channel' => array // Db must be on
  491. (
  492. 'enabled' => false,
  493. 'if_client_on_channel' => array(399, 1511), // all checking channels id
  494.  
  495. 'info' => array
  496. (
  497. 'VIP' => array //Zone name for example 'VIP' | 'GOLD'
  498. (
  499. 'if_on_channel' => 399,
  500. 'server_group_copy' => 75, // server group to copy
  501. 'channel_group_id' => 5, // default channel admin group
  502. 'subchannels' => 5, // how many subchannels
  503. 'subchannels_red' => true, // true - max cleints = 0 | false - max clients = unlimited
  504. 'online_from_server_group' => true, // create channel with information about clients from server group
  505. 'get_server_group' => true, // create channel add/del server group
  506. 'after_channel' => 92, // the first channel for example spacer
  507.  
  508. 'spacer_between' => array
  509. (
  510. 'enabled' => true,
  511. 'spacer_name' => '[*spacerVIP[NUM]]___',
  512. 'join_needed' => 150,
  513. 'modify_needed' => 100,
  514. ),
  515. 'main_channel' => '[lspacer] [[NUM]] ViP', // [NUM] - vip channel number
  516. 'empty_topic' => '#WOLNY', // Topic in empty channel (remember it)
  517. ),
  518. 'Diamond' => array //Zone name for example 'VIP' | 'GOLD'
  519. (
  520. 'if_on_channel' => 1511,
  521. 'server_group_copy' => 139, // server group to copy
  522. 'channel_group_id' => 5, // default channel admin group
  523. 'subchannels' => 15, // how many subchannels
  524. 'subchannels_red' => true, // true - max cleints = 0 | false - max clients = unlimited
  525. 'online_from_server_group' => true, // create channel with information about clients from server group
  526. 'get_server_group' => true, // create channel add/del server group
  527. 'after_channel' => 3, // the first channel for example spacer
  528.  
  529. 'spacer_between' => array
  530. (
  531. 'enabled' => true,
  532. 'spacer_name' => '[*spacerDiamond[NUM]]---',
  533. 'join_needed' => 150,
  534. 'modify_needed' => 100,
  535. ),
  536. 'main_channel' => '[lspacer] [[NUM]] Diamond', // [NUM] - vip channel number
  537. 'empty_topic' => '#WOLNY_D', // Topic in empty channel (remember it)
  538. ),
  539. ),
  540. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 15),
  541. ),
  542.  
  543.  
  544. // ENG [Information on channel about twitch/youtube channel] # PL [Informacje o kanale twitch/youtube]
  545. 'twitch_yt' => array
  546. (
  547. 'enabled' => true,
  548. 'info' => array
  549. (
  550. 'twitch_enabled' => false,
  551. 'twitch_api_key' => 'oaocbf2zpmv6807kp9jcxkwmcjvq5a', // you can change it if you want https://www.twitch.tv/settings/connections
  552. 'twitch' => array
  553. (
  554. 'izakooo' => array //Twitch channel name
  555. (
  556. 'channel_id' => 189,
  557. 'channel_name' => 'izakooo [STATUS_TWITCH]', //[STATUS_TWITCH] - on live or no
  558. ),
  559. ),
  560. 'youtube_enabled' => true,
  561. 'youtube_api_key' => 'AIzaSyAEQeDyRwJxVHw_m8wCD-P7oT_ufy4waX0',
  562. 'youtube' => array
  563. (
  564. 'UCxihpe6SunxQwl9OXqVfRbg' => array //YouTube channel id
  565. (
  566. 'main_channel' => array //Channel where will be description and SUBS in channel name
  567. (
  568. 'channel_id' => 146,
  569. 'channel_name' => '[ YouTuber ] Dziubix: [SUBS] subów', //[SUBS] - subscribers //[NAME] - youtuber nick
  570. ),
  571. 'videos_count' => array //Channel where will be Videos count in channel name
  572. (
  573. 'channel_id' => 147,
  574. 'channel_name' => '[»] Filmów na kanale: [VIDEOS]', //[VIDEOS] - videos count
  575. ),
  576. 'views_count' => array //Channel where will be views count in channel name
  577. (
  578. 'channel_id' => 148,
  579. 'channel_name' => '[»] Wyświetleń: [VIEWS]', //[VIEWS] - views count
  580. ),
  581. ),
  582. 'UCHH-Hgvg9v39p8QU4jMen8A' => array //YouTube channel id
  583. (
  584. 'main_channel' => array //Channel where will be description and SUBS in channel name
  585. (
  586. 'channel_id' => 141,
  587. 'channel_name' => '[ YouTuber ] Vcurviony: [SUBS] subów', //[SUBS] - subscribers [URL]//[NAME][/URL] - youtuber nick
  588. ),
  589. 'videos_count' => array //Channel where will be Videos count in channel name
  590. (
  591. 'channel_id' => 142,
  592. 'channel_name' => '[»] Filmów na kanale: [VIDEOS]', //[VIDEOS] - videos count
  593. ),
  594. 'views_count' => array //Channel where will be views count in channel name
  595. (
  596. 'channel_id' => 143,
  597. 'channel_name' => '[»] Wyświetleń: [VIEWS]', //[VIEWS] - views count
  598. ),
  599. ),
  600. ),
  601. ),
  602. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 7,'seconds' => 0),
  603. ),
  604.  
  605.  
  606. // ENG [clients online from server group] # PL [użytkownicy danej grupy serwera online]
  607. 'online_from_server_group' => array
  608. (
  609. 'enabled' => true,
  610. 'show_time' => true, //only for groups which have maximal 15 members | true / false
  611.  
  612. 'info' => array
  613. (
  614. 288 => array
  615. (
  616. 'server_group' => 42,
  617. 'channel_name' => '[rspacer]Online z [SERVER_GROUP]: [ONLINE]/[MAX]',
  618. 'top_description' => '| Lista osób z rangi: [SERVER_GROUP] |',
  619. ),
  620. 305 => array
  621. (
  622. 'server_group' => 140,
  623. 'channel_name' => '[rspacer]Online z [SERVER_GROUP]: [ONLINE]/[MAX]',
  624. 'top_description' => '| Lista osób z rangi: [SERVER_GROUP] |',
  625. ),
  626. 318 => array
  627. (
  628. 'server_group' => 43,
  629. 'channel_name' => '[rspacer]Online z [SERVER_GROUP]: [ONLINE]/[MAX]',
  630. 'top_description' => '| Lista osób z rangi: [SERVER_GROUP] |',
  631. ),
  632. 333 => array
  633. (
  634. 'server_group' => 141,
  635. 'channel_name' => '[rspacer]Online z [SERVER_GROUP]: [ONLINE]/[MAX]',
  636. 'top_description' => '| Lista osób z rangi: [SERVER_GROUP] |',
  637. ),
  638. 346 => array
  639. (
  640. 'server_group' => 149,
  641. 'channel_name' => '[rspacer]Online z [SERVER_GROUP]: [ONLINE]/[MAX]',
  642. 'top_description' => '| Lista osób z rangi: [SERVER_GROUP] |',
  643. ),
  644. 359 => array
  645. (
  646. 'server_group' => 139,
  647. 'channel_name' => '[rspacer]Online z [SERVER_GROUP]: [ONLINE]/[MAX]',
  648. 'top_description' => '| Lista osób z rangi: [SERVER_GROUP] |',
  649. ),
  650. 371 => array
  651. (
  652. 'server_group' => 159,
  653. 'channel_name' => '[rspacer]Online z [SERVER_GROUP]: [ONLINE]/[MAX]',
  654. 'top_description' => '| Lista osób z rangi: [SERVER_GROUP] |',
  655. ),
  656. ),
  657. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 10),
  658. ),
  659.  
  660.  
  661. // ENG [assign server group if client enters a channel] # PL [przypisz grupę serwera po wejściu na kanal]
  662. 'get_server_group' => array
  663. (
  664. 'enabled' => true,
  665. 'if_client_on_channel' => array(63195,63196,63198,63199,63200,63201), //all checking channels id
  666. 'delete_rang' => true, //delete rang if client is on channel
  667. 'client_kick' => true, //Kick client from channel after assignment/deleted group | true / false
  668. 'poke_client' => false, //Poke client for example: You have just received clan group!
  669. 'info' => array
  670. (
  671. //372 => 159, //channel id => server group id
  672. 289 => 42,
  673. 306 => 140,
  674. 319 => 43,
  675. 334 => 141,
  676. 347 => 149,
  677. 360 => 139,
  678. ),
  679. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 10),
  680. ),
  681.  
  682.  
  683. // ENG [Ddos information] # PL [Informacje o ddos]
  684. 'ddos_information' => array
  685. (
  686. 'enabled' => false,
  687. 'file' => 'include/cache/ddos_information.txt',
  688. 'packet_loss' => 10, //from what packet loss%(numeric) send global information
  689. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 30),
  690. ),
  691.  
  692.  
  693. // ENG [Informing about client in channel name] # PL [Status użytkownika w nazwie kanalu]
  694. 'client_on_channel' => array
  695. (
  696. 'enabled' => true,
  697. 'server_groups_id' => array(18,46,17), //all checking client's server groups
  698. 'ignored_groups' => array(),
  699. 'idle_time' => 300, //idle time to have away status (in seconds)
  700. 'show_description' => true, //show description on channels
  701. 'info' => array
  702. (
  703. /***************************************************************
  704.  
  705. (you can copy this to use this function many times)
  706.  
  707. 10 => array //client databse id => array
  708. (
  709. 'channel_id' => 432, //channel id
  710. 'format' => '[RANG] >> [NICK] >> [STATUS]', //format on channel name [RANG] - server group name, [NICK] - client nick, [STATUS] - client status (online/away/offline)
  711. 'fb' => 'https://www.facebook.com/XBot-bot-na-tw%C3%B3j-serwer-TS3-1719172075053504/messages/', //If none set 0
  712. 'email' => 'battnik90@gmail.com', //If none set 0
  713. ),
  714.  
  715. ***************************************************************/
  716.  
  717. 18 => array // client dbid => array
  718. (
  719. 'channel_id' => 35, //channel id
  720. 'format' => '[[RANG]] [NICK] - [STATUS]', //format on channel name [RANG] - server group name, [NICK] - client nick, [STATUS] - client status (online/away/offline)
  721. 'fb' => 'https://www.facebook.com/Ts-Penerspl-287947554924858/',
  722. 'email' => 'bartek-bumek@wp.pl',
  723. ),
  724. 46 => array // client dbid => array
  725. (
  726. 'channel_id' => 42, //channel id
  727. 'format' => '[[RANG]] [NICK] - [STATUS]', //format on channel name [RANG] - server group name, [NICK] - client nick, [STATUS] - client status (online/away/offline)
  728. 'fb' => 'https://www.facebook.com/Ts-Penerspl-287947554924858/',
  729. 'email' => 'damianr2002@interia.pl',
  730. ),
  731. 10 => array // client dbid => array
  732. (
  733. 'channel_id' => 44, //channel id
  734. 'format' => '[[RANG]] [NICK] - [STATUS]', //format on channel name [RANG] - server group name, [NICK] - client nick, [STATUS] - client status (online/away/offline)
  735. 'fb' => 'https://www.facebook.com/Ts-Penerspl-287947554924858/',
  736. 'email' => 'dziubixx@gmail.com',
  737. ),
  738. ),
  739. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 15),
  740. ),
  741.  
  742.  
  743. // ENG [Status sinusbot] # PL [Status sinusbotów]
  744. 'status_sinusbot' => array
  745. (
  746. 'enabled' => true,
  747. 'channel_id' => 20,
  748. 'bots_server_groups' => array(9937),
  749. 'top_description' => '[img]https://i.imgur.com/cWwskNb.png[/img]',
  750. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 0),
  751. ),
  752.  
  753.  
  754. // ENG [List of server queries online] # PL [Lista klientów server query online]
  755. 'server_query_online' => array
  756. (
  757. 'enabled' => false,
  758. 'channel_id' => 173,
  759. 'channel_name' => '» Server Query online: [ONLINE]', //[ONLINE] - Server Query online
  760. 'top_description' => '[img]https://i.imgur.com/KCvBQlm.png[/img]',
  761. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 20),
  762. ),
  763.  
  764.  
  765. // ENG [Ban list] # PL [Lista banów]
  766. 'ban_list' => array
  767. (
  768. 'enabled' => true,
  769. 'channel_id' => 12,
  770. 'how_many' => 10,
  771. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 0),
  772. ),
  773.  
  774.  
  775. // ENG [Facebook posts] # PL [Posty z facebook'a]
  776. 'facebook_posts' => array
  777. (
  778. 'enabled' => false,
  779. 'channel_id' => 175,
  780. 'channel_name' => '» Fanpage (Likes: [LIKES])', //[LIKES] - likes count
  781. 'page_id' => '1719172075053504', //You can find it on website: https://findmyfbid.com/
  782. 'access_token' => 'EAANK8g0AUikBAJ5OREKhWvkkwZAaCccxe2akIT5pKN66ELsRoDhYNZC8SNlZAdZA8CDaZCEIMCKcRq7473kRqce8XD6UuJr5fmHgsN7RyRcAI7QNfd77O9JHIV8HAs682110hCJs75jr3ppdGpK4QqZBw69JbhyhYTmE5gsjFyZBoZAIQeZBfi3pL',
  783. 'posts' => 1,
  784. 'link_to_fanpage' => 'https://www.facebook.com/XBot-bot-na-tw%C3%B3j-serwer-TS3-1719172075053504/',
  785. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 1,'minutes' => 0,'seconds' => 0),
  786. ),
  787.  
  788.  
  789. // ENG [Game servers' info] # PL [Informacje o serwerach gier]
  790. 'servers_info' => array
  791. (
  792. 'enabled' => false,
  793. 'info' => array
  794. (
  795. /******************************************
  796.  
  797. 0 => array
  798. (
  799. 'type' => 'server_type',
  800. 'host' => 'ip:port', //for example 195.32.532.321:1045
  801. 'channel_id' => channel_id(value), //for exaple 45
  802. 'channel_name' => 'channel_name(value)',
  803. ),
  804.  
  805. server_type: 'cs' - CS 1.6 server | 'csgo' - CS:GO server | 'minecraft' - Minecraft server
  806.  
  807. 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
  808.  
  809. For example:
  810.  
  811. 0 => array growing number from 0 (0,1,2,3,4,5,itd)
  812. (
  813. 'type' => 'cs',
  814. 'host' => '193.70.125.254:27030',
  815. 'channel_id' => 20922,
  816. 'channel_name' => 'Online: [CLIENTS_ONLINE] | Mapa: [MAP]',
  817. ),
  818.  
  819. ******************************************/
  820.  
  821. 0 => array
  822. (
  823. 'type' => 'minecraft',
  824. 'host' => '188.68.249.40:26438',
  825. 'channel_id' => 78,
  826. 'channel_name' => '[cspacer]RajCraft | FreeBuild | ([CLIENTS_ONLINE]/[CLIENTS_MAX])',
  827. ),
  828. 1 => array
  829. (
  830. 'type' => 'minecraft',
  831. 'host' => '188.68.249.40:26304',
  832. 'channel_id' => 79,
  833. 'channel_name' => '[cspacer]Turbo-HC | MediumHC | ([CLIENTS_ONLINE]/[CLIENTS_MAX])',
  834. ),
  835. ),
  836. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 5,'seconds' => 0),
  837. ),
  838.  
  839.  
  840.  
  841.  
  842. // ENG [Users' country list] # PL [Lista krajów użytkowników]
  843. 'country_list' => array
  844. (
  845. 'enabled' => true,
  846. 'channel_id' => 176,
  847. 'channel_name' => '[»] Osób online spoza Polski: [ONLINE]', //[ONLINE] online clients outside the specified country
  848. 'default_country' => 'PL',
  849. 'top_description' => 'Lista osób ONLINE spoza Polski',
  850. 'ignored_groups' => array(39),
  851. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 2,'seconds' => 0),
  852. ),
  853.  
  854.  
  855. // ENG [Name_day in channel name] # PL [Imieniny w nazwie kanału]
  856. 'name_day' => array
  857. (
  858. 'enabled' => false,
  859. 'channel_id' => 190,
  860. 'channel_name' => '» Im: [NAME]', //[NAME] - name
  861. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 2,'seconds' => 0),
  862. ),
  863.  
  864.  
  865. // ENG [Partners] # PL [Partnerzy]
  866. 'partners' => array
  867. (
  868. 'enabled' => false,
  869. 'channel_id' => 831,
  870. 'info' => array
  871. (
  872. '[cspacer] TSForum.pl' => 'przykładowy opis TSForum.pl',
  873. '[cspacer] Aplikacja XBot' => 'przykładowy opis XBot',
  874. ),
  875. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 0),
  876. ),
  877.  
  878.  
  879. // ENG [Generate cache] # PL [Generuj plik cache]
  880. 'generate_cache' => array
  881. (
  882. 'enabled' => true,
  883. 'target_file' => '/var/www/html/vip/cache/cache.txt',
  884. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
  885. ),
  886.  
  887.  
  888. // ENG [XBot info] # PL [Informacje od twórcy w opisie kanału]
  889. 'xbot_info' => array //Checking on the server every 15 minutes
  890. (
  891. 'enabled' => true,
  892. 'channel_id' => 46,
  893. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 10,'seconds' => 0),
  894. ),
  895.  
  896. // ENG [Get YT channel] # PL [Otrzymywanie kanału YouTube]
  897. 'get_yt_channel' => array // Db must be on
  898. (
  899. 'enabled' => false,
  900. 'if_client_on_channel' => array(2296), // all checking channels id
  901.  
  902. 'if_on_channel' => 399,
  903. 'channel_group_id' => 5, // default channel admin group
  904. 'subchannels' => 5, // how many subchannels
  905. 'subchannels_red' => true, // true - max cleints = 0 | false - max clients = unlimited
  906. 'videos_count' => true, // create channel with information about videos count on yt channel
  907. 'views_count' => true, // create channel with information about views count on yt channel
  908. 'after_channel' => 3, // the first channel for example spacer
  909.  
  910. 'spacer_between' => array
  911. (
  912. 'enabled' => true,
  913. 'spacer_name' => '[*spacerYT[NUM]]___',
  914. 'join_needed' => 150,
  915. 'modify_needed' => 100,
  916. ),
  917. 'main_channel' => '[cspacer]■ [[NUM]] YT ■', // [NUM] - vip channel number
  918. ),
  919.  
  920. // ENG [Away Group] # PL [Grupa away]
  921. 'away_group' => array
  922. (
  923. 'enabled' => false,
  924. 'server_group_copy' => 11160,
  925. 'min_idle_time' => 60,
  926. 'ignored_groups' => array(),
  927. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
  928. ),
  929.  
  930. // ENG [Cache icons] # PL [Generuj ikonki do katalogu]
  931. 'cache_icons' => array
  932. (
  933. 'enabled' => false,
  934. 'icons_path' => '/var/www/html/server_icons/',
  935. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 5,'seconds' => 0),
  936. ),
  937.  
  938.  
  939. // ENG [Weather in cities] # PL [Pogoda w miastach]
  940. 'weather' => array
  941. (
  942. 'enabled' => false,
  943. 'api_key' => '47b51f4a518ec2d0adb569f7c1491ead', //You can find api on website: openweathermap.org
  944. 'info' => array
  945. (
  946. 209 => array
  947. (
  948. 'country_code' => 'PL', //country code for example: Poland - PL
  949. 'city' => 'Warszawa', //without polish symbols
  950. 'channel_name' => 'Pogoda - [CITY]', //[CITY] - city name
  951. ),
  952. ),
  953. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 5,'seconds' => 0),
  954. ),
  955. );
  956.  
  957.  
  958.  
  959.  
  960.  
  961. $config['instance']['2']['logs_system'] = array
  962. (
  963. /****************************************************************************
  964.  
  965. ENG [LOGS SYSTEM] # PL [SYSTEM LOGÓW]
  966.  
  967. ****************************************************************************/
  968.  
  969.  
  970. 'logs' => array
  971. (
  972. // ENG [Turn on/off logs system (true or false)] # PL [Wlaczenie lub wylaczenie systemu logów]
  973. 'enabled' => true,
  974.  
  975. // ENG [Days, after which, log files will be deleted] # PL [Czas w dniach, po których pliki logów zostana usunięte]
  976. 'delete_interval' => '3',
  977. ),
  978. );
  979.  
  980.  
  981.  
  982. $config['instance']['2']['options'] = array
  983. (
  984. /****************************************************************************
  985.  
  986. ENG [INSTANCE OPTIONS] # PL [OPCJE INSTANCJI]
  987.  
  988. ****************************************************************************/
  989.  
  990.  
  991. // ENG [Folder for functions containing all events and plugins] # PL [Folder w którym sa wszystkie eventy i pluginy]
  992. 'folder' => 'second_instance',
  993.  
  994. // ENG [Bot interval in seconds] # PL [Interwal bota w sekundach]
  995. 'bot_interval' => 1,
  996.  
  997. // ENG ['events_plugins' or 'commands' (default 'events_plugins')] # PL ['events_plugins' lub 'commands' (domyślnie 'events_plugins')]
  998. 'function_type' => 'events_plugins',
  999. );
  1000.  
  1001.  
  1002.  
  1003. $config['instance']['2']['functions'] = array
  1004. (
  1005.  
  1006.  
  1007. /**************************************
  1008.  
  1009. ENG [PLUGINS] # PL [PLUGINY]
  1010.  
  1011. **************************************/
  1012.  
  1013.  
  1014. 'plugins' => true,
  1015.  
  1016.  
  1017.  
  1018.  
  1019. // ENG [Connect message] # PL [Wiadomośc polaczenia]
  1020. 'connect_message' => array
  1021. (
  1022. 'enabled' => false,
  1023. 'file' => 'include/cache/connect_message.txt', //file to connect message
  1024. 'many_messages' => true, //true if single line = one message || false for one message
  1025. 'to_groups' => array(-1), //connect message to specified server_groups | set -1 to all server groups | set gorups_id separated by comma
  1026.  
  1027. /************************************
  1028.  
  1029. [CLIENT_IP] = Client nickname
  1030. [CLIENT_NICK] = Client nickname
  1031. [CLIENT_COUNTRY] = Client country
  1032. [CLIENT_DBID] = Client databse id
  1033. [CLIENT_VERSION] = Client TS3 version
  1034. [CLIENT_CONNECTIONS] = Client total connections
  1035. [CLIENT_PLATFORM] = Client platform
  1036. [CLIENT_TOTALCONNECTIONS] = Client total connections
  1037. [CLIENT_LASTCONNECTED] = Client lastconnected
  1038. [CLIENT_AWAY_MESSAGE] = Client away message
  1039. [CLIENT_CREATED] = Client created
  1040. [CLIENT_ON_SERVER_FOR] = Client is with server for ... for example 2 days and 1 minute
  1041.  
  1042. [SERVER_MAX_CLIENTS] = Server max clients
  1043. [SERVER_ONLINE] = Online users
  1044. [SERVER_CHANNELS] = Channel number
  1045. [SERVER_ID] = Virtual server id
  1046. [SERVER_PORT] = Server port
  1047. [SERVER_NAME] = Server name
  1048. [SERVER_VERSION] = Server version
  1049. [SERVER_VUI] = Server unique identifier
  1050. [SERVER_WELCOME_MESSAGE] = Virtualserver welcomemessage
  1051. [SERVER_PLATFORM] = Server platform
  1052. [SERVER_HOSTMESSAGE] = Server hostmessage
  1053. [SERVER_UPTIME] = Server uptime
  1054.  
  1055.  
  1056. *************************************/
  1057. ),
  1058.  
  1059.  
  1060. // ENG [Register groups assigner] # PL [Przypisywanie zarejestrowanych grup]
  1061. 'groups_assigner' => array
  1062. (
  1063. 'enabled' => false,
  1064. 'if_client_on_channel' => array(163,164), //all checking channels id
  1065. 'register_groups' => array(7,39), //all register groups
  1066. 'info' => array
  1067. (
  1068. 163 => 7, //channel_id => server group id,
  1069. 164 => 39,
  1070. ),
  1071. //Minimal time on server to be registered [Db connect must be on]
  1072. 'min_time_on_server' => 1, //in minutes
  1073. ),
  1074.  
  1075.  
  1076. // ENG [Assign afk group] # PL [Przypisz grupę afk]
  1077. 'afk_group' => array
  1078. (
  1079. 'enabled' => true,
  1080. 'afk_group' => 11033, //afk group id
  1081. 'idle_time' => 600, //in seconds
  1082. 'set_group_if_away' => true, //set afk group if client has away status
  1083. 'set_group_if_muted'=> true, //set afk group if client is muted
  1084. 'ignored_groups' => array(),
  1085. 'ignored_channels' => array(),
  1086. ),
  1087.  
  1088.  
  1089. // ENG [Move afk clients to channel] # PL [Przenieś użytkowników afk na kanal]
  1090. 'afk_move' => array
  1091. (
  1092. 'enabled' => true,
  1093. 'channel_id' => 197, //afk channel id
  1094. 'idle_time' => 1800, //in seconds
  1095. 'move_if_away' => true, //move client if has away status
  1096. 'move_if_muted'=> true, //move client if is muted
  1097. 'move_back' => true, //if client no longer afk move him back (true or false)
  1098. 'message_type' => 'poke', //poke | message | none
  1099. 'ignored_groups' => array(160,132,47,),
  1100. 'ignored_channels' => array(),
  1101. 'kick_from_server' => array
  1102. (
  1103. 'enabled' => false,
  1104. 'min_idle_time' => 300, //in seconds
  1105. 'msg' => 'Zbyt długi AFK!', //Message in kick
  1106. ),
  1107. ),
  1108.  
  1109.  
  1110. // ENG [Server groups security] # PL [Zabezpieczenie grup serwera]
  1111. 'groups_security' => array
  1112. (
  1113. 'enabled' => false,
  1114. 'info' => array
  1115. (
  1116. /*'0' => array //growing number, for example 1, 2, 3...
  1117. (
  1118. 'group_id' => 209, //group Id
  1119. 'ignored_dbid' => array(10,16,42), //privilege client database id's
  1120. 'give_back' => true, //give the rank back for people in ignoredId
  1121. 'type' => 'nothing', //`ban`, `kick`, `nothing` (just group delete and poke)
  1122. 'message' => '', //message to the client; if `ban` or `kick` it's the reason, if `nothing` it's a poke message
  1123. 'time' => 5, //ban timeout
  1124. ), */
  1125.  
  1126.  
  1127. '0' => array
  1128. (
  1129. 'group_id' => 6,
  1130. 'ignored_dbid' => array(24),
  1131. 'give_back' => true,
  1132. 'type' => 'ban',
  1133. 'message' => 'Nie mozesz miec rangi CEO!',
  1134. 'time' => 9999999,
  1135. ),
  1136. '1' => array
  1137. (
  1138. 'group_id' => 35,
  1139. 'ignored_dbid' => array(),
  1140. 'give_back' => true,
  1141. 'type' => 'kick',
  1142. 'message' => 'Nie mozesz miec rangi Support!',
  1143. 'time' => 5,
  1144. ),
  1145. '2' => array
  1146. (
  1147. 'group_id' => 168,
  1148. 'ignored_dbid' => array(),
  1149. 'give_back' => true,
  1150. 'type' => 'kick',
  1151. 'message' => 'Nie mozesz miec rangi TEST Support!',
  1152. 'time' => 5,
  1153. ),
  1154. ),
  1155. ),
  1156.  
  1157.  
  1158. // ENG [Baning for having warning rangs] # PL [Ban za posiadanie X ostrzeżen]
  1159. 'warning_ban' => array
  1160. (
  1161. 'enabled' => false,
  1162. 'ban_time' => '1200', // in seconds
  1163. 'ban_message' => 'Za duzo ostrzezen!',
  1164. 'with_rang' => 212, // the last warning id, for example Warning #3 (if you have 3 warnings)
  1165. 'warning_id' => array
  1166. (
  1167. 212, // the last warning id, for example Warning #3 (if you have 3 warnings)
  1168. 146,
  1169. 144,
  1170. ),
  1171. ),
  1172.  
  1173.  
  1174. // ENG [Block recording users] # PL [Blokowanie użytkowników za nagrywanie]
  1175. 'block_recording' => array
  1176. (
  1177. 'enabled' => false,
  1178. 'ignored_groups' => array(104),
  1179. 'type' => 'kick', //`ban`, `kick`,
  1180. 'message' => 'Nie możesz nagrywać!', //message to the client; if `ban` or `kick` it's the reason
  1181. 'time' => 60, //ban timeout
  1182.  
  1183. ),
  1184.  
  1185.  
  1186. // ENG [Anty VPN] # PL [Event przeciw VPN'om]
  1187. 'anty_vpn' => array
  1188. (
  1189. 'enabled' => false,
  1190. 'X-Key' => 'MjgyOnlESTNMRUJLU2FidzlTcW05Ym5VSmtaVUIwZVlQZFNp', // You can change at website `https://iphub.info/pricing`
  1191. 'ignored_groups' => array(6,35,45,62,166),
  1192. '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.
  1193. 'type' => 'kick', //`poke`, `kick`, `ban`
  1194. 'ban_time' => '60', //in seconds
  1195. 'message_to_client' => "Używasz VPN'a!",
  1196. ),
  1197.  
  1198.  
  1199.  
  1200. /**************************************
  1201.  
  1202. ENG [EVENTS] # PL [EVENTY]
  1203.  
  1204. **************************************/
  1205.  
  1206.  
  1207. 'events' => true,
  1208.  
  1209.  
  1210.  
  1211. // ENG [Auto register] # PL [Auto rejestracja]
  1212. 'auto_register' => array
  1213. (
  1214. 'enabled' => false,
  1215. 'ignored_groups' => array(45,7,39),
  1216. 'register_group' => 7, //register group
  1217. //Minimal time on server to be registered [Db connect must be on]
  1218. 'min_time_on_server' => 5, //in minutes
  1219. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 5,'seconds' => 0),
  1220. ),
  1221.  
  1222.  
  1223. // ENG [Advertisement message] # PL [Reklama]
  1224. 'advertisement_message' => array
  1225. (
  1226. 'enabled' => false,
  1227. 'type' => 'chat', //'chat' - global chat | 'pw' - pw to all users | 'poke' - poke to all users
  1228. 'advertisements' => array
  1229. (
  1230. /***********************
  1231.  
  1232. 'Zapraszamy do rejestracji!',
  1233. 'Wiadmość testowa XBot',
  1234.  
  1235. ***********************/
  1236.  
  1237. '[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]',
  1238. '[b][color=red]Witaj na serwerze testowym aplikacji XBot![/b]',
  1239.  
  1240. ),
  1241. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 10,'minutes' => 0,'seconds' => 0),
  1242. ),
  1243.  
  1244.  
  1245. // ENG [Time and date] # PL [Data i godzina]
  1246. 'clock_date' => array
  1247. (
  1248. 'enabled' => false,
  1249. 'content' => array
  1250. (
  1251. 'clock' => array //clock in channel name
  1252. (
  1253. 'enabled' => true,
  1254. 'channel_id' => '184',
  1255. 'channel_name' => '» Godzina : [CLOCK]', // [CLOCK] = clock
  1256. 'format' => 'G:i', // format G: hours, i: minutes, s: seconds
  1257. ),
  1258. 'date' => array //date in channel name
  1259. (
  1260. 'enabled' => true,
  1261. 'channel_id' => '21389',
  1262. 'channel_name' => '» Data wynosi: [DATE]', // [DATE] = date
  1263. 'format' => 'd-m-Y', // format m: month numeric, M: month in words, d: day numeric, D: day in words, Y: year
  1264. ),
  1265. 'date_and_clock' => array
  1266. (
  1267. 'enabled' => true,
  1268. 'channel_id' => '21414',
  1269. 'channel_name' => '» Dzisiaj jest : [DATE&CLOCK]', // [DATE&CLOCK] = date & clock
  1270. '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
  1271. ),
  1272. ),
  1273. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 60),
  1274. ),
  1275.  
  1276.  
  1277. // ENG [Change server name] # PL [Zmiana nazwy serwera]
  1278. 'change_server_name' => array
  1279. (
  1280. /****************************************
  1281.  
  1282. DATE FORMAT
  1283.  
  1284. m: month numeric,
  1285. M: month in words,
  1286. d: day numeric,
  1287. D: day in words,
  1288. Y: year,
  1289. G: hours,
  1290. i: minutes,
  1291. s: seconds
  1292.  
  1293. ****************************************/
  1294.  
  1295. 'enabled' => true,
  1296. 'ignored_groups' => array(62), //ignored groups, not included in online number
  1297. 'server_name' => '© Ts-Peners.pl™ /Stabilny|Bezpieczny|[ONLINE]/[MAX_CLIENTS]\', //[ONLINE] - online users, [MAX_CLIENTS] - max clients, [DATE] - format higher, [%] %online
  1298. 'format' => 'd-m-Y G:i',
  1299. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
  1300. 'data' => '1970-01-01 00:00:00', //Do not change
  1301. ),
  1302.  
  1303.  
  1304. // ENG [Client platform] # PL [Platforma klienta]
  1305. 'client_platform' => array
  1306. (
  1307. 'enabled' => false,
  1308. 'ignored_groups' => array(0),
  1309.  
  1310. 'windows_enabled' => false,
  1311. 'windows_group' => 1044,
  1312.  
  1313. 'linux_enabled' => false,
  1314. 'linux_group' => 236,
  1315.  
  1316. 'android_enabled' => true,
  1317. 'android_group' => 1044,
  1318.  
  1319. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 20),
  1320. ),
  1321.  
  1322.  
  1323. // ENG [Poke admins] # PL [Zaczepianie adminów]
  1324. 'poke_admins' => array
  1325. (
  1326. 'enabled' => true,
  1327. 'if_client_on_channel' => array(172,173), //all checking channels
  1328. 'ignored_groups' => array(), //if admin has this group, bot will not poke him
  1329. 'ignored_group_if_on_channel' => array(), //if client has this group, bot will not poke admins
  1330. 'info' => array
  1331. (
  1332. /*************************
  1333.  
  1334. ###
  1335. # poking server groups: channel_id => array(server_groups separated by comma),
  1336. ###
  1337.  
  1338. ###
  1339. # poking client: channel_id => client_database_id,
  1340. ###
  1341.  
  1342. *************************/
  1343.  
  1344.  
  1345. 172 => array(18,46,17,19,16,15,14,11,12,10),
  1346. 173 => array(18,46,17,19,16,15,14,11,12,10),
  1347. ),
  1348. 'ignored_channels' => array(), //channels where bot doesn't poke admins
  1349. 'inform_admin_once' => true, //Poke admin only one time
  1350. 'informing_about_channel' => true, //inform admin about the channel on which the user needs help
  1351. 'show_client_link' => true, //show client link ([url])
  1352. 'kick_if_away' => true, //kick client if is away (muted microphone/headphones)
  1353. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 2),
  1354. ),
  1355.  
  1356.  
  1357.  
  1358. // ENG [Generate banner] # PL [Generowanie baneru]
  1359. 'generate_banner' => array
  1360. (
  1361. /****************************************
  1362.  
  1363. font - 'arial', 'calibri', 'inconsolata', 'tahoma'
  1364. color - in RGB array(x, x, x) you can check colors on https://www.w3schools.com/colors/colors_rgb.asp
  1365. co-ordinates - array(size, rotation, x, y)
  1366.  
  1367. ****************************************/
  1368.  
  1369. 'enabled' => true,
  1370. 'admins_online' => array //Liczba adminow online
  1371. (
  1372. 'enabled' => true,
  1373. 'admins_server_groups' => array(18,46,17,19,16,15,14,11,12,10), //admins server groups
  1374. 'font' => 'arial',
  1375. 'color' => array(255,255,255),
  1376. 'co-ordinates' => array(35,0,500,220),
  1377. ),
  1378. 'clients_online' => array //Klienci online
  1379. (
  1380. 'enabled' => true,
  1381. 'show_max_clients' => true,
  1382. 'font' => 'arial',
  1383. 'color' => array(255,255,255),
  1384. 'co-ordinates' => array(35,0,730,140),
  1385. ),
  1386. 'record_online' => array //Rekord online
  1387. (
  1388. 'enabled' => false,
  1389. 'font' => 'arial',
  1390. 'color' => array(255,255,255),
  1391. 'co-ordinates' => array(30,0,830,325),
  1392. ),
  1393. 'clock' => array //Zegar
  1394. (
  1395. 'enabled' => true,
  1396. 'font' => 'arial',
  1397. 'color' => array(255,255,255),
  1398. 'co-ordinates' => array(35,0,740,300),
  1399. ),
  1400. 'channels_count' => array //Liczba kanałów
  1401. (
  1402. 'enabled' => false,
  1403. 'font' => 'arial',
  1404. 'color' => array(255,255,255),
  1405. 'co-ordinates' => array(35,0,500,300),
  1406. ),
  1407. 'name_day' => array //Imieniny
  1408. (
  1409. 'enabled' => false,
  1410. 'font' => 'arial',
  1411. 'color' => array(255,255,255),
  1412. 'co-ordinates' => array(35,0,300,300),
  1413. ),
  1414. 'fanpage_likes' => array //Like'i z fanpage'a
  1415. (
  1416. 'enabled' => false,
  1417. 'page_id' => '1719172075053504', //You can find it on website: https://findmyfbid.com/
  1418. 'access_token' => 'EAANK8g0AUikBAJ5OREKhWvkkwZAaCccxe2akIT5pKN66ELsRoDhYNZC8SNlZAdZA8CDaZCEIMCKcRq7473kRqce8XD6UuJr5fmHgsN7RyRcAI7QNfd77O9JHIV8HAs682110hCJs75jr3ppdGpK4QqZBw69JbhyhYTmE5gsjFyZBoZAIQeZBfi3pL',
  1419. 'font' => 'arial',
  1420. 'color' => array(255,255,255),
  1421. 'co-ordinates' => array(35,0,740,100),
  1422. ),
  1423.  
  1424. 'image_file' => 'include/cache/baner.png',
  1425. 'target_image_file' => '/baner.png',
  1426. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 10),
  1427. ),
  1428.  
  1429.  
  1430. // ENG [Host message] # PL [Wiadomość hosta]
  1431. 'host_message' => array
  1432. (
  1433. 'enabled' => true,
  1434. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 10),
  1435. ),
  1436.  
  1437.  
  1438. // ENG [Live DJ] # PL [Nick DJ'a w nazwie kanału]
  1439. 'live_dj' => array
  1440. (
  1441. 'enabled' => false,
  1442. 'info' => array
  1443. (
  1444. /*********************************
  1445.  
  1446. channel_id => 'nazwa_kanalu', //[DJ] - dj's nick
  1447.  
  1448. *********************************/
  1449.  
  1450. 2032 => 'Obecny DJ: [DJ]', //[DJ] - dj's nick
  1451. ),
  1452. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 45),
  1453. ),
  1454.  
  1455.  
  1456. // ENG [Count users (registered/total)] # PL [Zliaczanie użytkowników (zarejestrowani/wszyscy)]
  1457. 'count_users' => array
  1458. (
  1459. 'enabled' => true, //DB must be on
  1460. 'channel_id' => 18,
  1461. 'channel_name' => '[»] Zarejestrowani użytkownicy: [REG]/[TOTAL]', //[REG] - registered users | [TOTAL] - total users in Db
  1462. 'unregistered_group_id' => 695,
  1463. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 30),
  1464. ),
  1465.  
  1466.  
  1467. // ENG [Show client_info after join the channel] # PL [Pokaż informacje o kliencie po wejściu na kanał]
  1468. 'client_info' => array
  1469. (
  1470. 'enabled' => false,
  1471. 'if_client_on_channel' => array(165),
  1472. '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]',
  1473.  
  1474. /************************************
  1475.  
  1476. [CLIENT_IP] = Client nickname
  1477. [CLIENT_NICK] = Client nickname
  1478. [CLIENT_COUNTRY] = Client country
  1479. [CLIENT_DBID] = Client databse id
  1480. [CLIENT_VERSION] = Client TS3 version
  1481. [CLIENT_CONNECTIONS] = Client total connections
  1482. [CLIENT_PLATFORM] = Client platform
  1483. [CLIENT_TOTALCONNECTIONS] = Client total connections
  1484. [CLIENT_LASTCONNECTED] = Client lastconnected
  1485. [CLIENT_AWAY_MESSAGE] = Client away message
  1486. [CLIENT_CREATED] = Client created
  1487. [CLIENT_ON_SERVER_FOR] = Client is with server for ... for example 2 days and 1 minute
  1488.  
  1489. *************************************/
  1490.  
  1491. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
  1492. ),
  1493.  
  1494.  
  1495. // ENG [Event records in the channel descrition] # PL [Zapisywanie klientów na np. event w opisie kanału]
  1496. 'event_records' => array
  1497. (
  1498. 'enabled' => true,
  1499. 'if_client_on_channel' => array(62785),
  1500. 'channel_id' => 239,
  1501. 'top_description' => 'Zapisy na Karaoke', //Do not use [hr] in name!
  1502. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
  1503. ),
  1504.  
  1505.  
  1506. // ENG [Check temporary channels' name] # PL [Sprawdzanie nazw kanałów tymczasowych]
  1507. 'check_tmp_channel' => array
  1508. (
  1509. 'enabled' => false,
  1510. 'file' => 'include/cache/nicks_security.txt', //bad phrases separated by ,(comma) without spaces, enters etc
  1511. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
  1512. ),
  1513.  
  1514.  
  1515. // ENG [Check public zone] # PL [Sprawdzanie strefy kanałów publicznych]
  1516. 'check_public_zone' => array
  1517. (
  1518. 'enabled' => false,
  1519. 'info' => array
  1520. (
  1521. '0' => array
  1522. (
  1523. 'channels_zone' => 24,
  1524. 'channel_name' => '» Kanał Publiczny #[NUM]', //[Num] channel number
  1525. 'mininum_channels' => 3,
  1526. 'maximum_channels' => 25,
  1527. 'icon_id' => 1655954911,
  1528. 'modify_power' => 85, //channel needed modify power
  1529. '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',
  1530. ),
  1531. '2' => array
  1532. (
  1533. 'channels_zone' => 31,
  1534. 'channel_name' => '» Kanał Publiczny #[NUM]', //[Num] channel number
  1535. 'mininum_channels' => 3,
  1536. 'maximum_channels' => 25,
  1537. 'icon_id' => 2681873579,
  1538. 'modify_power' => 85, //channel needed modify power
  1539. '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',
  1540. ),
  1541. '3' => array
  1542. (
  1543. 'channels_zone' => 37,
  1544. 'channel_name' => '» Kanał Publiczny #[NUM]', //[Num] channel number
  1545. 'mininum_channels' => 3,
  1546. 'maximum_channels' => 25,
  1547. 'icon_id' => 2457065219,
  1548. 'modify_power' => 85, //channel needed modify power
  1549. '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',
  1550. ),
  1551. '4' => array
  1552. (
  1553. 'channels_zone' => 43,
  1554. 'channel_name' => '» Kanał Publiczny #[NUM]', //[Num] channel number
  1555. 'mininum_channels' => 3,
  1556. 'maximum_channels' => 25,
  1557. 'icon_id' => 1722569469,
  1558. 'modify_power' => 85, //channel needed modify power
  1559. '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',
  1560. ),
  1561. '5' => array
  1562. (
  1563. 'channels_zone' => 49,
  1564. 'channel_name' => '» Kanał Publiczny #[NUM]', //[Num] channel number
  1565. 'mininum_channels' => 3,
  1566. 'maximum_channels' => 25,
  1567. 'icon_id' => 2194985460,
  1568. 'modify_power' => 85, //channel needed modify power
  1569. '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',
  1570. ),
  1571.  
  1572.  
  1573. ),
  1574. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5 ),
  1575. ),
  1576.  
  1577.  
  1578. // ENG [Clear clients ranks] # PL [Wyczyść rangi klienta]
  1579. 'clear_ranks' => array
  1580. (
  1581. 'enabled' => false,
  1582. 'if_client_on_channel' => array(199), //all channels
  1583. 'info' => array
  1584. (
  1585. /**********************************
  1586.  
  1587. channel_id => array(ranks_to_clear),
  1588.  
  1589. **********************************/
  1590.  
  1591. 199 => array(10,11,12,13,14,15,16,17,18,19,20,21),
  1592. ),
  1593. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
  1594. ),
  1595.  
  1596.  
  1597. // ENG [Delete client permissions] # PL [Wyczyść pozwolenia klienta]
  1598. 'delete_client_permissions' => array
  1599. (
  1600. 'enabled' => false,
  1601. 'ignored_groups' => array(6), //ignored server groups
  1602. 'ignored_dbids' => array(27), //ignored database clients id
  1603. 'ignored_perms' => array('i_icon_id'), //this perms won't be deleted
  1604. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 2),
  1605. ),
  1606. );
  1607.  
  1608.  
  1609.  
  1610.  
  1611.  
  1612. $config['instance']['3']['logs_system'] = array
  1613. (
  1614. /****************************************************************************
  1615.  
  1616. ENG [LOGS SYSTEM] # PL [SYSTEM LOGĂ“W]
  1617.  
  1618. ****************************************************************************/
  1619.  
  1620.  
  1621. 'logs' => array
  1622. (
  1623. // ENG [Turn on/off logs system (true or false)] # PL [Wlaczenie lub wylaczenie systemu logów]
  1624. 'enabled' => true,
  1625.  
  1626. // ENG [Days, after which, log files will be deleted] # PL [Czas w dniach, po których pliki logów zostana usunięte]
  1627. 'delete_interval' => '3',
  1628. ),
  1629. );
  1630.  
  1631.  
  1632.  
  1633. $config['instance']['3']['options'] = array
  1634. (
  1635. /****************************************************************************
  1636.  
  1637. ENG [INSTANCE OPTIONS] # PL [OPCJE INSTANCJI]
  1638.  
  1639. ****************************************************************************/
  1640.  
  1641.  
  1642. // ENG [Folder for functions containing all events and plugins] # PL [Folder w którym sa wszystkie eventy i pluginy]
  1643. 'folder' => 'third_instance',
  1644.  
  1645. // ENG [Bot interval in seconds] # PL [Interwal bota w sekundach]
  1646. 'bot_interval' => 3,
  1647.  
  1648. // ENG ['events_plugins' or 'commands' (default 'events_plugins')] # PL ['events_plugins' lub 'commands' (domyślnie 'events_plugins')]
  1649. 'function_type' => 'events_plugins',
  1650. );
  1651.  
  1652.  
  1653.  
  1654. $config['instance']['3']['functions'] = array
  1655. (
  1656.  
  1657.  
  1658.  
  1659. /**************************************
  1660.  
  1661. ENG [PLUGINS] # PL [PLUGINY]
  1662.  
  1663. **************************************/
  1664.  
  1665.  
  1666. 'plugins' => false,
  1667.  
  1668.  
  1669.  
  1670.  
  1671. /**************************************
  1672.  
  1673. ENG [EVENTS] # PL [EVENTY]
  1674.  
  1675. **************************************/
  1676.  
  1677.  
  1678. 'events' => true,
  1679.  
  1680.  
  1681.  
  1682. // ENG [New users daily] # PL [Nowi użytkownicy dzisiaj]
  1683. 'new_daily_users' => array
  1684. (
  1685. 'enabled' => true,
  1686. 'channel_id' => 19,
  1687. 'with_rang' => 9, //checking if client has one of these rangs
  1688. 'channel_name' => '[»] Nowi Użytkownicy Dzisiaj: [NEW]', //[NEW] - how many new users
  1689. 'top_description' => 'Nowi uzytkownicy dzisiaj',
  1690. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 0),
  1691. ),
  1692.  
  1693.  
  1694. // ENG [Visitors] # PL [Odwiedziny]
  1695. 'visitors' => array
  1696. (
  1697. 'enabled' => true,
  1698. 'channel_id' => 14,
  1699. 'channel_name' => '[»] Odwiedziło nas: [VISITORS]', //[VISITORS] - how many visitors
  1700. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 15),
  1701. ),
  1702.  
  1703.  
  1704. // ENG [Clients in your database] # PL [Użytkownicy w bazie danych]
  1705. '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)
  1706. (
  1707. 'enabled' => true,
  1708. 'idle_time' => 5 * 60, //idle time in seconds
  1709. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 10),
  1710. ),
  1711.  
  1712.  
  1713. // ENG [Top connections] # PL [Najwięcej polaczeń]
  1714. 'top_connections' => array
  1715. (
  1716. 'enabled' => true,
  1717. 'channel_id' => 24,
  1718. 'top_description' => '[img]https://i.imgur.com/NmSPayJ.png[/img]',
  1719. 'records' => 10, //how many clients
  1720. 'ignored_groups' => array(66,132,47,),
  1721. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 4,'seconds' => 0),
  1722. ),
  1723.  
  1724.  
  1725. // ENG [Top connection time] # PL [Najdluższe polaczenia]
  1726. 'top_connection_time' => array
  1727. (
  1728. 'enabled' => true,
  1729. 'channel_id' => 25,
  1730. 'top_description' => '[img]https://i.imgur.com/4yqtJYd.png[/img]',
  1731. 'records' => 10, //how many clients
  1732. 'ignored_groups' => array(66,132,47,),
  1733. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 4,'seconds' => 0),
  1734. ),
  1735.  
  1736.  
  1737. // ENG [Top client idle time] # PL [Najdluższy czas nieaktywności]
  1738. 'top_idle_time' => array
  1739. (
  1740. 'enabled' => true,
  1741. 'channel_id' => 26,
  1742. 'top_description' => '[img]https://i.imgur.com/82pPbKb.png[/img]',
  1743. 'records' => 10, //how many clients
  1744. 'ignored_groups' => array(66,132,47),
  1745. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 4,'seconds' => 0),
  1746. ),
  1747.  
  1748.  
  1749. // ENG [Top time spent on server] # PL [Najdluższy czas na serwerze]
  1750. 'top_time_spent' => array
  1751. (
  1752. 'enabled' => true,
  1753. 'channel_id' => 27,
  1754. 'show_afk_time' => false,
  1755. 'top_description' => '[img]https://i.imgur.com/zjtZ2bf.png[/img]',
  1756. 'records' => 10, //how many clients
  1757. 'ignored_groups' => array(66,132,47),
  1758. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 4,'seconds' => 0),
  1759. ),
  1760.  
  1761.  
  1762. // ENG [Top week time spent on server] # PL [Ranking czasu spędzonego w danym tygodniu]
  1763. 'top_week_time' => array
  1764. (
  1765. 'enabled' => false,
  1766. 'channel_id' => 194,
  1767. 'show_afk_time' => true,
  1768. 'top_description' => '[img]https://i.imgur.com/eSQHozj.png[/img]',
  1769. 'records' => 15, //how many clients
  1770. 'ignored_groups' => array(45,62),
  1771. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 4,'seconds' => 0),
  1772. ),
  1773.  
  1774.  
  1775. // ENG [Clients levels] # PL [Poziomy klientów]
  1776. 'levels' => array
  1777. (
  1778. 'enabled' => false,
  1779. 'ignored_groups' => array(45,62,63),
  1780. 'info' => array
  1781. (
  1782. 68 => 1, //lvl group sgid => hours spent on server on which the rang will be given
  1783. 69 => 5,
  1784. 70 => 10,
  1785. 71 => 15,
  1786. 72 => 20,
  1787. 73 => 30,
  1788. 74 => 40,
  1789. ),
  1790. 'all_levels_groups' => array(68,69,70,71,72,73,74),
  1791. 'top_description' => '[img]https://i.imgur.com/58vTGHg.png[/img]',
  1792. 'records' => 10,
  1793. 'channel_id' => 349,
  1794. 'info_to_client' => 'pw', //Info to client | 'poke' / 'pw' / 'none'
  1795. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 4,'seconds' => 0),
  1796. ),
  1797.  
  1798.  
  1799. // ENG [Random group] # PL [Losowe grupy]
  1800. 'random_group' => array
  1801. (
  1802. 'enabled' => false,
  1803. 'must_have_group' => array(7,39),
  1804. 'ignored_groups' => array(6,35,45,62,63,2,42),
  1805. 'random_groups' => array(42),
  1806. 'time' => '1', //in days
  1807. 'channel_id' => 186,
  1808. 'channel_name' => '• Randomowe grupy', //[USER] - last winner's nickname
  1809. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 4,'seconds' => 0),
  1810. ),
  1811.  
  1812.  
  1813. // ENG [Statistics of admins] # PL [Statystyki administratorów]
  1814. 'statistics_of_admins' => array
  1815. (
  1816. 'enabled' => false,
  1817. 'admins_groups' => array(6,35),
  1818. 'max_idle_time' => 300, //in seconds
  1819. 'register' => array(7,39),
  1820. 'ignored_channels' => array(), //channels where admins will not be check
  1821. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5), //Default: 5 seconds
  1822. ),
  1823.  
  1824.  
  1825. // ENG [Write statistics of admins] # PL [Wypisz statystyki adminów]
  1826. 'write_statistics' => array
  1827. (
  1828. 'enabled' => false,
  1829. 'admins_groups' => array(6,35), //Admins groups to write on the channel description
  1830.  
  1831. 'groups' => array
  1832. (
  1833. 'top_description' => '[size=14][b]Statystyki administracji[/b][/size][size=13][b]\nNadane grupy[/b][/size]',
  1834. 'channelid' => 192,
  1835. ),
  1836.  
  1837. 'timespent' => array
  1838. (
  1839. 'top_description' => '[size=14][b]Statystyki administracji[/b][/size][size=13][b]\nSpędzony czas[/b][/size]',
  1840. 'channelid' => 187,
  1841. ),
  1842.  
  1843.  
  1844. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 0),
  1845. ),
  1846.  
  1847.  
  1848. // ENG [Actions logs in the channel description] # PL [Akcje serwera/bota w opisie kanału]
  1849. 'actions_logs' => array
  1850. (
  1851. 'enabled' => false,
  1852. 'channel_id' => 2948,
  1853. 'top_description' => 'Akcje Na Serwerze',
  1854. 'records' => 30,
  1855. 'info' => array
  1856. (
  1857. /************************
  1858.  
  1859. 'function_name' => true/false, //enable if you want to see logs from this function
  1860. DO NOT ADD FUNCTIONS!
  1861.  
  1862. ************************/
  1863.  
  1864. //Instance I
  1865. 'get_vip_channel' => true,
  1866. 'get_yt_channel' => true,
  1867. 'nicks_security' => true,
  1868.  
  1869. //Instance II
  1870. 'groups_assigner' => true,
  1871. 'auto_register' => true,
  1872. 'block_recording' => true,
  1873. 'anty_vpn' => true,
  1874. 'poke_admins' => true,
  1875.  
  1876. //Instance III
  1877. 'levels' => true,
  1878. 'random_group' => true,
  1879.  
  1880. //Instance IV
  1881. 'get_private_channel' => true,
  1882. 'channels_guard' => true,
  1883. ),
  1884. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 15),
  1885. ),
  1886. );
  1887.  
  1888.  
  1889. $config['instance']['4']['logs_system'] = array
  1890. (
  1891. /****************************************************************************
  1892.  
  1893. ENG [LOGS SYSTEM] # PL [SYSTEM LOGĂ“W]
  1894.  
  1895. ****************************************************************************/
  1896.  
  1897.  
  1898. 'logs' => array
  1899. (
  1900. // ENG [Turn on/off logs system (true or false)] # PL [Wlaczenie lub wylaczenie systemu logów]
  1901.  
  1902. 'enabled' => true,
  1903.  
  1904.  
  1905. // ENG [Days, after which, log files will be deleted] # PL [Czas w dniach, po których pliki logów zostana usunięte]
  1906.  
  1907. 'delete_interval' => '3',
  1908. ),
  1909.  
  1910. );
  1911.  
  1912.  
  1913.  
  1914. $config['instance']['4']['options'] = array
  1915. (
  1916. /****************************************************************************
  1917.  
  1918. ENG [INSTANCE OPTIONS] # PL [OPCJE INSTANCJI]
  1919.  
  1920. ****************************************************************************/
  1921.  
  1922.  
  1923. // ENG [Folder for functions containing all events and plugins] # PL [Folder w którym sa wszystkie eventy i pluginy]
  1924. 'folder' => 'fourth_instance',
  1925.  
  1926. // ENG [Bot interval in seconds] # PL [Interwal bota w sekundach]
  1927. 'bot_interval' => 3,
  1928.  
  1929. // ENG ['events_plugins' or 'commands' (default 'events_plugins')] # PL ['events_plugins' lub 'commands' (domyślnie 'events_plugins')]
  1930. 'function_type' => 'events_plugins',
  1931. );
  1932.  
  1933.  
  1934.  
  1935. $config['instance']['4']['functions'] = array
  1936. (
  1937.  
  1938.  
  1939.  
  1940. /**************************************
  1941.  
  1942. ENG [PLUGINS] # PL [PLUGINY]
  1943.  
  1944. **************************************/
  1945.  
  1946.  
  1947. 'plugins' => false,
  1948.  
  1949.  
  1950.  
  1951. /**************************************
  1952.  
  1953. ENG [EVENTS] # PL [EVENTY]
  1954.  
  1955. **************************************/
  1956.  
  1957.  
  1958. 'events' => true,
  1959.  
  1960.  
  1961. // ENG [Channels guard] # PL [Strażnik kanalów]
  1962. 'channels_guard' => array
  1963. (
  1964. 'enabled' => true,
  1965. 'channels_zone' => 442, //parent channel id
  1966. 'empty_channel_topic' => '#free', //topic in empty channels
  1967. 'free_channel_name' => 'Prywatny Kanał - Wolny',
  1968. 'head_channel_admin_group' => 9, //main head channel admin group id
  1969. 'check_date' => array //check channel date in topic
  1970. (
  1971. 'enabled' => true,
  1972. 'new_date_if_owner' => true, //new date if the owner is on the channel
  1973. 'time_interval_warning' => 3, //days after which the channel name will be changed
  1974. 'time_interval_delete' => 7, //days after which the channel will be deleted
  1975. 'warning_text' => '[ZMIEŃ DATĘ]', //warning text added to channel name after 'time_interval_warning'
  1976. ),
  1977. 'check_channel_num' => array //check if the next channel has number for example 1., 2., etc
  1978. (
  1979. 'enabled' => true,
  1980. ),
  1981. 'check_channel_name' => array //check if the next channel has number for example 1., 2., etc
  1982. (
  1983. 'enabled' => true,
  1984. 'file' => 'include/cache/nicks_security.txt', //bad phrases separated by ,(comma) without spaces, enters etc
  1985. ),
  1986. 'make_empty_channels' => array //make empty channels
  1987. (
  1988. 'enabled' => true,
  1989. 'minimum_free_channels' => 5,
  1990. 'icon_id' => 0,
  1991. ),
  1992. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 30),
  1993. ),
  1994.  
  1995.  
  1996. // ENG [Get private channel] # PL [Otrzymanie prywatnego kanalu]
  1997. 'get_private_channel' => array
  1998. (
  1999. 'enabled' => true,
  2000. 'if_client_on_channel' => array(182), //channel id
  2001. 'sub_channels' => 2, //how many sub channels
  2002. 'head_channel_admin_group' => 9, //main head channel admin group id
  2003. 'needed_server_group' => array(9,58), //needed server group (you need one of them to get a private channel)
  2004. 'message_type' => 'poke', //message type (poke or message)
  2005. 'empty_channel_topic' => '#free', //topic in empty channels
  2006. 'channels_zone' => 442, //parent channel id
  2007. 'icon_id' => 0,
  2008. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
  2009. ),
  2010.  
  2011.  
  2012. // ENG [Empty channels' numbers in channel description] # PL [Numery wolnych kanalów w opisie kanalu]
  2013. 'empty_channels' => array
  2014. (
  2015. 'enabled' => false,
  2016. 'channel_id' => 79, //channel id
  2017. 'empty_channel_topic' => '#free', //topic in empty channels
  2018. 'channels_zone' => 16, //parent channel id
  2019. 'time_interval_delete' => 6, //days after which the channel will be deleted
  2020. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 5,'seconds' => 0),
  2021. ),
  2022.  
  2023.  
  2024. // ENG [Number of private channels in channel name] # PL [Ilość prywatnych kanalów w nazwie kanalu]
  2025. 'private_channels_info' => array
  2026. (
  2027. 'enabled' => false,
  2028. 'empty_channel_topic' => '#free', //topic in empty channels
  2029. 'channels_zone' => 16, //parent channel id
  2030. 'total' => array
  2031. (
  2032. 'enabled' => true,
  2033. 'channel_id' => 22192,
  2034. 'channel_name' => 'Kanalow prywatnych: [NUM]', //[NUM] - number of channels
  2035. ),
  2036. 'taken' => array
  2037. (
  2038. 'enabled' => false,
  2039. 'channel_id' => 22193,
  2040. 'channel_name' => 'Zajete: [NUM]', //[NUM] - number of taken channels
  2041. ),
  2042. 'empty' => array
  2043. (
  2044. 'enabled' => true,
  2045. 'channel_id' => 79,
  2046. 'channel_name' => 'Liczba wolnych kanałów: [NUM]', //[NUM] - number of empty channels
  2047. ),
  2048. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 0),
  2049. ),
  2050. );
  2051.  
  2052.  
  2053.  
  2054.  
  2055.  
  2056. $config['instance']['5']['logs_system'] = array
  2057. (
  2058. /****************************************************************************
  2059.  
  2060. ENG [LOGS SYSTEM] # PL [SYSTEM LOGĂ“W]
  2061.  
  2062. ****************************************************************************/
  2063.  
  2064. 'logs' => array
  2065. (
  2066. // ENG [Turn on/off logs system (true or false)] # PL [Wlaczenie lub wylaczenie systemu logów]
  2067. 'enabled' => true,
  2068.  
  2069. // ENG [Days, after which, log files will be deleted] # PL [Czas w dniach, po których pliki logów zostana usunięte]
  2070. 'delete_interval' => '3',
  2071. ),
  2072. );
  2073.  
  2074.  
  2075.  
  2076. $config['instance']['5']['options'] = array
  2077. (
  2078. /****************************************************************************
  2079.  
  2080. ENG [INSTANCE OPTIONS] # PL [OPCJE INSTANCJI]
  2081.  
  2082. ****************************************************************************/
  2083.  
  2084.  
  2085. // ENG [Folder for functions containing all events and plugins] # PL [Folder w którym sa wszystkie eventy i pluginy]
  2086. 'folder' => 'fifth_instance',
  2087.  
  2088. // ENG [Bot interval in seconds] # PL [Interwal bota w sekundach]
  2089. 'bot_interval' => 3,
  2090.  
  2091. // ENG ['events_plugins' or 'commands' (default 'commands')] # PL ['events_plugins' lub 'commands' (domyślnie 'commands')]
  2092. 'function_type' => 'commands',
  2093. );
  2094.  
  2095.  
  2096.  
  2097. $config['instance']['5']['commands'] = array
  2098. (
  2099.  
  2100.  
  2101.  
  2102. /*********************************************
  2103.  
  2104. ENG [COMMANDS] # PL [KOMENDY]
  2105.  
  2106.  
  2107. Explanation:
  2108.  
  2109. [sgid] - server group id
  2110. [message] - text message
  2111. [instance_id] - Xbot instance id
  2112.  
  2113. *********************************************/
  2114.  
  2115.  
  2116. // ENG [Usage: !help]
  2117. 'help' => array
  2118. (
  2119. 'enabled' => true,
  2120. 'privileged_groups' => array(6), // 0 - all groups
  2121. ),
  2122.  
  2123.  
  2124. // ENG [Usage: !pwall-[message]]
  2125. 'pwall' => array
  2126. (
  2127. 'enabled' => true,
  2128. 'privileged_groups' => array(6), // 0 - all groups
  2129. ),
  2130.  
  2131.  
  2132. // ENG [Usage: !pokeall-[message]]
  2133. 'pokeall' => array
  2134. (
  2135. 'enabled' => true,
  2136. 'privileged_groups' => array(6), // 0 - all groups
  2137. ),
  2138.  
  2139.  
  2140. // ENG [Usage: !pwgroup-[sgid]-[message]]
  2141. 'pwgroup' => array
  2142. (
  2143. 'enabled' => true,
  2144. 'privileged_groups' => array(6), // 0 - all groups
  2145. ),
  2146.  
  2147.  
  2148. // ENG [Usage: !pokegroup-[sgid]-[message]]
  2149. 'pokegroup' => array
  2150. (
  2151. 'enabled' => true,
  2152. 'privileged_groups' => array(6), // 0 - all groups
  2153. ),
  2154.  
  2155.  
  2156. // ENG [Usage: !meeting]
  2157. 'meeting' => array
  2158. (
  2159. 'enabled' => true,
  2160. 'privileged_groups' => array(6), // 0 - all groups
  2161. 'admins_server_groups' => array(6,35),
  2162. 'meeting_channel_id' => 46,
  2163. ),
  2164.  
  2165.  
  2166. // ENG [Usage: !clients]
  2167. 'clients' => array //clients list
  2168. (
  2169. 'enabled' => true,
  2170. 'privileged_groups' => array(6), // 0 - all groups
  2171. ),
  2172.  
  2173.  
  2174. // ENG [Usage: !channels]
  2175. 'channels' => array //channels list
  2176. (
  2177. 'enabled' => true,
  2178. 'privileged_groups' => array(6), // 0 - all groups
  2179. ),
  2180.  
  2181.  
  2182. // ENG [Usage: !bot-[instance_id]] [Function is restarting Xbot's instance]
  2183. 'bot' => array //bot management (`starter.sh run` must be ON)
  2184. (
  2185. 'enabled' => true,
  2186. 'privileged_groups' => array(6), // 0 - all groups
  2187. ),
  2188.  
  2189.  
  2190. // ENG [Usage: !ch-[client_dbid]-[subchannels]]
  2191. 'ch' => array
  2192. (
  2193. 'enabled' => true,
  2194. 'privileged_groups' => array(6), // 0 - all groups
  2195. 'head_channel_admin_group' => 5, //main head channel admin group id
  2196. 'message_type' => 'poke', //message type (poke or message)
  2197. 'empty_channel_topic' => '#free', //topic in empty channels
  2198. 'channels_zone' => 16, //parent channel id
  2199. ),
  2200.  
  2201.  
  2202. // ENG [Usage: !mute-[client_dbid]-[time_in_seconds]]
  2203. 'mute' => array //give user specified group on specified time in seconds
  2204. (
  2205. 'enabled' => true,
  2206. 'privileged_groups' => array(6), // 0 - all groups
  2207. 'give_group' => 156,
  2208. ),
  2209.  
  2210.  
  2211. // ENG [Usage: !admin-[client_dbid]] || Database must be connect with
  2212. 'admin' => array //show information about specified admin
  2213. (
  2214. 'enabled' => true,
  2215. 'privileged_groups' => array(6), // 0 - all groups
  2216. 'admins_groups' => array(6,35), //all admins groups
  2217. ),
  2218.  
  2219.  
  2220. // ENG [Usage: !tpclient-[client_nick]]
  2221. 'tpclient' => array //moving to specified client
  2222. (
  2223. 'enabled' => true,
  2224. 'privileged_groups' => array(6), // 0 - all groups
  2225. ),
  2226.  
  2227.  
  2228. // ENG [Usage: !tpchannel-[channel_name]]
  2229. 'tpchannel' => array //moving to specified channel
  2230. (
  2231. 'enabled' => true,
  2232. 'privileged_groups' => array(6), // 0 - all groups
  2233. ),
  2234.  
  2235.  
  2236. // ENG [Usage: !gsecurity-[type]-[client_dbid]-[group_id] type=add or type=del
  2237. 'gsecurity' => array //adding/del user to groups security function
  2238. (
  2239. 'enabled' => true,
  2240. 'privileged_groups' => array(6), // 0 - all groups
  2241. 'admins_groups' => array(6,35,168), //all admins groups checking in groups_security event
  2242. ),
  2243.  
  2244. // ENG [Usage: !clientinfo-[client_dbid]] || Database must be connect with
  2245. 'clientinfo' => array //show information about specified client
  2246. (
  2247. 'enabled' => true,
  2248. 'privileged_groups' => array(6), // 0 - all groups
  2249. ),
  2250. );
  2251.  
  2252.  
  2253.  
  2254.  
  2255.  
  2256. $config['instance']['6']['logs_system'] = array
  2257. (
  2258. /****************************************************************************
  2259.  
  2260. ENG [LOGS SYSTEM] # PL [SYSTEM LOGĂ“W]
  2261.  
  2262. ****************************************************************************/
  2263.  
  2264. 'logs' => array
  2265. (
  2266. // ENG [Turn on/off logs system (true or false)] # PL [Wlaczenie lub wylaczenie systemu logów]
  2267. 'enabled' => true,
  2268.  
  2269. // ENG [Days, after which, log files will be deleted] # PL [Czas w dniach, po których pliki logów zostana usunięte]
  2270. 'delete_interval' => '3',
  2271. ),
  2272. );
  2273.  
  2274.  
  2275.  
  2276. $config['instance']['6']['options'] = array
  2277. (
  2278. /****************************************************************************
  2279.  
  2280. ENG [INSTANCE OPTIONS] # PL [OPCJE INSTANCJI]
  2281.  
  2282. ****************************************************************************/
  2283.  
  2284.  
  2285. // ENG [Folder for functions containing all events and plugins] # PL [Folder w którym sa wszystkie eventy i pluginy]
  2286. 'folder' => 'sixth_instance',
  2287.  
  2288. // ENG [Bot interval in seconds] # PL [Interwal bota w sekundach]
  2289. 'bot_interval' => 1,
  2290.  
  2291. // ENG ['events_plugins' or 'commands' (default 'live_help')] # PL ['events_plugins' lub 'commands' (domyślnie 'live_help')]
  2292. 'function_type' => 'live_help', // Do not change
  2293. );
  2294.  
  2295.  
  2296.  
  2297. $config['instance']['6']['functions'] = array
  2298. (
  2299.  
  2300.  
  2301.  
  2302. /**************************************
  2303.  
  2304. ENG [PLUGINS] # PL [PLUGINY]
  2305.  
  2306. **************************************/
  2307.  
  2308.  
  2309.  
  2310. 'plugins' => false,
  2311.  
  2312.  
  2313.  
  2314. /**************************************
  2315.  
  2316. ENG [EVENTS] # PL [EVENTY]
  2317.  
  2318. **************************************/
  2319.  
  2320.  
  2321. 'events' => true,
  2322.  
  2323.  
  2324. // ENG [Live Help] # PL [Live Help]
  2325. 'live_help' => array
  2326. (
  2327. 'enabled' => true,
  2328. 'support_channel_id' => 73,
  2329. 'ignored_groups' => array(45,62),
  2330. 'commands_enabled' => true,
  2331.  
  2332. //if not registered commands !m, !k
  2333. 'registration_groups' => array
  2334. (
  2335. 'enabled' => true,
  2336. 'min_time' => 5, //in minutes (DB must be on)
  2337. 'man' => array
  2338. (
  2339. 'sgid' => 7,
  2340. //command - !m
  2341. ),
  2342. 'woman' => array
  2343. (
  2344. 'sgid' => 39,
  2345. //commdn - !k
  2346. ),
  2347. ),
  2348.  
  2349. //!list, !add, !del
  2350. 'server_groups' => array
  2351. (
  2352. 'enabled' => true,
  2353. 'sgids' => array(10,11,12,13,14,15,16,17,18,19,20,21),
  2354. 'limit' => 2,
  2355. ),
  2356.  
  2357. //!faq
  2358. 'faq' => array
  2359. (
  2360. 'enabled' => true,
  2361. '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",
  2362. ),
  2363.  
  2364. //!my_info
  2365. 'client_info' => array
  2366. (
  2367. 'enabled' => true,
  2368. ),
  2369.  
  2370. //!admin
  2371. 'poke_admins' => array
  2372. (
  2373. 'enabled' => true,
  2374. 'admins_groups' => array(6,35,168), //important in `sinusbot` function
  2375. 'ignored_groups' => array(138),
  2376. 'ignored_channels' => array(0), //channels where bot doesn't poke admins
  2377. 'show_client_link' => true, //show client link ([url])
  2378. 'with_command' => false, //poke admins only after command !admin
  2379. 'poke_once' => false, //send one poke to admin (true) or more (false)
  2380. 'poking_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 15), //Only if poke_once = true
  2381.  
  2382. ),
  2383.  
  2384. //!channel
  2385. 'get_private_channel' => array
  2386. (
  2387. 'enabled' => true,
  2388. 'sub_channels' => 2, //how many sub channels
  2389. 'head_channel_admin_group' => 5, //main head channel admin group id
  2390. 'message_type' => 'poke', //message type (poke or message)
  2391. 'empty_channel_topic' => '#free', //topic in empty channels
  2392. 'channels_zone' => 16, //parent channel id
  2393. 'sb_delay' => 8,
  2394. ),
  2395.  
  2396. //`talking` sinusbot
  2397. 'sinusbot' => array
  2398. (
  2399. 'enabled' => true,
  2400. 'host' => 'http://127.0.0.1:8087',
  2401. 'login' => 'admin',
  2402. 'password' => '',
  2403. 'instance_uid' => 'f277e636-8bd9-448a-b159-cd48c3863a4e',
  2404. 'playlist_id' => '47453546-bcaf-4b23-ba60-3e92609e0296',
  2405. 'bot_nick' => 'XBot',
  2406. 'queue_in_nick' => true, //Show in nick number of people in queue
  2407. 'type' => 1,
  2408. ),
  2409.  
  2410.  
  2411. 'read_chat' => 1, //in seconds Default 5
  2412. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 0), //Default: 0 seconds
  2413. ),
  2414. );
  2415.  
  2416. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement