Advertisement
Lord128YT

Untitled

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