Guest User

Untitled

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