Advertisement
Guest User

Untitled

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