Advertisement
Guest User

config xbot

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