Advertisement
Guest User

cfg

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