Guest User

Untitled

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