Advertisement
Guest User

Untitled

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