Advertisement
Guest User

Untitled

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