Advertisement
Guest User

Untitled

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