Guest User

Untitled

a guest
May 27th, 2018
2,074
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 87.12 KB | None | 0 0
  1. <?php
  2. /********************************
  3.  
  4. Author: Tymoteusz `Razor Meister` Bartnik
  5.  
  6.  
  7. TS3: xbot-ts3.pl
  8.  
  9. Graphics: Maja, Adamek
  10.  
  11. Config File
  12.  
  13. ********************************/
  14.  
  15.  
  16. $config['general'] = array
  17. (
  18. 'connection_ts3' => array
  19. (
  20. /**************************************************************************************
  21.  
  22. ENG [MAIN LOGIN TO TEAMSPEAK3 SERVER] # PL [GŁÓWNE LOGOWANIE DO TS3]
  23.  
  24. **************************************************************************************/
  25.  
  26.  
  27. // ENG [TeamSpeak3 Server IP Adress] # PL [Adres IP serwera]
  28. 'IP' => '178.217.186.26',
  29.  
  30. // ENG [TeamSpeak3 Server Query Port] # PL [Port Query serwera]
  31. 'query_port' => '10011',
  32.  
  33. // ENG [TeamSpeak3 Server Port] # PL [Port serwera]
  34. 'port' => '9987',
  35.  
  36. // ENG [TeamSpeak3 Server Query Login] # PL [Login Query serwera]
  37. 'login' => 'serveradmin',
  38.  
  39. // ENG [TeamSpeak3 Server Query Password] # PL [Haslo Query serwera]
  40. 'password' => 'null',
  41. ),
  42.  
  43. 'connection_database' => array
  44. (
  45. /**************************************************************************************
  46.  
  47. ENG [MAIN LOGIN TO DATABASE] # PL [GŁÓWNE LOGOWANIE DO BAZY DANYCH]
  48.  
  49. **************************************************************************************/
  50.  
  51.  
  52. // ENG [Database IP] # PL [Adres IP bazy danych]
  53. 'db_ip' => '127.0.0.1',
  54.  
  55. // ENG [Database user] # PL [Użytkownik bazy danych]
  56. 'db_user' => 'root',
  57.  
  58. // ENG [Database password] # PL [Hasło do bazy danych]
  59. 'db_password' => 'null',
  60.  
  61. // ENG [Database name] # PL [Nazwa bazy danych]
  62. 'db_name' => 'xbot',
  63. ),
  64.  
  65. 'instances_settings' => array
  66. (
  67. /**************************************************************************************
  68.  
  69. ENG [MAIN INSTANCES SETTINGS] # PL [GŁÓWNE USTAWIENIA INSTANCJI]
  70.  
  71. **************************************************************************************/
  72.  
  73. 'settings' => array
  74. (
  75. // ENG [Show links to profile] # PL [Pokazuj linki do profilu]
  76. 'show_links' => array('false' => true, 'link' => 'http://panel.xbot-ts3.pl/website/?profile&dbid='),
  77. ),
  78.  
  79. 'instances' => array
  80. (
  81. '1' => array //Aktualizator
  82. (
  83. 'enabled' => true,
  84. 'database_enabled' => true,
  85. 'bot_name' => 'TS3FAST.PL ▪ Aktualizator',
  86. 'default_channel' => 136,
  87. ),
  88.  
  89. '2' => array //Administrator
  90. (
  91. 'enabled' => true,
  92. 'database_enabled' => true,
  93. 'bot_name' => 'TS3FAST.PL ▪ Administrator',
  94. 'default_channel' => 136,
  95. ),
  96.  
  97. '3' => array //Database
  98. (
  99. 'enabled' => true,
  100. 'database_enabled' => true,
  101. 'bot_name' => 'TS3FAST.PL ▪ Database',
  102. 'default_channel' => 136,
  103. ),
  104.  
  105. '4' => array //Channels Guard
  106. (
  107. 'enabled' => true,
  108. 'database_enabled' => true,
  109. 'bot_name' => 'TS3FAST.PL ▪ Channels guard',
  110. 'default_channel' => 136,
  111. ),
  112.  
  113. '5' => array //Commander
  114. (
  115. 'enabled' => true,
  116. 'database_enabled' => true,
  117. 'bot_name' => 'TS3FAST.PL ▪ Commander',
  118. 'default_channel' => 136,
  119.  
  120. // ENG [Set individual ts3 login and password] # PL [Ustaw indywidualny login i hasło do ts3]
  121. 'individual_login' => array
  122. (
  123. 'enabled' => false,
  124. 'login' => 'serveradmin',
  125. 'password' => 'null',
  126. ),
  127. ),
  128.  
  129. '6' => array //LiveHelp
  130. (
  131. 'enabled' => true,
  132. 'database_enabled' => true,
  133. 'bot_name' => 'XBOT ▪ LiveHelp',
  134. 'default_channel' => 136,
  135.  
  136. // ENG [Set individual ts3 login and password] # PL [Ustaw indywidualny login i hasło do ts3]
  137. 'individual_login' => array
  138. (
  139. 'enabled' => false,
  140. 'login' => 'serveradmin',
  141. 'password' => 'null',
  142. ),
  143. ),
  144. ),
  145. ),
  146. );
  147.  
  148.  
  149.  
  150. $config['instance']['1']['logs_system'] = array
  151. (
  152. /****************************************************************************
  153.  
  154. ENG [LOGS SYSTEM] # PL [SYSTEM LOGÓW]
  155.  
  156. ****************************************************************************/
  157.  
  158.  
  159. 'logs' => array
  160. (
  161. // ENG [Turn on/off logs system (true or false)] # PL [Włączenie lub wyłączenie systemu logów]
  162. 'enabled' => true,
  163.  
  164. // ENG [Days, after which, log files will be deleted] # PL [Czas w dniach, po których pliki logów zostana usunięte]
  165. 'delete_interval' => '3',
  166. ),
  167. );
  168.  
  169.  
  170.  
  171. $config['instance']['1']['options'] = array
  172. (
  173. /****************************************************************************
  174.  
  175. ENG [INSTANCE OPTIONS] # PL [OPCJE INSTANCJI]
  176.  
  177. ****************************************************************************/
  178.  
  179.  
  180. // ENG [Folder for functions containing all events and plugins] # PL [Folder w którym sa wszystkie eventy i pluginy]
  181. 'folder' => 'first_instance',
  182.  
  183. // ENG [Bot interval in seconds] # PL [Interwal bota w sekundach]
  184. 'bot_interval' => 1,
  185.  
  186. // ENG ['events_plugins' or 'commands' (default 'events_plugins')] # PL ['events_plugins' lub 'commands' (domyślnie 'events_plugins')]
  187. 'function_type' => 'events_plugins',
  188.  
  189. // ENG [Black list type, 'ban' | 'kick'] # PL [Typ black listy, 'ban' - banowanie | 'kick' - kickowanie z serwera]
  190. 'black_list_type' => 'kick',
  191. );
  192.  
  193.  
  194.  
  195. $config['instance']['1']['functions'] = array
  196. (
  197.  
  198.  
  199. /**************************************
  200.  
  201. ENG [PLUGINS] # PL [PLUGINY]
  202.  
  203. **************************************/
  204.  
  205.  
  206. 'plugins' => true,
  207.  
  208.  
  209. // ENG [Informing admins about upcoming meeting] # PL [Informowanie administracji o zbliżajacym się spotkaniu]
  210. 'admins_meeting' => array
  211. (
  212. 'enabled' => true,
  213. 'info' => array
  214. (
  215. 'admins_server_groups' => array(10,63,11,12,13,14,15,16,17), //all admins server groups
  216. 'channel_id' => 36519, //meeting channel id
  217. 'channel_name' => '[cspacer3]Zebranie [x]', //[x] - meeting date (in format: dd.mm.yyyy hh:mm for example 18.02.2017 18:00) !important you must have channel with that name
  218. 'information_before' => true, //informing admins `time_to_meeting` seconds before meeting
  219. 'time_to_meeting' => 900, //in seconds
  220. 'move_admins' => true, //move admins to meeting channel on time
  221. ),
  222. ),
  223.  
  224.  
  225. // ENG [Nicknames security] # PL [Ochrona nicków]
  226. 'nicks_security' => array
  227. (
  228. 'enabled' => true,
  229. 'ignored_groups' => array(), //ignored groups
  230. 'file' => 'include/cache/nicks_security.txt', //bad phrases separated by ,(comma) without spaces, enters etc
  231. ),
  232.  
  233.  
  234. // ENG [Server groups limit] # PL [Limit grup serwera]
  235. 'groups_limit' => array
  236. (
  237. 'enabled' => false,
  238. 'ignored_groups' => array(), //ignored groups which will not be check
  239. 'info' => array
  240. (
  241. /****************************************
  242.  
  243. '1' => array //growing number, for example 1, 2, 3...
  244. (
  245. 'checking_groups' => array(52,53,54,55,56), //checking server groups
  246. 'limit' => 1, //limit of checking groups
  247. ),
  248.  
  249. ****************************************/
  250.  
  251. '1' => array
  252. (
  253. 'checking_groups' => array(52,53,54,55,56), //checking server groups
  254. 'limit' => 1, //limit of checking groups
  255. ),
  256. '2' => array
  257. (
  258. 'checking_groups' => array(10,11,12,13,14,15,16,17,18,19,20,21), //checking server groups
  259. 'limit' => 2, //limit of checking groups
  260. ),
  261. ),
  262. ),
  263.  
  264.  
  265. // ENG [Move specified groups to channel from specified channel] # PL [Przenoszenie użytkowników z określoną grupą z kanału na kanał]
  266. 'move_groups' => array
  267. (
  268. 'enabled' => false,
  269. 'if_client_on_channel' => array(8), //All channels from which bot must move clients | Wszystkie kanały, z których bot ma movać
  270. 'info' => array
  271. (
  272. /*************************
  273.  
  274. 0 => array //growing number: 0,1,2 etc.
  275. (
  276. 'is_on_channel' => 50, //form which channel bot must move people
  277. 'move_to_channel' => 25, //to which channel bot must move people
  278. 'groups' => array(14,13), //groups which will be checking
  279. ),
  280.  
  281. *************************/
  282.  
  283. 0 => array
  284. (
  285. 'is_on_channel' => 8,
  286. 'move_to_channel' => 830,
  287. 'groups' => array(10,11),
  288. ),
  289. 1 => array
  290. (
  291. 'is_on_channel' => 8,
  292. 'move_to_channel' => 10,
  293. 'groups' => array(12,13),
  294. ),
  295. ),
  296. ),
  297.  
  298.  
  299. // ENG [Animated icon] # PL [Animowana ikonka]
  300. 'animated_icon' => array
  301. (
  302. 'enabled' => false,
  303. 'info' => array
  304. (
  305. /*************************************************
  306.  
  307. id => array
  308. (
  309. 'type' => 'servergroup' OR 'cldbid' //If servergroup, id = sgid || if cldbid, id = client database id
  310. 'icons' => array(-2072408170,968796862,1023685817,-1634246665,1726830382),
  311. ),
  312.  
  313. *************************************************/
  314.  
  315. 450 => array
  316. (
  317. 'type' => 'servergroup',
  318. 'icons' => array(-2072408170,968796862,1023685817,-1634246665,1726830382),
  319. ),
  320. 1 => array
  321. (
  322. 'type' => 'cldbid',
  323. 'icons' => array(-2072408170,968796862,1023685817,-1634246665,1726830382),
  324. ),
  325. ),
  326. ),
  327.  
  328.  
  329. /**************************************
  330.  
  331. ENG [EVENTS] # PL [EVENTY]
  332.  
  333. **************************************/
  334.  
  335.  
  336. 'events' => true,
  337.  
  338.  
  339. // ENG [Online users] # PL [Użytkownicy online]
  340. 'online_users' => array
  341. (
  342. 'enabled' => true,
  343. 'channel_id' => 65609,
  344. 'ignored_groups' => array(),
  345. 'channel_name' => '» Użytkownicy Online: [ONLINE]', //[ONLINE] - online users
  346. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
  347. ),
  348.  
  349.  
  350. // ENG [Record amount of clients online] # PL [Rekordowa ilośc użytkowników online]
  351. 'record_online' => array
  352. (
  353. 'enabled' => true,
  354. 'channel_id' => 65610,
  355. 'channel_name' => '» Rekord Serwera: [RECORD]', //[RECORD] - record online users
  356. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 20),
  357. ),
  358.  
  359.  
  360. // ENG [List of admins online] # PL [Lista adminów online]
  361. 'admin_list_online' => array
  362. (
  363. 'enabled' => true,
  364. 'channel_id' => 65611,
  365. 'admins_server_groups' => array(10,63,11,12,13,14,15,16,17),
  366. 'ignored_groups' => array(17),
  367. 'channel_name' => '[spacer][»] Centrum Pomocy adminów: [ONLINE]', //[ONLINE] - Admins online
  368. 'top_description' => 'Lista Administracji online',
  369. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 15),
  370. ),
  371.  
  372.  
  373. // ENG [Admin list] # PL [Lista adminów]
  374. 'admin_list' => array
  375. (
  376. 'enabled' => true,
  377. 'min_idle_time' => 5*60, //minimal client idle time to be away (in seconds)
  378. 'admins_count' => true, //enable admins count in description
  379. 'info' => array
  380. (
  381. 65612 => array //channel id
  382. (
  383. 'admins_server_groups' => array(10,63,11,12,13,14,15,16,17),
  384. 'ignored_groups' => array(17),
  385. 'top_description' => '[img]https://i.imgur.com/onCuRVU.png[/img]',
  386. 'icons_enabled' => true, //Convert rang name to icon
  387. 'icons' => array
  388. (
  389. /*************************
  390.  
  391. group_id => 'url_to_image',
  392.  
  393. ************************/
  394.  
  395. 6 => 'http://185.24.216.226/owner.png',
  396. 35 => 'http://surf-ts3.pl/IMAGE/manager.png',
  397. ),
  398. ),
  399. 9999999 => array
  400. (
  401. 'admins_server_groups' => array(10,63,11,12,13,14,15,16,17),
  402. 'ignored_groups' => array(),
  403. 'top_description' => 'Administracja V2',
  404. 'icons_enabled' => false, //Convert rang name to icon
  405. 'icons' => array
  406. (
  407. /*************************
  408.  
  409. group_id => 'url_to_image',
  410.  
  411. ************************/
  412.  
  413. 6 => 'http://185.24.216.226/owner.png',
  414. 35 => 'http://surf-ts3.pl/IMAGE/manager.png',
  415. ),
  416. ),
  417. ),
  418.  
  419. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 15),
  420. ),
  421.  
  422.  
  423. // ENG [Change channel name] # PL [Zmiana nazwy kanalu]
  424. 'change_channel' => array
  425. (
  426. 'enabled' => true,
  427. 'channel_id' => 65613,
  428. 'channel_name' => array
  429. (
  430. '[cspacer] Dziękujemy, że jesteś z nami',
  431. '[cspacer] Nasze IP się nie zmienia',
  432. '[cspacer] Witamy na serwerze TS3FAST.PL',
  433. ),
  434. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 45),
  435. ),
  436.  
  437.  
  438. // ENG [Multifunction] # PL [Wielofunkcyjnośc]
  439. 'multi_function' => array
  440. (
  441. 'enabled' => true,
  442. 'content' => array
  443. (
  444. 'total_ping' => array // ENG [server total ping in channel name] # PL [ping serwera w nazwie kanalu]
  445. (
  446. 'enabled' => true,
  447. 'channel_id' => 65614,
  448. 'channel_name' => '» Średni ping wynosi: [PING]', // [PING] = ping
  449. 'integer' => true, // true or false (ping in integer)
  450. ),
  451. 'packet_loss' => array // ENG [server packet loss in channel name] # PL [packet loss serwera w nazwie kanalu]
  452. (
  453. 'enabled' => true,
  454. 'channel_id' => 65615,
  455. 'channel_name' => '» Packetloss wynosi: [PACKETLOSS]%', // [PACKETLOSS] = packetloss
  456. 'integer' => true, // true or false (packetloss in integer)
  457. ),
  458. 'channels_count' => array // ENG [channels count in channel name] # PL [ilosc kanalów w nazwie kanalu]
  459. (
  460. 'enabled' => true,
  461. 'channel_id' => 65616,
  462. 'channel_name' => '» Kanałów ogółem: [CHANNELS]', // [CHANNELS] = channels count
  463. ),
  464. 'bytes_upload' => array // ENG [bytes upload on server in channel name] # PL [ilość danych wysłanych przez serwer]
  465. (
  466. 'enabled' => false,
  467. 'channel_id' => 25772,
  468. 'channel_name' => '» Danych wysłanych: [UPLOAD]', // [UPLOAD] = bytes upload
  469. ),
  470. 'bytes_download' => array // ENG [bytes download on server in channel name] # PL [ilość danych pobranych przez serwer]
  471. (
  472. 'enabled' => false,
  473. 'channel_id' => 25771,
  474. 'channel_name' => '» Danych pobranych: [DOWNLOAD]', // [DWONLOAD] = bytes download
  475. ),
  476. ),
  477. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 15),
  478. ),
  479.  
  480.  
  481. // ENG [Support channels] # PL [Kanały pomocy]
  482. 'support_channels' => array
  483. (
  484. 'enabled' => false,
  485. 'content' => array
  486. (
  487. 'time_open' => array //Channels open at a specific time
  488. (
  489. '0' => array // growing number for example 1, 2, 3...
  490. (
  491. 'channelId' => 56, // channel id
  492. 'time_open' => '09:00', // time of opening
  493. 'time_close' => '23:50', // time of closing
  494. 'channel_name_open' => '[»] Centrum Pomocy TS3 [ON]', // channel name when opened
  495. 'channel_name_close' => '[»] Centrum Pomocy TS3 [OFF]', // channel name when closed
  496. 'needed_join_power' => 1500, //when close
  497. 'change_maxfamily_clients' => false, // close family channels too
  498. ),
  499. ),
  500.  
  501. 'open_when_admin' => array //Channels open when admin from server group is online
  502. (
  503. /*************************
  504.  
  505. ###
  506. # open when admin from groups online: 'admin' => array(server_groups separated by comma),
  507. ###
  508.  
  509. ###
  510. # open when client online: 'admin' => client_database_id,
  511. ###
  512.  
  513. *************************/
  514.  
  515. '0' => array // growing number for example 1, 2, 3...
  516. (
  517. 'channelId' => 0, // channel id
  518. 'admin' => 1,
  519. 'channel_name_open' => '[»] Centrum Pomocy XBot [ON]', // channel name when opened
  520. 'channel_name_close' => '[»] Centrum Pomocy XBot [OFF]', // channel name when closed
  521. 'needed_join_power' => 200, //when close
  522. 'change_maxfamily_clients' => false, // close family channels too
  523. ),
  524. ),
  525.  
  526. ),
  527. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 10),
  528. ),
  529.  
  530.  
  531. // ENG [Get vip channel] # PL [Otrzymywanie kanału vip]
  532. 'get_vip_channel' => array // Db must be on
  533. (
  534. 'enabled' => false,
  535. 'if_client_on_channel' => array(25856, 25858), // all checking channels id
  536.  
  537. 'info' => array
  538. (
  539. 'VIP' => array //Zone name for example 'VIP' | 'GOLD'
  540. (
  541. 'if_on_channel' => 25856,
  542. 'server_group_copy' => 461, // server group to copy
  543. 'channel_group_id' => 71, // default channel admin group
  544. 'subchannels' => 5, // how many subchannels
  545. 'subchannels_red' => true, // true - max cleints = 0 | false - max clients = unlimited
  546. 'online_from_server_group' => true, // create channel with information about clients from server group
  547. 'get_server_group' => true, // create channel add/del server group
  548. 'after_channel' => 25917, // the first channel for example spacer
  549.  
  550. 'spacer_between' => array
  551. (
  552. 'enabled' => true,
  553. 'spacer_name' => '[*spacerVIP[NUM]]___',
  554. 'join_needed' => 150,
  555. 'modify_needed' => 100,
  556. ),
  557. 'main_channel' => '[lspacer] [[NUM]] ViP', // [NUM] - vip channel number
  558. 'empty_topic' => '#WOLNY', // Topic in empty channel (remember it)
  559. ),
  560. 'Diamond' => array //Zone name for example 'VIP' | 'GOLD'
  561. (
  562. 'if_on_channel' => 25858,
  563. 'server_group_copy' => 463, // server group to copy
  564. 'channel_group_id' => 71, // default channel admin group
  565. 'subchannels' => 15, // how many subchannels
  566. 'subchannels_red' => true, // true - max cleints = 0 | false - max clients = unlimited
  567. 'online_from_server_group' => true, // create channel with information about clients from server group
  568. 'get_server_group' => true, // create channel add/del server group
  569. 'after_channel' => 25789, // the first channel for example spacer
  570.  
  571. 'spacer_between' => array
  572. (
  573. 'enabled' => true,
  574. 'spacer_name' => '[*spacerDiamond[NUM]]---',
  575. 'join_needed' => 150,
  576. 'modify_needed' => 100,
  577. ),
  578. 'main_channel' => '[lspacer] [[NUM]] Diamond', // [NUM] - vip channel number
  579. 'empty_topic' => '#WOLNY_D', // Topic in empty channel (remember it)
  580. ),
  581. ),
  582. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 15),
  583. ),
  584.  
  585.  
  586. // ENG [Get vip channel spacer] # PL [Otrzymywanie kanału vip na spacerach]
  587. 'get_vip_channel_spacer' => array // Db must be on
  588. (
  589. 'enabled' => false,
  590. 'if_client_on_channel' => array(26016), // all checking channels id
  591.  
  592. 'info' => array
  593. (
  594. 'Premium' => array //Zone name for example 'VIP' | 'GOLD'
  595. (
  596. 'if_on_channel' => 26016,
  597. 'server_group_copy' => 463, // server group to copy
  598. 'channel_group_id' => 71, // default channel admin group
  599. 'after_channel' => 25822, // the first channel for example spacer
  600. 'online_from_server_group_name' => '[rspacer] [SERVER_GROUP]: [ONLINE]/[MAX]', // [SERVER_GROUP] - group name, [ONLINE],
  601.  
  602. 'spacers' => array
  603. (
  604. /*************************************
  605.  
  606. '1' => array // Growing number
  607. (
  608. 'name' => '[cspacer] [[NUM]] Premium', // [NUM] - vip channel number
  609. 'subchannels' => 0,
  610. 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited
  611. ),
  612.  
  613. add `'get_group_spacer' => true` if get group must be a spacer
  614. add `'online_group_spacer' => true` if online from group must be a spacer
  615.  
  616. add `'get_group_subchannel' => true` if get group must be in the subchannel
  617. add `'online_group_subchannel' => true` if online from group must be in the subchannel
  618.  
  619. *************************************/
  620.  
  621. '1' => array // Main channel
  622. (
  623. 'name' => '[cspacer] [[NUM]] Premium', // [NUM] - vip channel number
  624. 'subchannels' => 0,
  625. 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited
  626. ),
  627. '2' => array // Main channel
  628. (
  629. 'name' => '[rspacer[NUM]] Online z:', // [NUM] - vip channel number
  630. 'subchannels' => 0,
  631. 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited
  632. 'online_group_spacer' => true,
  633. ),
  634. '3' => array // Main channel
  635. (
  636. 'name' => '[rspacer[NUM]] Nadaj grupe', // [NUM] - vip channel number
  637. 'subchannels' => 0,
  638. 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited
  639. 'get_group_spacer' => true,
  640. ),
  641. '4' => array
  642. (
  643. 'name' => '[lspacerzarzad[NUM]]Zarząd', // [NUM] - vip channel number
  644. 'subchannels' => 3,
  645. 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited
  646.  
  647. 'online_group_subchannel' => true,
  648. 'get_group_subchannel' => true,
  649. ),
  650. '5' => array
  651. (
  652. 'name' => '[lspacerkanaly[NUM]]Kanały', // [NUM] - vip channel number
  653. 'subchannels' => 4,
  654. 'subchannels_red' => false, // true - max clients = 0 | false - max clients = unlimited
  655. ),
  656. ),
  657. 'spacer_between' => array
  658. (
  659. 'enabled' => true,
  660. 'spacer_name' => '[*spacerPremium[NUM]]___',
  661. 'join_needed' => 150,
  662. 'modify_needed' => 100,
  663. ),
  664. ),
  665. ),
  666. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 15),
  667. ),
  668.  
  669. // ENG [Information on channel about twitch/youtube channel] # PL [Informacje o kanale twitch/youtube]
  670. 'twitch_yt' => array
  671. (
  672. 'enabled' => false,
  673. 'info' => array
  674. (
  675. 'twitch_enabled' => true,
  676. 'twitch_api_key' => 'oaocbf2zpmv6807kp9jcxkwmcjvq5a', // you can change it if you want https://www.twitch.tv/settings/connections
  677. 'twitch' => array
  678. (
  679. 'izakooo' => array //Twitch channel name
  680. (
  681. 'channel_id' => 25769,
  682. 'channel_name' => 'izakooo [STATUS_TWITCH]', //[STATUS_TWITCH] - on live or no
  683. ),
  684. ),
  685. 'youtube_enabled' => true,
  686. 'youtube_api_key' => 'AIzaSyAEQeDyRwJxVHw_m8wCD-P7oT_ufy4waX0',
  687. 'youtube' => array
  688. (
  689. /*****************************************
  690.  
  691. 'UC-suExuAUNgJmyKcxA-PGzg' => array //YouTube channel id
  692. (
  693. 'main_channel' => array //Channel where will be description and SUBS in channel name
  694. (
  695. 'channel_id' => 0,
  696. 'channel_name' => '[ YouTuber ] Ramzes: [SUBS] subów', //[SUBS] - subscribers //[NAME] - youtuber nick
  697. ),
  698. 'videos_count' => array //Channel where will be Videos count in channel name
  699. (
  700. 'channel_id' => 0,
  701. 'channel_name' => '» Filmów na kanale: [VIDEOS]', //[VIDEOS] - videos count
  702. ),
  703. 'views_count' => array //Channel where will be views count in channel name
  704. (
  705. 'channel_id' => 0,
  706. 'channel_name' => '» Wyświetleń: [VIEWS]', //[VIEWS] - views count
  707. ),
  708. ),
  709.  
  710. ******************************************/
  711.  
  712. 'UC-suExuAUNgJmyKcxA-PGzg' => array //YouTube channel id
  713. (
  714. 'main_channel' => array //Channel where will be description and SUBS in channel name
  715. (
  716. 'channel_id' => 0,
  717. 'channel_name' => '[ YouTuber ] Ramzes: [SUBS] subów', //[SUBS] - subscribers //[NAME] - youtuber nick
  718. ),
  719. 'videos_count' => array //Channel where will be Videos count in channel name
  720. (
  721. 'channel_id' => 0,
  722. 'channel_name' => '» Filmów na kanale: [VIDEOS]', //[VIDEOS] - videos count
  723. ),
  724. 'views_count' => array //Channel where will be views count in channel name
  725. (
  726. 'channel_id' => 0,
  727. 'channel_name' => '» Wyświetleń: [VIEWS]', //[VIEWS] - views count
  728. ),
  729. ),
  730. ),
  731. ),
  732. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 7,'seconds' => 0),
  733. ),
  734.  
  735.  
  736. // ENG [clients online from server group] # PL [użytkownicy danej grupy serwera online]
  737. 'online_from_server_group' => array
  738. (
  739. 'enabled' => true,
  740. 'show_time' => true, //only for groups which have maximal 15 members | true / false
  741. 'max_users' => 30, //max users in description
  742.  
  743. 'info' => array
  744. (
  745. /*******************************
  746.  
  747. 233 => array // Channel ID
  748. (
  749. 'server_groups' => array(10), // Server groups separated by comma
  750. 'show_description' => true, // Show users in description
  751. 'only_online' => true, // Show only online clients
  752. 'channel_name' => '[rspacer]Online z [SERVER_GROUP]: [ONLINE]/[MAX]', // Channel name
  753. 'top_description' => '| Lista osób z rangi: [SERVER_GROUP] |', // Top description
  754. ),
  755.  
  756. *******************************/
  757.  
  758. 20108 => array
  759. (
  760. 'server_groups' => array(137),
  761. 'show_description' => true,
  762. 'only_online' => false,
  763. 'channel_name' => '[cspacer]Online z [SERVER_GROUP]: [ONLINE]/[MAX]',
  764. 'top_description' => '| Lista osób z rangi: [SERVER_GROUP] |',
  765. ),
  766. 18914 => array
  767. (
  768. 'server_groups' => array(47),
  769. 'show_description' => true,
  770. 'only_online' => false,
  771. 'channel_name' => '[cspacer33]Online z AnimalsFive : [ONLINE]/[MAX]',
  772. 'top_description' => '| Lista osób z rangi: [SERVER_GROUP] |',
  773. ),
  774. 18915 => array
  775. (
  776. 'server_groups' => array(150),
  777. 'show_description' => true,
  778. 'only_online' => false,
  779. 'channel_name' => '[cspacer33]Online z Noxed : [ONLINE]/[MAX]',
  780. 'top_description' => '| Lista osób z rangi: [SERVER_GROUP] |',
  781. ),
  782. ),
  783. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 15),
  784. ),
  785.  
  786.  
  787. // ENG [assign server group if client enters a channel] # PL [przypisz grupę serwera po wejściu na kanal]
  788. 'get_server_group' => array
  789. (
  790. 'enabled' => true,
  791. 'if_client_on_channel' => array(49350,46788,22567,31244,59594,51328,31506,46402,55577), //all checking channels id
  792. 'delete_rang' => true, //delete rang if client is on channel
  793. 'client_kick' => false, //Kick client from channel after assignment/deleted group | true / false
  794. 'poke_client' => false, //Poke client for example: You have just received clan group!
  795. 'info' => array
  796. (
  797. //21410 => 227, //channel id => server group id
  798. 49350 => 137,
  799. 46788 => 171,
  800. 22567 => 305,
  801. 31244 => 234,
  802. 59594 => 308,
  803. 51328 => 47,
  804. 31506 => 150,
  805. 46402 => 151,
  806. 55577 => 152,
  807.  
  808. ),
  809. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
  810. ),
  811.  
  812.  
  813. // ENG [Ddos information] # PL [Informacje o ddos]
  814. 'ddos_information' => array
  815. (
  816. 'enabled' => true,
  817. 'file' => 'include/cache/ddos_information.txt',
  818. 'packet_loss' => 10, //from what packet loss%(numeric) send global information
  819. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 30),
  820. ),
  821.  
  822.  
  823. // ENG [Informing about client in channel name] # PL [Status użytkownika w nazwie kanalu]
  824. 'client_on_channel' => array
  825. (
  826. 'enabled' => true,
  827. 'server_groups_id' => array(10), //all checking client's server groups
  828. 'ignored_groups' => array(),
  829. 'idle_time' => 1800, //idle time to have away status (in seconds)
  830. 'show_description' => true, //show description on channels
  831. 'info' => array
  832. (
  833. /***************************************************************
  834.  
  835. (you can copy this to use this function many times)
  836.  
  837. 10 => array //client databse id => array
  838. (
  839. 'channel_id' => 432, //channel id
  840. 'format' => '[RANG] >> [NICK] >> [STATUS]', //format on channel name [RANG] - server group name, [NICK] - client nick, [STATUS] - client status (online/away/offline)
  841. 'fb' => 'https://www.facebook.com/XBot-bot-na-tw%C3%B3j-serwer-TS3-1719172075053504/messages/', //If none set 0
  842. 'email' => '[email protected]', //If none set 0
  843. ),
  844.  
  845. ***************************************************************/
  846.  
  847. 8093 => array // client dbid => array
  848. (
  849. 'channel_id' => 18303, //channel id
  850. 'format' => '[[RANG]] [NICK] - [STATUS]', //format on channel name [RANG] - server group name, [NICK] - client nick, [STATUS] - client status (online/away/offline)
  851. '' => 'https://steamcommunity.com/search/users/',
  852. 'email' => '[email protected]',
  853. ),
  854. 999999 => array // client dbid => array
  855. (
  856. 'channel_id' => 25839, //channel id
  857. 'format' => '[[RANG]] [NICK] - [STATUS]', //format on channel name [RANG] - server group name, [NICK] - client nick, [STATUS] - client status (online/away/offline)
  858. 'fb' => 'https://www.facebook.com/D0M1N000',
  859. 'email' => '[email protected]',
  860. ),
  861. 99999 => array // client dbid => array
  862. (
  863. 'channel_id' => 25840, //channel id
  864. 'format' => '[[RANG]] [NICK] - [STATUS]', //format on channel name [RANG] - server group name, [NICK] - client nick, [STATUS] - client status (online/away/offline)
  865. 'fb' => 'https://www.facebook.com/XBot-bot-na-tw%C3%B3j-serwer-TS3-1719172075053504/messages/',
  866. 'email' => '[email protected]',
  867. ),
  868. 999999 => array // client dbid => array
  869. (
  870. 'channel_id' => 25841, //channel id
  871. 'format' => '[[RANG]] [NICK] - [STATUS]', //format on channel name [RANG] - server group name, [NICK] - client nick, [STATUS] - client status (online/away/offline)
  872. 'fb' => '0',
  873. 'email' => '0',
  874. ),
  875. ),
  876. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 15),
  877. ),
  878.  
  879.  
  880. // ENG [Status sinusbot] # PL [Status sinusbotów]
  881. 'status_sinusbot' => array
  882. (
  883. 'enabled' => true,
  884. 'channel_id' => 65617,
  885. 'bots_server_groups' => array(52,241),
  886. 'top_description' => '[img]https://i.imgur.com/cWwskNb.png[/img]',
  887. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 0),
  888. ),
  889.  
  890.  
  891. // ENG [List of server queries online] # PL [Lista klientów server query online]
  892. 'server_query_online' => array
  893. (
  894. 'enabled' => false,
  895. 'channel_id' => 25763,
  896. 'channel_name' => '» Server Query online: [ONLINE]', //[ONLINE] - Server Query online
  897. 'top_description' => '[img]https://i.imgur.com/KCvBQlm.png[/img]',
  898. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 20),
  899. ),
  900.  
  901.  
  902. // ENG [Ban list] # PL [Lista banów]
  903. 'ban_list' => array
  904. (
  905. 'enabled' => true,
  906. 'channel_id' => 65618,
  907. 'how_many' => 20,
  908. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 0),
  909. ),
  910.  
  911.  
  912. // ENG [Facebook posts] # PL [Posty z facebook'a]
  913. 'facebook_posts' => array
  914. (
  915. 'enabled' => false,
  916. 'channel_id' => 25758,
  917. 'channel_name' => '» Fanpage (Likes: [LIKES])', //[LIKES] - likes count
  918. 'page_id' => '1719172075053504', //You can find it on website: https://findmyfbid.com/
  919. 'access_token' => '',
  920. 'posts' => 1,
  921. 'link_to_fanpage' => 'https://www.facebook.com/XBot-bot-na-tw%C3%B3j-serwer-TS3-1719172075053504/',
  922. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 1,'minutes' => 0,'seconds' => 0),
  923. ),
  924.  
  925.  
  926. // ENG [Game servers' info] # PL [Informacje o serwerach gier]
  927. 'servers_info' => array
  928. (
  929. 'enabled' => false,
  930. 'info' => array
  931. (
  932. /******************************************
  933.  
  934. 0 => array
  935. (
  936. 'type' => 'server_type',
  937. 'host' => 'ip:port', //for example 195.32.532.321:1045
  938. 'channel_id' => channel_id(value), //for exaple 45
  939. 'channel_name' => 'channel_name(value)',
  940. ),
  941.  
  942. server_type: 'cs16' - CS 1.6 server | 'csgo' - CS:GO server | 'minecraft' - Minecraft server
  943. All servers: https://github.com/Austinb/GameQ/tree/v3/src/GameQ/Protocols
  944.  
  945. 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
  946.  
  947. For example:
  948.  
  949. 0 => array growing number from 0 (0,1,2,3,4,5,itd)
  950. (
  951. 'type' => 'cs16',
  952. 'host' => '193.70.125.254:27030',
  953. 'channel_id' => 20922,
  954. 'channel_name' => 'Online: [CLIENTS_ONLINE] | Mapa: [MAP]',
  955. 'custom_server_name' => '0', // Set 0 if none
  956. ),
  957.  
  958. ******************************************/
  959.  
  960. 0 => array
  961. (
  962. 'type' => 'minecraft',
  963. 'host' => '91.134.209.194:25565',
  964. 'channel_id' => 25778,
  965. 'channel_name' => 'MC ([CLIENTS_ONLINE]/[CLIENTS_MAX])',
  966. 'custom_server_name' => 'KRAINA MC', // Set 0 if none
  967. ),
  968. 1 => array
  969. (
  970. 'type' => 'cs16',
  971. 'host' => '213.238.173.177:27015',
  972. 'channel_id' => 25779,
  973. 'channel_name' => '[lspacer][»] COD MOD ([CLIENTS_ONLINE]/[CLIENTS_MAX])',
  974. 'custom_server_name' => '0', // Set 0 if none
  975. ),
  976. ),
  977. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 5,'seconds' => 0),
  978. ),
  979.  
  980.  
  981.  
  982.  
  983. // ENG [Users' country list] # PL [Lista krajów użytkowników]
  984. 'country_list' => array
  985. (
  986. 'enabled' => true,
  987. 'channel_id' => 65619,
  988. 'channel_name' => '» Osób online spoza Polski: [ONLINE]', //[ONLINE] online clients outside the specified country
  989. 'default_country' => 'PL',
  990. 'top_description' => 'Lista osób ONLINE spoza Polski',
  991. 'ignored_groups' => array(241,52,314),
  992. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 2,'seconds' => 0),
  993. ),
  994.  
  995.  
  996. // ENG [Name_day in channel name] # PL [Imieniny w nazwie kanału]
  997. 'name_day' => array
  998. (
  999. 'enabled' => true,
  1000. 'channel_id' => 65620,
  1001. 'channel_name' => '» Im: [NAME]', //[NAME] - name
  1002. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 2,'seconds' => 0),
  1003. ),
  1004.  
  1005.  
  1006. // ENG [Partners] # PL [Partnerzy]
  1007. 'partners' => array
  1008. (
  1009. 'enabled' => false,
  1010. 'channel_id' => 25872,
  1011. 'info' => array
  1012. (
  1013. '[cspacer] TSForum.pl' => 'przykładowy opis TSForum.pl',
  1014. '[cspacer] Aplikacja XBot' => "[center][img]http://adamek-ts3.eu/png/Xbot.png[/img][hr][/center][center][size=15][b]Informacje[/b][/size][/center][hr]
  1015. [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:[email protected]][B][email protected][/B][/url]
  1016. [hr][/list]",
  1017. '[cspacer] DOM1NO.pl' => "[center][hr][size=15][COLOR=#1eb7ee][b]• | D0M1N0.PL | •
  1018. Usługi Web Developerskie[/COLOR][/size][/center]
  1019. [center][hr][size=15][COLOR=#127494][b]• | Kontakt | •[/COLOR]
  1020. [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]
  1021. [hr][size=15][COLOR=#127494][b]• | INNE | •[/COLOR]
  1022. [img]https://i.imgur.com/2QoybUG.png[/img]
  1023. [img]https://i.imgur.com/w73iVYC.png[/img]
  1024. [color=#1eb7ee]D0M1N000[/color][/center]
  1025. [hr][right][size=10][b][color=#1eb7ee]Copyright © 2018 D0M1N0.PL All rights reserved.",
  1026. ),
  1027. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 0),
  1028. ),
  1029.  
  1030.  
  1031. // ENG [Generate cache] # PL [Generuj plik cache]
  1032. 'generate_cache' => array
  1033. (
  1034. 'enabled' => true,
  1035. 'target_file' => '/var/www/html/vip/cache/cache.txt',
  1036. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
  1037. ),
  1038.  
  1039.  
  1040. // ENG [XBot info] # PL [Informacje od twórcy w opisie kanału]
  1041. 'xbot_info' => array //Checking on the server every 15 minutes
  1042. (
  1043. 'enabled' => true,
  1044. 'channel_id' => 25773,
  1045. 'translate' => array
  1046. (
  1047. 'enabled' => true,
  1048. 'target_language' => 'en', // Type language code https://cloud.google.com/translate/docs/languages
  1049. ),
  1050. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
  1051. ),
  1052.  
  1053. // ENG [Get YT channel] # PL [Otrzymywanie kanału YouTube]
  1054. 'get_yt_channel' => array // Db must be on
  1055. (
  1056. 'enabled' => false,
  1057. 'if_client_on_channel' => array(25857), // all checking channels id
  1058.  
  1059. 'if_on_channel' => 25857,
  1060. 'channel_group_id' => 71, // default channel admin group
  1061. 'subchannels' => 5, // how many subchannels
  1062. 'subchannels_red' => true, // true - max cleints = 0 | false - max clients = unlimited
  1063. 'videos_count' => true, // create channel with information about videos count on yt channel
  1064. 'views_count' => true, // create channel with information about views count on yt channel
  1065. 'after_channel' => 25789, // the first channel for example spacer
  1066.  
  1067. 'spacer_between' => array
  1068. (
  1069. 'enabled' => false,
  1070. 'spacer_name' => '[*spacerYT[NUM]]___',
  1071. 'join_needed' => 150,
  1072. 'modify_needed' => 100,
  1073. ),
  1074. 'main_channel' => '[cspacer]■ [[NUM]] YT ■', // [NUM] - vip channel number
  1075. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 10,'seconds' => 0),
  1076. ),
  1077.  
  1078. // ENG [Away Group] # PL [Grupa away]
  1079. 'away_group' => array
  1080. (
  1081. 'enabled' => false,
  1082. 'server_group_copy' => 471,
  1083. 'min_idle_time' => 5*60,
  1084. 'ignored_groups' => array(447),
  1085. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
  1086. ),
  1087.  
  1088. // ENG [Cache icons] # PL [Generuj ikonki do katalogu]
  1089. 'cache_icons' => array
  1090. (
  1091. 'enabled' => true,
  1092. 'icons_path' => '/var/www/html/server_icons/',
  1093. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 5,'seconds' => 0),
  1094. ),
  1095.  
  1096. // ENG [Weather in cities] # PL [Pogoda w miastach]
  1097. 'weather' => array
  1098. (
  1099. 'enabled' => false,
  1100. 'api_key' => '', //You can find api on website: openweathermap.org
  1101. 'info' => array
  1102. (
  1103. 25775 => array
  1104. (
  1105. 'country_code' => 'PL', //country code for example: Poland - PL
  1106. 'city' => 'Warszawa', //without polish symbols
  1107. 'channel_name' => 'Pogoda - [CITY]', //[CITY] - city name
  1108. ),
  1109. ),
  1110. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 5,'seconds' => 0),
  1111. ),
  1112.  
  1113. // ENG [Countdown] # PL [Odliczanie]
  1114. 'countdown' => array
  1115. (
  1116. 'enabled' => false,
  1117. 'info' => array
  1118. (
  1119. /**************************************
  1120.  
  1121. '0' => array // Growing number: 0, 1, 2, etc
  1122. (
  1123. 'channel_id' => 5761,
  1124. 'channel_name' => 'Do wakacji [COUNT]', //[COUNT] - time to/from date
  1125. 'date' => '22-06-2018 09:00', // Format: dd-mm-YYYY GG:MM for example: 22-06-2018 09:00
  1126. 'count_type' => 'to_date', // Count type: 'to_date' (for example time to next event), 'from_date' (for example time from server start)
  1127. ),
  1128.  
  1129. ***************************************/
  1130.  
  1131. '0' => array
  1132. (
  1133. 'channel_id' => 65622,
  1134. 'channel_name' => 'Do wakacji [COUNT]', //[COUNT] - time to/from date
  1135. 'date' => '22-06-2018 09:00', // Format: dd-mm-YYYY GG:MM for example: 22-06-2018 09:00
  1136. 'count_type' => 'to_date', // Count type: 'to_date' (for example time to next event), 'from_date' (for example time from server start)
  1137. ),
  1138. '1' => array
  1139. (
  1140. 'channel_id' => 65621,
  1141. 'channel_name' => 'Od startu [COUNT]', //[COUNT] - time to/from date
  1142. 'date' => '01-01-2018 09:00', // Format: dd-mm-YYYY GG:MM for example: 22-06-2018 09:00
  1143. 'count_type' => 'from_date', // Count type: 'to_date' (for example time to next event), 'from_date' (for example time from server start)
  1144. ),
  1145. ),
  1146. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 5,'seconds' => 0),
  1147. ),
  1148. );
  1149.  
  1150.  
  1151.  
  1152.  
  1153.  
  1154. $config['instance']['2']['logs_system'] = array
  1155. (
  1156. /****************************************************************************
  1157.  
  1158. ENG [LOGS SYSTEM] # PL [SYSTEM LOGÓW]
  1159.  
  1160. ****************************************************************************/
  1161.  
  1162.  
  1163. 'logs' => array
  1164. (
  1165. // ENG [Turn on/off logs system (true or false)] # PL [Wlaczenie lub wylaczenie systemu logów]
  1166. 'enabled' => true,
  1167.  
  1168. // ENG [Days, after which, log files will be deleted] # PL [Czas w dniach, po których pliki logów zostana usunięte]
  1169. 'delete_interval' => '3',
  1170. ),
  1171. );
  1172.  
  1173.  
  1174.  
  1175. $config['instance']['2']['options'] = array
  1176. (
  1177. /****************************************************************************
  1178.  
  1179. ENG [INSTANCE OPTIONS] # PL [OPCJE INSTANCJI]
  1180.  
  1181. ****************************************************************************/
  1182.  
  1183.  
  1184. // ENG [Folder for functions containing all events and plugins] # PL [Folder w którym sa wszystkie eventy i pluginy]
  1185. 'folder' => 'second_instance',
  1186.  
  1187. // ENG [Bot interval in seconds] # PL [Interwal bota w sekundach]
  1188. 'bot_interval' => 1,
  1189.  
  1190. // ENG ['events_plugins' or 'commands' (default 'events_plugins')] # PL ['events_plugins' lub 'commands' (domyślnie 'events_plugins')]
  1191. 'function_type' => 'events_plugins',
  1192. );
  1193.  
  1194.  
  1195.  
  1196. $config['instance']['2']['functions'] = array
  1197. (
  1198.  
  1199.  
  1200. /**************************************
  1201.  
  1202. ENG [PLUGINS] # PL [PLUGINY]
  1203.  
  1204. **************************************/
  1205.  
  1206.  
  1207. 'plugins' => true,
  1208.  
  1209.  
  1210.  
  1211.  
  1212. // ENG [Connect message] # PL [Wiadomośc polaczenia]
  1213. 'connect_message' => array
  1214. (
  1215. 'enabled' => true,
  1216. 'file' => 'include/cache/connect_message.txt', //file to connect message
  1217. 'many_messages' => true, //true if single line = one message || false for one message
  1218. 'to_groups' => array(-1), //connect message to specified server_groups | set -1 to all server groups | set gorups_id separated by comma
  1219.  
  1220. /************************************
  1221.  
  1222. [CLIENT_IP] = Client nickname
  1223. [CLIENT_NICK] = Client nickname
  1224. [CLIENT_COUNTRY] = Client country
  1225. [CLIENT_DBID] = Client databse id
  1226. [CLIENT_VERSION] = Client TS3 version
  1227. [CLIENT_CONNECTIONS] = Client total connections
  1228. [CLIENT_PLATFORM] = Client platform
  1229. [CLIENT_TOTALCONNECTIONS] = Client total connections
  1230. [CLIENT_LASTCONNECTED] = Client lastconnected
  1231. [CLIENT_AWAY_MESSAGE] = Client away message
  1232. [CLIENT_CREATED] = Client created
  1233. [CLIENT_ON_SERVER_FOR] = Client is with server for ... for example 2 days and 1 minute
  1234.  
  1235. [SERVER_MAX_CLIENTS] = Server max clients
  1236. [SERVER_ONLINE] = Online users
  1237. [SERVER_CHANNELS] = Channel number
  1238. [SERVER_ID] = Virtual server id
  1239. [SERVER_PORT] = Server port
  1240. [SERVER_NAME] = Server name
  1241. [SERVER_VERSION] = Server version
  1242. [SERVER_VUI] = Server unique identifier
  1243. [SERVER_WELCOME_MESSAGE] = Virtualserver welcomemessage
  1244. [SERVER_PLATFORM] = Server platform
  1245. [SERVER_HOSTMESSAGE] = Server hostmessage
  1246. [SERVER_UPTIME] = Server uptime
  1247.  
  1248.  
  1249. *************************************/
  1250. ),
  1251.  
  1252.  
  1253. // ENG [Register groups assigner] # PL [Przypisywanie zarejestrowanych grup]
  1254. 'groups_assigner' => array
  1255. (
  1256. 'enabled' => false,
  1257. 'if_client_on_channel' => array(92), //all checking channels id
  1258. 'register_groups' => array(50), //all register groups
  1259. 'info' => array
  1260. (
  1261. 92 => 50, //channel_id => server group id,
  1262. ),
  1263. //Minimal time on server to be registered [Db connect must be on]
  1264. 'min_time_on_server' => 5, //in minutes
  1265. ),
  1266.  
  1267.  
  1268. // ENG [Assign afk group] # PL [Przypisz grupę afk]
  1269. 'afk_group' => array
  1270. (
  1271. 'enabled' => false,
  1272. 'afk_group' => 9999, //afk group id
  1273. 'idle_time' => 1800, //in seconds
  1274. 'set_group_if_away' => true, //set afk group if client has away status
  1275. 'set_group_if_muted'=> true, //set afk group if client is muted
  1276. 'ignored_groups' => array(447,415,431,467,475),
  1277. 'ignored_channels' => array(),
  1278. ),
  1279.  
  1280.  
  1281. // ENG [Move afk clients to channel] # PL [Przenieś użytkowników afk na kanal]
  1282. 'afk_move' => array
  1283. (
  1284. 'enabled' => true,
  1285. 'channel_id' => 65623, //afk channel id
  1286. 'idle_time' => 99999999, //in seconds
  1287. 'move_if_away' => true, //move client if has away status
  1288. 'move_if_muted'=> true, //move client if is muted
  1289. 'move_back' => true, //if client no longer afk move him back (true or false)
  1290. 'message_type' => 'message', //poke | message | none
  1291. 'ignored_groups' => array(10,63,11,12,13,14,15,16,17,52,241,47,150,151,152,308,234,305,171,137),
  1292. 'ignored_channels' => array(),
  1293. 'kick_from_server' => array
  1294. (
  1295. 'enabled' => false,
  1296. 'min_idle_time' => 300, //in seconds
  1297. 'msg' => 'Zbyt długi AFK!', //Message in kick
  1298. ),
  1299. ),
  1300.  
  1301.  
  1302. // ENG [Server groups security] # PL [Zabezpieczenie grup serwera]
  1303. 'groups_security' => array
  1304. (
  1305. 'enabled' => true,
  1306. 'info' => array
  1307. (
  1308. /*'0' => array //growing number, for example 1, 2, 3...
  1309. (
  1310. 'group_id' => 209, //group Id
  1311. 'ignored_dbid' => array(10,16,42), //privilege client database id's
  1312. 'give_back' => true, //give the rank back for people in ignoredId
  1313. 'type' => 'nothing', //`ban`, `kick`, `nothing` (just group delete and poke)
  1314. 'message' => '', //message to the client; if `ban` or `kick` it's the reason, if `nothing` it's a poke message
  1315. 'time' => 5, //ban timeout
  1316. ), */
  1317.  
  1318.  
  1319. '0' => array
  1320. (
  1321. 'group_id' => 10,
  1322. 'ignored_dbid' => array(8093),
  1323. 'give_back' => true,
  1324. 'type' => 'ban',
  1325. 'message' => 'Nie mozesz miec rangi CEO!',
  1326. 'time' => 9999999,
  1327. ),
  1328. ),
  1329. ),
  1330.  
  1331.  
  1332. // ENG [Baning for having warning rangs] # PL [Ban za posiadanie X ostrzeżen]
  1333. 'warning_ban' => array
  1334. (
  1335. 'enabled' => false,
  1336. 'ban_time' => '1200', // in seconds
  1337. 'ban_message' => 'Za duzo ostrzezen!',
  1338. 'with_rang' => 212, // the last warning id, for example Warning #3 (if you have 3 warnings)
  1339. 'warning_id' => array
  1340. (
  1341. 212, // the last warning id, for example Warning #3 (if you have 3 warnings)
  1342. 146,
  1343. 144,
  1344. ),
  1345. ),
  1346.  
  1347.  
  1348. // ENG [Block recording users] # PL [Blokowanie użytkowników za nagrywanie]
  1349. 'block_recording' => array
  1350. (
  1351. 'enabled' => false,
  1352. 'ignored_groups' => array(415),
  1353. 'type' => 'kick', //`ban`, `kick`,
  1354. 'message' => 'Nie możesz nagrywać!', //message to the client; if `ban` or `kick` it's the reason
  1355. 'time' => 60, //ban timeout
  1356.  
  1357. ),
  1358.  
  1359.  
  1360. // ENG [Anty VPN] # PL [Event przeciw VPN'om]
  1361. 'anty_vpn' => array
  1362. (
  1363. 'enabled' => true,
  1364. 'X-Key' => '', // You can change at website `https://iphub.info/pricing`
  1365. 'ignored_groups' => array(10,63,11,12,13,14,15,16,17,136),
  1366. 'allowed_ips' => array(''), //ignored ips in `'` for example: '127.0.0.1' separated by comma. Your IP, where xbot is, is included.
  1367. 'type' => 'kick', //`poke`, `kick`, `ban`
  1368. 'ban_time' => '60', //in seconds
  1369. 'message_to_client' => "Używasz VPN'a!",
  1370. ),
  1371.  
  1372.  
  1373.  
  1374. /**************************************
  1375.  
  1376. ENG [EVENTS] # PL [EVENTY]
  1377.  
  1378. **************************************/
  1379.  
  1380.  
  1381. 'events' => true,
  1382.  
  1383.  
  1384.  
  1385. // ENG [Auto register] # PL [Auto rejestracja]
  1386. 'auto_register' => array
  1387. (
  1388. 'enabled' => true,
  1389. 'ignored_groups' => array(241,52,10,63,11,12,13,14,15,16,17,313,314),
  1390. 'register_group' => 50, //register group
  1391. //Minimal time on server to be registered [Db connect must be on]
  1392. 'min_time_on_server' => 5, //in minutes
  1393. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
  1394. ),
  1395.  
  1396.  
  1397. // ENG [Advertisement message] # PL [Reklama]
  1398. 'advertisement_message' => array
  1399. (
  1400. 'enabled' => false,
  1401. 'type' => 'chat', //'chat' - global chat | 'pw' - pw to all users | 'poke' - poke to all users
  1402. 'advertisements' => array
  1403. (
  1404. /***********************
  1405.  
  1406. 'Zapraszamy do rejestracji!',
  1407. 'Wiadmość testowa XBot',
  1408.  
  1409. ***********************/
  1410.  
  1411. '[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]',
  1412. '[b][color=red]Witaj na serwerze testowym aplikacji XBot![/b]',
  1413.  
  1414. ),
  1415. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 10,'minutes' => 0,'seconds' => 0),
  1416. ),
  1417.  
  1418.  
  1419. // ENG [Time and date] # PL [Data i godzina]
  1420. 'clock_date' => array
  1421. (
  1422. 'enabled' => true,
  1423. 'content' => array
  1424. (
  1425. 'clock' => array //clock in channel name
  1426. (
  1427. 'enabled' => false,
  1428. 'channel_id' => '65624',
  1429. 'channel_name' => '» Godzina : [CLOCK]', // [CLOCK] = clock
  1430. 'format' => 'G:i', // format G: hours, i: minutes, s: seconds
  1431. ),
  1432. 'date' => array //date in channel name
  1433. (
  1434. 'enabled' => false,
  1435. 'channel_id' => '65625',
  1436. 'channel_name' => '» Data wynosi: [DATE]', // [DATE] = date
  1437. 'format' => 'd-m-Y', // format m: month numeric, M: month in words, d: day numeric, D: day in words, Y: year
  1438. ),
  1439. 'date_and_clock' => array
  1440. (
  1441. 'enabled' => true,
  1442. 'channel_id' => '65626',
  1443. 'channel_name' => '» Dzisiaj jest : [DATE&CLOCK]', // [DATE&CLOCK] = date & clock
  1444. '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
  1445. ),
  1446. ),
  1447. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 60),
  1448. ),
  1449.  
  1450.  
  1451. // ENG [Change server name] # PL [Zmiana nazwy serwera]
  1452. 'change_server_name' => array
  1453. (
  1454. /****************************************
  1455.  
  1456. DATE FORMAT
  1457.  
  1458. m: month numeric,
  1459. M: month in words,
  1460. d: day numeric,
  1461. D: day in words,
  1462. Y: year,
  1463. G: hours,
  1464. i: minutes,
  1465. s: seconds
  1466.  
  1467. ****************************************/
  1468.  
  1469. 'enabled' => true,
  1470. 'ignored_groups' => array(), //ignored groups, not included in online number
  1471. 'server_name' => '★ TS3FAST.PL | Online : [ONLINE]/[MAX_CLIENTS] ★', //[ONLINE] - online users, [MAX_CLIENTS] - max clients, [DATE] - format higher, [%] %online
  1472. 'format' => 'd-m-Y G:i',
  1473. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
  1474. 'data' => '1970-01-01 00:00:00', //Do not change
  1475. ),
  1476.  
  1477.  
  1478. // ENG [Client platform] # PL [Platforma klienta]
  1479. 'client_platform' => array
  1480. (
  1481. 'enabled' => false,
  1482. 'ignored_groups' => array(0),
  1483.  
  1484. 'windows_enabled' => false,
  1485. 'windows_group' => 1044,
  1486.  
  1487. 'linux_enabled' => false,
  1488. 'linux_group' => 236,
  1489.  
  1490. 'android_enabled' => true,
  1491. 'android_group' => 208,
  1492.  
  1493. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 20),
  1494. ),
  1495.  
  1496.  
  1497. // ENG [Poke admins] # PL [Zaczepianie adminów]
  1498. 'poke_admins' => array
  1499. (
  1500. 'enabled' => true,
  1501. 'if_client_on_channel' => array(60870,60871,56), //all checking channels
  1502. 'ignored_groups' => array(313), //if admin has this group, bot will not poke him
  1503. 'ignored_group_if_on_channel' => array(314), //if client has this group, bot will not poke admins
  1504. 'info' => array
  1505. (
  1506. /*************************
  1507.  
  1508. ###
  1509. # poking server groups: channel_id => array(server_groups separated by comma),
  1510. ###
  1511.  
  1512. ###
  1513. # poking client: channel_id => client_database_id,
  1514. ###
  1515.  
  1516. *************************/
  1517.  
  1518.  
  1519. 60870 => array(10,63,11,12,13,14,15,16,17),
  1520. 60871 => array(10,63,11,12,13,14,15,16,17),
  1521. 56 => array(10,63,11,12,13,14,15,16,17),
  1522. ),
  1523. 'ignored_channels' => array(63827), //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' => true,
  1548. 'admins_server_groups' => array(10,63,11,12,13,14,15,16,17), //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' => false,
  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' => true, //DB must be on
  1650. 'channel_id' => 65627,
  1651. 'channel_name' => '» Zarejestrowani użytkownicy: [REG]/[TOTAL]', //[REG] - registered users | [TOTAL] - total users in Db
  1652. 'unregistered_group_id' => 8,
  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(65628),
  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' => true,
  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' => false,
  1772. 'if_client_on_channel' => array(25864), //all channels
  1773. 'info' => array
  1774. (
  1775. /**********************************
  1776.  
  1777. channel_id => array(ranks_to_clear),
  1778.  
  1779. **********************************/
  1780.  
  1781. 25864 => array(419,420,421,422,423,424,425,426,427,428,429,430),
  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' => true,
  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' => true,
  1879.  
  1880.  
  1881.  
  1882. // ENG [New users daily] # PL [Nowi użytkownicy dzisiaj]
  1883. 'new_daily_users' => array
  1884. (
  1885. 'enabled' => true,
  1886. 'channel_id' => 65629,
  1887. 'with_rang' => 8, //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' => true,
  1898. 'channel_id' => 65630,
  1899. 'channel_name' => '» Odwiedzin dziś: [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' => true,
  1917. 'channel_id' => 65631,
  1918. 'top_description' => '[img]https://i.imgur.com/NmSPayJ.png[/img]',
  1919. 'records' => 15, //how many clients
  1920. 'ignored_groups' => array(241,52,314),
  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' => 65632,
  1930. 'top_description' => '[img]https://i.imgur.com/4yqtJYd.png[/img]',
  1931. 'records' => 15, //how many clients
  1932. 'ignored_groups' => array(241,52,314),
  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' => true,
  1953. 'channel_id' => 65633,
  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(241,52,314),
  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' => true,
  1979. 'ignored_groups' => array(241,52,314,10,63,11,12,13,14,15,16,17),
  1980. 'info' => array
  1981. (
  1982. 248 => 1, //lvl group sgid => hours spent on server on which the rang will be given
  1983. 249 => 5,
  1984. 250 => 10,
  1985. 251 => 25,
  1986. 252 => 50,
  1987. 253 => 75,
  1988. 254 => 100,
  1989. 255 => 200,
  1990. 256 => 300,
  1991. 257 => 400,
  1992. ),
  1993. 'all_levels_groups' => array(248,249,250,251,252,253,254,255,256,257),
  1994. 'top_description' => '[img]https://i.imgur.com/58vTGHg.png[/img]',
  1995. 'records' => 10,
  1996. 'channel_id' => 65634,
  1997. 'info_to_client' => 'pw', //Info to client | 'poke' / 'pw' / 'none'
  1998. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'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' => true,
  2021. 'admins_groups' => array(10,63,11,12,13,14,15,16,17),
  2022. 'max_idle_time' => 300, //in seconds
  2023. 'register' => array(50),
  2024. 'ignored_channels' => array(63827), //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' => true,
  2033. 'admins_groups' => array(10,63,11,12,13,14,15,16,17), //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' => 65635,
  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' => 65636,
  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' => true,
  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' => true,
  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' => false,
  2153.  
  2154.  
  2155.  
  2156. /**************************************
  2157.  
  2158. ENG [EVENTS] # PL [EVENTY]
  2159.  
  2160. **************************************/
  2161.  
  2162.  
  2163. 'events' => true,
  2164.  
  2165.  
  2166. // ENG [Channels guard] # PL [Strażnik kanalów]
  2167. 'channels_guard' => array
  2168. (
  2169. 'enabled' => true,
  2170. 'channels_zone' => 39733, //parent channel id
  2171. 'empty_channel_topic' => '#free', //topic in empty channels
  2172. 'free_channel_name' => 'Prywatny Kanał - Wolny',
  2173. 'head_channel_admin_group' => 13, //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' => 10,
  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' => true,
  2205. 'if_client_on_channel' => array(94), //channel id
  2206. 'sub_channels' => 2, //how many sub channels
  2207. 'head_channel_admin_group' => 13, //main head channel admin group id
  2208. 'needed_server_group' => array(8,50,208), //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' => 39733, //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' => 5,'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' => true,
  2233. 'empty_channel_topic' => '#free', //topic in empty channels
  2234. 'channels_zone' => 39733, //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' => 40022,
  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' => true,
  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: !help]
  2322. 'help' => array
  2323. (
  2324. 'enabled' => true,
  2325. 'privileged_groups' => array(10), // 0 - all groups
  2326. ),
  2327.  
  2328.  
  2329. // ENG [Usage: !pwall-[message]]
  2330. 'pwall' => array
  2331. (
  2332. 'enabled' => true,
  2333. 'privileged_groups' => array(10), // 0 - all groups
  2334. ),
  2335.  
  2336.  
  2337. // ENG [Usage: !pokeall-[message]]
  2338. 'pokeall' => array
  2339. (
  2340. 'enabled' => true,
  2341. 'privileged_groups' => array(10), // 0 - all groups
  2342. ),
  2343.  
  2344.  
  2345. // ENG [Usage: !pwgroup-[sgid]-[message]]
  2346. 'pwgroup' => array
  2347. (
  2348. 'enabled' => true,
  2349. 'privileged_groups' => array(10), // 0 - all groups
  2350. ),
  2351.  
  2352.  
  2353. // ENG [Usage: !pokegroup-[sgid]-[message]]
  2354. 'pokegroup' => array
  2355. (
  2356. 'enabled' => true,
  2357. 'privileged_groups' => array(10), // 0 - all groups
  2358. ),
  2359.  
  2360.  
  2361. // ENG [Usage: !meeting]
  2362. 'meeting' => array
  2363. (
  2364. 'enabled' => true,
  2365. 'privileged_groups' => array(10), // 0 - all groups
  2366. 'admins_server_groups' => array(10,63,11,12,13,14,15,16,17),
  2367. 'meeting_channel_id' => 36519,
  2368. ),
  2369.  
  2370.  
  2371. // ENG [Usage: !clients]
  2372. 'clients' => array //clients list
  2373. (
  2374. 'enabled' => true,
  2375. 'privileged_groups' => array(10), // 0 - all groups
  2376. ),
  2377.  
  2378.  
  2379. // ENG [Usage: !channels]
  2380. 'channels' => array //channels list
  2381. (
  2382. 'enabled' => true,
  2383. 'privileged_groups' => array(10), // 0 - all groups
  2384. ),
  2385.  
  2386.  
  2387. // ENG [Usage: !bot-[instance_id]] [Function is restarting Xbot's instance]
  2388. 'bot' => array //bot management (`starter.sh run` must be ON)
  2389. (
  2390. 'enabled' => true,
  2391. 'privileged_groups' => array(10), // 0 - all groups
  2392. ),
  2393.  
  2394.  
  2395. // ENG [Usage: !ch-[client_dbid]-[subchannels]]
  2396. 'ch' => array
  2397. (
  2398. 'enabled' => true,
  2399. 'privileged_groups' => array(10), // 0 - all groups
  2400. 'head_channel_admin_group' => 13, //main head channel admin group id
  2401. 'message_type' => 'poke', //message type (poke or message)
  2402. 'empty_channel_topic' => '#free', //topic in empty channels
  2403. 'channels_zone' => 39733, //parent channel id
  2404. ),
  2405.  
  2406.  
  2407. // ENG [Usage: !mute-[client_dbid]-[time_in_seconds]]
  2408. 'mute' => array //give user specified group on specified time in seconds
  2409. (
  2410. 'enabled' => false,
  2411. 'privileged_groups' => array(10), // 0 - all groups
  2412. 'give_group' => 464,
  2413. ),
  2414.  
  2415.  
  2416. // ENG [Usage: !admin-[client_dbid]] || Database must be connect with
  2417. 'admin' => array //show information about specified admin
  2418. (
  2419. 'enabled' => true,
  2420. 'privileged_groups' => array(10), // 0 - all groups
  2421. 'admins_groups' => array(10,63,11,12,13,14,15,16,17), //all admins groups
  2422. ),
  2423.  
  2424.  
  2425. // ENG [Usage: !tpclient-[client_nick]]
  2426. 'tpclient' => array //moving to specified client
  2427. (
  2428. 'enabled' => true,
  2429. 'privileged_groups' => array(10), // 0 - all groups
  2430. ),
  2431.  
  2432.  
  2433. // ENG [Usage: !tpchannel-[channel_name]]
  2434. 'tpchannel' => array //moving to specified channel
  2435. (
  2436. 'enabled' => true,
  2437. 'privileged_groups' => array(10), // 0 - all groups
  2438. ),
  2439.  
  2440.  
  2441. // ENG [Usage: !gsecurity-[type]-[client_dbid]-[group_id] type=add or type=del
  2442. 'gsecurity' => array //adding/del user to groups security function
  2443. (
  2444. 'enabled' => true,
  2445. 'privileged_groups' => array(10), // 0 - all groups
  2446. 'admins_groups' => array(10,63,11,12,13,14,15,16,17), //all admins groups checking in groups_security event
  2447. ),
  2448.  
  2449. // ENG [Usage: !clientinfo-[client_dbid]] || Database must be connect with
  2450. 'clientinfo' => array //show information about specified client
  2451. (
  2452. 'enabled' => true,
  2453. 'privileged_groups' => array(10), // 0 - all groups
  2454. ),
  2455. );
  2456.  
  2457.  
  2458.  
  2459.  
  2460.  
  2461. $config['instance']['6']['logs_system'] = array
  2462. (
  2463. /****************************************************************************
  2464.  
  2465. ENG [LOGS SYSTEM] # PL [SYSTEM LOGÓW]
  2466.  
  2467. ****************************************************************************/
  2468.  
  2469. 'logs' => array
  2470. (
  2471. // ENG [Turn on/off logs system (true or false)] # PL [Wlaczenie lub wylaczenie systemu logów]
  2472. 'enabled' => true,
  2473.  
  2474. // ENG [Days, after which, log files will be deleted] # PL [Czas w dniach, po których pliki logów zostana usunięte]
  2475. 'delete_interval' => '3',
  2476. ),
  2477. );
  2478.  
  2479.  
  2480.  
  2481. $config['instance']['6']['options'] = array
  2482. (
  2483. /****************************************************************************
  2484.  
  2485. ENG [INSTANCE OPTIONS] # PL [OPCJE INSTANCJI]
  2486.  
  2487. ****************************************************************************/
  2488.  
  2489.  
  2490. // ENG [Folder for functions containing all events and plugins] # PL [Folder w którym sa wszystkie eventy i pluginy]
  2491. 'folder' => 'sixth_instance',
  2492.  
  2493. // ENG [Bot interval in miliseconds] # PL [Interwal bota w milisekundach]
  2494. 'bot_interval' => 100, //1000 = one second
  2495.  
  2496. // ENG ['events_plugins' or 'commands' (default 'live_help')] # PL ['events_plugins' lub 'commands' (domyślnie 'live_help')]
  2497. 'function_type' => 'live_help', // Do not change
  2498. );
  2499.  
  2500.  
  2501.  
  2502. $config['instance']['6']['functions'] = array
  2503. (
  2504.  
  2505.  
  2506.  
  2507. /**************************************
  2508.  
  2509. ENG [PLUGINS] # PL [PLUGINY]
  2510.  
  2511. **************************************/
  2512.  
  2513.  
  2514.  
  2515. 'plugins' => false,
  2516.  
  2517.  
  2518.  
  2519. /**************************************
  2520.  
  2521. ENG [EVENTS] # PL [EVENTY]
  2522.  
  2523. **************************************/
  2524.  
  2525.  
  2526. 'events' => true,
  2527.  
  2528.  
  2529. // ENG [Live Help] # PL [Live Help]
  2530. 'live_help' => array
  2531. (
  2532. 'enabled' => true,
  2533. 'support_channel_id' => 56,
  2534. 'ignored_groups' => array(314,313,17,16,15,14,13,12,11,63,10),
  2535. 'commands_enabled' => true,
  2536.  
  2537. //if not registered commands !m, !k
  2538. 'registration_groups' => array
  2539. (
  2540. 'enabled' => false,
  2541. 'min_time' => 5, //in minutes (DB must be on)
  2542. 'man' => array
  2543. (
  2544. 'sgid' => 50,
  2545. //command - !m
  2546. ),
  2547. 'woman' => array
  2548. (
  2549. 'sgid' => 50,
  2550. //commdn - !k
  2551. ),
  2552. ),
  2553.  
  2554. //!list, !add, !del
  2555. 'server_groups' => array
  2556. (
  2557. 'enabled' => true,
  2558. 'info' => array
  2559. (
  2560. /****************************************
  2561.  
  2562. '1' => array //growing number, for example 1, 2, 3...
  2563. (
  2564. 'server_groups' => array(52,53,54,55,56), //server groups
  2565. 'limit' => 1, //limit of checking groups
  2566. 'name' => 'Grupy wiekowe',
  2567. ),
  2568.  
  2569. ****************************************/
  2570.  
  2571. '1' => array
  2572. (
  2573. 'server_groups' => array(39,134,68,69,70,71,226), //checking server groups
  2574. 'limit' => 1, //limit of checking groups
  2575. 'name' => 'Grupy wiekowe',
  2576. ),
  2577. '2' => array
  2578. (
  2579. 'server_groups' => array(37,83,84,85,86,87,90,91,92,93,96,97,100,101,103,104,105,107,108,124,160,161,162,163,164,165,166,167,168,169,170,233,284), //server groups
  2580. 'limit' => 3, //limit of checking groups
  2581. 'name' => 'Grupy 4Fun',
  2582. ),
  2583. ),
  2584. ),
  2585.  
  2586. //!faq
  2587. 'faq' => array
  2588. (
  2589. 'enabled' => true,
  2590. 'info' => "1. Po jakim czasie dostaje range zweryfikowany? Odpowiedź : Po 5 minutach :) \n2. Co to za kanał? - jest to kanał pomocy serwera TS3FAST.PL\n",
  2591. ),
  2592.  
  2593. //!my_info
  2594. 'client_info' => array
  2595. (
  2596. 'enabled' => true,
  2597. ),
  2598.  
  2599. //!admin
  2600. 'poke_admins' => array
  2601. (
  2602. 'enabled' => false,
  2603. 'admins_groups' => array(10,63,11,12,13,14,15,16,17), //important in `sinusbot` function
  2604. 'ignored_groups' => array(314),
  2605. 'ignored_channels' => array(63827), //channels where bot doesn't poke admins
  2606. 'show_client_link' => true, //show client link ([url])
  2607. 'with_command' => false, //poke admins only after command !admin
  2608. 'poke_once' => true, //send one poke to admin (true) or more (false)
  2609. 'poking_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 15), //Only if poke_once = true
  2610.  
  2611. ),
  2612.  
  2613. //!channel
  2614. 'get_private_channel' => array
  2615. (
  2616. 'enabled' => true,
  2617. 'sub_channels' => 2, //how many sub channels
  2618. 'head_channel_admin_group' => 13, //main head channel admin group id
  2619. 'message_type' => 'poke', //message type (poke or message)
  2620. 'empty_channel_topic' => '#free', //topic in empty channels
  2621. 'channels_zone' => 39733, //parent channel id
  2622. 'sb_delay' => 16,
  2623. ),
  2624.  
  2625. //`talking` sinusbot
  2626. 'sinusbot' => array
  2627. (
  2628. 'enabled' => true,
  2629. 'host' => '5.196.126.86:8087',
  2630. 'login' => 'admin',
  2631. 'password' => 'null',
  2632. 'instance_uid' => 'ecc90872-872a-4e21-b7b6-aa50ba336827',
  2633. 'playlist_id' => '06e9da03-6c9c-4f7a-b5e5-853865f9bef5',
  2634. 'bot_nick' => 'LiveHelp',
  2635. 'queue_in_nick' => true, //Show in nick number of people in queue
  2636. 'type' => 1,
  2637. ),
  2638.  
  2639.  
  2640. 'read_chat' => 1, //in seconds Default 1
  2641. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 0), //Default: 0 seconds
  2642. ),
  2643. );
  2644.  
  2645. ?>
Add Comment
Please, Sign In to add comment