Advertisement
Guest User

Untitled

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