Advertisement
Guest User

Untitled

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