Guest User

Untitled

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