Advertisement
Guest User

Untitled

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