Advertisement
Guest User

Untitled

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