Advertisement
Guest User

Untitled

a guest
Apr 26th, 2018
590
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.21 KB | None | 0 0
  1. <?php
  2. /********************************
  3.  
  4. Author: Tymoteusz `Razor Meister` Bartnik
  5.  
  6. Contact: battnik90@gmail.com
  7.  
  8. Config File
  9.  
  10. ********************************/
  11.  
  12. $config['instance']['1']['connection'] = array
  13. (
  14. /*****************************************************
  15.  
  16. LOGIN TO TEAMSPEAK3 SERVER
  17.  
  18. ******************************************************/
  19.  
  20. //TeamSpeak3 Server IP Adress
  21.  
  22. 'IP' => '127.0.0.1',
  23.  
  24.  
  25. //TeamSpeak3 Server Query Port
  26.  
  27. 'query_port' => '10011',
  28.  
  29.  
  30. //TeamSpeak3 Server Port
  31.  
  32. 'port' => '9987',
  33.  
  34.  
  35. //TeamSpeak3 Server Query Login
  36.  
  37. 'login' => 'serveradmin',
  38.  
  39.  
  40. //TeamSpeak3 Server Query Password
  41.  
  42. 'password' => 'R5Yjun2M',
  43.  
  44.  
  45. //Bot Nickname
  46.  
  47. 'bot_name' => 'Alleria BOT',
  48.  
  49.  
  50. //Bot Default Channel
  51.  
  52. 'default_channel' => '2',
  53.  
  54.  
  55. //Bot interval (in seconds)
  56.  
  57. 'interval' => 1,
  58.  
  59. );
  60.  
  61.  
  62.  
  63. $config['instance']['1']['logs_system'] = array
  64. (
  65.  
  66.  
  67. 'logs' => array
  68. (
  69. 'enabled' => true, // true or false (logs system)
  70. ),
  71.  
  72.  
  73. );
  74.  
  75.  
  76.  
  77. $config['instance']['1']['functions'] = array
  78. (
  79.  
  80.  
  81. 'all_functions' => array('change_channel','warning_ban','multi_function','support_channels','get_vip_channel','admins_meeting','groups_security','twitch_yt','ddos_information','afk_group','ban_list','generate_banner','anty_vpn','visitors','client_on_channel'),
  82. // All functions 'change_channel','warning_ban','groups_security','multi_function','support_channels','get_vip_channel','admins_meeting','twitch_yt','ddos_information','afk_group','ban_list','generate_banner','anty_vpn','visitors','client_on_channel'
  83.  
  84.  
  85.  
  86.  
  87. /*************************************
  88.  
  89. PLUGINS
  90.  
  91. *************************************/
  92.  
  93.  
  94.  
  95. //Server groups security
  96. 'groups_security' => array
  97. (
  98. 'enabled' => false,
  99. 'info' => array
  100. (
  101. /*'0' => array // growing number for example 1, 2, 3...
  102. (
  103. 'groupsId' => 209, // groups Id
  104. 'ignoredId' => array(10,16,42), // privellege client DATABASE id's
  105. 'give_back' => true, // give the rang back for peoples in ignoredId
  106. 'type' => 'nothing', // `ban`, `kick`, `nothing` (just group delete and poke)
  107. 'message' => '', // message to the client if `ban` or `kick` it's reason, if `nothing` it's poke message
  108. 'time' => 5, // ban timeout
  109. ), */
  110.  
  111.  
  112. '0' => array
  113. (
  114. 'groupsId' => 209,
  115. 'ignoredId' => array(0),
  116. 'give_back' => false,
  117. 'type' => 'nothing',
  118. 'message' => 'Nie mozesz miec rangi Root!',
  119. 'time' => 5,
  120. ),
  121. '1' => array
  122. (
  123. 'groupsId' => 208,
  124. 'ignoredId' => array(0),
  125. 'give_back' => false,
  126. 'type' => 'nothing',
  127. 'message' => 'Nie mozesz miec rangi Head Admin!',
  128. 'time' => 5,
  129. ),
  130. '2' => array
  131. (
  132. 'groupsId' => 207,
  133. 'ignoredId' => array(270),
  134. 'give_back' => true,
  135. 'type' => 'nothing',
  136. 'message' => 'Nie mozesz miec rangi Super Admin!',
  137. 'time' => 5,
  138. ),
  139.  
  140. '3' => array
  141. (
  142. 'groupsId' => 206,
  143. 'ignoredId' => array(0),
  144. 'give_back' => false,
  145. 'type' => 'nothing',
  146. 'message' => 'Nie mozesz miec rangi Admin!',
  147. 'time' => 5,
  148. ),
  149.  
  150. '4' => array
  151. (
  152. 'groupsId' => 204,
  153. 'ignoredId' => array(877,25),
  154. 'give_back' => true,
  155. 'type' => 'nothing',
  156. 'message' => 'Nie mozesz miec rangi Junior Admin!',
  157. 'time' => 5,
  158. ),
  159. ),
  160. 'type' => 'every_client', //Do not change
  161. ),
  162.  
  163.  
  164. //Baning for having warning rangs
  165. 'warning_ban' => array
  166. (
  167. 'enabled' => false,
  168. 'ban_time' => '1200', // in seconds
  169. 'ban_message' => 'Za duzo ostrzezen!',
  170. 'with_rang' => 212, // the last warning id for example Warning #3 (if u have 3 warnings)
  171. 'warning_id' => array
  172. (
  173. 212, // the last warning id for example Warning #3 (if u have 3 warnings)
  174. 146,
  175. 144,
  176. ),
  177. ),
  178.  
  179.  
  180. //informing admins about coming meeting
  181. 'admins_meeting' => array
  182. (
  183. 'enabled' => false,
  184. 'info' => array
  185. (
  186. 'admins_server_groups' => array(2,209,208,207,206,204), //all admins server groups
  187. 'channel_id' => 1, //meeting channel id
  188. 'channel_name' => '╠═➤ Zebranie Adminów [x]', //[x] - meeting date (in format: dd.mm.yyyy hh:mm for example 18.02.2017 18:00) !important
  189. 'information_before' => true, //informing admins `time_to_meeting` seconds before meeting
  190. 'time_to_meeting' => 900, //in seconds
  191. 'move_admins' => true, //move admins to meeting channel on time
  192. ),
  193. 'type' => 'before_clients', //Do not change
  194. ),
  195.  
  196. //Give afk group
  197. 'afk_group' => array
  198. (
  199. 'enabled' => false,
  200. 'afk_group_id' => 237, //afk group id
  201. 'idle_time' => 1800, //in seconds
  202. 'set_group_if_away' => true, //set afk group if client has away status
  203. 'ignored_groups' => array(52,180),
  204. 'type' => 'every_client', //Do not change
  205. ),
  206.  
  207.  
  208. //Anty vpn
  209. 'anty_vpn' => array
  210. (
  211. 'enabled' => false,
  212. 'X-Key' => 'MjgyOnpTc3BrWHA1ZTlod2J6c1dtME5sdFFWQUJsOFIxRUlS', // You can change at website `https://iphub.info/pricing`
  213. 'ignored_groups' => array(1177,28,29, 1253),
  214. 'message_to_client' => "Używasz VPN'a!",
  215. 'type' => 'every_client', //Do not change
  216. ),
  217.  
  218.  
  219.  
  220.  
  221. /*************************************
  222.  
  223. EVENTS
  224.  
  225. *************************************/
  226.  
  227.  
  228.  
  229. //Change channel name
  230. 'change_channel' => array
  231. (
  232. 'enabled' => false,
  233. 'channel_id' => '20615',
  234. 'channel_name' => array
  235. (
  236. '[cspacer] » Informacja «',
  237. '[cspacer] » Nasze IP sie nie zmienia «',
  238. '[cspacer] » Witaj na 4names.pl «',
  239. ),
  240. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 30),
  241. 'data' => '1970-01-01 00:00:00', //Do not change
  242. ),
  243.  
  244.  
  245. //Multifunction
  246. 'multi_function' => array
  247. (
  248. 'enabled' => false,
  249. 'content' => array
  250. (
  251. 'total_ping' => array //server total ping on channel
  252. (
  253. 'enabled' => false,
  254. 'channel_id' => '21022',
  255. 'channel_name' => '» Średni ping wynosi: %ping', // %ping = ping
  256. 'integer' => true, // true or false (ping in integer)
  257. ),
  258. 'packet_loss' => array //server packet loss on channel
  259. (
  260. 'enabled' => false,
  261. 'channel_id' => '21023',
  262. 'channel_name' => '» Packetloss wynosi: %packetloss%', // %packetloss = packetloss
  263. 'integer' => true, // true or false (packetloss in integer)
  264. ),
  265. ),
  266. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 30),
  267. 'data' => '1970-01-01 00:00:00', //Do not change
  268. ),
  269.  
  270.  
  271. //support channels
  272. 'support_channels' => array
  273. (
  274. 'enabled' => false,
  275. 'content' => array
  276. (
  277. '0' => array // growing number for example 1, 2, 3...
  278. (
  279. 'channelId' => 22, //channel id
  280. 'time_open' => '14:00', //time open
  281. 'time_close' => '20:30', //time close
  282. 'channel_name_open' => '● Biuro Administracji [ON]', //channel name when open
  283. 'channel_name_close' => '● Biuro Administracji [OFF]', //channel name when close
  284. ),
  285. '1' => array
  286. (
  287. 'channelId' => 19950,
  288. 'time_open' => '12:00',
  289. 'time_close' => '20:00',
  290. 'channel_name_open' => 'Centrum pomocy [ON]',
  291. 'channel_name_close' => 'Centrum pomocy [OFF]',
  292. ),
  293.  
  294.  
  295.  
  296. ),
  297. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 10),
  298. 'data' => '1970-01-01 00:00:00', //Do not change
  299.  
  300. ),
  301.  
  302.  
  303. //get vip channel
  304. 'get_vip_channel' => array
  305. (
  306. 'enabled' => false,
  307. 'if_client_on_channel' => array(21341), //all checking channels id
  308. 'info' => array
  309. (
  310. /*'0' => array // growing number for example 1, 2, 3...
  311. (
  312. 'channel_id' => 209, //channel id when peoples must come in
  313. 'owner_nick' => 'hvip', //phrase which the owner must have [x] - number of vip channel
  314. 'nicks' => 'vip', //phrase which the people from vip must have [x] - number of vip channel
  315. 'how_many_peoples' => 2, //how many peoples must come in to get vip channel (with the owner)
  316. 'vip_channel_group' => 5, //main vip channel group id
  317. 'vip_server_group' => 25, //main vip server group id which gets only the owner
  318. 'sub_channels' => 5, //number of subchannels
  319. 'empty_channels_names' => 'Główny Vip #[x]', // [x] - number of vip channel
  320. 'topic' => '#empty', //topic in emtpy channels
  321. ), */
  322. '0' => array
  323. (
  324. 'channel_id' => 21341,
  325. 'owner_nick' => 'hvip',
  326. 'nicks' => 'vip',
  327. 'how_many_peoples' => 5,
  328. 'vip_channel_group' => 12,
  329. 'vip_server_group' => 25,
  330. 'sub_channels' => 5,
  331. 'empty_channels_names' => 'Główny Vip #[x]',
  332. 'topic' => '#empty',
  333. ),
  334.  
  335.  
  336. ),
  337. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 15),
  338. 'data' => '1970-01-01 00:00:00', //Do not change
  339. ),
  340.  
  341.  
  342. //information on channel about twitch channel
  343. 'twitch_yt' => array
  344. (
  345. 'enabled' => false,
  346. 'info' => array
  347. (
  348. 'twitch_api_key' => 'oaocbf2zpmv6807kp9jcxkwmcjvq5a', //if u want u can change https://www.twitch.tv/settings/connections
  349. 'twitch' => array
  350. (
  351.  
  352. 21354 => 'izakooo', //channel_id => twitch channel name,
  353. 21374 => 'tangyd',
  354.  
  355. ),
  356. 'youtube_api_key' => 'AIzaSyAEQeDyRwJxVHw_m8wCD-P7oT_ufy4waX0',
  357. 'youtube' => array
  358. (
  359. 22024 => 'UCWHjaa4T5PLmvyKW9EXLPLQ',
  360. ),
  361. ),
  362. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 30),
  363. 'data' => '1970-01-01 00:00:00', //Do not change
  364. ),
  365.  
  366. //Ddos information
  367. 'ddos_information' => array
  368. (
  369. 'enabled' => false,
  370. 'file' => 'include/cache/ddos_information.txt',
  371. 'packet_loss' => 10, //from what packet loss%(numeric) send global information
  372. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 10),
  373. 'data' => '1970-01-01 00:00:00', //Do not change
  374. ),
  375.  
  376. //Ban list
  377. 'ban_list' => array
  378. (
  379. 'enabled' => true,
  380. 'channel_id' => 3,
  381. 'how_many' => 20,
  382. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 1,'minutes' => 0,'seconds' => 0),
  383. 'data' => '1970-01-01 00:00:00', //Do not change
  384. ),
  385.  
  386. //Generate banner
  387. 'generate_banner' => array
  388. (
  389. /****************************************
  390.  
  391. font - 'arial', 'calibri', 'inconsolata', 'tahoma'
  392. color - in RGB array(x, x, x) you can check colors on https://www.w3schools.com/colors/colors_rgb.asp
  393. co-ordinates - array(size, rotation, x, y)
  394.  
  395. ****************************************/
  396.  
  397. 'enabled' => false,
  398. 'admins_online' => array
  399. (
  400. 'enabled' => true,
  401. 'admins_server_groups' => array(1177,979,1239,682,683,686,685,684), //admins server groups
  402. 'font' => 'arial',
  403. 'color' => array(255,255,255),
  404. 'co-ordinates' => array(30,0,170,115),
  405. ),
  406. 'clients_online' => array
  407. (
  408. 'enabled' => true,
  409. 'font' => 'arial',
  410. 'color' => array(255,255,255),
  411. 'co-ordinates' => array(30,0,830,115),
  412. ),
  413. 'record_online' => array
  414. (
  415. 'enabled' => true,
  416. 'font' => 'arial',
  417. 'color' => array(255,255,255),
  418. 'co-ordinates' => array(30,0,830,325),
  419. ),
  420. 'clock' => array
  421. (
  422. 'enabled' => true,
  423. 'font' => 'arial',
  424. 'color' => array(255,255,255),
  425. 'co-ordinates' => array(30,0,140,325),
  426. ),
  427.  
  428. 'image_file' => 'include/cache/bg.png', //Must be png!
  429. 'target_image_file' => '/var/www/image.png', //Must be png!
  430. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 30),
  431. 'data' => '1970-01-01 00:00:00', //Do not change
  432. ),
  433.  
  434.  
  435. //Visitors
  436. 'visitors' => array //(Pomysłodawca: zmechu[PL])
  437. (
  438. 'enabled' => true,
  439. 'channel_id' =>61,
  440. 'channel_name' => "[cspacer]٠•● .:WIZITY:[VISITS]:. ●•٠", //[VISITS] - number of visitors
  441. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 10),
  442. 'data' => '1970-01-01 00:00:00', //Do not change
  443. ),
  444.  
  445.  
  446. // ENG [Informing about client in channel name] # PL [Status użytkownika w nazwie kanalu]
  447. 'client_on_channel' => array
  448. (
  449. 'enabled' => false,
  450. 'server_groups_id' => array(1573,979,1239,682,683,686,685,684), //all checking client's server groups
  451. 'format' => '[RANG]*[NICK] - [STATUS]', //[RANG] - rang name, [NICK] - client nickname, [STATUS] - ONLNIE/OFFLINE
  452. 'info' => array
  453. (
  454. /***************************************************************
  455.  
  456. (you can copy this to use this function many times)
  457.  
  458. // client dbid => channel_id
  459. 10 => 20907,
  460.  
  461. ***************************************************************/
  462.  
  463. 35834 => 20906, // client uid => channel_id
  464. 35833 => 20907,
  465.  
  466.  
  467. ),
  468. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 10),
  469. 'data' => '1970-01-01 00:00:00', //Do not change
  470. ),
  471.  
  472.  
  473. );
  474.  
  475.  
  476.  
  477.  
  478.  
  479.  
  480. $config['instance']['2']['connection'] = array
  481. (
  482. /****************************************************
  483.  
  484. LOGIN TO TEAMSPEAK3 SERVER
  485.  
  486. *****************************************************/
  487.  
  488. //TeamSpeak3 Server IP Adress
  489.  
  490. 'IP' => '127.0.0.1',
  491.  
  492.  
  493. //TeamSpeak3 Server Query Port
  494.  
  495. 'query_port' => '10011',
  496.  
  497.  
  498. //TeamSpeak3 Server Port
  499.  
  500. 'port' => '9987',
  501.  
  502.  
  503. //TeamSpeak3 Server Query Login
  504.  
  505. 'login' => 'serveradmin',
  506.  
  507.  
  508. //TeamSpeak3 Server Query Password
  509.  
  510. 'password' => 'R5Yjun2M',
  511.  
  512.  
  513. //Bot Nickname
  514.  
  515. 'bot_name' => 'ALLERIA BOT #2',
  516.  
  517.  
  518. //Bot Default Channel
  519.  
  520. 'default_channel' => '2',
  521.  
  522.  
  523. //Bot interval (in seconds)
  524.  
  525. 'interval' => 1,
  526.  
  527.  
  528. );
  529.  
  530.  
  531.  
  532. $config['instance']['2']['logs_system'] = array
  533. (
  534.  
  535. 'logs' => array
  536. (
  537. 'enabled' => true, // true or false (logs system)
  538. ),
  539. );
  540.  
  541.  
  542. $config['instance']['2']['functions'] = array
  543. (
  544.  
  545.  
  546. 'all_functions' => array('online_users','record_online','admin_list','groups_assigner','connect_message','advertisement_message','clock_date','change_server_name','get_private_channel','online_from_server_group','poke_admins','get_server_group','admins_time_spent','channels_checker'), // All functions
  547. //'online_users','record_online','admin_list','groups_assigner','connect_message','advertisement_message','clock_date','change_server_name','get_private_channel','online_from_server_group','poke_admins','get_server_group','admins_time_spent','channels_checker'
  548.  
  549.  
  550.  
  551. /*************************************
  552.  
  553. PLUGINS
  554.  
  555. *************************************/
  556.  
  557.  
  558. //connect message
  559. 'connect_message' => array
  560. (
  561. 'enabled' => true,
  562. 'to_groups' => array(6), //connect message to specified server_groups / set -1 to all server groups / set gorups_id separated by comma
  563.  
  564. /************************************
  565.  
  566. [CLIENT_IP] = Client nickname
  567. [CLIENT_NICK] = Client nickname
  568. [CLIENT_COUNTRY] = Client country
  569. [CLIENT_DBID] = Client databse id
  570. [SERVER_NAME] = Server name
  571. [SERVER_VERSION] = Server version
  572. [RECORD_ONLINE] = Record online
  573.  
  574. *************************************/
  575.  
  576. 'file' => 'include/cache/connect_message.txt',
  577. 'type' => 'clients_different', //Do not change
  578. ),
  579.  
  580.  
  581. //register groups assigner
  582. 'groups_assigner' => array
  583. (
  584. 'enabled' => true,
  585. 'if_client_on_channel' => array(65,66), //all checking channels id
  586. 'register_groups' => array(12,24), //all register groups
  587. 'info' => array
  588. (
  589. 65 => 24, //channel_id => server group id,
  590. 66 => 12,
  591. ),
  592. ),
  593.  
  594.  
  595.  
  596. /*************************************
  597.  
  598. EVENTS
  599.  
  600. *************************************/
  601.  
  602.  
  603.  
  604. //online users
  605. 'online_users' => array
  606. (
  607. 'enabled' => true,
  608. 'channel_id' => 62,
  609. 'channel_name' => '[cspacer]٠•● .:ONLINE: [ONLINE]:. ●•٠', //[ONLINE] - online users
  610. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
  611. 'data' => '1970-01-01 00:00:00', //Do not change
  612. ),
  613.  
  614.  
  615. //record clients online
  616. 'record_online' => array
  617. (
  618. 'enabled' => true,
  619. 'channel_id' => 63,
  620. 'channel_name' => '[cspacer]٠•● .:REKORD ONLINE [RECORD]:. ●•٠', //[RECORD] - record online users
  621. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
  622. 'data' => '1970-01-01 00:00:00', //Do not change
  623. ),
  624.  
  625.  
  626. //admin list
  627. 'admin_list' => array
  628. (
  629. 'enabled' => true,
  630. 'channel_id' => 67, //channel id
  631. 'admins_server_groups' => array(6,11,13,14,15,16), //admins server groups
  632. 'top_description' => 'Lista Administracji ONLINE',
  633. 'channel_name' => '[cspacer]٠•● .:ADMINOW ONLINE [ONLINE]:. ●•٠', //[ONLINE] - Admins online
  634. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 1,'seconds' => 0),
  635. 'data' => '1970-01-01 00:00:00', //Do not change
  636. ),
  637.  
  638.  
  639. //advertisement_message
  640. 'advertisement_message' => array
  641. (
  642. 'enabled' => false,
  643. 'file' => 'include/cache/advertisement_message.txt',
  644. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 30,'seconds' => 0),
  645. 'data' => '1970-01-01 00:00:00', //Do not change
  646. ),
  647.  
  648.  
  649. //clok_date
  650. 'clock_date' => array
  651. (
  652. 'enabled' => false,
  653. 'content' => array
  654. (
  655. 'clock' => array //server packet loss on channel
  656. (
  657. 'enabled' => true,
  658. 'channel_id' => '21388',
  659. 'channel_name' => '» Godzina : %clock', // %clock = clock
  660. 'format' => 'G:i', // format G: hours, i: minutes, s: seconds
  661. ),
  662. 'date' => array //server packet loss on channel
  663. (
  664. 'enabled' => true,
  665. 'channel_id' => '21389',
  666. 'channel_name' => '» Data wynosi: %date', // %date = date
  667. 'format' => 'd-m-Y', // format m: month numeric, M: month in words, d: day numeric, D: day in world, Y: year
  668. ),
  669. ),
  670. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 60),
  671. 'data' => '1970-01-01 00:00:00', //Do not change
  672. ),
  673.  
  674.  
  675. //change server name
  676. 'change_server_name' => array
  677. (
  678. 'enabled' => true,
  679. 'server_name' => 'Alleria.pl [ONLINE]/[MAX_CLIENTS]', //[ONLINE] - online users, [MAX_CLIENTS] - max clients,
  680. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 10),
  681. 'data' => '1970-01-01 00:00:00', //Do not change
  682. ),
  683.  
  684.  
  685.  
  686.  
  687. //get ptivate channel
  688. 'get_private_channel' => array
  689. (
  690. 'enabled' => true,
  691. 'if_client_on_channel' => array(23), //checking channel id
  692. 'needed_server_group' => array(12,24), //you need one rang from array() to get private channel
  693. 'channels_zone' => 45,
  694. 'head_channel_admin' => 5, //head channel admin group
  695. 'sub_channels' => 2, //sub channels number
  696. 'empty_channel_topic' => '#free', //topic in free channels
  697. 'send_messages' => 'poke', // poke or message
  698. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
  699. 'data' => '1970-01-01 00:00:00', //Do not change
  700. ),
  701.  
  702.  
  703.  
  704. //clients online from server group
  705. 'online_from_server_group' => array
  706. (
  707. 'enabled' => false,
  708.  
  709. 'info' => array
  710. (
  711. 20117 => array //channelId => array
  712. (
  713. 'server_group' => 1108,
  714. 'channel_name' => 'DEAL [ONLINE]/[MAX]', //[ONLINE] - online users from server group, [MAX] - all users from server group
  715. ),
  716. 20118 => array //channelId => array
  717. (
  718. 'server_group' => 1573,
  719. 'channel_name' => 'CEO [ONLINE]/[MAX]', //[ONLINE] - online users from server group, [MAX] - all users from server group
  720. ),
  721. ),
  722. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 5),
  723. 'data' => '1970-01-01 00:00:00', //Do not change
  724. ),
  725.  
  726.  
  727. //poke admin
  728. 'poke_admins' => array
  729. (
  730. 'enabled' => true,
  731. 'if_client_on_channel' => array(22),
  732. 'ignored_groups' => array(6,11,13,14,15,16),
  733. 'info' => array
  734. (
  735. 22 => array(6,11,13,14,15,16),
  736. ),
  737.  
  738. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 15),
  739. 'data' => '1970-01-01 00:00:00', //Do not change
  740. ),
  741.  
  742.  
  743. //get server group
  744. 'get_server_group' => array
  745. (
  746. 'enabled' => true,
  747. 'if_client_on_channel' => array(20906,20907), //all channels' id
  748. 'info' => array
  749. (
  750. //21410 => 227, //channel id => server group id
  751. 66 => 12,
  752. 65 => 24,
  753. ),
  754. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 15),
  755. 'data' => '1970-01-01 00:00:00', //Do not change
  756. ),
  757.  
  758.  
  759. //admins time spent
  760. 'admins_time_spent' => array
  761. (
  762. 'enabled' => true,
  763. 'admins_groups' => array(6,11,13,14,15,16),
  764. 'top_description' => '[size=14][b]Statystyki administracji[/b][/size][size=13][b]\nSpędzony czas[/b][/size]',
  765. 'channelid' => 7,
  766. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 15),
  767. 'data' => '1970-01-01 00:00:00', //Do not change
  768. ),
  769. ),
  770.  
  771.  
  772. //channels' checker
  773. 'channels_checker' => array
  774. (
  775. 'enabled' => false,
  776. 'channels_zone' => 20908, //parent channel id
  777. 'empty_channel_topic' => '#free', //topic in empty channels
  778. 'free_channel_name' => 'Prywatny Kanał - Wolny',
  779. 'head_channel_admin_group' => 5, //main head channel admin group id
  780. 'time_interval_delete' => 7, //days after which the channel will be deleted
  781. 'new_date_if_user' => true, //set current date if someone is on channel
  782. 'time_interval' => array('weeks' => 0,'days' => 0,'hours' => 0,'minutes' => 0,'seconds' => 10),
  783. 'data' => '1970-01-01 00:00:00', //Do not change
  784. ),
  785.  
  786.  
  787. );
  788.  
  789.  
  790.  
  791. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement