Advertisement
Guest User

Untitled

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