Advertisement
Guest User

Untitled

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