Advertisement
Guest User

Bot

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