Guest User

Untitled

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