Advertisement
Guest User

Untitled

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