Advertisement
Guest User

Untitled

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