Advertisement
jakobmol71

Untitled

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