Advertisement
Guest User

Untitled

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