Guest User

Untitled

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