Advertisement
GlobooX

Untitled

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