Guest User

Untitled

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