Guest User

Untitled

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