Advertisement
Guest User

Untitled

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