Advertisement
Guest User

Untitled

a guest
Feb 3rd, 2019
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 87.29 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' => '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' => 600, //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' => 1, //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' => 'Administracja',
  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' => false,
  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(144,143), //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' => true, //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. 144 => 57,
  787. 143 => 58,
  788. ),
  789. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 1),
  790. ),
  791.  
  792. // ENG [Ddos information] # PL [Informacje o ddos]
  793. 'ddos_information' => array
  794. (
  795. 'enabled' => true,
  796. 'file' => 'include/cache/ddos_information.txt',
  797. 'packet_loss' => 10, //from what packet loss%(numeric) send global information
  798. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 30),
  799. ),
  800.  
  801. // ENG [Informing about client in channel name] # PL [Status użytkownika w nazwie kanalu]
  802. 'client_on_channel' => array
  803. (
  804. 'enabled' => true,
  805. 'server_groups_id' => array(9,25,61,67), //all checking client's server groups
  806. 'ignored_groups' => array(56),
  807. 'idle_time' => 1800, //idle time to have away status (in seconds)
  808. 'show_description' => true, //show description on channels
  809. 'status' => array
  810. (
  811. 'online' => 'online',
  812. 'offline' => 'offline',
  813. 'away' => 'away',
  814. ),
  815. 'info' => array
  816. (
  817. /***************************************************************
  818.  
  819. (you can copy this to use this function many times)
  820.  
  821. 10 => array //client databse id => array
  822. (
  823. 'channel_id' => 432, //channel id
  824. 'format' => '[RANG] >> [NICK] >> [STATUS]', //format on channel name [RANG] - server group name, [NICK] - client nick, [STATUS] - client status (online/away/offline)
  825. 'fb' => 'https://www.facebook.com/XBot-bot-na-tw%C3%B3j-serwer-TS3-1719172075053504/messages/', //If none set 0
  826. 'email' => 'battnik90@gmail.com', //If none set 0
  827. ),
  828.  
  829. ***************************************************************/
  830.  
  831. 2 => array // client dbid => array
  832. (
  833. 'channel_id' => 77, //channel id
  834. 'format' => '[[RANG]][[STATUS]] [NICK]', //format on channel name [RANG] - server group name, [NICK] - client nick, [STATUS] - client status (online/away/offline)
  835. 'email' => 'axiktoja@ts112.pl',
  836. ),
  837. 19 => array // client dbid => array
  838. (
  839. 'channel_id' => 87, //channel id
  840. 'format' => '[[RANG]][[STATUS]] [NICK]', //format on channel name [RANG] - server group name, [NICK] - client nick, [STATUS] - client status (online/away/offline)
  841. 'email' => 'makstale@ts112.pl',
  842. ),
  843. 23 => array // client dbid => array
  844. (
  845. 'channel_id' => 89, //channel id
  846. 'format' => '[[Rang]][[status]] [Nick]', //format on channel name [RANG] - server group name, [NICK] - client nick, [STATUS] - client status (online/away/offline)
  847. 'fb' => '0',
  848. 'email' => 'tepson@ts112.pl',
  849. ),
  850. 35 => array // client dbid => array
  851. (
  852. 'channel_id' => 76, //channel id
  853. 'format' => '[[Rang]][[status]] [Nick]', //format on channel name [RANG] - server group name, [NICK] - client nick, [STATUS] - client status (online/away/offline)
  854. 'fb' => '0',
  855. 'email' => 'verti@ts112.pl',
  856. )
  857. ),
  858. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 15),
  859. ),
  860.  
  861. // ENG [Status sinusbot] # PL [Status sinusbotów]
  862. 'status_sinusbot' => array
  863. (
  864. 'enabled' => false,
  865. 'channel_id' => 28,
  866. 'bots_server_groups' => array(31),
  867. 'top_description' => '[img]https://i.imgur.com/cWwskNb.png[/img]',
  868. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 0),
  869. ),
  870.  
  871. // ENG [List of server queries online] # PL [Lista klientów server query online]
  872. 'server_query_online' => array
  873. (
  874. 'enabled' => false,
  875. 'channel_id' => 29,
  876. 'channel_name' => '» Server Query online: [ONLINE]', //[ONLINE] - Server Query online
  877. 'top_description' => '[img]https://i.imgur.com/KCvBQlm.png[/img]',
  878. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 20),
  879. ),
  880.  
  881. // ENG [Ban list] # PL [Lista banów]
  882. 'ban_list' => array
  883. (
  884. 'enabled' => false,
  885. 'channel_id' => 30,
  886. 'how_many' => 10,
  887. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 0),
  888. ),
  889.  
  890. // ENG [Facebook posts] # PL [Posty z facebook'a]
  891. 'facebook_posts' => array
  892. (
  893. 'enabled' => false,
  894. 'channel_id' => 31,
  895. 'channel_name' => '» Fanpage (Likes: [LIKES])', //[LIKES] - likes count
  896. 'page_id' => '1719172075053504', //You can find it on website: https://findmyfbid.com/
  897. 'access_token' => '',
  898. 'posts' => 1,
  899. 'link_to_fanpage' => 'https://www.facebook.com/XBot-bot-na-tw%C3%B3j-serwer-TS3-1719172075053504/',
  900. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 1,'minutes' => 0,'seconds' => 0),
  901. ),
  902.  
  903. // ENG [Game servers' info] # PL [Informacje o serwerach gier]
  904. 'servers_info' => array
  905. (
  906. 'enabled' => false,
  907. 'info' => array
  908. (
  909. /******************************************
  910.  
  911. 0 => array
  912. (
  913. 'type' => 'server_type',
  914. 'host' => 'ip:port', //for example 195.32.532.321:1045
  915. 'channel_id' => channel_id(value), //for exaple 45
  916. 'channel_name' => 'channel_name(value)',
  917. ),
  918.  
  919. server_type: 'cs16' - CS 1.6 server | 'csgo' - CS:GO server | 'minecraft' - Minecraft server
  920. All servers: https://github.com/Austinb/GameQ/tree/v3/src/GameQ/Protocols
  921.  
  922. 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
  923.  
  924. For example:
  925.  
  926. 0 => array growing number from 0 (0,1,2,3,4,5,itd)
  927. (
  928. 'type' => 'cs16',
  929. 'host' => '193.70.125.254:27030',
  930. 'channel_id' => 20922,
  931. 'channel_name' => 'Online: [CLIENTS_ONLINE] | Mapa: [MAP]',
  932. 'custom_server_name' => '0', // Set 0 if none
  933. ),
  934.  
  935. ******************************************/
  936.  
  937. 0 => array
  938. (
  939. 'type' => 'minecraft',
  940. 'host' => '91.134.209.194:25565',
  941. 'channel_id' => 33,
  942. 'channel_name' => '» MC ([CLIENTS_ONLINE]/[CLIENTS_MAX])',
  943. 'custom_server_name' => 'KRAINA MC', // Set 0 if none
  944. ),
  945. 1 => array
  946. (
  947. 'type' => 'cs16',
  948. 'host' => '213.238.173.177:27015',
  949. 'channel_id' => 34,
  950. 'channel_name' => '» COD MOD ([CLIENTS_ONLINE]/[CLIENTS_MAX])',
  951. 'custom_server_name' => '0', // Set 0 if none
  952. ),
  953. ),
  954. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 5,'seconds' => 0),
  955. ),
  956.  
  957. // ENG [Users' country list] # PL [Lista krajów użytkowników]
  958. 'country_list' => array
  959. (
  960. 'enabled' => false,
  961. 'channel_id' => 35,
  962. 'channel_name' => '» Osób online spoza Polski: [ONLINE]', //[ONLINE] online clients outside the specified country
  963. 'default_country' => 'PL',
  964. 'top_description' => 'Lista osób ONLINE spoza Polski',
  965. 'ignored_groups' => array(31,43),
  966. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 2,'seconds' => 0),
  967. ),
  968.  
  969. // ENG [Name_day in channel name] # PL [Imieniny w nazwie kanału]
  970. 'name_day' => array
  971. (
  972. 'enabled' => false,
  973. 'channel_id' => 36,
  974. 'channel_name' => '» Imieniny: [NAME]', //[NAME] - name
  975. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 2,'seconds' => 0),
  976. ),
  977.  
  978. // ENG [Partners] # PL [Partnerzy]
  979. 'partners' => array
  980. (
  981. 'enabled' => false,
  982. 'channel_id' => 129,
  983. 'info' => array
  984. (
  985. '[cspacer] TSowicze.pl' => "[center][img]https://i.imgur.com/oKhD1uM.png[/img][/center]",
  986. '[cspacer] Aplikacja XBot' => "[center][img]http://adamek-ts3.eu/png/Xbot.png[/img][hr][/center][center][size=15][b]Informacje[/b][/size][/center][hr]
  987. [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]
  988. [hr][/list]",
  989. ),
  990. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 0),
  991. ),
  992.  
  993. // ENG [Generate cache] # PL [Generuj plik cache]
  994. 'generate_cache' => array
  995. (
  996. 'enabled' => true,
  997. 'target_file' => '/var/www/html/panel_vip/cache/cache.txt',
  998. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
  999. ),
  1000.  
  1001. // ENG [XBot info] # PL [Informacje od twórcy w opisie kanału]
  1002. 'xbot_info' => array //Checking on the server every 15 minutes
  1003. (
  1004. 'enabled' => false,
  1005. 'channel_id' => 37,
  1006. 'translate' => array
  1007. (
  1008. 'enabled' => false,
  1009. 'target_language' => 'en', // Type language code https://cloud.google.com/translate/docs/languages
  1010. ),
  1011. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 30),
  1012. ),
  1013.  
  1014. // ENG [Get YT channel] # PL [Otrzymywanie kanału YouTube]
  1015. 'get_yt_channel' => array // Db must be on
  1016. (
  1017. 'enabled' => false,
  1018. 'if_client_on_channel' => array(38), // all checking channels id
  1019.  
  1020. 'if_on_channel' => 38,
  1021. 'channel_group_id' => 12, // default channel admin group
  1022. 'subchannels' => 5, // how many subchannels
  1023. 'subchannels_red' => true, // true - max cleints = 0 | false - max clients = unlimited
  1024. 'videos_count' => true, // create channel with information about videos count on yt channel
  1025. 'views_count' => true, // create channel with information about views count on yt channel
  1026. 'after_channel' => 79, // the first channel for example spacer
  1027.  
  1028. 'spacer_between' => array
  1029. (
  1030. 'enabled' => true,
  1031. 'spacer_name' => '[*spacerYT[NUM]]___',
  1032. 'join_needed' => 150,
  1033. 'modify_needed' => 100,
  1034. ),
  1035. 'main_channel' => '[cspacer]■ [[NUM]] YT ■', // [NUM] - vip channel number
  1036. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 10,'seconds' => 0),
  1037. ),
  1038.  
  1039. // ENG [Away Group] # PL [Grupa away]
  1040. 'away_group' => array
  1041. (
  1042. 'enabled' => true,
  1043. 'server_group_copy' => 65,
  1044. 'min_idle_time' => 5*60,
  1045. 'ignored_groups' => array(41),
  1046. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
  1047. ),
  1048.  
  1049. // ENG [Cache icons] # PL [Generuj ikonki do katalogu]
  1050. 'cache_icons' => array
  1051. (
  1052. 'enabled' => true,
  1053. 'icons_path' => '/var/www/html/server_icons/',
  1054. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 5,'seconds' => 0),
  1055. ),
  1056.  
  1057. // ENG [Weather in cities] # PL [Pogoda w miastach]
  1058. 'weather' => array
  1059. (
  1060. 'enabled' => false,
  1061. 'api_key' => '', //You can find api on website: openweathermap.org
  1062. 'info' => array
  1063. (
  1064. 39 => array
  1065. (
  1066. 'country_code' => 'PL', //country code for example: Poland - PL
  1067. 'city' => 'Warszawa', //witho/ut polish symbols
  1068. 'channel_name' => '» Pogoda - [CITY]', //[CITY] - city name
  1069. ),
  1070. ),
  1071. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 5,'seconds' => 0),
  1072. ),
  1073.  
  1074. // ENG [Countdown] # PL [Odliczanie]
  1075. 'countdown' => array
  1076. (
  1077. 'enabled' => true,
  1078. 'time_settings' => array('days' => true, 'hours' => true, 'minutes' => false),
  1079. 'info' => array
  1080. (
  1081. /**************************************
  1082.  
  1083. '0' => array // Growing number: 0, 1, 2, etc
  1084. (
  1085. 'channel_id' => 5761,
  1086. 'channel_name' => 'Do wakacji [COUNT]', //[COUNT] - time to/from date
  1087. 'date' => '22-06-2018 09:00', // Format: dd-mm-YYYY GG:MM for example: 22-06-2018 09:00
  1088. 'count_type' => 'to_date', // Count type: 'to_date' (for example time to next event), 'from_date' (for example time from server start)
  1089. ),
  1090.  
  1091. ***************************************/
  1092.  
  1093. '0' => array
  1094. (
  1095. 'channel_id' => 41,
  1096. 'channel_name' => '» Do [COUNT]', //[COUNT] - time to/from date
  1097. 'date' => '03-09-2018 09:00', // Format: dd-mm-YYYY GG:MM for example: 22-06-2018 09:00
  1098. 'count_type' => 'to_date', // Count type: 'to_date' (for example time to next event), 'from_date' (for example time from server start)
  1099. ),
  1100. '1' => array
  1101. (
  1102. 'channel_id' => 42,
  1103. 'channel_name' => '» Od [COUNT]', //[COUNT] - time to/from date
  1104. 'date' => '01-01-2018 09:00', // Format: dd-mm-YYYY GG:MM for example: 22-06-2018 09:00
  1105. 'count_type' => 'from_date', // Count type: 'to_date' (for example time to next event), 'from_date' (for example time from server start)
  1106. ),
  1107. ),
  1108. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 5,'seconds' => 0),
  1109. ),
  1110. );
  1111.  
  1112. $config['instance']['2']['logs_system'] = array
  1113. (
  1114. /****************************************************************************
  1115.  
  1116. ENG [LOGS SYSTEM] # PL [SYSTEM LOGÓW]
  1117.  
  1118. ****************************************************************************/
  1119.  
  1120. 'logs' => array
  1121. (
  1122. // ENG [Turn on/off logs system (true or false)] # PL [Wlaczenie lub wylaczenie systemu logów]
  1123. 'enabled' => true,
  1124.  
  1125. // ENG [Days, after which, log files will be deleted] # PL [Czas w dniach, po których pliki logów zostana usunięte]
  1126. 'delete_interval' => '3',
  1127. ),
  1128. );
  1129.  
  1130. $config['instance']['2']['options'] = array
  1131. (
  1132. /****************************************************************************
  1133.  
  1134. ENG [INSTANCE OPTIONS] # PL [OPCJE INSTANCJI]
  1135.  
  1136. ****************************************************************************/
  1137.  
  1138. // ENG [Folder for functions containing all events and plugins] # PL [Folder w którym sa wszystkie eventy i pluginy]
  1139. 'folder' => 'second_instance',
  1140.  
  1141. // ENG [Bot interval in seconds] # PL [Interwal bota w sekundach]
  1142. 'bot_interval' => 1,
  1143.  
  1144. // ENG ['events_plugins' or 'commands' (default 'events_plugins')] # PL ['events_plugins' lub 'commands' (domyślnie 'events_plugins')]
  1145. 'function_type' => 'events_plugins',
  1146. );
  1147.  
  1148. $config['instance']['2']['functions'] = array
  1149. (
  1150.  
  1151. /**************************************
  1152.  
  1153. ENG [PLUGINS] # PL [PLUGINY]
  1154.  
  1155. **************************************/
  1156.  
  1157. 'plugins' => true,
  1158.  
  1159. // ENG [Connect message] # PL [Wiadomośc polaczenia]
  1160. 'connect_message' => array
  1161. (
  1162. 'enabled' => true,
  1163. 'file' => 'include/cache/connect_message.txt', //file to connect message
  1164. 'many_messages' => true, //true if single line = one message || false for one message
  1165. 'to_groups' => array(-1), //connect message to specified server_groups | set -1 to all server groups | set gorups_id separated by comma
  1166.  
  1167. /************************************
  1168.  
  1169. [CLIENT_IP] = Client nickname
  1170. [CLIENT_NICK] = Client nickname
  1171. [CLIENT_COUNTRY] = Client country
  1172. [CLIENT_DBID] = Client databse id
  1173. [CLIENT_VERSION] = Client TS3 version
  1174. [CLIENT_CONNECTIONS] = Client total connections
  1175. [CLIENT_PLATFORM] = Client platform
  1176. [CLIENT_TOTALCONNECTIONS] = Client total connections
  1177. [CLIENT_LASTCONNECTED] = Client lastconnected
  1178. [CLIENT_AWAY_MESSAGE] = Client away message
  1179. [CLIENT_CREATED] = Client created
  1180. [CLIENT_ON_SERVER_FOR] = Client is with server for ... for example 2 days and 1 minute
  1181.  
  1182. [SERVER_MAX_CLIENTS] = Server max clients
  1183. [SERVER_ONLINE] = Online users
  1184. [SERVER_CHANNELS] = Channel number
  1185. [SERVER_ID] = Virtual server id
  1186. [SERVER_PORT] = Server port
  1187. [SERVER_NAME] = Server name
  1188. [SERVER_VERSION] = Server version
  1189. [SERVER_VUI] = Server unique identifier
  1190. [SERVER_WELCOME_MESSAGE] = Virtualserver welcomemessage
  1191. [SERVER_PLATFORM] = Server platform
  1192. [SERVER_HOSTMESSAGE] = Server hostmessage
  1193. [SERVER_UPTIME] = Server uptime
  1194.  
  1195.  
  1196. *************************************/
  1197. ),
  1198.  
  1199. // ENG [Register groups assigner] # PL [Przypisywanie zarejestrowanych grup]
  1200. 'groups_assigner' => array
  1201. (
  1202. 'enabled' => true,
  1203. 'if_client_on_channel' => array(144,143), //all checking channels id
  1204. 'register_groups' => array(57,58), //all register groups
  1205. 'info' => array
  1206. (
  1207. 144 => 57, //channel_id => server group id,
  1208. 143 => 58,
  1209. ),
  1210. //Minimal time on server to be registered [Db connect must be on]
  1211. 'min_time_on_server' => 1, //in minutes
  1212. ),
  1213.  
  1214. // ENG [Assign afk group] # PL [Przypisz grupę afk]
  1215. 'afk_group' => array
  1216. (
  1217. 'enabled' => false,
  1218. 'afk_group' => 104, //afk group id
  1219. 'idle_time' => 1800, //in seconds
  1220. 'set_group_if_away' => true, //set afk group if client has away status
  1221. 'set_group_if_muted'=> true, //set afk group if client is muted
  1222. 'ignored_groups' => array(41,9,25,61,67),
  1223. 'ignored_channels' => array(),
  1224. ),
  1225.  
  1226. // ENG [Move afk clients to channel] # PL [Przenieś użytkowników afk na kanal]
  1227. 'afk_move' => array
  1228. (
  1229. 'enabled' => true,
  1230. 'channel_id' => 149, //afk channel id
  1231. 'idle_time' => 1, //in seconds
  1232. 'move_if_away' => true, //move client if has away status
  1233. 'move_if_muted'=> true, //move client if is muted
  1234. 'move_back' => true, //if client no longer afk move him back (true or false)
  1235. 'message_type' => 'poke', //poke | message | none
  1236. 'ignored_groups' => array(9.10,11,12,13,14,15),
  1237. 'ignored_channels' => array(),
  1238. 'kick_from_server' => array
  1239. (
  1240. 'enabled' => false,
  1241. 'min_idle_time' => 300, //in seconds
  1242. 'msg' => 'Zbyt długi AFK!', //Message in kick
  1243. ),
  1244. ),
  1245.  
  1246. // ENG [Server groups security] # PL [Zabezpieczenie grup serwera]
  1247. 'groups_security' => array
  1248. (
  1249. 'enabled' => false,
  1250. 'info' => array
  1251. (
  1252. /*'0' => array //growing number, for example 1, 2, 3...
  1253. (
  1254. 'group_id' => 209, //group Id
  1255. 'ignored_dbid' => array(10,16,42), //privilege client database id's
  1256. 'give_back' => true, //give the rank back for people in ignoredId
  1257. 'type' => 'nothing', //`ban`, `kick`, `nothing` (just group delete and poke)
  1258. 'message' => '', //message to the client; if `ban` or `kick` it's the reason, if `nothing` it's a poke message
  1259. 'time' => 5, //ban timeout
  1260. ), */
  1261.  
  1262. '0' => array
  1263. (
  1264. 'group_id' => 9,
  1265. 'ignored_dbid' => array(15),
  1266. 'give_back' => true,
  1267. 'type' => 'ban',
  1268. 'message' => 'Nie mozesz miec rangi CEO!',
  1269. 'time' => 9999999,
  1270. ),
  1271. '1' => array
  1272. (
  1273. 'group_id' => ",
  1274. 'ignored_dbid' => array(),
  1275. 'give_back' => true,
  1276. 'type' => 'kick',
  1277. 'message' => 'Nie mozesz miec rangi Support!',
  1278. 'time' => 5,
  1279. ),
  1280. '2' => array
  1281. (
  1282. 'group_id' => ",
  1283. 'ignored_dbid' => array(),
  1284. 'give_back' => true,
  1285. 'type' => 'kick',
  1286. 'message' => 'Nie mozesz miec rangi TEST Support!',
  1287. 'time' => 5,
  1288. ),
  1289. ),
  1290. ),
  1291.  
  1292. // ENG [Baning for having warning rangs] # PL [Ban za posiadanie X ostrzeżen]
  1293. 'warning_ban' => array
  1294. (
  1295. 'enabled' => false,
  1296. 'ban_time' => '1200', // in seconds
  1297. 'ban_message' => 'Za duzo ostrzezen!',
  1298. 'with_rang' => 212, // the last warning id, for example Warning #3 (if you have 3 warnings)
  1299. 'warning_id' => array
  1300. (
  1301. 212, // the last warning id, for example Warning #3 (if you have 3 warnings)
  1302. 146,
  1303. 144,
  1304. ),
  1305. ),
  1306.  
  1307. // ENG [Block recording users] # PL [Blokowanie użytkowników za nagrywanie]
  1308. 'block_recording' => array
  1309. (
  1310. 'enabled' => true,
  1311. 'ignored_groups' => array(9),
  1312. 'type' => 'kick', //`ban`, `kick`,
  1313. 'message' => 'Nie możesz nagrywać!', //message to the client; if `ban` or `kick` it's the reason
  1314. 'time' => 60, //ban timeout
  1315.  
  1316. ),
  1317.  
  1318. // ENG [Anty VPN] # PL [Event przeciw VPN'om]
  1319. 'anty_vpn' => array
  1320. (
  1321. 'enabled' => false,
  1322. 'X-Key' => '', // You can change at website `https://iphub.info/pricing`
  1323. 'ignored_groups' => array(9,25,61,67,59),
  1324. '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.
  1325. 'type' => 'kick', //`poke`, `kick`, `ban`
  1326. 'ban_time' => '60', //in seconds
  1327. 'message_to_client' => "Używasz VPN'a!",
  1328. ),
  1329.  
  1330. /**************************************
  1331.  
  1332. ENG [EVENTS] # PL [EVENTY]
  1333.  
  1334. **************************************/
  1335.  
  1336. 'events' => true,
  1337.  
  1338. // ENG [Auto register] # PL [Auto rejestracja]
  1339. 'auto_register' => array
  1340. (
  1341. 'enabled' => false,
  1342. 'ignored_groups' => array(9,25,61,67,10,28),
  1343. 'register_group' => 10, //register group
  1344. //Minimal time on server to be registered [Db connect must be on]
  1345. 'min_time_on_server' => 5, //in minutes
  1346. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 5,'seconds' => 0),
  1347. ),
  1348.  
  1349. // ENG [Advertisement message] # PL [Reklama]
  1350. 'advertisement_message' => array
  1351. (
  1352. 'enabled' => false,
  1353. 'type' => 'chat', //'chat' - global chat | 'pw' - pw to all users | 'poke' - poke to all users
  1354. 'advertisements' => array
  1355. (
  1356. /***********************
  1357.  
  1358. 'Zapraszamy do rejestracji!',
  1359. 'Wiadmość testowa XBot',
  1360.  
  1361. ***********************/
  1362.  
  1363. '[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]',
  1364. '[b][color=red]Witaj na serwerze testowym aplikacji XBot![/b]',
  1365. ),
  1366. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 10,'minutes' => 0,'seconds' => 0),
  1367. ),
  1368.  
  1369. // ENG [Time and date] # PL [Data i godzina]
  1370. 'clock_date' => array
  1371. (
  1372. 'enabled' => false,
  1373. 'content' => array
  1374. (
  1375. 'clock' => array //clock in channel name
  1376. (
  1377. 'enabled' => true,
  1378. 'channel_id' => 45,
  1379. 'channel_name' => '» Godzina : [CLOCK]', // [CLOCK] = clock
  1380. 'format' => 'G:i', // format G: hours, i: minutes, s: seconds
  1381. ),
  1382. 'date' => array //date in channel name
  1383. (
  1384. 'enabled' => true,
  1385. 'channel_id' => 46,
  1386. 'channel_name' => '» Data: [DATE]', // [DATE] = date
  1387. 'format' => 'd-m-Y', // format m: month numeric, M: month in words, d: day numeric, D: day in words, Y: year
  1388. ),
  1389. 'date_and_clock' => array
  1390. (
  1391. 'enabled' => true,
  1392. 'channel_id' => 47,
  1393. 'channel_name' => '» Dzisiaj jest : [DATE&CLOCK]', // [DATE&CLOCK] = date & clock
  1394. '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
  1395. ),
  1396. ),
  1397. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 60),
  1398. ),
  1399.  
  1400. // ENG [Change server name] # PL [Zmiana nazwy serwera]
  1401. 'change_server_name' => array
  1402. (
  1403. /****************************************
  1404.  
  1405. DATE FORMAT
  1406.  
  1407. m: month numeric,
  1408. M: month in words,
  1409. d: day numeric,
  1410. D: day in words,
  1411. Y: year,
  1412. G: hours,
  1413. i: minutes,
  1414. s: seconds
  1415.  
  1416. ****************************************/
  1417.  
  1418. 'enabled' => true,
  1419. 'ignored_groups' => array(31,43), //ignored groups, not included in online number
  1420. '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
  1421. 'format' => 'd-m-Y G:i',
  1422. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
  1423. 'data' => '1970-01-01 00:00:00', //Do not change
  1424. ),
  1425.  
  1426. // ENG [Client platform] # PL [Platforma klienta]
  1427. 'client_platform' => array
  1428. (
  1429. 'enabled' => false,
  1430. 'ignored_groups' => array(0),
  1431.  
  1432. 'windows_enabled' => false,
  1433. 'windows_group' => 1044,
  1434.  
  1435. 'linux_enabled' => false,
  1436. 'linux_group' => 236,
  1437.  
  1438. 'android_enabled' => true,
  1439. 'android_group' => 1044,
  1440.  
  1441. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 20),
  1442. ),
  1443.  
  1444. // ENG [Poke admins] # PL [Zaczepianie adminów]
  1445. 'poke_admins' => array
  1446. (
  1447. 'enabled' => false,
  1448. 'if_client_on_channel' => array(113,114), //all checking channels
  1449. 'ignored_groups' => array(56), //if admin has this group, bot will not poke him
  1450. 'ignored_group_if_on_channel' => array(43), //if client has this group, bot will not poke admins
  1451. 'info' => array
  1452. (
  1453. /*************************
  1454.  
  1455. ###
  1456. # poking server groups: channel_id => array(server_groups separated by comma),
  1457. ###
  1458.  
  1459. ###
  1460. # poking client: channel_id => client_database_id,
  1461. ###
  1462.  
  1463. *************************/
  1464.  
  1465. 113 => array(9,25,61,67),
  1466. 114 => array(9,25,61,67),
  1467. ),
  1468. 'ignored_channels' => array(), //channels where bot doesn't poke admins
  1469. 'inform_admin_once' => true, //Poke admin only one time
  1470. 'informing_about_channel' => true, //inform admin about the channel on which the user needs help
  1471. 'show_client_link' => true, //show client link ([url])
  1472. 'kick_if_away' => true, //kick client if is away (muted microphone/headphones)
  1473. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 2),
  1474. ),
  1475.  
  1476. // ENG [Generate banner] # PL [Generowanie baneru]
  1477. 'generate_banner' => array
  1478. (
  1479. /****************************************
  1480.  
  1481. font - 'arial', 'calibri', 'inconsolata', 'tahoma'
  1482. color - in RGB array(x, x, x) you can check colors on https://www.w3schools.com/colors/colors_rgb.asp
  1483. co-ordinates - array(size, rotation, x, y)
  1484.  
  1485. ****************************************/
  1486.  
  1487. 'enabled' => true,
  1488. 'admins_online' => array //Liczba adminow online
  1489. (
  1490. 'enabled' => true,
  1491. 'admins_server_groups' => array(11,14,16,18,19,20,23),
  1492. 'font' => 'calibri',
  1493. 'color' => array(255, 255, 255),
  1494. 'co-ordinates' => array(20,0,118,160),
  1495. ),
  1496. 'clients_online' => array //Klienci online
  1497. (
  1498. 'enabled' => true,
  1499. 'show_max_clients' => false,
  1500. 'font' => 'calibri',
  1501. 'color' => array(255, 255, 255),
  1502. 'co-ordinates' => array(20,0,118,235),
  1503. ),
  1504. 'record_online' => array //Rekord online
  1505. (
  1506. 'enabled' => true,
  1507. 'font' => 'calibri',
  1508. 'color' => array(255,255,255),
  1509. 'co-ordinates' => array(20,0,770,160),
  1510. ),
  1511. 'clock' => array //Zegar
  1512. (
  1513. 'enabled' => true,
  1514. 'font' => 'calibri',
  1515. 'color' => array(255, 255, 255),
  1516. 'co-ordinates' => array(20,0,110,80),
  1517. ),
  1518. 'channels_count' => array //Liczba kanałów
  1519. (
  1520. 'enabled' => false,
  1521. 'font' => 'calibri',
  1522. 'color' => array(255,255,255),
  1523. 'co-ordinates' => array(20,0,500,300),
  1524. ),
  1525. 'name_day' => array //Imieniny
  1526. (
  1527. 'enabled' => true,
  1528. 'font' => 'calibri',
  1529. 'color' => array(255,255,255),
  1530. 'co-ordinates' => array(15,0,455,255),
  1531. ),
  1532. 'fanpage_likes' => array //Like'i z fanpage'a
  1533. (
  1534. 'enabled' => true,
  1535. 'page_id' => '1719172075053504', //You can find it on website: https://findmyfbid.com/
  1536. 'access_token' => '',
  1537. 'font' => 'calibri',
  1538. 'color' => array(255,255,255),
  1539. 'co-ordinates' => array(20,0,770,80),
  1540. ),
  1541. 'uptime' => array //Uptime
  1542. (
  1543. 'enabled' => false,
  1544. 'font' => 'calibri',
  1545. 'color' => array(255,255,255),
  1546. 'co-ordinates' => array(20,0,300,300),
  1547. ),
  1548. 'date' => array //Data
  1549. (
  1550. 'enabled' => true,
  1551. 'font' => 'calibri',
  1552. 'format' => 'd.m.Y',
  1553. 'color' => array(255,255,255),
  1554. 'co-ordinates' => array(20,0,765,240),
  1555. ),
  1556.  
  1557. 'image_file' => array('include/cache/banner.png', 'include/cache/banner1.png', 'include/cache/banner2.png', 'include/cache/banner3.png'),
  1558. 'target_image_file' => '/var/www/html/banner.png',
  1559. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 10),
  1560. ),
  1561.  
  1562. // ENG [Host message] # PL [Wiadomość hosta]
  1563. 'host_message' => array
  1564. (
  1565. 'enabled' => false,
  1566. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 30),
  1567. ),
  1568.  
  1569. // ENG [Live DJ] # PL [Nick DJ'a w nazwie kanału]
  1570. 'live_dj' => array
  1571. (
  1572. 'enabled' => false,
  1573. 'info' => array
  1574. (
  1575. /*********************************
  1576.  
  1577. channel_id => 'nazwa_kanalu', //[DJ] - dj's nick
  1578.  
  1579. *********************************/
  1580.  
  1581. 48 => '» Obecny DJ: [DJ]', //[DJ] - dj's nick
  1582. ),
  1583. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 45),
  1584. ),
  1585.  
  1586. // ENG [Count users (registered/total)] # PL [Zliaczanie użytkowników (zarejestrowani/wszyscy)]
  1587. 'count_users' => array
  1588. (
  1589. 'enabled' => false, //DB must be on
  1590. 'channel_id' => 49,
  1591. 'channel_name' => '» Zarejestrowani użytkownicy: [REG]/[TOTAL]', //[REG] - registered users | [TOTAL] - total users in Db
  1592. 'unregistered_group_id' => 11,
  1593. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 30),
  1594. ),
  1595.  
  1596. // ENG [Show client_info after join the channel] # PL [Pokaż informacje o kliencie po wejściu na kanał]
  1597. 'client_info' => array
  1598. (
  1599. 'enabled' => true,
  1600. 'if_client_on_channel' => array(50),
  1601. '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]',
  1602.  
  1603. /************************************
  1604.  
  1605. [CLIENT_IP] = Client nickname
  1606. [CLIENT_NICK] = Client nickname
  1607. [CLIENT_COUNTRY] = Client country
  1608. [CLIENT_DBID] = Client databse id
  1609. [CLIENT_VERSION] = Client TS3 version
  1610. [CLIENT_CONNECTIONS] = Client total connections
  1611. [CLIENT_PLATFORM] = Client platform
  1612. [CLIENT_TOTALCONNECTIONS] = Client total connections
  1613. [CLIENT_LASTCONNECTED] = Client lastconnected
  1614. [CLIENT_AWAY_MESSAGE] = Client away message
  1615. [CLIENT_CREATED] = Client created
  1616. [CLIENT_ON_SERVER_FOR] = Client is with server for ... for example 2 days and 1 minute
  1617.  
  1618. *************************************/
  1619.  
  1620. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
  1621. ),
  1622.  
  1623. // ENG [Event records in the channel descrition] # PL [Zapisywanie klientów na np. event w opisie kanału]
  1624. 'event_records' => array
  1625. (
  1626. 'enabled' => false,
  1627. 'if_client_on_channel' => array(52),
  1628. 'channel_id' => 51,
  1629. 'top_description' => 'Zapisy na event', //Do not use [hr] in name!
  1630. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
  1631. ),
  1632.  
  1633. // ENG [Check temporary channels' name] # PL [Sprawdzanie nazw kanałów tymczasowych]
  1634. 'check_tmp_channel' => array
  1635. (
  1636. 'enabled' => true,
  1637. 'file' => 'include/cache/nicks_security.txt', //bad phrases separated by ,(comma) without spaces, enters etc
  1638. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
  1639. ),
  1640.  
  1641. // ENG [Check public zone] # PL [Sprawdzanie strefy kanałów publicznych]
  1642. 'check_public_zone' => array
  1643. (
  1644. 'enabled' => false,
  1645. 'info' => array
  1646. (
  1647. '0' => array // Growing number
  1648. (
  1649. 'channels_zone' => 142,
  1650. 'channel_name' => '» Kanał Publiczny #[NUM]', //[Num] channel number
  1651. 'max_users' => 0, // 0 = unlimited
  1652. 'mininum_channels' => 3,
  1653. 'maximum_channels' => 25,
  1654. 'icon_id' => 1655954911,
  1655. 'modify_power' => 85, //channel needed modify power
  1656. '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',
  1657. ),
  1658. '1' => array // Growing number
  1659. (
  1660. 'channels_zone' => 146,
  1661. 'channel_name' => '» Kanał Publiczny #[NUM]', //[Num] channel number
  1662. 'max_users' => 2, // 0 = unlimited
  1663. 'mininum_channels' => 3,
  1664. 'maximum_channels' => 25,
  1665. 'icon_id' => 2681873579,
  1666. 'modify_power' => 85, //channel needed modify power
  1667. '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',
  1668. ),
  1669. '2' => array // Growing number
  1670. (
  1671. 'channels_zone' => 151,
  1672. 'channel_name' => '» Kanał Publiczny #[NUM]', //[Num] channel number
  1673. 'max_users' => 3, // 0 = unlimited
  1674. 'mininum_channels' => 3,
  1675. 'maximum_channels' => 25,
  1676. 'icon_id' => 2457065219,
  1677. 'modify_power' => 85, //channel needed modify power
  1678. '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',
  1679. ),
  1680. '3' => array // Growing number
  1681. (
  1682. 'channels_zone' => 155,
  1683. 'channel_name' => '» Kanał Publiczny #[NUM]', //[Num] channel number
  1684. 'max_users' => 4, // 0 = unlimited
  1685. 'mininum_channels' => 3,
  1686. 'maximum_channels' => 25,
  1687. 'icon_id' => 1722569469,
  1688. 'modify_power' => 85, //channel needed modify power
  1689. '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',
  1690. ),
  1691. '4' => array // Growing number
  1692. (
  1693. 'channels_zone' => 159,
  1694. 'channel_name' => '» Kanał Publiczny #[NUM]', //[Num] channel number
  1695. 'max_users' => 5, // 0 = unlimited
  1696. 'mininum_channels' => 3,
  1697. 'maximum_channels' => 25,
  1698. 'icon_id' => 2194985460,
  1699. 'modify_power' => 85, //channel needed modify power
  1700. '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',
  1701. ),
  1702. ),
  1703. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5 ),
  1704. ),
  1705.  
  1706. // ENG [Clear clients ranks] # PL [Wyczyść rangi klienta]
  1707. 'clear_ranks' => array
  1708. (
  1709. 'enabled' => false,
  1710. 'if_client_on_channel' => array(53), //all channels
  1711. 'info' => array
  1712. (
  1713. /**********************************
  1714.  
  1715. channel_id => array(ranks_to_clear),
  1716.  
  1717. **********************************/
  1718.  
  1719. 53 => array(13,14,15,16,17,18,19,20,21,22,23,24),
  1720. ),
  1721. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
  1722. ),
  1723.  
  1724. // ENG [Delete client permissions] # PL [Wyczyść pozwolenia klienta]
  1725. 'delete_client_permissions' => array
  1726. (
  1727. 'enabled' => false,
  1728. 'ignored_groups' => array(9), //ignored server groups
  1729. 'ignored_dbids' => array(1), //ignored database clients id
  1730. 'ignored_perms' => array('i_icon_id'), //this perms won't be deleted
  1731. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 2),
  1732. ),
  1733.  
  1734. // ENG [Check clients on the same IP] # PL [Sprawdzanie użytkowników na tym samym ip]
  1735. 'check_ip' => array
  1736. (
  1737. 'enabled' => false,
  1738. 'ignored_groups' => array(),
  1739. 'max_users' => 4, // Max users on the same ip
  1740. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 10),
  1741. ),
  1742.  
  1743. // ENG [Check urls in the channel description] # PL [Sprawdzanie linków w opisach kanałów]
  1744. 'check_description' => array
  1745. (
  1746. 'enabled' => false,
  1747. // Allowed links are in the file: include/cache/allowed_links.txt
  1748. 'channels' => array(53), // Type only parent channels
  1749. 'channel_info' => 565, // Info about not allowed links on channels
  1750. 'check_vip_channels' => true, // true or false
  1751. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
  1752. ),
  1753.  
  1754. // ENG [Save channel edits logs in description] # PL [Zapisz logi edycji kanału w opisie]
  1755. 'channels_edits' => array
  1756. (
  1757. 'enabled' => false,
  1758. 'zones' => array
  1759. (
  1760. /*********************
  1761.  
  1762. channel_id => array(checking_channels),
  1763.  
  1764. *********************/
  1765.  
  1766. 54 => array(55,56),
  1767. ),
  1768. 'ignored_groups' => array(),
  1769. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
  1770. ),
  1771.  
  1772. // ENG [Fill channels' description when is empty] # PL [Wpisz opis do pustych kanałów]
  1773. 'fill_empty_channels' => array
  1774. (
  1775. 'enabled' => true,
  1776. '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]",
  1777. 'needed_phrase' => "spacer", // Channel need this phrase in name
  1778. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 1,'minutes' => 0,'seconds' => 0),
  1779. ),
  1780. );
  1781.  
  1782. $config['instance']['3']['logs_system'] = array
  1783. (
  1784. /****************************************************************************
  1785.  
  1786. ENG [LOGS SYSTEM] # PL [SYSTEM LOGÓW]
  1787.  
  1788. ****************************************************************************/
  1789.  
  1790. 'logs' => array
  1791. (
  1792. // ENG [Turn on/off logs system (true or false)] # PL [Wlaczenie lub wylaczenie systemu logów]
  1793. 'enabled' => true,
  1794.  
  1795. // ENG [Days, after which, log files will be deleted] # PL [Czas w dniach, po których pliki logów zostana usunięte]
  1796. 'delete_interval' => '3',
  1797. ),
  1798. );
  1799.  
  1800. $config['instance']['3']['options'] = array
  1801. (
  1802. /****************************************************************************
  1803.  
  1804. ENG [INSTANCE OPTIONS] # PL [OPCJE INSTANCJI]
  1805.  
  1806. ****************************************************************************/
  1807.  
  1808. // ENG [Folder for functions containing all events and plugins] # PL [Folder w którym sa wszystkie eventy i pluginy]
  1809. 'folder' => 'third_instance',
  1810.  
  1811. // ENG [Bot interval in seconds] # PL [Interwal bota w sekundach]
  1812. 'bot_interval' => 3,
  1813.  
  1814. // ENG ['events_plugins' or 'commands' (default 'events_plugins')] # PL ['events_plugins' lub 'commands' (domyślnie 'events_plugins')]
  1815. 'function_type' => 'events_plugins',
  1816. );
  1817.  
  1818. $config['instance']['3']['functions'] = array
  1819. (
  1820. /**************************************
  1821.  
  1822. ENG [PLUGINS] # PL [PLUGINY]
  1823.  
  1824. **************************************/
  1825.  
  1826. 'plugins' => false,
  1827.  
  1828. /**************************************
  1829.  
  1830. ENG [EVENTS] # PL [EVENTY]
  1831.  
  1832. **************************************/
  1833.  
  1834. 'events' => true,
  1835.  
  1836. // ENG [New users daily] # PL [Nowi użytkownicy dzisiaj]
  1837. 'new_daily_users' => array
  1838. (
  1839. 'enabled' => false,
  1840. 'channel_id' => 58,
  1841. 'with_rang' => 111, //checking if client has one of these rangs
  1842. 'channel_name' => '» Nowi Użytkownicy: [NEW]', //[NEW] - how many new users
  1843. 'top_description' => 'Nowi uzytkownicy dzisiaj',
  1844. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 0),
  1845. ),
  1846.  
  1847. // ENG [Visitors] # PL [Odwiedziny]
  1848. 'visitors' => array
  1849. (
  1850. 'enabled' => false,
  1851. 'channel_id' => 59,
  1852. 'channel_name' => '» Odwiedzin: [VISITORS]', //[VISITORS] - how many visitors
  1853. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 15),
  1854. ),
  1855.  
  1856. // ENG [Clients in your database] # PL [Użytkownicy w bazie danych]
  1857. '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)
  1858. (
  1859. 'enabled' => false,
  1860. 'idle_time' => 5 * 60, //idle time in seconds
  1861. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 10),
  1862. ),
  1863.  
  1864. // ENG [Top connections] # PL [Najwięcej polaczeń]
  1865. 'top_connections' => array
  1866. (
  1867. 'enabled' => false,
  1868. 'channel_id' => 72,
  1869. 'top_description' => '[img]https://i.imgur.com/NmSPayJ.png[/img]',
  1870. 'records' => 15, //how many clients
  1871. 'ignored_groups' => array(31,43),
  1872. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 4,'seconds' => 0),
  1873. ),
  1874.  
  1875. // ENG [Top connection time] # PL [Najdluższe polaczenia]
  1876. 'top_connection_time' => array
  1877. (
  1878. 'enabled' => false,
  1879. 'channel_id' => 73,
  1880. 'top_description' => '[img]https://i.imgur.com/4yqtJYd.png[/img]',
  1881. 'records' => 15, //how many clients
  1882. 'ignored_groups' => array(31,43),
  1883. 'time_settings' => array('days' => true, 'hours' => true, 'minutes' => true),
  1884. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 4,'seconds' => 0),
  1885. ),
  1886.  
  1887. // ENG [Top client idle time] # PL [Najdluższy czas nieaktywności]
  1888. 'top_idle_time' => array
  1889. (
  1890. 'enabled' => false,
  1891. 'channel_id' => 74,
  1892. 'top_description' => '[img]https://i.imgur.com/82pPbKb.png[/img]',
  1893. 'records' => 15, //how many clients
  1894. 'ignored_groups' => array(31,43),
  1895. 'time_settings' => array('days' => true, 'hours' => true, 'minutes' => true),
  1896. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 4,'seconds' => 0),
  1897. ),
  1898.  
  1899. // ENG [Top time spent on server] # PL [Najdluższy czas na serwerze]
  1900. 'top_time_spent' => array
  1901. (
  1902. 'enabled' => false,
  1903. 'channel_id' => 63,
  1904. 'show_afk_time' => true,
  1905. 'top_description' => '[img]https://i.imgur.com/zjtZ2bf.png[/img]',
  1906. 'records' => 15, //how many clients
  1907. 'ignored_groups' => array(31,43),
  1908. 'time_settings' => array('days' => true, 'hours' => true, 'minutes' => true),
  1909. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 4,'seconds' => 0),
  1910. ),
  1911.  
  1912. // ENG [Top week time spent on server] # PL [Ranking czasu spędzonego w danym tygodniu]
  1913. 'top_week_time' => array
  1914. (
  1915. 'enabled' => false,
  1916. 'channel_id' => 64,
  1917. 'show_afk_time' => true,
  1918. 'top_description' => '[img]https://i.imgur.com/eSQHozj.png[/img]',
  1919. 'records' => 15, //how many clients
  1920. 'ignored_groups' => array(31,43),
  1921. 'time_settings' => array('days' => true, 'hours' => true, 'minutes' => true),
  1922. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 4,'seconds' => 0),
  1923. ),
  1924.  
  1925. // ENG [Clients levels] # PL [Poziomy klientów]
  1926. 'levels' => array
  1927. (
  1928. 'enabled' => false,
  1929. 'ignored_groups' => array(),
  1930. 'info' => array
  1931. (
  1932. 40 => 4, //lvl group sgid => hours spent on server on which the rang will be given
  1933. 41 => 5,
  1934. 42 => 6,
  1935. 43 => 7,
  1936. 44 => 8,
  1937. 45 => 9,
  1938. 46 => 10,
  1939. 47 => 11,
  1940. 48 => 12,
  1941. 49 => 13,
  1942. ),
  1943. 'all_levels_groups' => array(40,41,42,43,44,45,46,47,48,49),
  1944. 'top_description' => '[img]https://i.imgur.com/58vTGHg.png[/img]',
  1945. 'records' => 10,
  1946. 'channel_id' => 75,
  1947. 'info_to_client' => 'pw', //Info to client | 'poke' / 'pw' / 'none'
  1948. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
  1949. ),
  1950.  
  1951. // ENG [Random group] # PL [Losowe grupy]
  1952. 'random_group' => array
  1953. (
  1954. 'enabled' => true,
  1955. 'must_have_group' => array(10,28),
  1956. 'ignored_groups' => array(31,43,9,25,61,67,30,81),
  1957. 'random_groups' => array(30),
  1958. 'time' => '1', //in days
  1959. 'records' => 15,
  1960. 'channel_id' => 66,
  1961. 'channel_name' => '» Randomowe grupy', //[USER] - last winner's nickname
  1962. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 4,'seconds' => 0),
  1963. ),
  1964.  
  1965. // ENG [Statistics of admins] # PL [Statystyki administratorów]
  1966. 'statistics_of_admins' => array
  1967. (
  1968. 'enabled' => true,
  1969. 'admins_groups' => array(9,25,61,67),
  1970. 'max_idle_time' => 300, //in seconds
  1971. 'register' => array(10,28),
  1972. 'support_channels' => array(113,114),
  1973. 'ignored_groups' => array(), //groups will not be counted to helped people
  1974. 'ignored_channels' => array(), //channels where admins will not be check
  1975. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5), //Default: 5 seconds
  1976. ),
  1977.  
  1978. // ENG [Write statistics of admins] # PL [Wypisz statystyki adminów]
  1979. 'write_statistics' => array
  1980. (
  1981. 'enabled' => false,
  1982. 'admins_groups' => array(9,25,61,67), //Admins groups to write on the channel description
  1983.  
  1984. 'groups' => array
  1985. (
  1986. 'top_description' => '[size=14][b]Statystyki administracji[/b][/size][size=13][b]\nNadane grupy[/b][/size]',
  1987. 'channelid' => 68,
  1988. ),
  1989. 'timespent' => array
  1990. (
  1991. 'top_description' => '[size=14][b]Statystyki administracji[/b][/size][size=13][b]\nSpędzony czas[/b][/size]',
  1992. 'channelid' => 69,
  1993. ),
  1994. 'help_center' => array
  1995. (
  1996. 'top_description' => '[size=14][b]Statystyki administracji[/b][/size][size=13][b]\nCentrum pomocy[/b][/size]',
  1997. 'channelid' => 70,
  1998. ),
  1999.  
  2000. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 0),
  2001. ),
  2002.  
  2003. // ENG [Actions logs in the channel description] # PL [Akcje serwera/bota w opisie kanału]
  2004. 'actions_logs' => array
  2005. (
  2006. 'enabled' => false,
  2007. 'channel_id' => 71,
  2008. 'top_description' => 'Akcje Na Serwerze',
  2009. 'records' => 30,
  2010. 'show_id' => true, // Show action id
  2011. 'info' => array
  2012. (
  2013. /************************
  2014.  
  2015. 'function_name' => true/false, //enable if you want to see logs from this function
  2016. DO NOT ADD FUNCTIONS!
  2017.  
  2018. ************************/
  2019.  
  2020. //Instance I
  2021. 'get_vip_channel' => true,
  2022. 'get_yt_channel' => true,
  2023. 'nicks_security' => true,
  2024.  
  2025. //Instance II
  2026. 'groups_assigner' => true,
  2027. 'auto_register' => true,
  2028. 'block_recording' => true,
  2029. 'anty_vpn' => true,
  2030. 'poke_admins' => true,
  2031.  
  2032. //Instance III
  2033. 'levels' => true,
  2034. 'random_group' => true,
  2035.  
  2036. //Instance IV
  2037. 'get_private_channel' => true,
  2038. 'channels_guard' => true,
  2039. ),
  2040. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 15),
  2041. ),
  2042.  
  2043. // ENG [Server achievements] # PL [Osiągnięcia]
  2044. 'achievements' => array
  2045. (
  2046. 'enabled' => false,
  2047. 'ignored_groups' => array(31,43,11),
  2048. 'header_group' => 84,
  2049. 'footer_group' => 85,
  2050. 'info' => array
  2051. (
  2052. 'connections' => array
  2053. (
  2054. 'enabled' => false,
  2055. 'header_group' => 99,
  2056. 'groups' => array
  2057. (
  2058. /********************
  2059.  
  2060. group_sgid => required_connections,
  2061.  
  2062. *********************/
  2063.  
  2064. 86 => 10,
  2065. 87 => 50,
  2066. 88 => 100,
  2067. 89 => 150,
  2068. 90 => 200,
  2069. 91 => 1000,
  2070. ),
  2071. ),
  2072. 'time_spent' => array
  2073. (
  2074. 'enabled' => false,
  2075. 'header_group' => 100,
  2076. 'groups' => array
  2077. (
  2078. /********************
  2079.  
  2080. group_sgid => required_time_spent,
  2081.  
  2082. *********************/
  2083.  
  2084. 92 => 10 * 60 * 60,
  2085. 93 => 50 * 60 * 60,
  2086. 94 => 100 * 60 * 60,
  2087. 95 => 150 * 60 * 60,
  2088. 96 => 200 * 60 * 60,
  2089. 97 => 1000 * 60 * 60,
  2090. ),
  2091. ),
  2092. ),
  2093. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 0),
  2094. ),
  2095. );
  2096.  
  2097. $config['instance']['4']['logs_system'] = array
  2098. (
  2099. /****************************************************************************
  2100.  
  2101. ENG [LOGS SYSTEM] # PL [SYSTEM LOGĂ“W]
  2102.  
  2103. ****************************************************************************/
  2104.  
  2105. 'logs' => array
  2106. (
  2107. // ENG [Turn on/off logs system (true or false)] # PL [Wlaczenie lub wylaczenie systemu logów]
  2108.  
  2109. 'enabled' => true,
  2110.  
  2111. // ENG [Days, after which, log files will be deleted] # PL [Czas w dniach, po których pliki logów zostana usunięte]
  2112.  
  2113. 'delete_interval' => '3',
  2114. ),
  2115. );
  2116.  
  2117. $config['instance']['4']['options'] = array
  2118. (
  2119. /****************************************************************************
  2120.  
  2121. ENG [INSTANCE OPTIONS] # PL [OPCJE INSTANCJI]
  2122.  
  2123. ****************************************************************************/
  2124.  
  2125. // ENG [Folder for functions containing all events and plugins] # PL [Folder w którym sa wszystkie eventy i pluginy]
  2126. 'folder' => 'fourth_instance',
  2127.  
  2128. // ENG [Bot interval in seconds] # PL [Interwal bota w sekundach]
  2129. 'bot_interval' => 3,
  2130.  
  2131. // ENG ['events_plugins' or 'commands' (default 'events_plugins')] # PL ['events_plugins' lub 'commands' (domyślnie 'events_plugins')]
  2132. 'function_type' => 'events_plugins',
  2133. );
  2134.  
  2135. $config['instance']['4']['functions'] = array
  2136. (
  2137. /**************************************
  2138.  
  2139. ENG [PLUGINS] # PL [PLUGINY]
  2140.  
  2141. **************************************/
  2142.  
  2143. 'plugins' => false,
  2144.  
  2145. /**************************************
  2146.  
  2147. ENG [EVENTS] # PL [EVENTY]
  2148.  
  2149. **************************************/
  2150.  
  2151. 'events' => true,
  2152.  
  2153. // ENG [Channels guard] # PL [Strażnik kanalów]
  2154. 'channels_guard' => array
  2155. (
  2156. 'enabled' => true,
  2157. 'channels_zone' => 174, //parent channel id
  2158. 'empty_channel_topic' => '#free', //topic in empty channels
  2159. 'free_channel_name' => 'Prywatny Kanał - Wolny',
  2160. 'head_channel_admin_group' => 5, //main head channel admin group id
  2161. 'check_date' => array //check channel date in topic
  2162. (
  2163. 'enabled' => true,
  2164. 'new_date_if_owner' => true, //new date if the owner is on the channel
  2165. 'channel_groups' => array(5,6,7), //new date must be on, type groups which can update the date on the channel
  2166. 'time_interval_warning' => 4, //days after which the channel name will be changed
  2167. 'time_interval_delete' => 6, //days after which the channel will be deleted
  2168. 'warning_text' => '(ZMIEŃ DATĘ)', //warning text added to channel name after 'time_interval_warning'
  2169. ),
  2170. 'check_channel_num' => array //check if the next channel has number for example 1., 2., etc
  2171. (
  2172. 'enabled' => true,
  2173. ),
  2174. 'check_channel_name' => array //check if the next channel has number for example 1., 2., etc
  2175. (
  2176. 'enabled' => true,
  2177. 'file' => 'include/cache/nicks_security.txt', //bad phrases separated by ,(comma) without spaces, enters etc
  2178. ),
  2179. 'make_empty_channels' => array //make empty channels
  2180. (
  2181. 'enabled' => true,
  2182. 'minimum_free_channels' => 5,
  2183. 'icon_id' => 1030356539,
  2184. ),
  2185. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 30),
  2186. ),
  2187.  
  2188. // ENG [Get private channel] # PL [Otrzymanie prywatnego kanalu]
  2189. 'get_private_channel' => array
  2190. (
  2191. 'enabled' => true,
  2192. 'if_client_on_channel' => array(145), //channel id
  2193. 'sub_channels' => 2, //how many sub channels
  2194. 'head_channel_admin_group' => 5, //main head channel admin group id
  2195. 'needed_server_group' => array(57,58), //needed server group (you need one of them to get a private channel)
  2196. 'message_type' => 'poke', //message type (poke or message)
  2197. 'empty_channel_topic' => '#free', //topic in empty channels
  2198. 'channels_zone' => 174, //parent channel id
  2199. 'icon_id' => 968796862,
  2200. 'subchannel_icon_id' => 968796862,
  2201. 'needed_modify_power' => 50, //needed modify power on main channel
  2202. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 1),
  2203. ),
  2204.  
  2205. // ENG [Empty channels' numbers in channel description] # PL [Numery wolnych kanalów w opisie kanalu]
  2206. 'empty_channels' => array
  2207. (
  2208. 'enabled' => true,
  2209. 'channel_id' => 298, //channel id
  2210. 'empty_channel_topic' => '#free', //topic in empty channels
  2211. 'channels_zone' => 174, //parent channel id
  2212. 'time_interval_delete' => 6, //days after which the channel will be deleted
  2213. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 5,'seconds' => 0),
  2214. ),
  2215.  
  2216. // ENG [Number of private channels in channel name] # PL [Ilość prywatnych kanalów w nazwie kanalu]
  2217. 'private_channels_info' => array
  2218. (
  2219. 'enabled' => true,
  2220. 'empty_channel_topic' => '#free', //topic in empty channels
  2221. 'channels_zone' => 174, //parent channel id
  2222. 'total' => array
  2223. (
  2224. 'enabled' => false,
  2225. 'channel_id' => 22192,
  2226. 'channel_name' => 'Kanalow prywatnych: [NUM]', //[NUM] - number of channels
  2227. ),
  2228. 'taken' => array
  2229. (
  2230. 'enabled' => false,
  2231. 'channel_id' => 22193,
  2232. 'channel_name' => 'Zajete: [NUM]', //[NUM] - number of taken channels
  2233. ),
  2234. 'empty' => array
  2235. (
  2236. 'enabled' => true,
  2237. 'channel_id' => 298,
  2238. 'channel_name' => '• Wolne kanały: [NUM]', //[NUM] - number of empty channels
  2239. ),
  2240. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 0),
  2241. ),
  2242. );
  2243.  
  2244. $config['instance']['5']['logs_system'] = array
  2245. (
  2246. /****************************************************************************
  2247.  
  2248. ENG [LOGS SYSTEM] # PL [SYSTEM LOGĂ“W]
  2249.  
  2250. ****************************************************************************/
  2251.  
  2252. 'logs' => array
  2253. (
  2254. // ENG [Turn on/off logs system (true or false)] # PL [Wlaczenie lub wylaczenie systemu logów]
  2255. 'enabled' => false,
  2256.  
  2257. // ENG [Days, after which, log files will be deleted] # PL [Czas w dniach, po których pliki logów zostana usunięte]
  2258. 'delete_interval' => '3',
  2259. ),
  2260. );
  2261.  
  2262. $config['instance']['5']['options'] = array
  2263. (
  2264. /****************************************************************************
  2265.  
  2266. ENG [INSTANCE OPTIONS] # PL [OPCJE INSTANCJI]
  2267.  
  2268. ****************************************************************************/
  2269.  
  2270. // ENG [Folder for functions containing all events and plugins] # PL [Folder w którym sa wszystkie eventy i pluginy]
  2271. 'folder' => 'fifth_instance',
  2272.  
  2273. // ENG [Bot interval in miliseconds] # PL [Interwal bota w milisekundach]
  2274. 'bot_interval' => 100, //1000 = one second
  2275.  
  2276. // ENG ['events_plugins' or 'commands' (default 'commands')] # PL ['events_plugins' lub 'commands' (domyślnie 'commands')]
  2277. 'function_type' => 'commands',
  2278.  
  2279. // ENG [Channel id for commands list] # PL [Id kanału do spisu komend]
  2280. 'commands_list' => 325,
  2281. );
  2282.  
  2283. $config['instance']['5']['commands'] = array
  2284. (
  2285. /*********************************************
  2286.  
  2287. ENG [COMMANDS] # PL [KOMENDY]
  2288.  
  2289.  
  2290. Explanation:
  2291.  
  2292. [sgid] - server group id
  2293. [message] - text message
  2294. [instance_id] - Xbot instance id
  2295.  
  2296. *********************************************/
  2297.  
  2298. // ENG [Usage: !help]
  2299. 'help' => array
  2300. (
  2301. 'enabled' => true,
  2302. 'privileged_groups' => array(9,25), // 0 - all groups
  2303. ),
  2304.  
  2305. // ENG [Usage: !pwall-[message]]
  2306. 'pwall' => array
  2307. (
  2308. 'enabled' => true,
  2309. 'privileged_groups' => array(9,25), // 0 - all groups
  2310. ),
  2311.  
  2312. // ENG [Usage: !pokeall-[message]]
  2313. 'pokeall' => array
  2314. (
  2315. 'enabled' => true,
  2316. 'privileged_groups' => array(9,25), // 0 - all groups
  2317. ),
  2318.  
  2319. // ENG [Usage: !pwgroup-[sgid]-[message]]
  2320. 'pwgroup' => array
  2321. (
  2322. 'enabled' => true,
  2323. 'privileged_groups' => array(9,25), // 0 - all groups
  2324. ),
  2325.  
  2326. // ENG [Usage: !pokegroup-[sgid]-[message]]
  2327. 'pokegroup' => array
  2328. (
  2329. 'enabled' => true,
  2330. 'privileged_groups' => array(9,25), // 0 - all groups
  2331. ),
  2332.  
  2333. // ENG [Usage: !meeting]
  2334. 'meeting' => array
  2335. (
  2336. 'enabled' => true,
  2337. 'privileged_groups' => array(9,10,11), // 0 - all groups
  2338. 'admins_server_groups' => array( 9,10,11,12,13,14,15),
  2339. 'meeting_channel_id' => 220,
  2340. ),
  2341.  
  2342. // ENG [Usage: !clients]
  2343. 'clients' => array //clients list
  2344. (
  2345. 'enabled' => true,
  2346. 'privileged_groups' => array(9,25), // 0 - all groups
  2347. ),
  2348.  
  2349. // ENG [Usage: !channels]
  2350. 'channels' => array //channels list
  2351. (
  2352. 'enabled' => true,
  2353. 'privileged_groups' => array(9,25), // 0 - all groups
  2354. ),
  2355.  
  2356. // ENG [Usage: !bot-[instance_id]] [Function is restarting Xbot's instance]
  2357. 'bot' => array //bot management (`starter.sh run` must be ON)
  2358. (
  2359. 'enabled' => true,
  2360. 'privileged_groups' => array(9,25), // 0 - all groups
  2361. ),
  2362.  
  2363. // ENG [Usage: !ch-[client_dbid]-[subchannels]]
  2364. 'ch' => array
  2365. (
  2366. 'enabled' => true,
  2367. 'privileged_groups' => array(9,25), // 0 - all groups
  2368. 'head_channel_admin_group' => 12, //main head channel admin group id
  2369. 'message_type' => 'poke', //message type (poke or message)
  2370. 'empty_channel_topic' => '#free', //topic in empty channels
  2371. 'channels_zone' => 185, //parent channel id
  2372. ),
  2373.  
  2374. // ENG [Usage: !mute-[client_dbid]-[time_in_seconds]]
  2375. 'mute' => array //give user specified group on specified time in seconds
  2376. (
  2377. 'enabled' => true,
  2378. 'privileged_groups' => array(9,25), // 0 - all groups
  2379. 'give_group' => 58,
  2380. ),
  2381.  
  2382. // ENG [Usage: !admin-[client_dbid]] || Database must be connect with
  2383. 'admin' => array //show information about specified admin
  2384. (
  2385. 'enabled' => true,
  2386. 'privileged_groups' => array(9,25), // 0 - all groups
  2387. 'admins_groups' => array( 9,25,61,67), //all admins groups
  2388. ),
  2389.  
  2390. // ENG [Usage: !tpclient-[client_nick]]
  2391. 'tpclient' => array //moving to specified client
  2392. (
  2393. 'enabled' => true,
  2394. 'privileged_groups' => array(9,25), // 0 - all groups
  2395. ),
  2396.  
  2397. // ENG [Usage: !tpchannel-[channel_name]]
  2398. 'tpchannel' => array //moving to specified channel
  2399. (
  2400. 'enabled' => true,
  2401. 'privileged_groups' => array(9,25), // 0 - all groups
  2402. ),
  2403.  
  2404. // ENG [Usage: !gsecurity-[type]-[client_dbid]-[group_id] type=add or type=del
  2405. 'gsecurity' => array //adding/del user to groups security function
  2406. (
  2407. 'enabled' => true,
  2408. 'privileged_groups' => array(9), // 0 - all groups
  2409. 'admins_groups' => array( 9,25,61,67), //all admins groups checking in groups_security event
  2410. ),
  2411.  
  2412. // ENG [Usage: !clientinfo-[client_dbid]] || Database must be connect with
  2413. 'clientinfo' => array //show information about specified client
  2414. (
  2415. 'enabled' => true,
  2416. 'privileged_groups' => array(9,25), // 0 - all groups
  2417. ),
  2418. );
  2419.  
  2420.  
  2421. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement