Advertisement
Guest User

Untitled

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