Advertisement
Guest User

Untitled

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