Advertisement
Guest User

Untitled

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