Guest User

Untitled

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