Advertisement
Guest User

Untitled

a guest
Jan 2nd, 2017
420
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 36.38 KB | None | 0 0
  1. /*
  2. Author: Chris(tian) "infiSTAR" Lorenzen
  3. Contact: infiSTAR23@gmail.com // www.infiSTAR.de
  4.  
  5. Copyright infiSTAR - 2011 - 2016. All rights reserved.
  6. Christian (Chris) L. (infiSTAR23@gmail.com) Developer of infiSTAR
  7.  
  8. Description:
  9. Arma AntiHack & AdminTools - infiSTAR.de
  10.  
  11. UPDATEEMAIL for http://update.infiSTAR.de is:
  12. 'towatai@gmx.de'
  13.  
  14. Last download was on:
  15. '29-Dec-2016 04-02-07';
  16. */
  17. class Cfg_infiSTAR_settings {
  18. /*
  19. "serverCommandPassword" is serverCommandPassword - in your servers config.cfg
  20. if your config.cfg does not have serverCommandPassword yet, simply add it in a new line:
  21. serverCommandPassword = "changeme";
  22.  
  23. This is VERY IMPORTANT as it is needed to KICK & BAN people.
  24.  
  25. It will try to get this password from "@ExileServer\addons\exile_server_config" first. If you did not set a password there (config.cpp),
  26. then it will take what you put here.
  27. */
  28. serverCommandPassword = "hunter1981";
  29.  
  30. /*
  31. "passwordAdmin" is passwordAdmin - in your servers config.cfg, needed for servercommands from client
  32.  
  33. This is used to be able to use the "login" function ingame. Will log you in as Arma "Admin".
  34. */
  35. passwordAdmin = "Hunter1981";
  36. /* serverCommandPassword and passwordAdmin should always be different passwords or it could cause problems! */
  37.  
  38.  
  39. /* "_OPEN_ADMIN_MENU_KEY": Key to open the menu (google DIK_KeyCodes (0x3B is F1)) */
  40. OPEN_ADMIN_MENU_KEY = 0x3B;
  41. HIDE_FROM_PLAYERS = "true"; /* So no normal can see it :)! */
  42. announce_adminstate_changed = "false"; /* whenever you type !admin as an admin it will announce that you logged out or in to all players on the server! */
  43. use_html_load_on_adminmenu = "false"; /* default and recommended is "true". infiSTAR updates and news are announced in the top right corner when you open the AdminMenu if this is "true"! */
  44.  
  45.  
  46.  
  47. /* "LogAdminActions": Sends actions done by each admin to the server to log it to the .txt file (if infiSTAR dlls are used) and .rpt file + sends it back to all other admins. */
  48. LogAdminActions = "false";
  49. enableIngameLogs = "false";
  50.  
  51. /*
  52. if you set "needAdminNameTag" to "true", this string needs to be a part of the admins name, or he can't use infiSTAR Admin Menu!
  53. example names: "[Admin] infiSTAR" or "infiSTAR [Admin]"
  54. note: this is case sensitive as well, meaning "infiSTAR [admin]" would not work as we set it in our example to "[Admin]"
  55. */
  56. needAdminNameTag = "false";
  57. AdminNameTag = "[Admin]";
  58.  
  59.  
  60. /*
  61. {chatCommand (text typed in chat),text shown to player}
  62. only triggers if the EXACT text is typed!
  63. */
  64. chatCommands[] =
  65. {
  66. {"!ts","bierbude.spdns.org"},
  67. {"!website","www.mycommunity.com"},
  68. {"!admin","please visit ts.mycommunity.com"}
  69. };
  70.  
  71. /*
  72. {chatCommand (text typed in chat) partitial,text shown to player}
  73. "Hello, why is there no loot on this map?" <- will trigger the example below!
  74. */
  75. chatCommandsP[] =
  76. {
  77. {"no loot","You cannot loot from non arma buildings in this map, you must move around - check the shipping yards for best loot"}
  78. };
  79.  
  80.  
  81.  
  82. /*
  83. Noficiations shown to all players on the server. Could be used to replace BEC messages.
  84. {first occurrence after x min, show again after x min, show message for x seconds, font size (recommended is 0.6), xpos, ypos,text color, font, text (<br/> is a linebreak)}
  85.  
  86. if you want the client to see a message only once when logging in, you put the first and second entry in the array to -1.
  87. Example:
  88. {-1, -1, 4, 0.6, 0, 0, "#ff0000", "OrbitronLight", "Welcome to our server"}
  89.  
  90. xpos and ypos need to be within your monitor. to high numbers and you simply won't see the text..
  91. ~ x-range is between -0.7 to +1
  92. ~ y-range is between -0.4 to +1
  93.  
  94. Arma Fonts:
  95. PuristaLight
  96. PuristaMedium
  97. PuristaSemiBold
  98. PuristaBold
  99. LucidaConsoleB
  100. EtelkaMonospacePro
  101. EtelkaMonospaceProBold
  102. EtelkaNarrowMediumPro
  103. TahomaB
  104.  
  105. Exile Fonts:
  106. OrbitronLight
  107. OrbitronMedium
  108. PressStart2P
  109. RobotoMedium
  110. RobotoRegular
  111. */
  112. ENABLE_NOTIFICATION_MESSAGES = "true";
  113. NOTIFY_MSG_ARRAY[] =
  114. {
  115. {-1, -1, 6, 0.6, 0, 0, "#ff0000", "OrbitronLight", "Welcome to Bremer Bierbude Server"},
  116. {-1, 30, 15, 0.8, 0, 0, "#50ff00", "OrbitronLight", "For Mod-Info check the Modchecker-App @ XM8"},
  117. {-1, 45, 5, 0.6, "safeZoneX", "0.5", "#048B5B", "OrbitronLight", "Protected and administrated by<br/>infiSTAR.de AdminTools, AntiHack and more!"},
  118. {-1, 15, 15, 0.8, 0, 0, "#CCFF00", "OrbitronLight", "Double Click on Radio = Deploy Bike"},
  119. {15, 20, 8, 0.6, 0, 0, "#E600E6", "OrbitronLight", "Teamspeak: bierbude.spdns.org"}
  120. };
  121.  
  122.  
  123. /*
  124. If admin has rights to "Create Billboard", he will have new options to create a Billboard ingame with one of the following textures
  125. {"name shown in adminmenu","path to texture"}
  126.  
  127. should be looking somewhat like this:
  128. {"example picture","\mpmissions\Exile.Altis.pbo\example.paa"}
  129.  
  130. the picture has to be available on EACH client AND the server.
  131. So you either need a client-side mod for it or you need to put it in the MPMission
  132. */
  133. pathToCustomBillBoardTextures[] =
  134. {
  135. {"Doggy","exile_assets\texture\flag\flag_mate_21dmd_co.paa"},
  136. {"Spawny","exile_assets\texture\flag\flag_mate_spawny_co.paa"},
  137. {"Dickbutt","exile_assets\texture\flag\flag_misc_dickbutt_co.paa"},
  138. {"Vish","exile_assets\texture\flag\flag_mate_vish_co.paa"}
  139. };
  140.  
  141.  
  142. /* "startAsNormal": if you add admin UIDs in here as well, they will start as almost "normal" player instead of with admin menu and such. */
  143. startAsNormal[] =
  144. {
  145. "UID1","UID2","UID3","..."
  146. };
  147.  
  148. /* "hiddenSuperAdmin": These admins are seen as normal players by normal admins, their actions are not logged either (to keep an eye out on your admins) */
  149. hiddenSuperAdmin[] =
  150. {
  151. "UID1","UID2","UID3","..."
  152. };
  153.  
  154. adminUIDandAccess[] =
  155. {
  156. {
  157. {"76561197990163806","UID2","UID3","..."}, /* Admins with UIDs in this Array have their Access defined in the array below. */
  158. {
  159. "Teleport On Map Click","Teleport - Target To Me","Teleport - Me To Target",
  160. "Teleport In Facing Direction (10m steps)","Drag and drop units on the map",
  161. "spectating","Delete Vehicle","FlyUp","ShowGear","Show Server Information",
  162. "HealSelf","HealRepairNear","AdminLog","Freeze","UnFreeze","Restrain","UnRestrain",
  163. "==== Loadouts ====","==== Base Deleter ====","Items spawn menu",
  164. "Remove Gear","Revive","Heal","Restore","Flip Vehicle","Move In My Vehicle","Move In Target Vehicle","Eject","Eject Crew",
  165. "Player ESP","Player ESP (safezone style)","AI ESP","Dead ESP","Loot ESP",
  166. "Vehicle Marker","Flag Marker (with radius)","DeadPlayer Marker",
  167. "God Mode","God Mode (no stats change)","Vehicle God Mode","Lower Terrain","Vehboost","UnlimAmmo","noRecoil","FastFire","Stealth / Invisible",
  168. "Disable Announces","Mass Message","Change Time","Spawn Support-Boxes","Create Billboard","Change ViewDistance",
  169. "Spawn Ammo","Login as Arma Admin","BIS FreeRoam Cam (works with ESP)","FreeRoam Cam (does not work with ESP)",
  170. "Request Steam Name","showinfo",
  171. "UnlockLockVehicle","Copy Worldspace(coords) to RPT & Chat",
  172.  
  173. "Spawn Vehicles","Spawn Persistent Vehicles",
  174.  
  175. "Kill","Explode","Force Disconnect",
  176. "Kick (Silent)","Kick (Announce)","Ban (Silent)","Ban (Announce)","TempBan (Silent)","TempBan (Announce)",
  177.  
  178. "AdminConsole",
  179. "DebugConsole",
  180. "Execute code on server (DebugConsole)","Execute code global (DebugConsole)","Execute code local (DebugConsole)",
  181. "Lock Server (DebugConsole)","UnLock Server (DebugConsole)","Ban (DebugConsole)","Kick (DebugConsole)",
  182.  
  183. "Change Money on Player","Change Money on Bank","Change Respect",
  184.  
  185. "MapIcons",
  186. "MapIcons: Buildings","MapIcons: Flags",
  187. "MapIcons: Player","MapIcons: DeadPlayer","MapIcons: Vehicles",
  188. "MapIcons: Vehicle Types","MapIcons: Vehicle lockstate","MapIcons: DeadVehicles",
  189. "MapIcons: AI",
  190. "Arsenal", // Adds Arsenal to the mousewheel actions if you press "," on the Numpad!
  191. "Unconscious","Remove Unconscious",
  192. "Light", // Zeus like Lighting from the Air strikes down at selected player / target / location - use ctrl+1 or the menu to use it!
  193.  
  194. "Spawn Zombie on Target Location!", // This only works when you are using ExilZ / RyanZombies
  195.  
  196. ""
  197. }
  198. },
  199. {
  200. {"UID1","UID2","UID3","..."}, /* Admins with UIDs in this Array have their Access defined in the array below. */
  201. {
  202. "Teleport On Map Click","Teleport - Target To Me","Teleport - Me To Target",
  203. "Teleport In Facing Direction (10m steps)","Drag and drop units on the map",
  204. "spectating","Delete Vehicle","FlyUp","ShowGear","Show Server Information",
  205. "HealSelf","HealRepairNear","AdminLog","Freeze","UnFreeze","Restrain","UnRestrain",
  206. "==== Loadouts ====","==== Base Deleter ====","Items spawn menu",
  207. "Remove Gear","Revive","Heal","Restore","Flip Vehicle","Move In My Vehicle","Move In Target Vehicle","Eject","Eject Crew",
  208. "Player ESP","Player ESP (safezone style)","AI ESP","Dead ESP","Loot ESP",
  209. "Vehicle Marker","Flag Marker (with radius)","DeadPlayer Marker",
  210. "God Mode","God Mode (no stats change)","Vehicle God Mode","Lower Terrain","Vehboost","UnlimAmmo","noRecoil","FastFire","Stealth / Invisible",
  211. "Disable Announces","Mass Message","Change Time","Spawn Support-Boxes","Create Billboard","Change ViewDistance",
  212. "Spawn Ammo","Login as Arma Admin","BIS FreeRoam Cam (works with ESP)","FreeRoam Cam (does not work with ESP)",
  213. "Request Steam Name","showinfo",
  214. "UnlockLockVehicle","Copy Worldspace(coords) to RPT & Chat",
  215.  
  216. "Spawn Vehicles","Spawn Persistent Vehicles",
  217.  
  218. "Kill","Explode","Force Disconnect",
  219. "Kick (Silent)","Kick (Announce)","Ban (Silent)","Ban (Announce)","TempBan (Silent)","TempBan (Announce)",
  220.  
  221. "AdminConsole",
  222. "DebugConsole",
  223. "Execute code on server (DebugConsole)","Execute code global (DebugConsole)","Execute code local (DebugConsole)",
  224. "Lock Server (DebugConsole)","UnLock Server (DebugConsole)","Ban (DebugConsole)","Kick (DebugConsole)",
  225.  
  226. "Change Money on Player","Change Money on Bank","Change Respect",
  227.  
  228. "MapIcons",
  229. "MapIcons: Buildings","MapIcons: Flags",
  230. "MapIcons: Player","MapIcons: DeadPlayer","MapIcons: Vehicles",
  231. "MapIcons: Vehicle Types","MapIcons: Vehicle lockstate","MapIcons: DeadVehicles",
  232. "MapIcons: AI",
  233. "Arsenal", // Adds Arsenal to the mousewheel actions if you press "," on the Numpad!
  234. "Unconscious","Remove Unconscious",
  235. "Light", // Zeus like Lighting from the Air strikes down at selected player / target / location - use ctrl+1 or the menu to use it!
  236.  
  237. "Spawn Zombie on Target Location!", // This only works when you are using ExilZ / RyanZombies
  238.  
  239. ""
  240. }
  241. },
  242. {
  243. {"UID1","UID2","UID3","..."}, /* Admins with UIDs in this Array have their Access defined in the array below. */
  244. {
  245. "Teleport On Map Click","Teleport - Target To Me","Teleport - Me To Target",
  246. "Teleport In Facing Direction (10m steps)","Drag and drop units on the map",
  247. "spectating","Delete Vehicle","FlyUp","ShowGear","Show Server Information",
  248. "HealSelf","HealRepairNear","AdminLog","Freeze","UnFreeze","Restrain","UnRestrain",
  249. "==== Loadouts ====","==== Base Deleter ====","Items spawn menu",
  250. "Remove Gear","Revive","Heal","Restore","Flip Vehicle","Move In My Vehicle","Move In Target Vehicle","Eject","Eject Crew",
  251. "Player ESP","Player ESP (safezone style)","AI ESP","Dead ESP","Loot ESP",
  252. "Vehicle Marker","Flag Marker (with radius)","DeadPlayer Marker",
  253. "God Mode","God Mode (no stats change)","Vehicle God Mode","Lower Terrain","Vehboost","UnlimAmmo","noRecoil","FastFire","Stealth / Invisible",
  254. "Disable Announces","Mass Message","Change Time","Spawn Support-Boxes","Create Billboard","Change ViewDistance",
  255. "Spawn Ammo","Login as Arma Admin","BIS FreeRoam Cam (works with ESP)","FreeRoam Cam (does not work with ESP)",
  256. "Request Steam Name","showinfo",
  257. "UnlockLockVehicle","Copy Worldspace(coords) to RPT & Chat",
  258.  
  259. "Spawn Vehicles","Spawn Persistent Vehicles",
  260.  
  261. "Kill","Explode","Force Disconnect",
  262. "Kick (Silent)","Kick (Announce)","Ban (Silent)","Ban (Announce)","TempBan (Silent)","TempBan (Announce)",
  263.  
  264. "AdminConsole",
  265. "DebugConsole",
  266. "Execute code on server (DebugConsole)","Execute code global (DebugConsole)","Execute code local (DebugConsole)",
  267. "Lock Server (DebugConsole)","UnLock Server (DebugConsole)","Ban (DebugConsole)","Kick (DebugConsole)",
  268.  
  269. "Change Money on Player","Change Money on Bank","Change Respect",
  270.  
  271. "MapIcons",
  272. "MapIcons: Buildings","MapIcons: Flags",
  273. "MapIcons: Player","MapIcons: DeadPlayer","MapIcons: Vehicles",
  274. "MapIcons: Vehicle Types","MapIcons: Vehicle lockstate","MapIcons: DeadVehicles",
  275. "MapIcons: AI",
  276. "Arsenal", // Adds Arsenal to the mousewheel actions if you press "," on the Numpad!
  277. "Unconscious","Remove Unconscious",
  278. "Light", // Zeus like Lighting from the Air strikes down at selected player / target / location - use ctrl+1 or the menu to use it!
  279.  
  280. "Spawn Zombie on Target Location!", // This only works when you are using ExilZ / RyanZombies
  281.  
  282. ""
  283. }
  284. }
  285. };
  286.  
  287.  
  288.  
  289. /****************************************************************************************************/
  290. /********************OPTIONS BELOW REQUIRE CHANGES TO YOUR EXILE SERVER DATABASE!********************/
  291. /****************************************************************************************************/
  292. /*
  293. Use Database WhiteList?
  294. if "USE_DATABASE_WHITELIST = "true";", UIDs that are not whitelisted in your exile server database, will be kicked on connect.
  295.  
  296. To use this, you need to use what I've added to "infiSTAR.de_Exile\SERVER_ARMA3_FOLDER\db_related_changes"
  297. */
  298. USE_DATABASE_WHITELIST = "false";
  299.  
  300. /*
  301. Use Log to database?
  302. if "USE_LOG_TO_DATABASE = "true";", infiSTAR will log to your exile server database! (yes I know this is great!)
  303.  
  304. To use this, you need to use what I've added to "infiSTAR.de_Exile\SERVER_ARMA3_FOLDER\db_related_changes"
  305. */
  306. USE_LOG_TO_DATABASE = "false";
  307. /****************************************************************************************************/
  308. /********************OPTIONS ABOVE REQUIRE CHANGES TO YOUR EXILE SERVER DATABASE!********************/
  309. /****************************************************************************************************/
  310. /*
  311. ARMA_LOG.dll SETTINGS
  312. LOG_PATH = ""; is the Arma3Server directory
  313. LOG_PATH = "infiSTAR_Logs/"; would be a folder called "infiSTAR_Logs" within your Arma3Server directory.
  314. You need to create the defined folder if it doesn't exist. If you don't create it - the DLL won't be able to write any Log files ! ! !
  315. */
  316. LOG_PATH = "infiSTAR_Logs/";
  317. WRITE_LOG_FILES = "true";
  318.  
  319.  
  320. /*
  321. What is this?
  322. infiSTAR has a global blacklist so hackers don't jump around servers and learn how to bypass infiSTAR.
  323. There was a situation where a group of people asked why their friend could not join the server.
  324. Well he was globally banned for hacking.. anyways - if you as a server admin want him to get in even tho he is globally banned,
  325. just ask for his UID and add the UID in the array below.
  326. */
  327. UID_SKIPBLACKLIST[] =
  328. {
  329. "UID1","UID2","UID3","..."
  330. };
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338.  
  339. /*
  340. Use UID WhiteList?
  341. if "USE_UID_WHITELIST = "true";", UIDs that are not in "UID_WHITELIST" array, will be kicked on connect.
  342. This even counts for Admins!
  343. */
  344. USE_UID_WHITELIST = "false";
  345. UID_WHITELIST[] =
  346. {
  347. "UID1","UID2","UID3","..."
  348. };
  349.  
  350. ExileDevFriendlyMode = "true"; /* adds Exile Devs to your AdminList - makes it easier for them to debug their mod live */
  351.  
  352.  
  353. /* What ESCAPE Menu shows */
  354. ESCMNUTOP = "AntiHack & AdminTools";
  355. ESCMNUBOT = "by infiSTAR.de";
  356. BRIEFING_MSG = "false"; /* use mission briefing message: if "BRIEFING_MSG = "false";" then the message will be replaced by infiSTAR */
  357. HTML_LOAD_URL = ""; /* HTML_LOAD_URL = ""; == disabled and if you set a url it will be shown in ESCAPE menu. HTML in Arma/this is limited. Try it :) example: "http://goo.gl/gb0o7b" */
  358. ENABLE_PRIVATE_CHAT_MENU = "true"; /* players can open it by typing !chat in chat or by custom controls -> "Use Action 3" */
  359. PRIVATE_CHAT_MENU_8GNETWORK = "false"; /* if this is "true" - players will only be able to use private chat if they enable 8GNetwork in their xm8 */
  360.  
  361.  
  362.  
  363.  
  364. /* show time left to next restart */
  365. USE_RESTART_TIMER = "true";
  366.  
  367. USE_RESTART_TIMES_ARRAY = "true";
  368. /* if USE_RESTART_TIMES_ARRAY = "true"; -> {hour,minute} .. put in the times when your server restarts (server real world time) */
  369. RESTART_TIMES[] =
  370. {
  371. {00,00},
  372. {04,00},
  373. {08,00},
  374. {12,00},
  375. {16,00},
  376. {20,00}
  377. };
  378.  
  379. /* if USE_RESTART_TIMES_ARRAY = "false"; -> restart time in minutes (default: 180min == 3 hours) */
  380. RESTART_TIME_IN_M = 180;
  381. TIME_FUNCTION_USED = "diag_tickTime"; // diag_tickTime (starts with arma3server.exe), time (starts with mpmission init)
  382. SHOW_RESTART_TIMER = "false"; // shows a restart timer on "escape menu" and "gear menu"
  383.  
  384. /* show restart announcement message x min before restart -> SERVER RESTART IN: X MINS | (calculated from RESTART_TIMES[])*/
  385. RESTART_ANNOUNCE_X_MIN[] = {1,3,5,10,15};
  386.  
  387. /* SERVER_END_FUNCTION -> #shutdown or #restartserver */
  388. SERVER_END_FUNCTION = "#shutdown";
  389. USE_RESTART_TIMER_SHUTDOWN = "true";
  390. RESTART_WARNING_SOUND = "Alarm"; // for example: Alarm or air_raid
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398. /* Allow Player to vote Day/Night by typing vote day / vote night in Chat*/
  399. DayNightVote = "false";
  400. MRV = 0.3; /* if "DayNightVote = "true";" - Minimum votes required. Percentage of players needed to pass the vote. */
  401. MVP = 0.51; /* if "DayNightVote = "true";" - Minimum vote percentage. A setting that dictates the minimum vote percentage that needs to be reached for the vote to pass. */
  402. VCT = 300; /* if "DayNightVote = "true";" - Time (in seconds) to wait until nex vote is possible. */
  403.  
  404.  
  405.  
  406.  
  407. /* Allow players to type !pee to start peeing */
  408. allowPee = "true";
  409.  
  410. /* Enable jumping instead of GetOver function (infiSTAR jumping is a custom jump animation :P) */
  411. enableJump = "true";
  412.  
  413.  
  414.  
  415. /*
  416. The following 4 options can be disabled by putting the value to -1. For example "TGV = -1;"
  417.  
  418. TGV: if set to 50 grass will be very low for better client FPS.. default is 25. ~35 is good performance and grass :)
  419.  
  420. old infiSTAR default values were:
  421. TGV = -1;
  422. VDV = 1150;
  423. VOV = 1500;
  424. SVD = -1;
  425. */
  426. /* Terrain Grid Value */ TGV = -1;
  427. /* ViewDistance Value */ VDV = -1;
  428. /* ObjectViewDistance */ VOV = -1;
  429. /* ShadowViewDistance */ SVD = -1;
  430.  
  431. /****************************************************************************************************/
  432. /***************************FIXES DUE TO ARMA BEING BROKEN - BELOW***********************************/
  433. /****************************************************************************************************/
  434. /*
  435. *readded new old uniform and vest check since some people asked for it.
  436. http://www.exilemod.com/topic/14179-miss-uniform_and_vest_check/
  437. the game is still broken and sometimes you can see people naked when they are not.
  438. I did not add the old check back in, I made a new one making use of new functions :)
  439. */
  440. fix_uniform_and_vest = "false";
  441.  
  442.  
  443. /*
  444. So far only checking for duped backpacks and not taking any actions besides logging. Need to test more before It will start to remove duped items.
  445. */
  446. experimental_dupe_check = "false";
  447.  
  448.  
  449. /*
  450. re-assigning "InventoryOpened" eventhandler to stop glitch open a locked safe
  451. */
  452. stopSafeGlitchAndCorpseDupe = "true";
  453.  
  454.  
  455. /*
  456. checks if player tries to dupe using the "disconnect trick" -> sends a ping to the server whenever a player opens the escape menu
  457. */
  458. disconnect_dupe_check = "false";
  459.  
  460.  
  461.  
  462.  
  463. /*
  464. if a player is near a flag where he has no buildrights, he can't vault/getover/lean close to buildingparts (to prevent glitching!)
  465. */
  466. block_glitch_actions = "true";
  467.  
  468.  
  469. /*
  470. checks if a players tries to glitch through a wall (if player is allowed to build in that territory, it will not be logged.)
  471. */
  472. wall_glitch_object = "true";
  473. wall_glitch_revert = "false"; // Teleport player back to last safe postion
  474. /*
  475. If a player model intersects with a wall, the player will be teleport back to where he was before he intersected with it..
  476.  
  477. extra punishments possible:
  478. 0 - no punishment
  479. 1 - knockout for 60 seconds
  480. 2 - kill
  481.  
  482. hardcore punishments
  483. 3 - handcuff
  484. 4 - kick
  485. 5 - ban (not recommended)
  486. */
  487. wall_glitch_punish = 0;
  488.  
  489.  
  490.  
  491. /*
  492. stops players from glitching into bases using "eject" or "getout" of a vehicle..
  493. */
  494. wall_glitch_vehicle = "true";
  495. /****************************************************************************************************/
  496. /***************************FIXES DUE TO ARMA BEING BROKEN - ABOVE***********************************/
  497. /****************************************************************************************************/
  498. /* ********************************************************************************* */
  499. /* many checks should be set to "true" instead of "false". */
  500. /* ********************************************************************************* */
  501. LVC = "true"; /* Local Vehicle Check - ALWAYS HAVE THIS "true"! */
  502. URC = "true"; /* Check unitRecoilCoefficient and reset default unitRecoilCoefficient */
  503. CAP = "false"; /* Check Actions Plr - "Actions: xxx/xxx possible scroll menu hack (or you added custom actions..)" */
  504. KCM = "false"; /* Just close ALL CommandingMenus */
  505. CMC = "false"; /* Check for CommandingMenus that are not in the allowedCommandingMenus array */
  506. allowedCommandingMenus[] = {"#user:asl_deploy_ropes_count_menu","#user:asl_show_select_ropes_menu_array"};
  507.  
  508.  
  509. task_force_radio = "false"; /* put this to "true" if you allow task force radio on your server! */
  510. checkFilePatchingEnabled = "true"; /* checks if filepatching is enabled on the client (if it is, the client could inject any script based hack easily) */
  511. check_Notifications = "true"; /* checks if BIS_fnc_showNotification was used, as it is used with many hacks - some custom addons however use them too. */
  512. check_doors_n_gates = "false"; /* Fixes Hatches (so when they are locked, they stay closed..) and closes every door that's locked + keeps closing it in case somebody tries to hack open it! */
  513. checkHiddenObjects = "false"; /* checks if there is hidden objects close to the player (hidden objects could be walked through..) */
  514. attach_to_check = "false"; /* logs and detaches attached vehicles that are close.. basically completely disallow attaching of vehicles! */
  515. slingload_check = "false"; /* forbid sling loading / rope attaching a vehicle with a crew */
  516.  
  517.  
  518. checkPopTabIncrease = "true";
  519. LogPopTabIncrease = 15000; /* Only if checkPopTabIncrease = "true"; logs if PopTabs increased by x within ~50 seconds */
  520. BanPopTabIncrease = 250000; /* Only if checkPopTabIncrease = "true"; bans a player if PopTabs increase by more than x within ~50 seconds */
  521.  
  522. checkRespectIncrease = "true";
  523. LogRespectIncrease = 5000; /* Only if checkRespectIncrease = "true"; logs if respect increased by x within ~50 seconds */
  524. BanRespectIncrease = 25000; /* Only if checkRespectIncrease = "true"; bans a player if respect increases by more than x within ~50 seconds */
  525.  
  526.  
  527.  
  528. /* Check for Map Menu & Map Sub-Menu */
  529. CMM = "true";
  530. maxMapMenuEntries = 6; /* "Map Menu has been changed x entries found - Texts: y" incase you want to add some briefing to your map menu. Only matters if you have CMM = "true"; */
  531.  
  532. /* if steam api.steampowered.com is working, this might be a nice feature */
  533. check_steam_ban = "true"; /* will announce and log steambanned players - using GetPlayerBans v1 */
  534. ban_for_steam_ban = "false"; /* if "check_steam_ban = "true";" then steambanned players will get banned from your Arma server! */
  535.  
  536.  
  537. /*
  538. if you have any addon/mod that modifies any of the named handlers below, you need to put that one to "true"
  539. most mods don't do that - so keep it "false".
  540. */
  541. useCustomFiredEventHandler = "false";
  542. useCustomHandeDamageHandler = "false";
  543.  
  544.  
  545. /*
  546. This set to "true" will create a log of players being hit on your server
  547. */
  548. MPH = "true";
  549.  
  550.  
  551. /*
  552. This will check from serverside if a playerobject received damage but did not take it
  553. */
  554. GodModeCheck = "true";
  555.  
  556.  
  557.  
  558. /*
  559. Anti Teleport
  560. UAT = "false"; To disable Anti Teleport
  561. Arrays below show position & radius where Teleporting is allowed.
  562. Mainly for the Traders (because when you purchase a vehicle, it teleports you into the vehicle)
  563.  
  564. You can white-list "Teleport Zones" by adding them like below:
  565. class allowTP {
  566. custom[] = {
  567. {{0,0,0},1},
  568. {{1,1,1},1},
  569. {{2,2,2},1}
  570. };
  571. };
  572. Trading zones are white-listed by default.
  573. */
  574. UAT = "false";
  575. class allowTP {
  576. custom[] = {};
  577. };
  578.  
  579.  
  580.  
  581. /* Check Drawing on the Map (global channel) */
  582. CHECK_DRAWING = "true"; /* logs & deletes global drawing */
  583.  
  584.  
  585. /* Check Global Markers */
  586. CGM = "false"; /* you may need to disable this check for A.I. Missions - or whitelist the used Markers in the aLocalM Array beneath */
  587.  
  588. /* Check Local Markers */
  589. CLM = "false"; /* "false" if you do not want LocalMarker to be checked. */
  590.  
  591. /* Use aLocalM array */
  592. UMW = "false"; /* use allowed marker array from below (for example AltisLife uses house_ and others in there) or A.I. Missions */
  593. /* aLocalM: if "CLM" && UMW - this array of names will be allowed */
  594. aLocalM[] = {"MissionMarker"};
  595.  
  596.  
  597. /*
  598. Not allowed Chat words on server.
  599. Example:
  600. badkickChat[] = {"blue"}; or badbanChat[] = {"blue"};
  601. will log and kick or ban if somebody writes "blue goat" or "blues" in the chat (not case sensitive).
  602. */
  603. badkickChat[] = {};
  604. badbanChat[] = {};
  605.  
  606.  
  607. /* Not allowed Names on server. Example: badNamesFull[] = {"THE"}; would kick all players that are named "THE", it would NOT kick players named "THE CAR" (not case sensitive) */
  608. badNamesFull[] = {"grim"};
  609.  
  610. /* Not allowed Names on server. Example: badNamesPartial[] = {"THE"}; would kick all players with names like "the car" as it includes "THE" (not case sensitive) */
  611. badNamesPartial[] = {"admin","thirtysix","adolf","le hippo"};
  612.  
  613.  
  614. /* Not allowed Group Names on server. Example: badGroupNames[] = {"THE"}; would rename all groups with names like "the car" as it includes "THE" (not case sensitive) */
  615. badGroupNames[] = {"admin"};
  616.  
  617.  
  618.  
  619. /*
  620. if somebody talks on one of the following channels, his channel will be switched to "direct" channel
  621. 0 = Global
  622. 1 = Side
  623. 2 = Command
  624. 3 = Group
  625. 4 = Vehicle
  626. 5 = Direct <-- this is where people get switched too if they talk in one of the blacklisted channels!
  627. 6-15 = Custom Radio (see radioChannelCreate)
  628. */
  629. disAllowVon[] = {1,2};
  630.  
  631.  
  632. /*
  633. This will check the buttoncode on most buttons.. if there is something that needs to be white-listed. Let me know!
  634. */
  635. use_suspicious_button_check = "false";
  636.  
  637. /* badIDDsToKick will be checked before badIDDsToClose, badIDDsToClose will be checked before allowedIDDs */
  638. /* badIDDsToKick: Forbidden Idds that will get you Kicked by the AH */
  639. badIDDsToKick[] =
  640. {
  641. -1338,-1337,-1341,17,19,30,32,45,56,59,62,64,69,71,110,125,
  642. 132,133,155,156,165,166,167,312,313,
  643. 1320,1321,1340,1341,1342,1343,1344,1345,1346,1347,
  644. 2727,2928,2929,3030,316000,9899,0110
  645. };
  646.  
  647. /* badIDDsToClose: Forbidden Idds that will get closed by the AH */
  648. badIDDsToClose[] =
  649. {
  650. -1,2,3,7,17,19,25,26,27,28,29,30,31,32,37,40,41,43,44,45,51,52,53,56,74,85,
  651. 106,126,127,132,146,147,150,151,152,153,154,155,159,162,164,262,
  652. 314,632,1320,2121,148,163,129,169,157,69,156,165,166,167,312,1321,2727,
  653. -1341,1341
  654. };
  655.  
  656. /* Use IDD White-List ? */ UDW = "true";
  657. /* allowedIDDs: Insert IDDs here to prevent them from being closed! */
  658. allowedIDDs[] =
  659. {
  660. /* default idds */
  661. -1,0,4,5,6,8,12,18,24,49,54,55,70,101,160,174,177,999,131,63,602,301,
  662.  
  663. /* exile idds */
  664. 24001,24002,20023,24005,24004,24010,24025,20021,20017,24012,24027,
  665. 20019,20016,24007,20024,20018,24008,24011,24015,24000,24006,24014,
  666. 20020,24026,
  667.  
  668. 24033,24030,24029,24028,24031,24034,
  669.  
  670. 4004,21000, // Bounty system and MarXet
  671. 8457, // http://www.exilemod.com/topic/9040-xm8-apps/
  672. 65431, // r3f menu fix
  673. 6666, // Paintshop
  674. 0711, // Advanced Banking
  675. 0720, // Virtual Garage
  676. 5501,5502,5503,5504,5505,5506,5507, // BRAma Cookbook
  677. -1339,-1340, // custom infiSTAR dialogs (some editor & a private chat menu)
  678. 72, // Keine Ahnung was
  679. /* main idd - never delete it */
  680. 46,
  681. // Virtual Garage
  682. 50000,50200,50400,
  683. //TaskForceRadio
  684. 1333,6000,30040,
  685. // Server Rules
  686. 999999,
  687. //ModCheck
  688. 99999
  689. };
  690.  
  691.  
  692.  
  693. /*
  694. important check to make sure certain variables are set and have the correct type!
  695. */
  696. variableTypeChecks[] =
  697. {
  698. {'ExileIsPlayingRussianRoulette',"false"},
  699. {'ExileClientIsHandcuffed',"false"},
  700. {'ExilePlayerInSafezone',"false"},
  701. {'ExileClientIsAutoRunning',"false"},
  702. {'ExileCurrentBreachingObject',objNull},
  703. {'ExileClientInteractionObject',objNull},
  704. {'HTML_LOAD_URL3',''},
  705. {'infiSTAR_lastJumptime',0},
  706. {'PLAYER_IN_VEHICLE',"false"}
  707. };
  708.  
  709.  
  710. /*
  711. it is highly recommended to have this check turned on (useBlacklistedVariableCheck = "true";)
  712. shows "BadVariable in xxxxxxxx " in the logs.
  713. */
  714. useBlacklistedVariableCheck = "true";
  715. blacklistedVariables[] =
  716. {
  717. "BIS_DEBUG_CAM",
  718. "arsenalOpened","BIS_fnc_arsenal_fullArsenal","babecore_escM_mousepos",
  719. "BIS_fnc_dbg_reminder_value","BIS_fnc_dbg_reminder","BIS_MENU_GroupCommunication","BIS_fnc_addCommMenuItem_menu",
  720. "rscspectator","rscspectator_hints","rscspectator_display","rscspectator_playericon",
  721. "rscspectator_view","rscspectator_map","rscspectator_vision","rscspectator_keys",
  722. "rscspectator_interface","bis_fnc_camera_target","andy_loopz","InitFileOne","finiE_S_P",
  723. "time","serverTime","myplayeruid","hhahaaaaar","CharlieSheenkeybinds","KickOFF","yolo","runonce","notakeybind","action1","Supa_Licenses","autokick","wallaisseikun","MainMenu",
  724. "GEFClose","GEFWhite","GEFRed","GEFGreen","GEFCyan","FirstHint","new_queued","fn_Exec","FND_fnc_select","fnx3","ANTIHACKKICK","tele","dmap","GOLDENS_GLOBAL_SHIT_YEAH","GLASS911_Run",
  725. "gearDialog_create","lystoKeypress","ThirtySix","LY_SwaggerLikeUs","Jkeyszz","n2","boxofmagic","MainScripts","DMC_fnc_4danews","INFISTARBYPASS","EXEC_TEXT","vehicle_dblclick","init_main",
  726. "ESP_Count","Nute_Dat_Bomber","s_cash100k","XposPlayer","ly_re_onetime","SKAR_checkA","MainScriptsV4","ViewDistance","check_load","already_load","meins","f1","Dummy","Plane_Jump",
  727. "c_player","MouseClickEH","distp","nec2","Menu_I_Run_Color_LP","GLASSv1nce_BindHandler","thecar","FastAnimes","GetinPassenger","iaimon","DMC_Re_onetime","func_execOnServer","fnc_serverKickNice",
  728. "Kick_Admins","DASMOKEON","hovering","r_kelly_be_flying","VinceLOL_ALTISLIFE","life_fnc_byassSkaroAH","AH_fnc_MP","jayRE","fn_newsbanner","Hack_News","TrollFuncs",
  729. "Fanatic_InfiPass","keybindings_xxx","AndysClosed","UserFuncs","AltisFuncs","RemExe","BB_nofatigue","bis_fnc_diagkey_var_code","First_PAGE","Get_in_D","i_t_s__m_e_o","smissles","Whippy_ESP",
  730. "TargetFuncs2","life_fnc_antiFreeeeze","LY_keyForward","TY_re_onetime","life_fnc_XaAxAA","mein1","GodDamnVehiclesXD","Mystic_FNC_ESP_distance","Esp_Id_setter","DummyMen","whipbut","UserFuncs",
  731. "KrohdoFreedom","selectedPlayer","Lmenu1","ggplayer","throx_menu_item","lvl1","Init_Menu_Slew","D_B_R_T_Y_Slew","V6_GEF","xasfjisisafudmmyx","kekse","UPDATED_RE_36","first","second",
  732. "SNI_PRZ_ZZZ_TargetPlayer","healit","O_fnc_ArmA","MLRN_EXEC","running_threads","catchemall123","killtarget","GMToggle","t1","FUCK_ME_keyp","CheatCurator"
  733. };
  734.  
  735. /*
  736. due to new hacking methods it is necessary to check variables on objects..
  737. since most server have 50.000+ objects this can cost a lot client fps but it should still be used.. for the greater good!
  738. */
  739. useObjectVariableCheck = "false";
  740.  
  741.  
  742.  
  743. UVC_adminspawn = "false"; /* use vehicle check(s) on vehicles spawned by infiSTAR.de admin? */
  744. /*
  745. Use vehicle white list? (everything not on white-list will be flagged as BadVehicle and deleted!)
  746. "EXILE" vehicles are white-listed by default!
  747. */
  748. VehicleWhiteList_check = "false";
  749. VehicleWhiteList[] =
  750. {
  751. "B_Parachute","B_Parachute_02_F","O_Parachute_02_F","Steerable_Parachute_F",
  752. "I_UAV_01_F","B_HMG_01_high_F","O_HMG_01_F","B_Heli_Transport_01_F","B_Heli_Transport_01_camo_F","O_MRAP_02_gmg_F","O_static_AT_F","Land_Camping_Light_F","B_Heli_Transport_03_unarmed_F"
  753. };
  754.  
  755. /*
  756. Use forbidden vehicle check? (everything in the ForbiddenVehicles will be flagged as BadVehicle and deleted (even when it is on the white-list)!)
  757. */
  758. ForbiddenVehicles_check = "true";
  759. ForbiddenVehicles[] =
  760. {
  761. "B_MBT_01_arty_F"
  762. };
  763.  
  764. /*
  765. If you use VehicleWhiteList_check or ForbiddenVehicles_check then the vehicle check automatically checks for locally created vehicles.
  766. Locally created vehicles are these that get created by a player and not the server. E.g. when a player assambles a UAV or a static weapon!
  767. Also some public posted scripts for example the "bike script" are creating the vehicle (the bike) locally (so the type of the vehicle needs to get added to the array below!).
  768. */
  769. LocalWhitelist[] =
  770. {
  771. "O_HMG_01_weapon_F","O_HMG_01_F","O_HMG_01_support_F","I_UavTerminal","I_UAV_01_backpack_F",
  772. "Exile_Bike_OldBike","B_HMG_01_F","B_HMG_01_high_F","O_HMG_01_high_F"
  773. };
  774.  
  775.  
  776.  
  777.  
  778. UFI = "false"; /* Use "ForbiddenItems"/Item Check(s) */
  779. UIW = "false"; /* if "UIW = "true";" then it checks if the items the individual player has are in "ItemWhiteList" */
  780. ItemWhiteList[] =
  781. {
  782. "AllowThisItem1","AllowThisItem2"
  783. };
  784. ForbiddenItems[] =
  785. {
  786. "autocannon_Base_F","autocannon_30mm","autocannon_35mm","autocannon_40mm_CTWS","autocannon_30mm_CTWS","Bomb_04_Plane_CAS_01_F",
  787. "Bomb_03_Plane_CAS_02_F","cannon_105mm","cannon_120mm","cannon_120mm_long","cannon_125mm","Cannon_30mm_Plane_CAS_02_F","gatling_20mm",
  788. "gatling_25mm","gatling_30mm","Gatling_30mm_Plane_CAS_01_F","GBU12BombLauncher","GMG_20mm","GMG_40mm","GMG_UGV_40mm","HMG_127_MBT",
  789. "HMG_127","HMG_127_APC","HMG_01","HMG_M2","HMG_NSVT","LMG_Minigun2","LMG_RCWS","LMG_M200","LMG_Minigun","LMG_Minigun_heli","LMG_coax",
  790. "Missile_AGM_02_Plane_CAS_01_F","Missile_AA_04_Plane_CAS_01_F","Missile_AA_03_Plane_CAS_02_F","Missile_AGM_01_Plane_CAS_02_F","missiles_DAGR",
  791. "missiles_DAR","missiles_ASRAAM","missiles_SCALPEL","missiles_titan","missiles_titan_static","missiles_Zephyr","Mk82BombLauncher","mortar_82mm",
  792. "mortar_155mm_AMOS","rockets_Skyfire","rockets_230mm_GAT","Rocket_04_HE_Plane_CAS_01_F","Rocket_04_AP_Plane_CAS_01_F","Rocket_03_HE_Plane_CAS_02_F",
  793. "Rocket_03_AP_Plane_CAS_02_F","Twin_Cannon_20mm"
  794. };
  795.  
  796.  
  797.  
  798. /*
  799. custom Box content:
  800. just an item like it is in the example with "ItemMap" will put the item once in the box.
  801. if an array is used like the {"ItemGPS",5} example, well I assume you could guess what it will do.
  802.  
  803. You can just define as many as you want.
  804. {
  805. "BOX NAME", // function name in the admin menu
  806. {
  807. "Item1","Item2", // one per just item in a string
  808. {"Item1",5},{"Item2",10} // second entry in each array defiens how many of items of the first entry are wanted.
  809. }
  810. }
  811.  
  812. The last closing bracket in an array can not have a "," afterwards. So make sure to have no syntax errors here.
  813. */
  814. allSupportBoxes[] =
  815. {
  816. {
  817. "Support-Box1",
  818. {
  819. "Exile_Item_Flag","Exile_Item_CookingPot",
  820. {"Exile_Item_Codelock",5},{"Exile_Item_DuctTape",10},{"Exile_Item_InstaDoc",10},
  821. {"Exile_Item_Energydrink",10},{"Exile_Item_ExtensionCord",5},{"Exile_Item_FloodLightKit",5},
  822. {"Exile_Item_FortificationUpgrade",5},{"Exile_Item_FuelCanisterFull",5},{"Exile_Item_GloriousKnakworst_Cooked",10},
  823. {"Exile_Item_LightBulb",5},{"Exile_Item_Matches",5},{"Exile_Item_MetalBoard",5},
  824. {"Exile_Item_MetalPole",5},{"Exile_Item_PlasticBottleFreshWater",10},{"Exile_Item_PortableGeneratorKit",5},
  825. {"Exile_Item_Rope",15},{"Exile_Item_SafeKit",15},{"Exile_Magazine_Battery",15}
  826. }
  827. },
  828. {
  829. "Support-Box2",
  830. {
  831. "Exile_Item_Flag",
  832. {"Exile_Item_WoodDoorKit",15},{"Exile_Item_WoodDoorwayKit",15},{"Exile_Item_WoodDrawBridgeKit",15},
  833. {"Exile_Item_WoodFloorKit",15},{"Exile_Item_WoodFloorPortKit",15},{"Exile_Item_WoodGateKit",15},
  834. {"Exile_Item_WoodLog",15},{"Exile_Item_WoodPlank",15},{"Exile_Item_WoodStairsKit",15},
  835. {"Exile_Item_WoodSupportKit",15},{"Exile_Item_WoodWallHalfKit",15},{"Exile_Item_WoodWallKit",15},
  836. {"Exile_Item_WoodWindowKit",15},{"Exile_Item_WorkBenchKit",15}
  837. }
  838. },
  839. {
  840. "Support-Box3",
  841. {
  842. {"Exile_Item_Flag",5},{"Exile_Item_WoodDoorKit",15},{"Exile_Item_WoodWallKit",15},
  843. {"Exile_Item_WoodWindowKit",15},{"Exile_Item_WoodFloorKit",15},{"Exile_Item_SafeKit",5}
  844. }
  845. },
  846. {
  847. "Support-Box4",
  848. {
  849. "ItemMap",{"ItemGPS",5},"ItemWatch"
  850. }
  851. }
  852. };
  853.  
  854.  
  855. /* ***DANGER***DANGER***DANGER***DANGER***DANGER***DANGER***DANGER***DANGER***DANGER***DANGER */
  856. /*
  857. THE KYLE MODE - by enabling it (setting it to "true"), you disable 99% of the AntiHack features.
  858. (DEFAULT VALUE: "false").
  859. This is only for those, that want to use the Admin Menu only!
  860. */
  861. KYLE_MODE = "false";
  862. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement