Advertisement
Guest User

Untitled

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