Advertisement
Guest User

Untitled

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