Advertisement
Guest User

Untitled

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