Advertisement
Guest User

Untitled

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