Guest User

Untitled

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