Advertisement
Guest User

Untitled

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