Advertisement
Guest User

Untitled

a guest
Dec 5th, 2018
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 91.88 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' => '178.217.188.143',
  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' => 'jswfsoo',
  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(4),
  81. ),
  82. 'instances' => array
  83. (
  84. '1' => array //Aktualizator
  85. (
  86. 'enabled' => true,
  87. 'database_enabled' => true,
  88. 'bot_name' => 'Helltalk » Aktualizator',
  89. 'default_channel' => 111,
  90. ),
  91. '2' => array //Administrator
  92. (
  93. 'enabled' => true,
  94. 'database_enabled' => true,
  95. 'bot_name' => 'Helltalk » Administrator',
  96. 'default_channel' => 111,
  97. ),
  98. '3' => array //Database
  99. (
  100. 'enabled' => true,
  101. 'database_enabled' => true,
  102. 'bot_name' => 'Helltalk » Database System ',
  103. 'default_channel' => 111,
  104. ),
  105. '4' => array //Channels Guard
  106. (
  107. 'enabled' => true,
  108. 'database_enabled' => true,
  109. 'bot_name' => 'Helltalk » Channels Guard',
  110. 'default_channel' => 111,
  111. ),
  112. '5' => array //Commander
  113. (
  114. 'enabled' => true,
  115. 'database_enabled' => true,
  116. 'bot_name' => 'Helltalk » Command Guard',
  117. 'default_channel' => 111,
  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(12,160,30,13,14,15,16), //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(12,28,18,140), //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' => 159,
  322. 'ignored_groups' => array(18,28),
  323. 'channel_name' => '[cspacer]• 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' => 157,
  332. 'channel_name' => '[cspacer]• Rekord Serwera: [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' => 122,
  342. 'admins_server_groups' => array(12,160,30,13,14,15,16),
  343. 'ignored_groups' => array(29),
  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. 121 => array //channel id
  358. (
  359. 'admins_server_groups' => array(12,160,30,13,14,15,16),
  360. 'ignored_groups' => array(29),
  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(12,160,30,13,14,15,16),
  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' => 162,
  402. 'channel_name' => array
  403. (
  404. '[cspacer]• Hellzone.pl •',
  405. '[cspacer]• XBot-ts3.pl •',
  406. '[cspacer]• Thelhost.com •',,
  407. ),
  408. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 45),
  409. ),
  410.  
  411. // ENG [Multifunction] # PL [Wielofunkcyjnośc]
  412. 'multi_function' => array
  413. (
  414. 'enabled' => false,
  415. 'content' => array
  416. (
  417. 'total_ping' => array // ENG [server total ping in channel name] # PL [ping serwera w nazwie kanalu]
  418. (
  419. 'enabled' => true,
  420. 'channel_id' => 28,
  421. 'channel_name' => '[cspacer1]Ping serwera: [PING]', // [PING] = ping
  422. 'integer' => true, // true or false (ping in integer)
  423. ),
  424. 'packet_loss' => array // ENG [server packet loss in channel name] # PL [packet loss serwera w nazwie kanalu]
  425. (
  426. 'enabled' => true,
  427. 'channel_id' => 24,
  428. 'channel_name' => '[cspacer1]Packet losst serwera: [PACKETLOSS]% ', // [PACKETLOSS] = packetloss
  429. 'integer' => true, // true or false (packetloss in integer)
  430. ),
  431. 'channels_count' => array // ENG [channels count in channel name] # PL [ilosc kanalów w nazwie kanalu]
  432. (
  433. 'enabled' => true,
  434. 'channel_id' => 26,
  435. 'channel_name' => '[cspacer]Ilość kanałów: [CHANNELS]', // [CHANNELS] = channels count
  436. ),
  437. 'bytes_upload' => array // ENG [bytes upload on server in channel name] # PL [ilość danych wysłanych przez serwer]
  438. (
  439. 'enabled' => false,
  440. 'channel_id' => 15,
  441. 'channel_name' => '» Danych wysłanych: [UPLOAD]', // [UPLOAD] = bytes upload
  442. ),
  443. 'bytes_download' => array // ENG [bytes download on server in channel name] # PL [ilość danych pobranych przez serwer]
  444. (
  445. 'enabled' => false,
  446. 'channel_id' => 16,
  447. 'channel_name' => '» Danych pobranych: [DOWNLOAD]', // [DWONLOAD] = bytes download
  448. ),
  449. ),
  450. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 15),
  451. ),
  452.  
  453. // ENG [Support channels] # PL [Kanały pomocy]
  454. 'support_channels' => array
  455. (
  456. 'enabled' => false,
  457. 'content' => array
  458. (
  459. 'time_open' => array //Channels open at a specific time
  460. (
  461. '0' => array // growing number for example 1, 2, 3...
  462. (
  463. 'channelId' => 0, // channel id
  464. 'time_open' => '09:00', // time of opening
  465. 'time_close' => '23:50', // time of closing
  466. 'channel_name_open' => '[»] Centrum Pomocy XBot', // channel name when opened
  467. 'channel_name_close' => '[»] Centrum Pomocy XBot [OFF]', // channel name when closed
  468. 'needed_join_power' => 1500, //when close
  469. 'change_maxfamily_clients' => false, // close family channels too
  470. ),
  471. '1' => array // growing number for example 1, 2, 3...
  472. (
  473. 'channelId' => 114, // channel id
  474. 'time_open' => '09:00', // time of opening
  475. 'time_close' => '23:50', // time of closing
  476. 'channel_name_open' => '[»] Chcę zakupić usługę', // channel name when opened
  477. 'channel_name_close' => '[»] Chcę zakupić usługę [OFF]', // channel name when closed
  478. 'needed_join_power' => 1500, //when close
  479. 'change_maxfamily_clients' => false, // close family channels too
  480. ),
  481. ),
  482. 'open_when_admin' => array //Channels open when admin from server group is online
  483. (
  484. /*************************
  485.  
  486. ###
  487. # open when admin from groups online: 'admin' => array(server_groups separated by comma),
  488. ###
  489.  
  490. ###
  491. # open when client online: 'admin' => client_database_id,
  492. ###
  493.  
  494. *************************/
  495.  
  496. '0' => array // growing number for example 1, 2, 3...
  497. (
  498. 'channelId' => 0, // channel id
  499. 'admin' => 0,
  500. 'channel_name_open' => '» Centrum pomocy [ON]', // channel name when opened
  501. 'channel_name_close' => '» Centrum pomocy[OFF]', // channel name when closed
  502. 'needed_join_power' => 200, //when close
  503. 'change_maxfamily_clients' => false, // close family channels too
  504. ),
  505. ),
  506. ),
  507. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 10),
  508. ),
  509.  
  510. // ENG [Get vip channel] # PL [Otrzymywanie kanału vip]
  511. 'get_vip_channel' => array // Db must be on
  512. (
  513. 'enabled' => true,
  514. 'if_client_on_channel' => array(133), // all checking channels id
  515.  
  516. //online_from_server_group function must be ON and get_server_group function must be ON
  517.  
  518. 'info' => array
  519. (
  520. 'VIP' => array //Zone name for example 'VIP' | 'GOLD'
  521. (
  522. 'if_on_channel' => 133,
  523. 'server_group_copy' => 51, // server group to copy
  524. 'channel_group_id' => 18, // default channel admin group
  525. 'subchannels' => 5, // how many subchannels
  526. 'subchannels_red' => true, // true - max cleints = 0 | false - max clients = unlimited
  527. 'online_from_server_group' => true, // create channel with information about clients from server group
  528. 'get_server_group' => true, // create channel add/del server group
  529. 'after_channel' => 89, // the first channel for example spacer
  530. 'join_needed' => 100,
  531.  
  532. 'spacer_between' => array
  533. (
  534. 'enabled' => true,
  535. 'spacer_name' => '[*spacerVIP1[NUM]]...',
  536. 'join_needed' => 150,
  537. 'modify_needed' => 100,
  538. ),
  539. 'main_channel' => '[cspacer1] [[NUM]] ViP', // [NUM] - vip channel number
  540. 'empty_topic' => '#WOLNY1', // Topic in empty channel (remember it)
  541. ),
  542. 'Diamond' => array //Zone name for example 'VIP' | 'GOLD'
  543. (
  544. 'if_on_channel' => 0,
  545. 'server_group_copy' => 0, // server group to copy
  546. 'channel_group_id' => 0, // default channel admin group
  547. 'subchannels' => 5, // how many subchannels
  548. 'subchannels_red' => true, // true - max cleints = 0 | false - max clients = unlimited
  549. 'online_from_server_group' => true, // create channel with information about clients from server group
  550. 'get_server_group' => true, // create channel add/del server group
  551. 'after_channel' => 0, // the first channel for example spacer
  552. 'join_needed' => 0,
  553.  
  554. 'spacer_between' => array
  555. (
  556. 'enabled' => true,
  557. 'spacer_name' => '[*spacerDiamond[NUM]]---',
  558. 'join_needed' => 100,
  559. 'modify_needed' => 100,
  560. ),
  561. 'main_channel' => '[cspacer] [[NUM]] VIP', // [NUM] - vip channel number
  562. 'empty_topic' => '#WOLNY_D', // Topic in empty channel (remember it)
  563. ),
  564. ),
  565. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 15),
  566. ),
  567.  
  568. // ENG [Get vip channel spacer] # PL [Otrzymywanie kanału vip na spacerach]
  569. 'get_vip_channel_spacer' => array // Db must be on
  570. (
  571. 'enabled' => true,
  572. 'if_client_on_channel' => array(132), // all checking channels id
  573. 'create_interval' => 1000000, // In miliseconds
  574.  
  575. 'info' => array
  576. (
  577. 'Premium' => array //Zone name for example 'VIP' | 'GOLD'
  578. (
  579. 'if_on_channel' => 132,
  580. 'server_group_copy' => 49, // server group to copy
  581. 'channel_group_id' => 18, // default channel admin group
  582. 'after_channel' => 54, // the first channel for example spacer
  583. 'online_from_server_group_name' => '[rspacer] [SERVER_GROUP]: [ONLINE]/[MAX]', // [SERVER_GROUP] - group name, [ONLINE],
  584.  
  585. 'spacers' => array
  586. (
  587. /*************************************
  588.  
  589. '1' => array // Growing number
  590. (
  591. 'spacer' => array
  592. (
  593. 'name' => '[cspacer] [[NUM]] Premium', // [NUM] - vip channel number
  594. 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
  595. 'join_needed' => 100, // Join needed permission
  596. 'subscribe_needed' => 100, // Subscribe needed permission
  597. ),
  598. 'subchannels' => array
  599. (
  600. 'count' => 3, // How many subchannels
  601. 'name' => 'Podkanał [NUM]', // [NUM] - subchannel number
  602. 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited
  603. 'join_needed' => 0, // Join needed permission
  604. 'subscribe_needed' => 0, // Subscribe needed permission
  605. ),
  606. ),
  607.  
  608. online_from_server_group function must be ON and get_server_group function must be ON
  609.  
  610. add `'get_group_spacer' => true` if get group must be a spacer
  611. add `'online_group_spacer' => true` if online from group must be a spacer
  612.  
  613. add `'get_group_subchannel' => true` if get group must be in the subchannel
  614. add `'online_group_subchannel' => true` if online from group must be in the subchannel
  615.  
  616. *************************************/
  617.  
  618. '1' => array // Main channel
  619. (
  620. 'spacer' => array
  621. (
  622. 'name' => '[cspacer] [[NUM]] Premium', // [NUM] - vip channel number
  623. 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
  624. 'join_needed' => 100, // Join needed permission
  625. 'subscribe_needed' => 100, // Subscribe needed permission
  626. ),
  627. 'subchannels' => array
  628. (
  629. 'count' => 0, // How many subchannels
  630. 'name' => 'Podkanał [NUM]', // [NUM] - subchannel number
  631. 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited
  632. 'join_needed' => 0, // Join needed permission
  633. 'subscribe_needed' => 0, // Subscribe needed permission
  634. ),
  635. ),
  636. '2' => array // Main channel
  637. (
  638. 'spacer' => array
  639. (
  640. 'name' => '[rspacer[NUM]] Online:', // [NUM] - vip channel number
  641. 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
  642. 'join_needed' => 10, // Join needed permission
  643. 'subscribe_needed' => 0, // Subscribe needed permission
  644. ),
  645. 'subchannels' => array
  646. (
  647. 'count' => 0, // How many subchannels
  648. 'name' => 'Podkanał [NUM]', // [NUM] - subchannel number
  649. 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited
  650. 'join_needed' => 0, // Join needed permission
  651. 'subscribe_needed' => 0, // Subscribe needed permission
  652. ),
  653. 'online_group_spacer' => true,
  654. ),
  655. '3' => array // Main channel
  656. (
  657. 'spacer' => array
  658. (
  659. 'name' => '[rspacer[NUM]] Nadaj grupe', // [NUM] - vip channel number
  660. 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
  661. 'join_needed' => 10, // Join needed permission
  662. 'subscribe_needed' => 0, // Subscribe needed permission
  663. ),
  664. 'subchannels' => array
  665. (
  666. 'count' => 0, // How many subchannels
  667. 'name' => 'Podkanał [NUM]', // [NUM] - subchannel number
  668. 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited
  669. 'join_needed' => 0, // Join needed permission
  670. 'subscribe_needed' => 0, // Subscribe needed permission
  671. ),
  672. 'get_group_spacer' => true,
  673. ),
  674. '4' => array
  675. (
  676. 'spacer' => array
  677. (
  678. 'name' => '[lspacerzarzad[NUM]]• Zarząd', // [NUM] - vip channel number
  679. 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
  680. 'join_needed' => 10, // Join needed permission
  681. 'subscribe_needed' => 0, // Subscribe needed permission
  682. ),
  683. 'subchannels' => array
  684. (
  685. 'count' => 4, // How many subchannels
  686. 'name' => 'Zarząd: [NUM]', // [NUM] - subchannel number
  687. 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited
  688. 'join_needed' => 20, // Join needed permission
  689. 'subscribe_needed' => 50, // Subscribe needed permission
  690. ),
  691. ),
  692. '5' => array
  693. (
  694. 'spacer' => array
  695. (
  696. 'name' => '[lspacerkanaly[NUM]]• Kanały główne', // [NUM] - vip channel number
  697. 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
  698. 'join_needed' => 10, // Join needed permission
  699. 'subscribe_needed' => 30, // Subscribe needed permission
  700. ),
  701. 'subchannels' => array
  702. (
  703. 'count' => 14, // How many subchannels
  704. 'name' => 'Kanał #[NUM]', // [NUM] - subchannel number
  705. 'subchannels_red' => true, // true - max clients = 0 | false - max clients = unlimited
  706. 'join_needed' => 0, // Join needed permission
  707. 'subscribe_needed' => 0, // Subscribe needed permission
  708. ),
  709. ),
  710. '6' => array
  711. (
  712. 'spacer' => array
  713. (
  714. 'name' => '[cspacerkanaly[NUM]]—————• Rekrutacja •————— ', // [NUM] - vip channel number
  715. 'spacer_red' => true, // true - max clients = 0 | false - max clients = unlimited
  716. 'join_needed' => 10, // Join needed permission
  717. 'subscribe_needed' => 30, // Subscribe needed permission
  718. ),
  719. 'subchannels' => array
  720. (
  721. 'count' => 2, // How many subchannels
  722. 'name' => 'Kanał #[NUM]', // [NUM] - subchannel number
  723. 'subchannels_red' => false, // true - max clients = 0 | false - max clients = unlimited
  724. 'join_needed' => 0, // Join needed permission
  725. 'subscribe_needed' => 0, // Subscribe needed permission
  726. ),
  727. ),
  728. ),
  729. 'spacer_between' => array
  730. (
  731. 'enabled' => true,
  732. 'spacer_name' => '[*spacerPremium[NUM]]...',
  733. 'join_needed' => 150,
  734. 'modify_needed' => 100,
  735. ),
  736. ),
  737. ),
  738. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 15),
  739. ),
  740.  
  741. // ENG [Information on channel about twitch/youtube channel] # PL [Informacje o kanale twitch/youtube]
  742. 'twitch_yt' => array
  743. (
  744. 'enabled' => false,
  745. 'info' => array
  746. (
  747. 'twitch_enabled' => false,
  748. 'twitch_api_key' => 'oaocbf2zpmv6807kp9jcxkwmcjvq5a', // you can change it if you want https://www.twitch.tv/settings/connections
  749. 'twitch' => array
  750. (
  751. 'izakooo' => array //Twitch channel name
  752. (
  753. 'main_channel' => array //Channel where will be description
  754. (
  755. 'channel_id' => 23,
  756. 'channel_name' => '» [Twitch] izakooo [STATUS_TWITCH]', //[STATUS_TWITCH] - on live or no
  757. ),
  758. 'follows' => array //Channel where will be followers count in channel name
  759. (
  760. 'channel_id' => 464,
  761. 'channel_name' => '» Followersów: [FOLLOWS]', //[FOLLOWS] - FOLLOWS count
  762. ),
  763. ),
  764. ),
  765. 'youtube_enabled' => false,
  766. 'youtube_api_key' => 'AIzaSyDSeoveGEL2Tycy3M2FBnf5uyPVlZk7et8', // YouTube api key
  767. 'youtube' => array
  768. (
  769. /*****************************************
  770.  
  771. 'UC-suExuAUNgJmyKcxA-PGzg' => array //YouTube channel id
  772. (
  773. 'main_channel' => array //Channel where will be description and SUBS in channel name
  774. (
  775. 'channel_id' => 0, //channel id
  776. 'channel_name' => '[ YouTuber ] Ramzes: [SUBS] subów', //[SUBS] - subscribers //[NAME] - youtuber nick
  777. ),
  778. 'videos_count' => array //Channel where will be Videos count in channel name
  779. (
  780. 'channel_id' => 0, //channel id
  781. 'channel_name' => '» Filmów na kanale: [VIDEOS]', //[VIDEOS] - videos count
  782. ),
  783. 'views_count' => array //Channel where will be views count in channel name
  784. (
  785. 'channel_id' => 0, //channel id
  786. 'channel_name' => '» Wyświetleń: [VIEWS]', //[VIEWS] - views count
  787. ),
  788. ),
  789.  
  790. ******************************************/
  791.  
  792. 'UCSeqSPSJDl0EXezzjJrwQNg' => array //YouTube channel id
  793. (
  794. 'main_channel' => array //Channel where will be description and SUBS in channel name
  795. (
  796. 'channel_id' => 24,
  797. 'channel_name' => '» [YouTuber] izak LIVE: [SUBS] subów', //[SUBS] - subscribers //[NAME] - youtuber nick
  798. ),
  799. 'videos_count' => array //Channel where will be Videos count in channel name
  800. (
  801. 'channel_id' => 25,
  802. 'channel_name' => '» Filmów na kanale: [VIDEOS]', //[VIDEOS] - videos count
  803. ),
  804. 'views_count' => array //Channel where will be views count in channel name
  805. (
  806. 'channel_id' => 26,
  807. 'channel_name' => '» Wyświetleń: [VIEWS]', //[VIEWS] - views count
  808. ),
  809. ),
  810. ),
  811. ),
  812. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 7,'seconds' => 0),
  813. ),
  814.  
  815. // ENG [clients online from server group] # PL [użytkownicy danej grupy serwera online]
  816. 'online_from_server_group' => array
  817. (
  818. 'enabled' => true,
  819. 'show_time' => true, //only for groups which have maximal 15 members | true / false
  820. 'max_users' => 200, //max users in description
  821.  
  822. 'info' => array
  823. (
  824. /*******************************
  825.  
  826. 233 => array // Channel ID
  827. (
  828. 'server_groups' => array(10), // Server groups separated by comma
  829. 'show_description' => true, // Show users in description
  830. 'only_online' => true, // Show only online clients
  831. 'channel_name' => '• Zarejestrowanych Użytkowników: [ONLINE]/[MAX]', // Channel name
  832. 'top_description' => '| Lista osób z rangi: [SERVER_GROUP] |', // Top description
  833. ),
  834.  
  835. *******************************/
  836.  
  837. 56 => array
  838. (
  839. 'server_groups' => array(143),
  840. 'show_description' => true,
  841. 'only_online' => false,
  842. 'channel_name' => '[rspacer]Online z [SERVER_GROUP]: [ONLINE]/[MAX]',
  843. 'top_description' => '| Lista osób z rangi: [SERVER_GROUP] |',
  844. ),
  845. ),
  846. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 10),
  847. ),
  848.  
  849. // ENG [assign server group if client enters a channel] # PL [przypisz grupę serwera po wejściu na kanal]
  850. 'get_server_group' => array
  851. (
  852. 'enabled' => true,
  853. 'if_client_on_channel' => array(57), //all checking channels id
  854. 'delete_rang' => true, //delete rang if client is on channel
  855. 'client_kick' => true, //Kick client from channel after assignment/deleted group | true / false
  856. 'poke_client' => false, //Poke client for example: You have just received clan group!
  857. 'add_channel_group' => array //Only for channels from fucntion get_vip_channel and get_vip_channel_spacer
  858. (
  859. 'enabled' => false,
  860. 'guest_channel_group' => 14, //default, guest channel group
  861. 'zones' => array
  862. (
  863. /**************
  864. 'zone_name' => 'channel_group',
  865. **************/
  866. 'VIP' => 21,
  867. 'Premium' => 21,
  868. ),
  869. ),
  870. 'info' => array
  871. (
  872. //21410 => 227, //channel id => server group id
  873. 57 => 143,
  874. ),
  875. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 10),
  876. ),
  877.  
  878. // ENG [Ddos information] # PL [Informacje o ddos]
  879. 'ddos_information' => array
  880. (
  881. 'enabled' => true,
  882. 'file' => 'include/cache/ddos_information.txt',
  883. 'packet_loss' => 10, //from what packet loss%(numeric) send global information
  884. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 30),
  885. ),
  886.  
  887. // ENG [Informing about client in channel name] # PL [Status użytkownika w nazwie kanalu]
  888. 'client_on_channel' => array
  889. (
  890. 'enabled' => false,
  891. 'server_groups_id' => array(12,160,30,13,14,15,16), //all checking client's server groups
  892. 'ignored_groups' => array(29),
  893. 'idle_time' => 1800, //idle time to have away status (in seconds)
  894. 'show_description' => true, //show description on channels
  895. 'status' => array
  896. (
  897. 'online' => 'online',
  898. 'offline' => 'offline',
  899. 'away' => 'away',
  900. ),
  901. 'info' => array
  902. (
  903. /***************************************************************
  904.  
  905. (you can copy this to use this function many times)
  906.  
  907. 0 => array //client databse id => array
  908. (
  909. 'channel_id' => 0, //channel id
  910. 'format' => '[[RANG]] [NICK] - [STATUS]', //format on channel name [RANG] - server group name, [NICK] - client nick, [STATUS] - client status (online/away/offline)
  911. 'fb' => '', //If none set 0
  912. 'email' => 'Trasxgamer@gmail.com', //If none set 0
  913. ),
  914.  
  915. ***************************************************************/
  916.  
  917. 4 => array // client dbid => array
  918. (
  919. 'channel_id' => 100, //channel id
  920. 'format' => '[[RANG]] [NICK] - [STATUS]', //format on channel name [RANG] - server group name, [NICK] - client nick, [STATUS] - client status (online/away/offline)
  921. 'fb' => 'https://www.facebook.com/HellTalkeu-377737519432743/',
  922. 'email' => 'trasxgamer@gmail.com',
  923. ),
  924. 0 => array // client dbid => array
  925. (
  926. 'channel_id' => 101, //channel id
  927. 'format' => '[[RANG]] [NICK] - [STATUS]', //format on channel name [RANG] - server group name, [NICK] - client nick, [STATUS] - client status (online/away/offline)
  928. 'fb' => 'https://www.facebook.com/HellTalkeu-377737519432743/',
  929. 'email' => '0',
  930. ),
  931. 0 => array // client dbid => array
  932. (
  933. 'channel_id' => 103, //channel id
  934. 'format' => '[[RANG]] [NICK] - [STATUS]', //format on channel name [RANG] - server group name, [NICK] - client nick, [STATUS] - client status (online/away/offline)
  935. 'fb' => 'https://www.facebook.com/HellTalkeu-377737519432743/',
  936. 'email' => 'dawidhellzone@gmail.com',
  937. ),
  938. 0 => array // client dbid => array
  939. (
  940. 'channel_id' => 104, //channel id
  941. 'format' => '[[RANG]] [NICK] - [STATUS]', //format on channel name [RANG] - server group name, [NICK] - client nick, [STATUS] - client status (online/away/offline)
  942. 'fb' => '0',
  943. 'email' => '0',
  944. ),
  945. 0 => array // client dbid => array
  946. (
  947. 'channel_id' => 106, //channel id
  948. 'format' => '[[RANG]] [NICK] - [STATUS]', //format on channel name [RANG] - server group name, [NICK] - client nick, [STATUS] - client status (online/away/offline)
  949. 'fb' => '0',
  950. 'email' => '0',
  951. ),
  952. ),
  953. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 15),
  954. ),
  955.  
  956. // ENG [Status sinusbot] # PL [Status sinusbotów]
  957. 'status_sinusbot' => array
  958. (
  959. 'enabled' => false,
  960. 'channel_id' => 28,
  961. 'bots_server_groups' => array(31),
  962. 'top_description' => '[img]https://i.imgur.com/cWwskNb.png[/img]',
  963. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 0),
  964. ),
  965.  
  966. // ENG [List of server queries online] # PL [Lista klientów server query online]
  967. 'server_query_online' => array
  968. (
  969. 'enabled' => false,
  970. 'channel_id' => 555,
  971. 'channel_name' => '• Dostępnych Botów Server Query: [ONLINE]', //[ONLINE] - Server Query online
  972. 'top_description' => '[img]https://i.imgur.com/KCvBQlm.png[/img]',
  973. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 20),
  974. ),
  975.  
  976. // ENG [Ban list] # PL [Lista banów]
  977. 'ban_list' => array
  978. (
  979. 'enabled' => true,
  980. 'channel_id' => 158,
  981. 'how_many' => 15,
  982. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 0),
  983. ),
  984.  
  985. // ENG [Facebook posts] # PL [Posty z facebook'a]
  986. 'facebook_posts' => array
  987. (
  988. 'enabled' => false,
  989. 'channel_id' => 31,
  990. 'channel_name' => '» Fanpage (Likes: [LIKES])', //[LIKES] - likes count
  991. 'page_id' => '1719172075053504', //You can find it on website: https://findmyfbid.com/
  992. 'access_token' => '',
  993. 'posts' => 1,
  994. 'link_to_fanpage' => 'https://www.facebook.com/XBot-bot-na-tw%C3%B3j-serwer-TS3-1719172075053504/',
  995. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 1,'minutes' => 0,'seconds' => 0),
  996. ),
  997.  
  998. // ENG [Game servers' info] # PL [Informacje o serwerach gier]
  999. 'servers_info' => array
  1000. (
  1001. 'enabled' => false,
  1002. 'info' => array
  1003. (
  1004. /******************************************
  1005.  
  1006. 0 => array
  1007. (
  1008. 'type' => 'server_type',
  1009. 'host' => 'ip:port', //for example 195.32.532.321:1045
  1010. 'channel_id' => channel_id(value), //for exaple 45
  1011. 'channel_name' => 'channel_name(value)',
  1012. ),
  1013.  
  1014. server_type: 'cs16' - CS 1.6 server | 'csgo' - CS:GO server | 'minecraft' - Minecraft server
  1015. All servers: https://github.com/Austinb/GameQ/tree/v3/src/GameQ/Protocols
  1016.  
  1017. 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
  1018.  
  1019. server
  1020.  
  1021. For example:
  1022.  
  1023. 0 => array growing number from 0 (0,1,2,3,4,5,itd)
  1024. (
  1025. 'type' => 'cs16',
  1026. 'host' => '193.70.125.254:27030',
  1027. 'channel_id' => 20922,
  1028. 'channel_name' => 'Online: [CLIENTS_ONLINE] | Mapa: [MAP]',
  1029. 'custom_server_name' => '0', // Set 0 if none
  1030. ),
  1031.  
  1032. ******************************************/
  1033.  
  1034. 0 => array
  1035. (
  1036. 'type' => 'minecraft',
  1037. 'host' => '91.134.209.194:25565',
  1038. 'channel_id' => 33,
  1039. 'channel_name' => '» MC ([CLIENTS_ONLINE]/[CLIENTS_MAX])',
  1040. 'custom_server_name' => 'KRAINA MC', // Set 0 if none
  1041. ),
  1042. 1 => array
  1043. (
  1044. 'type' => 'cs16',
  1045. 'host' => '213.238.173.177:27015',
  1046. 'channel_id' => 34,
  1047. 'channel_name' => '» COD MOD ([CLIENTS_ONLINE]/[CLIENTS_MAX])',
  1048. 'custom_server_name' => '0', // Set 0 if none
  1049. ),
  1050. ),
  1051. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 5,'seconds' => 0),
  1052. ),
  1053.  
  1054. // ENG [Users' country list] # PL [Lista krajów użytkowników]
  1055. 'country_list' => array
  1056. (
  1057. 'enabled' => false,
  1058. 'channel_id' => 35,
  1059. 'channel_name' => '» Osób online spoza Polski: [ONLINE]', //[ONLINE] online clients outside the specified country
  1060. 'default_country' => 'PL',
  1061. 'top_description' => 'Lista osób ONLINE spoza Polski',
  1062. 'ignored_groups' => array(31,43),
  1063. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 2,'seconds' => 0),
  1064. ),
  1065.  
  1066. // ENG [Name_day in channel name] # PL [Imieniny w nazwie kanału]
  1067. 'name_day' => array
  1068. (
  1069. 'enabled' => false,
  1070. 'channel_id' => 36,
  1071. 'channel_name' => '» Imieniny: [NAME]', //[NAME] - name
  1072. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 2,'seconds' => 0),
  1073. ),
  1074.  
  1075. // ENG [Partners] # PL [Partnerzy]
  1076. 'partners' => array
  1077. (
  1078. 'enabled' => false,
  1079. 'channel_id' => 129,
  1080. 'info' => array
  1081. (
  1082. '[cspacer] TSowicze.pl' => "[center][img]https://i.imgur.com/oKhD1uM.png[/img][/center]",
  1083. '[cspacer] Aplikacja XBot' => "[center][img]http://adamek-ts3.eu/png/Xbot.png[/img][hr][/center][center][size=15][b]Informacje[/b][/size][/center][hr]
  1084. [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]
  1085.  
  1086. 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
  1087.  
  1088. 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-
  1089.  
  1090. 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-
  1091.  
  1092. 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]
  1093. [hr][/list]",
  1094. ),
  1095. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 0),
  1096. ),
  1097.  
  1098. // ENG [Generate cache] # PL [Generuj plik cache]
  1099. 'generate_cache' => array
  1100. (
  1101. 'enabled' => false,
  1102. 'target_file' => '/var/www/html/vip/cache/cache.txt',
  1103. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
  1104. ),
  1105.  
  1106. // ENG [XBot info] # PL [Informacje od twórcy w opisie kanału]
  1107. 'xbot_info' => array //Checking on the server every 15 minutes
  1108. (
  1109. 'enabled' => false,
  1110. 'channel_id' => 37,
  1111. 'translate' => array
  1112. (
  1113. 'enabled' => false,
  1114. 'target_language' => 'en', // Type language code https://cloud.google.com/translate/docs/languages
  1115. ),
  1116. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 30),
  1117. ),
  1118.  
  1119. // ENG [Get YT channel] # PL [Otrzymywanie kanału YouTube]
  1120. 'get_yt_channel' => array // Db must be on
  1121. (
  1122. 'enabled' => false,
  1123. 'if_client_on_channel' => array(788), // all checking channels id
  1124.  
  1125. 'if_on_channel' => 788,
  1126. 'channel_group_id' => 34, // default channel admin group
  1127. 'subchannels' => 5, // how many subchannels
  1128. 'subchannels_red' => true, // true - max cleints = 0 | false - max clients = unlimited
  1129. 'videos_count' => true, // create channel with information about videos count on yt channel
  1130. 'views_count' => true, // create channel with information about views count on yt channel
  1131. 'after_channel' => 688, // the first channel for example spacer
  1132.  
  1133. 'spacer_between' => array
  1134. (
  1135. 'enabled' => true,
  1136. 'spacer_name' => '[*spacerYT[NUM]]___',
  1137. 'join_needed' => 150,
  1138. 'modify_needed' => 100,
  1139. ),
  1140. 'main_channel' => '[cspacer][[NUM]] YT', // [NUM] - vip channel number
  1141. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5,),
  1142. ),
  1143.  
  1144. // ENG [Away Group] # PL [Grupa away]
  1145. 'away_group' => array
  1146. (
  1147. 'enabled' => false,
  1148. 'server_group_copy' => 65,
  1149. 'min_idle_time' => 5*60,
  1150. 'ignored_groups' => array(41),
  1151. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
  1152. ),
  1153.  
  1154. // ENG [Cache icons] # PL [Generuj ikonki do katalogu]
  1155. 'cache_icons' => array
  1156. (
  1157. 'enabled' => false,
  1158. 'icons_path' => '/var/www/html/server_icons/',
  1159. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 5,'seconds' => 0),
  1160. ),
  1161.  
  1162. // ENG [Weather in cities] # PL [Pogoda w miastach]
  1163. 'weather' => array
  1164. (
  1165. 'enabled' => false,
  1166. 'api_key' => '', //You can find api on website: openweathermap.org
  1167. 'info' => array
  1168. (
  1169. 39 => array
  1170. (
  1171. 'country_code' => 'PL', //country code for example: Poland - PL
  1172. 'city' => 'Warszawa', //without polish symbols
  1173. 'channel_name' => '» Pogoda - [CITY]', //[CITY] - city name
  1174. ),
  1175. ),
  1176. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 5,'seconds' => 0),
  1177. ),
  1178.  
  1179. // ENG [Countdown] # PL [Odliczanie]
  1180. 'countdown' => array
  1181. (
  1182. 'enabled' => false,
  1183. 'time_settings' => array('days' => true, 'hours' => true, 'minutes' => false),
  1184. 'info' => array
  1185. (
  1186. /**************************************
  1187.  
  1188. '0' => array // Growing number: 0, 1, 2, etc
  1189. (
  1190. 'channel_id' => 0,
  1191. 'channel_name' => '[•] Do świąt zostało: [COUNT] «', //[COUNT] - time to/from date
  1192. 'date' => '24-12-2018 15:00', // Format: dd-mm-YYYY GG:MM for example: 22-06-2018 09:00
  1193. 'count_type' => 'to_date', // Count type: 'to_date' (for example time to next event), 'from_date' (for example time from server start)
  1194. ),
  1195.  
  1196. ***************************************/
  1197.  
  1198. '0' => array
  1199. (
  1200. 'channel_id' => 990,
  1201. 'channel_name' => '[cspacer1]» Do świąt zostało:[COUNT] «', //[COUNT] - time to/from date
  1202. 'date' => '24-12-2018 15:00', // Format: dd-mm-YYYY GG:MM for example: 22-06-2018 09:00
  1203. 'count_type' => 'to_date', // Count type: 'to_date' (for example time to next event), 'from_date' (for example time from server start)
  1204. ),
  1205. '1' => array
  1206. (
  1207. 'channel_id' => 0,
  1208. 'channel_name' => '» Od [COUNT]', //[COUNT] - time to/from date
  1209. 'date' => '01-01-2018 09:00', // Format: dd-mm-YYYY GG:MM for example: 22-06-2018 09:00
  1210. 'count_type' => 'from_date', // Count type: 'to_date' (for example time to next event), 'from_date' (for example time from server start)
  1211. ),
  1212. ),
  1213. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 10),
  1214. ),
  1215. );
  1216.  
  1217. $config['instance']['2']['logs_system'] = array
  1218. (
  1219. /****************************************************************************
  1220.  
  1221. ENG [LOGS SYSTEM] # PL [SYSTEM LOGÓW]
  1222.  
  1223. ****************************************************************************/
  1224.  
  1225. 'logs' => array
  1226. (
  1227. // ENG [Turn on/off logs system (true or false)] # PL [Wlaczenie lub wylaczenie systemu logów]
  1228. 'enabled' => true,
  1229.  
  1230. // ENG [Days, after which, log files will be deleted] # PL [Czas w dniach, po których pliki logów zostana usunięte]
  1231. 'delete_interval' => '3',
  1232. ),
  1233. );
  1234.  
  1235. $config['instance']['2']['options'] = array
  1236. (
  1237. /****************************************************************************
  1238.  
  1239. ENG [INSTANCE OPTIONS] # PL [OPCJE INSTANCJI]
  1240.  
  1241. ****************************************************************************/
  1242.  
  1243. // ENG [Folder for functions containing all events and plugins] # PL [Folder w którym sa wszystkie eventy i pluginy]
  1244. 'folder' => 'second_instance',
  1245.  
  1246. // ENG [Bot interval in seconds] # PL [Interwal bota w sekundach]
  1247. 'bot_interval' => 1,
  1248.  
  1249. // ENG ['events_plugins' or 'commands' (default 'events_plugins')] # PL ['events_plugins' lub 'commands' (domyślnie 'events_plugins')]
  1250. 'function_type' => 'events_plugins',
  1251. );
  1252.  
  1253. $config['instance']['2']['functions'] = array
  1254. (
  1255.  
  1256. /**************************************
  1257.  
  1258. ENG [PLUGINS] # PL [PLUGINY]
  1259.  
  1260. **************************************/
  1261.  
  1262. 'plugins' => true,
  1263.  
  1264. // ENG [Connect message] # PL [Wiadomośc polaczenia]
  1265. 'connect_message' => array
  1266. (
  1267. 'enabled' => true,
  1268. 'file' => 'include/cache/connect_message.txt', //file to connect message
  1269. 'many_messages' => true, //true if single line = one message || false for one message
  1270. 'to_groups' => array(-1), //connect message to specified server_groups | set -1 to all server groups | set gorups_id separated by comma
  1271.  
  1272. /************************************
  1273.  
  1274. [CLIENT_IP] = Client nickname
  1275. [CLIENT_NICK] = Client nickname
  1276. [CLIENT_COUNTRY] = Client country
  1277. [CLIENT_DBID] = Client databse id
  1278. [CLIENT_VERSION] = Client TS3 version
  1279. [CLIENT_CONNECTIONS] = Client total connections
  1280. [CLIENT_PLATFORM] = Client platform
  1281. [CLIENT_TOTALCONNECTIONS] = Client total connections
  1282. [CLIENT_LASTCONNECTED] = Client lastconnected
  1283. [CLIENT_AWAY_MESSAGE] = Client away message
  1284. [CLIENT_CREATED] = Client created
  1285. [CLIENT_ON_SERVER_FOR] = Client is with server for ... for example 2 days and 1 minute
  1286.  
  1287. [SERVER_MAX_CLIENTS] = Server max clients
  1288. [SERVER_ONLINE] = Online users
  1289. [SERVER_CHANNELS] = Channel number
  1290. [SERVER_ID] = Virtual server id
  1291. [SERVER_PORT] = Server port
  1292. [SERVER_NAME] = Server name
  1293. [SERVER_VERSION] = Server version
  1294. [SERVER_VUI] = Server unique identifier
  1295. [SERVER_WELCOME_MESSAGE] = Virtualserver welcomemessage
  1296. [SERVER_PLATFORM] = Server platform
  1297. [SERVER_HOSTMESSAGE] = Server hostmessage
  1298. [SERVER_UPTIME] = Server uptime
  1299.  
  1300.  
  1301. *************************************/
  1302. ),
  1303.  
  1304. // ENG [Register groups assigner] # PL [Przypisywanie zarejestrowanych grup]
  1305. 'groups_assigner' => array
  1306. (
  1307. 'enabled' => true,
  1308. 'if_client_on_channel' => array(136,137), //all checking channels id
  1309. 'register_groups' => array(47,9), //all register groups
  1310. 'info' => array
  1311. (
  1312. 136 => 47, //channel_id => server group id,
  1313. 137 => 9,
  1314. ),
  1315. //Minimal time on server to be registered [Db connect must be on]
  1316. 'min_time_on_server' => 1, //in minutes
  1317. ),
  1318.  
  1319. // ENG [Assign afk group] # PL [Przypisz grupę afk]
  1320. 'afk_group' => array
  1321. (
  1322. 'enabled' => false,
  1323. 'afk_group' => 104, //afk group id
  1324. 'idle_time' => 1800, //in seconds
  1325. 'set_group_if_away' => true, //set afk group if client has away status
  1326. 'set_group_if_muted'=> true, //set afk group if client is muted
  1327. 'ignored_groups' => array(12,160,30,13,14,15,16,74),
  1328. 'ignored_channels' => array(),
  1329. ),
  1330.  
  1331. // ENG [Move afk clients to channel] # PL [Przenieś użytkowników afk na kanal]
  1332. 'afk_move' => array
  1333. (
  1334. 'enabled' => true,
  1335. 'channel_id' => 126, //afk channel id
  1336. 'idle_time' => 2400, //in seconds
  1337. 'move_if_away' => true, //move client if has away status
  1338. 'move_if_muted'=> true, //move client if is muted
  1339. 'move_back' => true, //if client no longer afk move him back (true or false)
  1340. 'message_type' => 'message', //poke | message | none
  1341. 'ignored_groups' => array(12,160,30,13,14,15,16,74),
  1342. 'ignored_channels' => array(),
  1343. 'kick_from_server' => array
  1344. (
  1345. 'enabled' => true,
  1346. 'min_idle_time' => 172800, //in seconds
  1347. 'msg' => 'Zbyt długi AFK!', //Message in kick
  1348. ),
  1349. ),
  1350.  
  1351. // ENG [Server groups security] # PL [Zabezpieczenie grup serwera]
  1352. 'groups_security' => array
  1353. (
  1354. 'enabled' => true,
  1355. 'info' => array
  1356. (
  1357. /*'0' => array //growing number, for example 1, 2, 3...
  1358. (
  1359. 'group_id' => 0, //group Id
  1360. 'ignored_dbid' => array(), //privilege client database id's
  1361. 'give_back' => true, //give the rank back for people in ignoredId
  1362. 'type' => 'nothing', //`ban`, `kick`, `nothing` (just group delete and poke)
  1363. 'message' => '', //message to the client; if `ban` or `kick` it's the reason, if `nothing` it's a poke message
  1364. 'time' => 5, //ban timeout
  1365. ), */
  1366.  
  1367. '0' => array
  1368. (
  1369. 'group_id' => 12,
  1370. 'ignored_dbid' => array(4),
  1371. 'give_back' => true,
  1372. 'type' => 'kick',
  1373. 'message' => 'Nie mozesz miec rangi CEO!',
  1374. 'time' => 5,
  1375. ),
  1376. '1' => array
  1377. (
  1378. 'group_id' => 160,
  1379. 'ignored_dbid' => array(), //50
  1380. 'give_back' => true,
  1381. 'type' => 'kick',
  1382. 'message' => 'Nie mozesz miec rangi vCEO!',
  1383. 'time' => 5,
  1384. ),
  1385. '2' => array
  1386. (
  1387. 'group_id' => 30,
  1388. 'ignored_dbid' => array(),
  1389. 'give_back' => true,
  1390. 'type' => 'kick',
  1391. 'message' => 'Nie mozesz miec rangi Manager!',
  1392. 'time' => 5,
  1393. ),
  1394. '3' => array
  1395. (
  1396. 'group_id' => 13,
  1397. 'ignored_dbid' => array(),
  1398. 'give_back' => true,
  1399. 'type' => 'kick',
  1400. 'message' => 'Nie mozesz miec rangi Query!',
  1401. 'time' => 5,
  1402. ),
  1403. '4' => array
  1404. (
  1405. 'group_id' => 14,
  1406. 'ignored_dbid' => array(),
  1407. 'give_back' => true,
  1408. 'type' => 'kick',
  1409. 'message' => 'Nie mozesz miec rangi Head Admin!',
  1410. 'time' => 5,
  1411. ),
  1412. ),
  1413. ),
  1414.  
  1415. // ENG [Baning for having warning rangs] # PL [Ban za posiadanie X ostrzeżen]
  1416. 'warning_ban' => array
  1417. (
  1418. 'enabled' => false,
  1419. 'ban_time' => '1200', // in seconds
  1420. 'ban_message' => 'Za duzo ostrzezen!',
  1421. 'with_rang' => 212, // the last warning id, for example Warning #3 (if you have 3 warnings)
  1422. 'warning_id' => array
  1423. (
  1424. 212, // the last warning id, for example Warning #3 (if you have 3 warnings)
  1425. 146,
  1426. 144,
  1427. ),
  1428. ),
  1429.  
  1430. // ENG [Block recording users] # PL [Blokowanie użytkowników za nagrywanie]
  1431. 'block_recording' => array
  1432. (
  1433. 'enabled' => true,
  1434. 'ignored_groups' => array(12,141),
  1435. 'type' => 'kick', //`ban`, `kick`,
  1436. 'message' => 'Nie możesz nagrywać!', //message to the client; if `ban` or `kick` it's the reason
  1437. 'time' => 60, //ban timeout
  1438.  
  1439. ),
  1440.  
  1441. // ENG [Anty VPN] # PL [Event przeciw VPN'om]
  1442. 'anty_vpn' => array
  1443. (
  1444. 'enabled' => true,
  1445. 'X-Key' => 'MzI4MDpuTFo5eFR2SmJqS2xucFJycWZHUG5YUUJ6MjBJMFlmdw==', // You can change at website `https://iphub.info/pricing`
  1446. 'ignored_groups' => array(75),
  1447. '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.
  1448. 'type' => 'kick', //`poke`, `kick`, `ban`
  1449. 'ban_time' => '60', //in seconds
  1450. 'message_to_client' => "Używasz VPN'a!",
  1451. ),
  1452.  
  1453. /**************************************
  1454.  
  1455. ENG [EVENTS] # PL [EVENTY]
  1456.  
  1457. **************************************/
  1458.  
  1459. 'events' => true,
  1460.  
  1461. // ENG [Auto register] # PL [Auto rejestracja]
  1462. 'auto_register' => array
  1463. (
  1464. 'enabled' => false,
  1465. 'ignored_groups' => array(171,172,170,167,12,13,163,164,15),
  1466. 'register_group' => 142, //register group
  1467. //Minimal time on server to be registered [Db connect must be on]
  1468. 'min_time_on_server' => 3, //in minutes
  1469. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 5,'seconds' => 0),
  1470. ),
  1471.  
  1472. // ENG [Advertisement message] # PL [Reklama]
  1473. 'advertisement_message' => array
  1474. (
  1475. 'enabled' => true,
  1476. 'type' => 'pw', //'chat' - global chat | 'pw' - pw to all users | 'poke' - poke to all users
  1477. 'advertisements' => array
  1478. (
  1479. /***********************
  1480.  
  1481. 'Zapraszamy do rejestracji!',
  1482. 'Wiadmość testowa XBot',
  1483.  
  1484. ***********************/
  1485.  
  1486. '[b]Dodaj ten serwer do zakładek: [url=ts3server://Helltalk.eu?addbookmark=Helltalk.eu][COLOR=#ff0000]Kliknij Tu i Dodaj![/COLOR][/url][/b]',
  1487. ),
  1488. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 10,'minutes' => 0,'seconds' => 0),
  1489. ),
  1490.  
  1491. // ENG [Time and date] # PL [Data i godzina]
  1492. 'clock_date' => array
  1493. (
  1494. 'enabled' => false,
  1495. 'content' => array
  1496. (
  1497. 'clock' => array //clock in channel name
  1498. (
  1499. 'enabled' => false,
  1500. 'channel_id' => 117,
  1501. 'channel_name' => '[cspacer]• Godzina: [CLOCK] •', // [CLOCK] = clock
  1502. 'format' => 'G:i', // format G: hours, i: minutes, s: seconds
  1503. ),
  1504. 'date' => array //date in channel name
  1505. (
  1506. 'enabled' => false,
  1507. 'channel_id' => 118,
  1508. 'channel_name' => '[cspacer]• Data: [DATE] •', // [DATE] = date
  1509. 'format' => 'd-m-Y', // format m: month numeric, M: month in words, d: day numeric, D: day in words, Y: year
  1510. ),
  1511. 'date_and_clock' => array
  1512. (
  1513. 'enabled' => false,
  1514. 'channel_id' => 47,
  1515. 'channel_name' => '» Dzisiaj jest : [DATE&CLOCK]', // [DATE&CLOCK] = date & clock
  1516. 'format' => 'd-m-Y G:i', // format m: month numeric, M: month in words, d: day numeric, D: day in words, Y: year, G: hours, i: minutes, s: seconds
  1517. ),
  1518. ),
  1519. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 60),
  1520. ),
  1521.  
  1522. // ENG [Change server name] # PL [Zmiana nazwy serwera]
  1523. 'change_server_name' => array
  1524. (
  1525. /****************************************
  1526.  
  1527. DATE FORMAT
  1528.  
  1529. m: month numeric,
  1530. M: month in words,
  1531. d: day numeric,
  1532. D: day in words,
  1533. Y: year,
  1534. G: hours,
  1535. i: minutes,
  1536. s: seconds
  1537.  
  1538. ****************************************/
  1539.  
  1540. 'enabled' => true,
  1541. 'ignored_groups' => array(18,28), //ignored groups, not included in online number
  1542. 'server_name' => '© HellTalk.eu | Piekielna Jakość Rozmów! | Online: [ONLINE]', //[ONLINE] - online users, [MAX_CLIENTS] - max clients, [DATE] - format higher, [%] %online
  1543. 'format' => 'd-m-Y G:i',
  1544. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
  1545. 'data' => '1970-01-01 00:00:00', //Do not change
  1546. ),
  1547.  
  1548. // ENG [Client platform] # PL [Platforma klienta]
  1549. 'client_platform' => array
  1550. (
  1551. 'enabled' => false,
  1552. 'ignored_groups' => array(0),
  1553.  
  1554. 'windows_enabled' => false,
  1555. 'windows_group' => 1044,
  1556.  
  1557. 'linux_enabled' => false,
  1558. 'linux_group' => 236,
  1559.  
  1560. 'android_enabled' => true,
  1561. 'android_group' => 1044,
  1562.  
  1563. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 20),
  1564. ),
  1565.  
  1566. // ENG [Poke admins] # PL [Zaczepianie adminów]
  1567. 'poke_admins' => array
  1568. (
  1569. 'enabled' => true,
  1570. 'if_client_on_channel' => array(124), //all checking channels
  1571. 'ignored_groups' => array(29), //if admin has this group, bot will not poke him
  1572. 'ignored_group_if_on_channel' => array(), //if client has this group, bot will not poke admins
  1573. 'info' => array
  1574. (
  1575. /*************************
  1576.  
  1577. ###
  1578. # poking server groups: channel_id => array(server_groups separated by comma),
  1579. ###
  1580.  
  1581. ###
  1582. # poking client: channel_id => client_database_id,
  1583. ###
  1584.  
  1585. *************************/
  1586.  
  1587. 124 => array(12,160,30,13,14,15,16),
  1588. ),
  1589. 'ignored_channels' => array(), //channels where bot doesn't poke admins
  1590. 'inform_admin_once' => false, //Poke admin only one time
  1591. 'informing_about_channel' => true, //inform admin about the channel on which the user needs help
  1592. 'show_client_link' => true, //show client link ([url])
  1593. 'kick_if_away' => true, //kick client if is away (muted microphone/headphones)
  1594. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 2),
  1595. ),
  1596.  
  1597. // ENG [Generate banner] # PL [Generowanie baneru]
  1598. 'generate_banner' => array
  1599. (
  1600. /****************************************
  1601.  
  1602. font - 'arial', 'calibri', 'inconsolata', 'tahoma'
  1603. color - in RGB array(x, x, x) you can check colors on https://www.w3schools.com/colors/colors_rgb.asp
  1604. co-ordinates - array(size, rotation, x, y)
  1605.  
  1606. ****************************************/
  1607.  
  1608. 'enabled' => false,
  1609. 'admins_online' => array //Liczba adminow online
  1610. (
  1611. 'enabled' => true,
  1612. 'admins_server_groups' => array(17,177,36,18,19,20,21),
  1613. 'font' => 'calibri',
  1614. 'color' => array(255, 255, 255),
  1615. 'co-ordinates' => array(20,0,118,160),
  1616. ),
  1617. 'clients_online' => array //Klienci online
  1618. (
  1619. 'enabled' => true,
  1620. 'show_max_clients' => false,
  1621. 'font' => 'calibri',
  1622. 'color' => array(255, 255, 255),
  1623. 'co-ordinates' => array(20,0,118,235),
  1624. ),
  1625. 'record_online' => array //Rekord online
  1626. (
  1627. 'enabled' => true,
  1628. 'font' => 'calibri',
  1629. 'color' => array(255,255,255),
  1630. 'co-ordinates' => array(20,0,770,160),
  1631. ),
  1632. 'clock' => array //Zegar
  1633. (
  1634. 'enabled' => false,
  1635. 'font' => 'calibri',
  1636. 'color' => array(255, 255, 255),
  1637. 'co-ordinates' => array(20,0,110,80),
  1638. ),
  1639. 'channels_count' => array //Liczba kanałów
  1640. (
  1641. 'enabled' => false,
  1642. 'font' => 'calibri',
  1643. 'color' => array(255,255,255),
  1644. 'co-ordinates' => array(20,0,500,300),
  1645. ),
  1646. 'name_day' => array //Imieniny
  1647. (
  1648. 'enabled' => false,
  1649. 'font' => 'calibri',
  1650. 'color' => array(255,255,255),
  1651. 'co-ordinates' => array(15,0,455,255),
  1652. ),
  1653. 'fanpage_likes' => array //Like'i z fanpage'a
  1654. (
  1655. 'enabled' => false,
  1656. 'page_id' => '1719172075053504', //You can find it on website: https://findmyfbid.com/
  1657. 'access_token' => '',
  1658. 'font' => 'calibri',
  1659. 'color' => array(255,255,255),
  1660. 'co-ordinates' => array(20,0,770,80),
  1661. ),
  1662. 'uptime' => array //Uptime
  1663. (
  1664. 'enabled' => false,
  1665. 'font' => 'calibri',
  1666. 'color' => array(255,255,255),
  1667. 'co-ordinates' => array(20,0,300,300),
  1668. ),
  1669. 'date' => array //Data
  1670. (
  1671. 'enabled' => false,
  1672. 'font' => 'calibri',
  1673. 'format' => 'd.m.Y',
  1674. 'color' => array(255,255,255),
  1675. 'co-ordinates' => array(20,0,765,240),
  1676. ),
  1677.  
  1678. 'image_file' => array('include/cache/banner.png', 'include/cache/banner1.png', 'include/cache/banner2.png', 'include/cache/banner3.png'),
  1679. 'target_image_file' => '/var/www/html/_grafiki/Banner.png',
  1680. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 10),
  1681. ),
  1682.  
  1683. // ENG [Host message] # PL [Wiadomo ć hosta]
  1684. 'host_message' => array
  1685. (
  1686. 'enabled' => true,
  1687. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 30),
  1688. ),
  1689.  
  1690. // ENG [Live DJ] # PL [Nick DJ'a w nazwie kanału]
  1691. 'live_dj' => array
  1692. (
  1693. 'enabled' => false,
  1694. 'info' => array
  1695. (
  1696. /*********************************
  1697.  
  1698. channel_id => 'nazwa_kanalu', //[DJ] - dj's nick
  1699.  
  1700. *********************************/
  1701.  
  1702. 48 => '» Obecny DJ: [DJ]', //[DJ] - dj's nick
  1703. ),
  1704. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 45),
  1705. ),
  1706.  
  1707. // ENG [Count users (registered/total)] # PL [Zliaczanie użytkowników (zarejestrowani/wszyscy)]
  1708. 'count_users' => array
  1709. (
  1710. 'enabled' => false, //DB must be on
  1711. 'channel_id' => 49,
  1712. 'channel_name' => '» Zarejestrowani użytkownicy: [REG]/[TOTAL]', //[REG] - registered users | [TOTAL] - total users in Db
  1713. 'unregistered_group_id' => 11,
  1714. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 30),
  1715. ),
  1716.  
  1717. // ENG [Show client_info after join the channel] # PL [Pokaż informacje o kliencie po wejściu na kanał]
  1718. 'client_info' => array
  1719. (
  1720. 'enabled' => false,
  1721. 'if_client_on_channel' => array(50),
  1722. '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:
  1723.  
  1724. [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:
  1725.  
  1726. [CLIENT_LASTCONNECTED]\n[color=blue]Platforma: [CLIENT_PLATFORM]\n[color=blue]Kraj: [CLIENT_COUNTRY]',
  1727.  
  1728. /************************************
  1729.  
  1730. [CLIENT_IP] = Client nickname
  1731. [CLIENT_NICK] = Client nickname
  1732. [CLIENT_COUNTRY] = Client country
  1733. [CLIENT_DBID] = Client databse id
  1734. [CLIENT_VERSION] = Client TS3 version
  1735. [CLIENT_CONNECTIONS] = Client total connections
  1736. [CLIENT_PLATFORM] = Client platform
  1737. [CLIENT_TOTALCONNECTIONS] = Client total connections
  1738. [CLIENT_LASTCONNECTED] = Client lastconnected
  1739. [CLIENT_AWAY_MESSAGE] = Client away message
  1740. [CLIENT_CREATED] = Client created
  1741. [CLIENT_ON_SERVER_FOR] = Client is with server for ... for example 2 days and 1 minute
  1742.  
  1743. *************************************/
  1744.  
  1745. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
  1746. ),
  1747.  
  1748. // ENG [Event records in the channel descrition] # PL [Zapisywanie klientów na np. event w opisie kanału]
  1749. 'event_records' => array
  1750. (
  1751. 'enabled' => false,
  1752. 'if_client_on_channel' => array(52),
  1753. 'channel_id' => 51,
  1754. 'top_description' => 'Zapisy na event', //Do not use [hr] in name!
  1755. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
  1756. ),
  1757.  
  1758. // ENG [Check temporary channels' name] # PL [Sprawdzanie nazw kanałów tymczasowych]
  1759. 'check_tmp_channel' => array
  1760. (
  1761. 'enabled' => true,
  1762. 'file' => 'include/cache/nicks_security.txt', //bad phrases separated by ,(comma) without spaces, enters etc
  1763. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
  1764. ),
  1765.  
  1766. // ENG [Check public zone] # PL [Sprawdzanie strefy kanałów publicznych]
  1767. 'check_public_zone' => array
  1768. (
  1769. 'enabled' => false,
  1770. 'info' => array
  1771. (
  1772. '0' => array // Growing number
  1773. (
  1774. 'channels_zone' => 142,
  1775. 'channel_name' => '» Kanał Publiczny #[NUM]', //[Num] channel number
  1776. 'max_users' => 0, // 0 = unlimited
  1777. 'mininum_channels' => 3,
  1778. 'maximum_channels' => 25,
  1779. 'icon_id' => 1655954911,
  1780. 'modify_power' => 85, //channel needed modify power
  1781. '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
  1782.  
  1783. 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
  1784.  
  1785. 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
  1786.  
  1787. 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',
  1788. ),
  1789. '1' => array // Growing number
  1790. (
  1791. 'channels_zone' => 146,
  1792. 'channel_name' => '» Kanał Publiczny #[NUM]', //[Num] channel number
  1793. 'max_users' => 2, // 0 = unlimited
  1794. 'mininum_channels' => 3,
  1795. 'maximum_channels' => 25,
  1796. 'icon_id' => 2681873579,
  1797. 'modify_power' => 85, //channel needed modify power
  1798. '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
  1799.  
  1800. 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
  1801.  
  1802. 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
  1803.  
  1804. 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',
  1805. ),
  1806. '2' => array // Growing number
  1807. (
  1808. 'channels_zone' => 151,
  1809. 'channel_name' => '» Kanał Publiczny #[NUM]', //[Num] channel number
  1810. 'max_users' => 3, // 0 = unlimited
  1811. 'mininum_channels' => 3,
  1812. 'maximum_channels' => 25,
  1813. 'icon_id' => 2457065219,
  1814. 'modify_power' => 85, //channel needed modify power
  1815. '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
  1816.  
  1817. 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
  1818.  
  1819. 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
  1820.  
  1821. 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',
  1822. ),
  1823. '3' => array // Growing number
  1824. (
  1825. 'channels_zone' => 155,
  1826. 'channel_name' => '» Kanał Publiczny #[NUM]', //[Num] channel number
  1827. 'max_users' => 4, // 0 = unlimited
  1828. 'mininum_channels' => 3,
  1829. 'maximum_channels' => 25,
  1830. 'icon_id' => 1722569469,
  1831. 'modify_power' => 85, //channel needed modify power
  1832. '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
  1833.  
  1834. 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
  1835.  
  1836. 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
  1837.  
  1838. 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',
  1839. ),
  1840. '4' => array // Growing number
  1841. (
  1842. 'channels_zone' => 159,
  1843. 'channel_name' => '» Kanał Publiczny #[NUM]', //[Num] channel number
  1844. 'max_users' => 5, // 0 = unlimited
  1845. 'mininum_channels' => 3,
  1846. 'maximum_channels' => 25,
  1847. 'icon_id' => 2194985460,
  1848. 'modify_power' => 85, //channel needed modify power
  1849. '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
  1850.  
  1851. 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
  1852.  
  1853. 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
  1854.  
  1855. 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',
  1856. ),
  1857. ),
  1858. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5 ),
  1859. ),
  1860.  
  1861. // ENG [Clear clients ranks] # PL [Wyczyść rangi klienta]
  1862. 'clear_ranks' => array
  1863. (
  1864. 'enabled' => false,
  1865. 'if_client_on_channel' => array(53), //all channels
  1866. 'info' => array
  1867. (
  1868. /**********************************
  1869.  
  1870. channel_id => array(ranks_to_clear),
  1871.  
  1872. **********************************/
  1873.  
  1874. 53 => array(13,14,15,16,17,18,19,20,21,22,23,24),
  1875. ),
  1876. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
  1877. ),
  1878.  
  1879. // ENG [Delete client permissions] # PL [Wyczyść pozwolenia klienta]
  1880. 'delete_client_permissions' => array
  1881. (
  1882. 'enabled' => true,
  1883. 'ignored_groups' => array(), //ignored server groups
  1884. 'ignored_dbids' => array(4), //ignored database clients id
  1885. 'ignored_perms' => array('i_icon_id'), //this perms won't be deleted
  1886. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 2),
  1887. ),
  1888.  
  1889. // ENG [Check clients on the same IP] # PL [Sprawdzanie użytkowników na tym samym ip]
  1890. 'check_ip' => array
  1891. (
  1892. 'enabled' => true,
  1893. 'ignored_groups' => array(4),
  1894. 'max_users' => 2, // Max users on the same ip
  1895. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 10),
  1896. ),
  1897.  
  1898. // ENG [Check urls in the channel description] # PL [Sprawdzanie linków w opisach kanałów]
  1899. 'check_description' => array
  1900. (
  1901. 'enabled' => false,
  1902. // Allowed links are in the file: include/cache/allowed_links.txt
  1903. 'channels' => array(53), // Type only parent channels
  1904. 'channel_info' => 565, // Info about not allowed links on channels
  1905. 'check_vip_channels' => true, // true or false
  1906. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
  1907. ),
  1908.  
  1909. // ENG [Save channel edits logs in description] # PL [Zapisz logi edycji kanału w opisie]
  1910. 'channels_edits' => array
  1911. (
  1912. 'enabled' => false,
  1913. 'zones' => array
  1914. (
  1915. /*********************
  1916.  
  1917. channel_id => array(checking_channels),
  1918.  
  1919. *********************/
  1920.  
  1921. 54 => array(55,56),
  1922. ),
  1923. 'ignored_groups' => array(),
  1924. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
  1925. ),
  1926.  
  1927. // ENG [Fill channels' description when is empty] # PL [Wpisz opis do pustych kanałów]
  1928. 'fill_empty_channels' => array
  1929. (
  1930. 'enabled' => false,
  1931. '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]",
  1932. 'needed_phrase' => "spacer", // Channel need this phrase in name
  1933. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 1,'minutes' => 0,'seconds' => 0),
  1934. ),
  1935. );
  1936.  
  1937. $config['instance']['3']['logs_system'] = array
  1938. (
  1939. /****************************************************************************
  1940.  
  1941. ENG [LOGS SYSTEM] # PL [SYSTEM LOGÓW]
  1942.  
  1943. ****************************************************************************/
  1944.  
  1945. 'logs' => array
  1946. (
  1947. // ENG [Turn on/off logs system (true or false)] # PL [Wlaczenie lub wylaczenie systemu logów]
  1948. 'enabled' => true,
  1949.  
  1950. // ENG [Days, after which, log files will be deleted] # PL [Czas w dniach, po których pliki logów zostana usunięte]
  1951. 'delete_interval' => '3',
  1952. ),
  1953. );
  1954.  
  1955. $config['instance']['3']['options'] = array
  1956. (
  1957. /****************************************************************************
  1958.  
  1959. ENG [INSTANCE OPTIONS] # PL [OPCJE INSTANCJI]
  1960.  
  1961. ****************************************************************************/
  1962.  
  1963. // ENG [Folder for functions containing all events and plugins] # PL [Folder w którym sa wszystkie eventy i pluginy]
  1964. 'folder' => 'third_instance',
  1965.  
  1966. // ENG [Bot interval in seconds] # PL [Interwal bota w sekundach]
  1967. 'bot_interval' => 3,
  1968.  
  1969. // ENG ['events_plugins' or 'commands' (default 'events_plugins')] # PL ['events_plugins' lub 'commands' (domyślnie 'events_plugins')]
  1970. 'function_type' => 'events_plugins',
  1971. );
  1972.  
  1973. $config['instance']['3']['functions'] = array
  1974. (
  1975. /**************************************
  1976.  
  1977. ENG [PLUGINS] # PL [PLUGINY]
  1978.  
  1979. **************************************/
  1980.  
  1981. 'plugins' => false,
  1982.  
  1983. /**************************************
  1984.  
  1985. ENG [EVENTS] # PL [EVENTY]
  1986.  
  1987. **************************************/
  1988.  
  1989. 'events' => true,
  1990.  
  1991. // ENG [New users daily] # PL [Nowi użytkownicy dzisiaj]
  1992. 'new_daily_users' => array
  1993. (
  1994. 'enabled' => true,
  1995. 'channel_id' => 156,
  1996. 'with_rang' => 15, //checking if client has one of these rangs
  1997. 'channel_name' => '[cspacer]• Nowych Użytkowników: [NEW] •', //[NEW] - how many new users
  1998. 'top_description' => 'Nowi uzytkownicy dzisiaj',
  1999. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 0),
  2000. ),
  2001.  
  2002. // ENG [Visitors] # PL [Odwiedziny]
  2003. 'visitors' => array
  2004. (
  2005. 'enabled' => false,
  2006. 'channel_id' => 553,
  2007. 'channel_name' => '• Odwiedzono nas: [VISITORS]', //[VISITORS] - how many visitors
  2008. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 15),
  2009. ),
  2010.  
  2011. // ENG [Clients in your database] # PL [Użytkownicy w bazie danych]
  2012. '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)
  2013. (
  2014. 'enabled' => true,
  2015. 'idle_time' => 5 * 60, //idle time in seconds
  2016. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 10),
  2017. ),
  2018.  
  2019. // ENG [Top connections] # PL [Najwięcej polaczeń]
  2020. 'top_connections' => array
  2021. (
  2022. 'enabled' => true,
  2023. 'channel_id' => 16,
  2024. 'top_description' => '[img]https://i.imgur.com/NmSPayJ.png[/img]',
  2025. 'records' => 15, //how many clients
  2026. 'ignored_groups' => array(12,160,30,13,14,15,16,18.28,78),
  2027. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 4,'seconds' => 0),
  2028. ),
  2029.  
  2030. // ENG [Top connection time] # PL [Najdluższe polaczenia]
  2031. 'top_connection_time' => array
  2032. (
  2033. 'enabled' => true,
  2034. 'channel_id' => 14,
  2035. 'top_description' => '[img]https://i.imgur.com/4yqtJYd.png[/img]',
  2036. 'records' => 15, //how many clients
  2037. 'ignored_groups' => array(12,160,30,13,14,15,16,18.28,78),
  2038. 'time_settings' => array('days' => true, 'hours' => true, 'minutes' => true),
  2039. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 4,'seconds' => 0),
  2040. ),
  2041.  
  2042. // ENG [Top client idle time] # PL [Najdluższy czas nieaktywności]
  2043. 'top_idle_time' => array
  2044. (
  2045. 'enabled' => true,
  2046. 'channel_id' => 15,
  2047. 'top_description' => '[img]https://i.imgur.com/82pPbKb.png[/img]',
  2048. 'records' => 15, //how many clients
  2049. 'ignored_groups' => array(12,160,30,13,14,15,16,18.28,78),
  2050. 'time_settings' => array('days' => true, 'hours' => true, 'minutes' => true),
  2051. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 4,'seconds' => 0),
  2052. ),
  2053.  
  2054. // ENG [Top time spent on server] # PL [Najdluższy czas na serwerze]
  2055. 'top_time_spent' => array
  2056. (
  2057. 'enabled' => true,
  2058. 'channel_id' => 17,
  2059. 'show_afk_time' => true,
  2060. 'top_description' => '[img]https://i.imgur.com/zjtZ2bf.png[/img]',
  2061. 'records' => 15, //how many clients
  2062. 'ignored_groups' => array(12,160,30,13,14,15,16,18.28,78),
  2063. 'time_settings' => array('days' => true, 'hours' => true, 'minutes' => true),
  2064. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 4,'seconds' => 0),
  2065. ),
  2066.  
  2067. // ENG [Top week time spent on server] # PL [Ranking czasu spędzonego w danym tygodniu]
  2068. 'top_week_time' => array
  2069. (
  2070. 'enabled' => false,
  2071. 'channel_id' => 621,
  2072. 'show_afk_time' => true,
  2073. 'top_description' => '[img]https://i.imgur.com/eSQHozj.png[/img]',
  2074. 'records' => 15, //how many clients
  2075. 'ignored_groups' => array(12,160,30,13,14,15,16,18.28,78),
  2076. 'time_settings' => array('days' => true, 'hours' => true, 'minutes' => true),
  2077. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 4,'seconds' => 0),
  2078. ),
  2079.  
  2080. // ENG [Clients levels] # PL [Poziomy klientów]
  2081. 'levels' => array
  2082. (
  2083. 'enabled' => true,
  2084. 'ignored_groups' => array(12,160,30,13,14,15,16,18.28,78),
  2085. 'info' => array
  2086. (
  2087. 45 => 1, //lvl group sgid => hours spent on server on which the rang will be given
  2088. 52 => 60,
  2089. 53 => 70,
  2090. 54 => 100,
  2091. 55 => 130,
  2092. 56 => 160,
  2093. 57 => 200,
  2094. 58 => 220,
  2095. 59 => 300,
  2096. 60 => 400,
  2097. 61 => 500,
  2098. 62 => 600,
  2099. 63 => 700,
  2100. 64 => 800,
  2101. 65 => 900,
  2102. 66 => 1000,
  2103. 67 => 1100,
  2104. 68 => 3500,
  2105. 69 => 5000,
  2106. 70 => 10000,
  2107. ),
  2108. 'all_levels_groups' => array(45,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70),
  2109. 'top_description' => '[img]https://i.imgur.com/58vTGHg.png[/img]',
  2110. 'records' => 15,
  2111. 'channel_id' => 18,
  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(12,160,30,13,14,15,16,18.28),
  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(12,160,30,13,14,15,16),
  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(12,160,30,13,14,15,16), //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(190,373,238,233,231,230,235,227,226,241,242),
  2213. 'header_group' => 355,
  2214. 'footer_group' => 371,
  2215. 'info' => array
  2216. (
  2217. 'connections' => array
  2218. (
  2219. 'enabled' => true,
  2220. 'header_group' => 355,
  2221. 'groups' => array
  2222. (
  2223. /********************
  2224.  
  2225. group_sgid => required_connections,
  2226.  
  2227. *********************/
  2228.  
  2229. 356 => 100,
  2230. 357 => 300,
  2231. 358 => 500,
  2232. 359 => 750,
  2233. 360 => 1200,
  2234. 361 => 2000,
  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' => 256, //parent channel id
  2323. 'empty_channel_topic' => '#free', //topic in empty channels
  2324. 'free_channel_name' => 'Prywatny Kanał - Wolny',
  2325. 'head_channel_admin_group' => 9, //main head channel admin group id
  2326. 'check_date' => array //check channel date in topic
  2327. (
  2328. 'enabled' => false,
  2329. 'new_date_if_owner' => true, //new date if the owner is on the channel
  2330. 'channel_groups' => array(9), //new date must be on, type groups which can update the date on the channel
  2331. 'time_interval_warning' => 5, //days after which the channel name will be changed
  2332. 'time_interval_delete' => 7, //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' => 3,
  2348. 'icon_id' => 0,
  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(134), //channel id
  2358. 'sub_channels' => 2, //how many sub channels
  2359. 'head_channel_admin_group' => 9, //main head channel admin group id
  2360. 'needed_server_group' => array(57,9), //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' => 256, //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' => 111,
  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(12), // 0 - all groups
  2468. ),
  2469.  
  2470. // ENG [Usage: !pwall-[message]]
  2471. 'pwall' => array
  2472. (
  2473. 'enabled' => true,
  2474. 'privileged_groups' => array(12), // 0 - all groups
  2475. ),
  2476.  
  2477. // ENG [Usage: !pokeall-[message]]
  2478. 'pokeall' => array
  2479. (
  2480. 'enabled' => true,
  2481. 'privileged_groups' => array(12), // 0 - all groups
  2482. ),
  2483.  
  2484. // ENG [Usage: !pwgroup-[sgid]-[message]]
  2485. 'pwgroup' => array
  2486. (
  2487. 'enabled' => true,
  2488. 'privileged_groups' => array(12), // 0 - all groups
  2489. ),
  2490.  
  2491. // ENG [Usage: !pokegroup-[sgid]-[message]]
  2492. 'pokegroup' => array
  2493. (
  2494. 'enabled' => true,
  2495. 'privileged_groups' => array(12), // 0 - all groups
  2496. ),
  2497.  
  2498. // ENG [Usage: !meeting]
  2499. 'meeting' => array
  2500. (
  2501. 'enabled' => true,
  2502. 'privileged_groups' => array(12), // 0 - all groups
  2503. 'admins_server_groups' => array(12,160,30,13,14,15,16),
  2504. 'meeting_channel_id' => 112,
  2505. ),
  2506.  
  2507. // ENG [Usage: !clients]
  2508. 'clients' => array //clients list
  2509. (
  2510. 'enabled' => true,
  2511. 'privileged_groups' => array(12), // 0 - all groups
  2512. ),
  2513.  
  2514. // ENG [Usage: !channels]
  2515. 'channels' => array //channels list
  2516. (
  2517. 'enabled' => true,
  2518. 'privileged_groups' => array(12), // 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(12), // 0 - all groups
  2526. ),
  2527.  
  2528. // ENG [Usage: !ch-[client_dbid]-[subchannels]]
  2529. 'ch' => array
  2530. (
  2531. 'enabled' => false,
  2532. 'privileged_groups' => array(12), // 0 - all groups
  2533. 'head_channel_admin_group' => 9, //main head channel admin group id
  2534. 'message_type' => 'message', //message type (poke or message)
  2535. 'empty_channel_topic' => '#free', //topic in empty channels
  2536. 'channels_zone' => 256, //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' => false,
  2543. 'privileged_groups' => array(12), // 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(12), // 0 - all groups
  2552. 'admins_groups' => array(12,160,30,13,14,15,16), //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(12), // 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(12), // 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(12), // 0 - all groups
  2574. 'admins_groups' => array(12,160,30,13,14,15,16), //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(12), // 0 - all groups
  2582. ),
  2583. );
  2584.  
  2585. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement