Guest User

Untitled

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