Advertisement
Guest User

Untitled

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