Guest User

Untitled

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