Advertisement
Guest User

Untitled

a guest
Aug 14th, 2016
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 35.92 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. 'f.sleurink@ziggo.nl'
  13.  
  14. Last download was on:
  15. '14-Aug-2016 15-15-14';
  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 = "ExoSCP26998894";
  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 = "Exo19790401";
  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 = false; /* 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 = true; /* 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. DLL SETTINGS
  47. "" is the Arma3Server directory
  48. "infiSTAR_Logs/" would be a folder called "infiSTAR_Logs" within your Arma3Server directory.
  49. 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 ! ! !
  50. */
  51. LOG_PATH = "infiSTAR_Logs/";
  52.  
  53.  
  54. /* "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. */
  55. LogAdminActions = true;
  56. enableIngameLogs = true;
  57.  
  58. /*
  59. 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!
  60. example names: "[Admin] infiSTAR" or "infiSTAR [Admin]"
  61. note: this is case sensitive as well, meaning "infiSTAR [admin]" would not work as we set it in our example to "[Admin]"
  62. */
  63. needAdminNameTag = true;
  64. AdminNameTag = "[EXO]";
  65.  
  66.  
  67. /*
  68. {chatCommand (text typed in chat),text shown to player}
  69. only triggers if the EXACT text is typed!
  70. */
  71. chatCommands[] =
  72. {
  73. {"!ts","TeamSpeak: ts-exo-servers.com"},
  74. {"!website","Website: www.exo-servers.com"},
  75. {"!admin","For support visit TeamSpeak"}
  76. };
  77.  
  78. /*
  79. {chatCommand (text typed in chat) partitial,text shown to player}
  80. "Hello, why is there no loot on this map?" <- will trigger the example below!
  81. */
  82. chatCommandsP[] =
  83. {
  84. {"no loot","You cannot loot from non arma buildings in this map, you must move around - check the shipping yards for best loot"}
  85. };
  86.  
  87. /*
  88. Noficiations shown to all players on the server. Could be used to replace BEC messages.
  89. {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, text (<br/> is a linebreak)}
  90.  
  91. 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.
  92. Example:
  93. {-1, -1, 4, 0.6, 0, 0, "#ff0000", "Welcome to our server"}
  94.  
  95. xpos and ypos need to be within your monitor. to high numbers and you simply won't see the text..
  96. ~ x-range is between -0.7 to +1
  97. ~ y-range is between -0.4 to +1
  98. */
  99. ENABLE_NOTIFICATION_MESSAGES = false;
  100. {
  101. /*{-1, -1, 11, 0.5, -0.65, 0.86, "#e48a36", "Welcome to an [EXO] Exile Server!<br/>Website: www.exo-servers.com<br/>TeamSpeak: ts.exo-servers.com"},
  102. {-1, -1, 7, 0.5, -0.65, 0.94, "#e48a36", "Please make sure you have read and understand the rules!"},
  103. {5, 55, 13, 0.5, -0.65, 0.82, "#e48a36", "The [EXO] Virtual Garage is accessible through your XM8!<br/>Use it to safely store your vehicles!<br/>Make sure you empty your vehicle's inventory<br/>before storing it into the Virtual Garage!"},
  104. {10, 60, 7, 0.5, -0.65, 0.94, "#e48a36", "Vehicles parked in safezones will be unlocked after a server restart."},
  105. {15, 65, 9, 0.5, -0.65, 0.90, "#e48a36", "This Server Restarts at: 03:00, 06:00, 09:00, 12:00,<br/>15:00, 18:00, 21:00 and 0:00 GMT+1!"},
  106. {20, 70, 9, 0.5, -0.65, 0.90, "#e48a36", "Territory Protection is set to 8 days.<br/>Make sure you pay 12 hours before due date and time!"},
  107. {25, 75, 7, 0.5, -0.65, 0.94, "#e48a36", "See the Black Market Trader for exclusive weapons, equipment and vehicles!"},
  108. {30, 80, 9, 0.5, -0.65, 0.90, "#e48a36", "If you need Admin assistance join us on teamspeak<br/>ts.exo-servers.com or check the forums www.exo-servers.com"},
  109. {35, 85, 13, 0.5, -0.65, 0.82, "#e48a36", "As a bambi you can spawn a bicyle.<br/>Inactive bicycles will be deleted after 5 minutes!<br/>Driving your bicycle into a green trade-zone<br/>will get your bike deleted by the server!"},
  110. {40, 90, 9, 0.5, -0.65, 0.90, "#e48a36", "Notice a change on the server?<br/>Check the Server Changelog www.exo-servers.com"},
  111. {45, 95, 9, 0.5, -0.65, 0.90, "#e48a36", "Before building a base!<br/>Read the Rules! www.exo-servers.com"},
  112. {50, 100, 9, 0.5, -0.65, 0.90, "#e48a36", "Purchase a VIP package and support our server!<br/>read more about it at www.exo-servers.com"}*/
  113. };
  114.  
  115. /*
  116. If admin has rights to "Create Billboard", he will have new options to create a Billboard ingame with one of the following textures
  117. {"name shown in adminmenu","path to texture"}
  118.  
  119. should be looking somewhat like this:
  120. {"example picture","\mpmissions\Exile.Altis.pbo\example.paa"}
  121.  
  122. the picture has to be available on EACH client AND the server.
  123. So you either need a client-side mod for it or you need to put it in the MPMission
  124. */
  125. pathToCustomBillBoardTextures[] =
  126. {
  127. {"Doggy","exile_assets\texture\flag\flag_mate_21dmd_co.paa"},
  128. {"Spawny","exile_assets\texture\flag\flag_mate_spawny_co.paa"},
  129. {"Dickbutt","exile_assets\texture\flag\flag_misc_dickbutt_co.paa"},
  130. {"Vish","exile_assets\texture\flag\flag_mate_vish_co.paa"}
  131. };
  132.  
  133.  
  134. /* "startAsNormal": if you add admin UIDs in here as well, they will start as almost "normal" player instead of with admin menu and such. */
  135. startAsNormal[] =
  136. {
  137. "UID1","UID2","UID3","..."
  138. };
  139.  
  140. /* "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) */
  141. hiddenSuperAdmin[] =
  142. {
  143. /*Crunch™*/"76561197961795065",
  144. /*Bow*/"76561198010767940",
  145. /*VJ-_-*/"76561198001675952"
  146. };
  147.  
  148. adminUIDandAccess[] =
  149. {
  150. {
  151. {
  152. /* (SENIOR ADMIN) Admins with UIDs in this Array have their Access defined in the array below. */
  153. /*Patsy*/"76561198026698139",
  154. /*Vestby*/"76561197972284130",
  155. /*Jan*/"76561198015814968"
  156. },
  157. {
  158. "Teleport On Map Click","Teleport - Target To Me","Teleport - Me To Target","Teleport In Facing Direction (10m steps)",
  159. "spectating","Delete Vehicle","FlyUp","ShowGear","Show Server Information",
  160. "HealSelf","HealRepairNear","AdminLog","Freeze","UnFreeze","Restrain","UnRestrain",
  161. "==== Loadouts ====","==== Base Deleter ====","==== WeatherLord ====","Items spawn menu",
  162. "Remove Gear","Heal","Restore","Flip Vehicle","Move In My Vehicle","Move In Target Vehicle","Eject","Eject Crew",
  163. "Player ESP","Player ESP (safezone style)","AI ESP","Dead ESP","Loot ESP",
  164. "Vehicle Marker","Flag Marker (with radius)","DeadPlayer Marker",
  165. "God Mode","God Mode (no stats change)","Vehicle God Mode","Lower Terrain","Vehboost","UnlimAmmo","noRecoil","FastFire","Stealth / Invisible",
  166. "Disable Announces","Mass Message","Change Time","Spawn Support-Boxes","Create Billboard","Change ViewDistance",
  167. "Spawn Ammo","Login as Arma Admin","BIS FreeRoam Cam (works with ESP)","FreeRoam Cam (does not work with ESP)",
  168. "Request Steam Name","showinfo",
  169. "UnlockLockVehicle","Copy Worldspace(coords) to RPT & Chat",
  170. "Spawn Vehicles","Spawn Persistent Vehicles",
  171. "Kill","Explode","Force Disconnect",
  172. "Kick (Silent)","Kick (Announce)","Ban (Silent)","Ban (Announce)","TempBan (Silent)","TempBan (Announce)",
  173. "AdminConsole",
  174. "DebugConsole",
  175. "Execute code on server (DebugConsole)","Execute code global (DebugConsole)","Execute code local (DebugConsole)",
  176. "Lock Server (DebugConsole)","UnLock Server (DebugConsole)","Ban (DebugConsole)","Kick (DebugConsole)",
  177. "Change Money on Player","Change Money on Bank","Change Respect",
  178. "MapIcons",
  179. "MapIcons: Buildings","MapIcons: Flags",
  180. "MapIcons: Player","MapIcons: DeadPlayer","MapIcons: Vehicles",
  181. "MapIcons: Vehicle Types","MapIcons: Vehicle lockstate","MapIcons: DeadVehicles",
  182. "MapIcons: AI",
  183. "Arsenal", // Adds Arsenal to the mousewheel actions if you press "," on the Numpad!
  184. "Unconscious","Remove Unconscious",
  185. }
  186. },
  187. {
  188. {
  189. /* (ADMIN) Admins with UIDs in this Array have their Access defined in the array below. */
  190. /*Storm*/"76561198101253426",
  191. /*Carnah*/"76561197986892873",
  192. /*Casivek"*/"76561198008933313",
  193. /*Delta*/"76561198023986340",
  194. /*Hedgehog*/"76561198037464647"
  195. },
  196. {
  197. "Teleport On Map Click","Teleport - Target To Me","Teleport - Me To Target","Teleport In Facing Direction (10m steps)",
  198. "spectating","Delete Vehicle","FlyUp","ShowGear","Show Server Information",
  199. "HealSelf","HealRepairNear","AdminLog","Freeze","UnFreeze","Restrain","UnRestrain",
  200. "==== Loadouts ====","==== Base Deleter ====","Items spawn menu",
  201. "Remove Gear","Heal","Restore","Flip Vehicle","Move In My Vehicle","Move In Target Vehicle","Eject","Eject Crew",
  202. "Player ESP","Player ESP (safezone style)","AI ESP","Dead ESP","Loot ESP",
  203. "Vehicle Marker","Flag Marker (with radius)","DeadPlayer Marker",
  204. "God Mode","God Mode (no stats change)","Vehicle God Mode","Stealth / Invisible",
  205. "Disable Announces","Mass Message","Spawn Support-Boxes",
  206. "Spawn Ammo","FreeRoam Cam (does not work with ESP)",
  207. "Request Steam Name","showinfo",
  208. "UnlockLockVehicle","Copy Worldspace(coords) to RPT & Chat",
  209. "Spawn Vehicles","Spawn Persistent Vehicles",
  210. "Force Disconnect",
  211. "Kick (Silent)","Kick (Announce)",
  212. "Change Money on Player","Change Money on Bank","Change Respect",
  213. "MapIcons",
  214. "MapIcons: Buildings","MapIcons: Flags",
  215. "MapIcons: Player","MapIcons: DeadPlayer","MapIcons: Vehicles",
  216. "MapIcons: Vehicle Types","MapIcons: Vehicle lockstate","MapIcons: DeadVehicles",
  217. "MapIcons: AI",
  218. "Arsenal", // Adds Arsenal to the mousewheel actions if you press "," on the Numpad!
  219. "Unconscious","Remove Unconscious",
  220. }
  221. },
  222. {
  223. {
  224. /* (MODERATORS) Admins with UIDs in this Array have their Access defined in the array below. */
  225. /*Raven*/"76561198002515629",
  226. /*Redeemer*/"76561198074672761",
  227. /*Marsh*/"76561198293280537",
  228. /*Flosstradamus*/"76561197983859635",
  229. /*Trooper*/"76561198036515057",
  230. /*Trooper1030*/"76561198021622967",
  231. /*CrazyBeaver*/"76561198027909527"
  232. },
  233. {
  234. "Teleport On Map Click","Teleport - Target To Me","Teleport - Me To Target","Teleport In Facing Direction (10m steps)",
  235. "spectating","Delete Vehicle","FlyUp","ShowGear","Show Server Information",
  236. "HealSelf","HealRepairNear","Restrain","UnRestrain",
  237. "==== Loadouts ====","Items spawn menu",
  238. "Remove Gear","Heal","Restore","Flip Vehicle","Move In My Vehicle","Move In Target Vehicle","Eject","Eject Crew",
  239. "Player ESP","Player ESP (safezone style)","AI ESP","Dead ESP","Loot ESP",
  240. "Vehicle Marker","Flag Marker (with radius)","DeadPlayer Marker",
  241. "God Mode","God Mode (no stats change)","Vehicle God Mode","Stealth / Invisible",
  242. "Disable Announces","Spawn Support-Boxes",
  243. "Spawn Ammo","FreeRoam Cam (does not work with ESP)",
  244. "Request Steam Name","showinfo",
  245. "UnlockLockVehicle","Copy Worldspace(coords) to RPT & Chat",
  246. "Spawn Vehicles","Spawn Persistent Vehicles",
  247. "Force Disconnect",
  248. "Kick (Silent)","Kick (Announce)",
  249. "Change Money on Player","Change Money on Bank","Change Respect",
  250. "MapIcons",
  251. "MapIcons: Buildings","MapIcons: Flags",
  252. "MapIcons: Player","MapIcons: DeadPlayer","MapIcons: Vehicles",
  253. "MapIcons: Vehicle Types","MapIcons: Vehicle lockstate","MapIcons: DeadVehicles",
  254. "MapIcons: AI",
  255. "Arsenal", // Adds Arsenal to the mousewheel actions if you press "," on the Numpad!
  256. "Unconscious","Remove Unconscious",
  257. }
  258. }
  259. };
  260.  
  261. /*
  262. Use Database WhiteList?
  263. if "USE_DATABASE_WHITELIST = true;", UIDs that are not whitelisted in your exile server database, will be kicked on connect.
  264. To use this, you need to use what I've added to "infiSTAR.de_Exile\SERVER_ARMA3_FOLDER\db_related_changes"
  265. */
  266. USE_DATABASE_WHITELIST = false;
  267.  
  268. /*
  269. Use UID WhiteList?
  270. if "USE_UID_WHITELIST = true;", UIDs that are not in "UID_WHITELIST" array, will be kicked on connect.
  271. This even counts for Admins!
  272. */
  273. USE_UID_WHITELIST = false;
  274. UID_WHITELIST[] =
  275. {
  276. "UID1","UID2","UID3","..."
  277. };
  278.  
  279. ExileDevFriendlyMode = false; /* adds Exile Devs to your AdminList - makes it easier for them to debug their mod live */
  280.  
  281.  
  282. /* What ESCAPE Menu shows */
  283. ESCMNUTOP = "AntiHack & AdminTools";
  284. ESCMNUBOT = "by infiSTAR.de";
  285. BRIEFING_MSG = false; /* use mission briefing message: if "BRIEFING_MSG = false;" then the message will be replaced by infiSTAR */
  286. 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" */
  287. ENABLE_PRIVATE_CHAT_MENU = true; /* players can open it by typing !chat in chat or by custom controls -> "Use Action 3" */
  288. PRIVATE_CHAT_MENU_8GNETWORK = true; /* if this is true - players will only be able to use private chat if they enable 8GNetwork in their xm8 */
  289.  
  290. /* shows RESTART IN X MINS */
  291. USE_RESTART_TIMER = false; /* show time left to next restart */
  292. RESTART_TIME_IN_M = 180; /* restart time in minutes (default: 180min == 3 hours) */
  293. SHOW_TIMER_IN_MIN[] = {1,2,3,5,10}; /* minutes before restart, when message is shown */
  294. USE_RESTART_TIMER_SHUTDOWN = false; /* #shutdown the server after RESTART_TIME_IN_M minutes */
  295. USE_THIS_TIME_FUNCTION = "time"; /* I recommend using "time" or "serverTime" just try what's best for you! */
  296.  
  297.  
  298. /* Allow Player to vote Day/Night by typing vote day / vote night in Chat*/
  299. DayNightVote = false;
  300. MRV = 0.3; /* if "DayNightVote = true;" - Minimum votes required. Percentage of players needed to pass the vote. */
  301. 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. */
  302. VCT = 300; /* if "DayNightVote = true;" - Time (in seconds) to wait until nex vote is possible. */
  303.  
  304.  
  305. /* The following 4 options can be disabled by putting the value to -1. For example "TGV = -1;" */
  306. /* Terrain Grid Value */ TGV = 40; /* 50, 25, 12.5 */ /* if set to 50 grass will be very low for better client FPS.. default is 25 ~35 is good performance and grass :) */
  307. /* ViewDistance Value */ VDV = 1800;
  308. /* ObjectViewDistance */ VOV = 1600;
  309. /* ShadowViewDistance */ SVD = 50;
  310.  
  311.  
  312.  
  313. /****************************************************************************************************/
  314. /***************************FIXES DUE TO ARMA BEING BROKEN - BELOW***********************************/
  315. /****************************************************************************************************/
  316. /*
  317. *readded new old uniform and vest check since some people asked for it.
  318. http://www.exilemod.com/topic/14179-miss-uniform_and_vest_check/
  319. the game is still broken and sometimes you can see people naked when they are not.
  320. I did not add the old check back in, I made a new one making use of new functions :)
  321. */
  322. fix_uniform_and_vest = true;
  323.  
  324.  
  325. /*
  326. 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.
  327. */
  328. experimental_dupe_check = true;
  329.  
  330.  
  331. /*
  332. re-assigning "InventoryOpened" eventhandler to stop glitch open a locked safe
  333. */
  334. stopSafeGlitchAndCorpseDupe = true;
  335. /****************************************************************************************************/
  336. /***************************FIXES DUE TO ARMA BEING BROKEN - ABOVE***********************************/
  337. /****************************************************************************************************/
  338.  
  339. /****************************************************************************************************/
  340. /***************************NOT FULLY TESTED - NEW CHECK - BELOW*************************************/
  341. /****************************************************************************************************/
  342. /*
  343. if you have any addon/mod that modifies any of the named handlers below, you need to put that one to true
  344. most mods don't do that - so keep it FALSE.
  345. */
  346. useCustomFiredEventHandler = false;
  347. useCustomHandeDamageHandler = false;
  348.  
  349.  
  350. /*
  351. This set to true will create a log of players being hit on your server
  352. */
  353. MPH = true;
  354.  
  355.  
  356. /*
  357. This will check from serverside if a playerobject received damage but did not take it
  358. */
  359. GodModeCheck = true;
  360. /****************************************************************************************************/
  361. /****************************NOT FULLY TESTED - NEW CHECK - ABOVE************************************/
  362. /****************************************************************************************************/
  363.  
  364. /* ********************************************************************************* */
  365. /* many checks should be set to true instead of false. */
  366. /* ********************************************************************************* */
  367. LVC = true; /* Local Vehicle Check - ALWAYS HAVE THIS TRUE! */
  368. URC = true; /* Check unitRecoilCoefficient and reset default unitRecoilCoefficient */
  369. CAP = false; /* Check Actions Plr - "Actions: xxx/xxx possible scroll menu hack (or you added custom actions..)" */
  370.  
  371.  
  372. KCM = true; /* Just close ALL CommandingMenus */
  373. CMC = false; /* Check for CommandingMenus that are not in the allowedCommandingMenus array */
  374. allowedCommandingMenus[] = {"#user:example","#user:example2"};
  375.  
  376.  
  377. check_Notifications = false; /* checks if BIS_fnc_showNotification was used, as it is used with many hacks - some custom addons however use them too. */
  378. disconnect_dupe_check = true; /* checks if player tries to dupe using the "disconnect trick" -> sends a ping to the server whenever a player opens the escape menu */
  379. block_glitch_actions = true; /* if a player is near a flag where he has no buildrights, he can't vault/getover/lean close to buildingparts (to prevent glitching!) */
  380. wall_glitch_object = true; /* checks if a players tries to glitch through a wall (if player is allowed to build in that territory, it will not be logged.) */
  381. wall_glitch_vehicle = true; /* stops players from glitching into bases using "eject" or "getout" of a vehicle.. */
  382. check_doors_n_gates = true; /* check if a door is locked but still being opened */
  383. checkHiddenObjects = true; /* checks if there is hidden objects close to the player (hidden objects could be walked through..) */
  384. attach_to_check = false; /* logs and detaches attached vehicles that are close.. basically completely disallow attaching of vehicles! */
  385. slingload_check = true; /* forbid sling loading / rope attaching a vehicle with a crew */
  386.  
  387. checkPopTabIncrease = true;
  388. LogPopTabIncrease = 15000; /* Only if checkPopTabIncrease = true; logs if poptabs increased by x within ~50 seconds */
  389.  
  390. checkRespectIncrease = true;
  391. LogRespectIncrease = 5000; /* Only if checkRespectIncrease = true; logs if respect increased by x within ~50 seconds */
  392.  
  393.  
  394. checkFilePatchingEnabled = true; /* checks if filepatching is enabled on the client (if it is, the client could inject any script based hack easily) */
  395.  
  396.  
  397. /* Check for Map Menu & Map Sub-Menu */
  398. CMM = true;
  399. 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; */
  400.  
  401. /* if steam api.steampowered.com is working, this might be a nice feature */
  402. check_steam_ban = false; /* will announce and log steambanned players - using GetPlayerBans v1 */
  403. ban_for_steam_ban = false; /* if "check_steam_ban = true;" then steambanned players will get banned from your Arma server! */
  404.  
  405.  
  406.  
  407. /*
  408. Anti Teleport
  409. UAT = false; To disable Anti Teleport
  410. Arrays below show position & radius where Teleporting is allowed.
  411. Mainly for the Traders (because when you purchase a vehicle, it teleports you into the vehicle)
  412.  
  413. You can white-list "Teleport Zones" by adding them like below:
  414. class allowTP {
  415. custom[] = {
  416. {{0,0,0},1},
  417. {{1,1,1},1},
  418. {{2,2,2},1}
  419. };
  420. };
  421. Trading zones are white-listed by default.
  422. */
  423. UAT = false;
  424. class allowTP {
  425. custom[] = {};
  426. };
  427.  
  428.  
  429.  
  430. /* Check Drawing on the Map (global channel) */
  431. CHECK_DRAWING = true; /* logs & deletes global drawing */
  432.  
  433.  
  434. /* Check Global Markers */
  435. CGM = false; /* you may need to disable this check for A.I. Missions - or whitelist the used Markers in the aLocalM Array beneath */
  436.  
  437. /* Check Local Markers */
  438. CLM = false; /* false if you do not want LocalMarker to be checked. */
  439.  
  440. /* Use aLocalM array */
  441. UMW = false; /* use allowed marker array from below (for example AltisLife uses house_ and others in there) or A.I. Missions */
  442. /* aLocalM: if "CLM" && UMW - this array of names will be allowed */
  443. aLocalM[] = {"MissionMarker"};
  444.  
  445.  
  446. /*
  447. Not allowed Chat words on server.
  448. Example:
  449. badkickChat[] = {"blue"}; or badbanChat[] = {"blue"};
  450. will log and kick or ban if somebody writes "blue goat" or "blues" in the chat (not case sensitive).
  451. */
  452. badkickChat[] = {};
  453. badbanChat[] = {};
  454.  
  455.  
  456. /* 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) */
  457. badNamesFull[] = {"admin","exo"};
  458.  
  459. /* Not allowed Names on server. Example: badNamesPartial[] = {"THE"}; would kick all players with names like "the car" as it includes "THE" (not case sensitive) */
  460. badNamesPartial[] = {"admin","exo"};
  461.  
  462.  
  463. /* 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) */
  464. badGroupNames[] = {"admin","exo"};
  465.  
  466.  
  467. /* badIDDsToKick will be checked before badIDDsToClose, badIDDsToClose will be checked before allowedIDDs */
  468. /* badIDDsToKick: Forbidden Idds that will get you Kicked by the AH */
  469. badIDDsToKick[] = {-1337,133,167,1340,1341,1342,1343,1344,1345,1346,1347};
  470.  
  471. /* badIDDsToClose: Forbidden Idds that will get closed by the AH */
  472. badIDDsToClose[] =
  473. {
  474. 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,
  475. 106,126,127,132,146,147,150,151,152,153,154,155,159,162,164,262,
  476. 314,632,1320,2121,148,163,129,169,157,69,156,165,166,167,312,1321,2727
  477. };
  478.  
  479. /* Use IDD White-List ? */ UDW = true;
  480. /* allowedIDDs: Insert IDDs here to prevent them from being closed! */
  481. allowedIDDs[] =
  482. {
  483. /* default idds */
  484. 0,4,5,6,8,12,18,24,49,54,55,70,101,160,174,177,999,131,63,602,301,
  485.  
  486. /* exile idds */
  487. 24001,24002,20023,24005,24004,24010,24025,20021,20017,24012,24027,
  488. 20019,20016,24007,20024,20018,24008,24011,24015,24000,24006,24014,
  489. 20020,24026,
  490.  
  491. 24033,24030,24029,24028,24031,24034,
  492.  
  493. 4004,21000, // Bounty system and MarXet
  494. 8457, // http://www.exilemod.com/topic/9040-xm8-apps/
  495. 65431, // r3f menu fix
  496. 6666, // Paintshop
  497. 0711, // Advanced Banking
  498. 0720, // Virtual Garage
  499. 5501,5502,5503,5504,5505,5506,5507, // BRAma Cookbook
  500. -1339,-1340, // custom infiSTAR dialogs (some editor & a private chat menu)
  501.  
  502. /* main idd - never delete it */
  503. 46,
  504.  
  505. /* ExAd idds - never delete it */
  506. 2187,
  507. 2186
  508. };
  509.  
  510.  
  511. /*
  512. it is highly recommended to have this check turned on (useBlacklistedVariableCheck = true;)
  513. shows "BadVariable in xxxxxxxx " in the logs.
  514. */
  515. useBlacklistedVariableCheck = true;
  516. blacklistedVariables[] =
  517. {
  518. "BIS_DEBUG_CAM",
  519. "arsenalOpened","BIS_fnc_arsenal_fullArsenal","babecore_escM_mousepos",
  520. "BIS_fnc_dbg_reminder_value","BIS_fnc_dbg_reminder","BIS_MENU_GroupCommunication","BIS_fnc_addCommMenuItem_menu",
  521. "rscspectator","rscspectator_hints","rscspectator_display","rscspectator_playericon",
  522. "rscspectator_view","rscspectator_map","rscspectator_vision","rscspectator_keys",
  523. "rscspectator_interface","bis_fnc_camera_target","andy_loopz","InitFileOne",
  524. "time","serverTime","myplayeruid","hhahaaaaar","CharlieSheenkeybinds","KickOFF","yolo","runonce","notakeybind","action1","Supa_Licenses","autokick","wallaisseikun","MainMenu",
  525. "GEFClose","GEFWhite","GEFRed","GEFGreen","GEFCyan","FirstHint","new_queued","fn_Exec","FND_fnc_select","fnx3","ANTIHACKKICK","tele","dmap","GOLDENS_GLOBAL_SHIT_YEAH","GLASS911_Run",
  526. "gearDialog_create","lystoKeypress","ThirtySix","LY_SwaggerLikeUs","Jkeyszz","n2","boxofmagic","MainScripts","DMC_fnc_4danews","INFISTARBYPASS","EXEC_TEXT","vehicle_dblclick","init_main",
  527. "ESP_Count","Nute_Dat_Bomber","s_cash100k","XposPlayer","ly_re_onetime","SKAR_checkA","MainScriptsV4","ViewDistance","check_load","already_load","meins","f1","Dummy","Plane_Jump",
  528. "c_player","MouseClickEH","distp","nec2","Menu_I_Run_Color_LP","GLASSv1nce_BindHandler","thecar","FastAnimes","GetinPassenger","iaimon","DMC_Re_onetime","func_execOnServer","fnc_serverKickNice",
  529. "Kick_Admins","DASMOKEON","hovering","r_kelly_be_flying","VinceLOL_ALTISLIFE","life_fnc_byassSkaroAH","AH_fnc_MP","jayRE","fn_newsbanner","Hack_News","TrollFuncs",
  530. "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",
  531. "TargetFuncs2","life_fnc_antiFreeeeze","LY_keyForward","TY_re_onetime","life_fnc_XaAxAA","mein1","GodDamnVehiclesXD","Mystic_FNC_ESP_distance","Esp_Id_setter","DummyMen","whipbut","UserFuncs",
  532. "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",
  533. "SNI_PRZ_ZZZ_TargetPlayer","healit","O_fnc_ArmA","MLRN_EXEC","running_threads","catchemall123","killtarget","GMToggle","t1","FUCK_ME_keyp","CheatCurator"
  534. };
  535.  
  536.  
  537.  
  538. UVC_adminspawn = false; /* use vehicle check(s) on vehicles spawned by infiSTAR.de admin? */
  539. /*
  540. Use vehicle white list? (everything not on white-list will be flagged as BadVehicle and deleted!)
  541. "EXILE" vehicles are white-listed by default!
  542. */
  543. VehicleWhiteList_check = false;
  544. VehicleWhiteList[] =
  545. {
  546. "B_Parachute","B_Parachute_02_F","O_Parachute_02_F","Steerable_Parachute_F",
  547. "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",
  548. "CUP_B_HMMWV_Transport_USA","CUP_B_HMMWV_Unarmed_USMC","CUP_C_LR_Transport_CTK","CUP_B_LR_Transport_CZ_W","CUP_B_LR_Transport_GB_W","CUP_B_UAZ_Unarmed_CDF",
  549. "CUP_O_Ural_RU","CUP_O_Ural_Open_RU","CUP_O_Ural_Refuel_RU","CUP_O_Ural_Repair_RU","CUP_B_CH53E_USMC","CUP_I_SUV_Armored_ION","CUP_B_BRDM2_HQ_CDF","CUP_O_BTR90_HQ_RU",
  550. "CUP_B_HMMWV_M2_USMC","CUP_B_HMMWV_M1114_USMC","CUP_B_HMMWV_M2_GPK_USA","CUP_B_HMMWV_SOV_USA","CUP_B_Jackal2_GMG_GB_W","CUP_B_LR_MG_GB_W","CUP_B_LR_Special_CZ_W",
  551. "CUP_B_UAZ_AGS30_CDF","CUP_B_UAZ_MG_CDF","CUP_B_UH60M_Unarmed_FFV_US","CUP_B_C130J_USMC","CUP_B_MV22_USMC","CUP_B_UH1Y_UNA_USMC","CUP_O_Mi8_CHDKZ",
  552. "CUP_O_Mi8_medevac_CHDKZ","B_Truck_01_medical_F","O_HMG_01_high_F","CUP_I_UH1H_TK_GUE","CUP_B_UH60M_US","CUP_B_UH60L_FFV_US","B_Heli_Transport_03_F",
  553. "CUP_C_Golf4_yellow_Civ","CUP_C_Golf4_camo_Civ","CUP_C_Golf4_camodark_Civ","B_Heli_Light_01_armed_F","CUP_B_Jackal2_L2A1_GB_W","CUP_O_GAZ_Vodnik_PK_RU",
  554. "CUP_O_GAZ_Vodnik_AGS_RU","CUP_B_RG31_M2_OD_USMC","CUP_I_BTR40_MG_TKG","CUP_B_BAF_Coyote_L2A1_W","CUP_B_BAF_Coyote_GMG_W","CUP_B_Mastiff_HMG_GB_W",
  555. "CUP_B_Mastiff_GMG_GB_W","CUP_I_BTR40_TKG","CUP_B_RG31_Mk19_OD_USMC","CUP_B_Ridgback_HMG_GB_W","CUP_B_Ridgback_GMG_GB_W","CUP_B_LR_Special_M2_GB_W",
  556. "CUP_B_LR_Special_GMG_GB_W","CUP_B_BAF_Coyote_GMG_D","CUP_B_BAF_Coyote_L2A1_D","CUP_B_Jackal2_GMG_GB_D","CUP_B_Jackal2_L2A1_GB_D",
  557. "CUP_B_HMMWV_DSHKM_GPK_ACR","CUP_B_LR_Special_GMG_GB_D","CUP_B_LR_Special_M2_GB_D","CUP_B_RG31_M2_USMC","CUP_B_RG31_Mk19_USMC","CUP_B_RG31E_M2_USMC",
  558. "Exile_Chopper_Huey_Armed_Desert","CUP_O_GAZ_Vodnik_MedEvac_RU","CUP_B_HMMWV_M2_USA","CUP_B_HMMWV_MK19_USA","CUP_B_HMMWV_Unarmed_USA","CUP_B_HMMWV_Ambulance_USA",
  559. "CUP_B_HMMWV_AGS_GPK_ACR","C_Boat_Transport_02_F","O_T_Boat_Armed_01_hmg_F","B_T_Boat_Armed_01_minigun_F","I_C_Heli_Light_01_civil_F","B_CTRG_Heli_Transport_01_sand_F",
  560. "B_CTRG_Heli_Transport_01_tropic_F","O_LSV_02_armed_F","B_LSV_01_armed_F","B_T_LSV_01_armed_F"
  561. };
  562.  
  563. /*
  564. Use forbidden vehicle check? (everything in the ForbiddenVehicles will be flagged as BadVehicle and deleted (even when it is on the white-list)!)
  565. */
  566. ForbiddenVehicles_check = true;
  567. ForbiddenVehicles[] =
  568. {
  569. "B_Heli_Light_01_armed_F","B_Heli_Attack_01_F","B_Plane_CAS_01_F","B_APC_Tracked_01_rcws_F","B_APC_Tracked_01_CRV_F","B_APC_Tracked_01_AA_F","B_MBT_01_cannon_F",
  570. "B_MBT_01_arty_F","B_MBT_01_mlrs_F","B_Boat_Armed_01_minigun_F","B_UAV_02_F","B_UAV_02_CAS_F","B_MRAP_01_gmg_F","B_MRAP_01_hmg_F","B_G_Offroad_01_armed_F",
  571. "B_APC_Wheeled_01_cannon_F","B_MBT_01_TUSK_F","O_Heli_Light_02_F","O_Heli_Attack_02_F","O_Heli_Attack_02_black_F","O_Plane_CAS_02_F","O_APC_Tracked_02_cannon_F",
  572. "O_APC_Tracked_02_AA_F","O_MBT_02_cannon_F","O_MBT_02_arty_F","O_Boat_Armed_01_hmg_F","O_UAV_02_CAS_F","O_UAV_02_F","O_MRAP_02_hmg_F","O_G_Offroad_01_armed_F",
  573. "O_APC_Wheeled_02_rcws_F","O_UGV_01_rcws_F","B_UGV_01_rcws_F","I_UGV_01_rcws_F","I_APC_Wheeled_03_cannon_F","I_MRAP_03_gmg_F","I_MRAP_03_hmg_F","I_G_Offroad_01_armed_F",
  574. "I_UAV_02_CAS_F","I_UAV_02_F","I_Boat_Armed_01_minigun_F","I_MBT_03_cannon_F","I_APC_tracked_03_cannon_F","I_Plane_Fighter_03_AA_F","I_Plane_Fighter_03_CAS_F","I_Heli_light_03_F",
  575. "B_HMG_01_F","I_HMG_01_F","O_HMG_01_high_F","I_HMG_01_high_F","B_HMG_01_A_F","O_HMG_01_A_F","I_HMG_01_A_F","B_Mortar_01_F","O_Mortar_01_F","I_Mortar_01_F","I_G_Mortar_01_F",
  576. "B_G_Mortar_01_F","O_G_Mortar_01_F","B_GMG_01_F","O_GMG_01_F","I_GMG_01_F","O_GMG_01_high_F","I_GMG_01_high_F","B_GMG_01_A_F","O_GMG_01_A_F","I_GMG_01_A_F",
  577. "B_static_AA_F","O_static_AA_F","I_static_AA_F","B_static_AT_F","I_static_AT_F","B_GMG_01_high_F"
  578. };
  579.  
  580. /*
  581. If you use VehicleWhiteList_check or ForbiddenVehicles_check then the vehicle check automatically checks for locally created vehicles.
  582. 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!
  583. 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!).
  584. */
  585. LocalWhitelist[] =
  586. {
  587. "O_HMG_01_weapon_F","O_HMG_01_F","O_HMG_01_support_F","I_UavTerminal","I_UAV_01_backpack_F",
  588. "Exile_Bike_OldBike"
  589. };
  590.  
  591.  
  592.  
  593.  
  594. UFI = false; /* Use "ForbiddenItems"/Item Check(s) */
  595. UIW = false; /* if "UIW = true;" then it checks if the items the individual player has are in "ItemWhiteList" */
  596. ItemWhiteList[] =
  597. {
  598. "AllowThisItem1","AllowThisItem2"
  599. };
  600. ForbiddenItems[] =
  601. {
  602. "autocannon_Base_F","autocannon_30mm","autocannon_35mm","autocannon_40mm_CTWS","autocannon_30mm_CTWS","Bomb_04_Plane_CAS_01_F",
  603. "Bomb_03_Plane_CAS_02_F","cannon_105mm","cannon_120mm","cannon_120mm_long","cannon_125mm","Cannon_30mm_Plane_CAS_02_F","gatling_20mm",
  604. "gatling_25mm","gatling_30mm","Gatling_30mm_Plane_CAS_01_F","GBU12BombLauncher","GMG_20mm","GMG_40mm","GMG_UGV_40mm","HMG_127_MBT",
  605. "HMG_127","HMG_127_APC","HMG_01","HMG_M2","HMG_NSVT","LMG_Minigun2","LMG_RCWS","LMG_M200","LMG_Minigun","LMG_Minigun_heli","LMG_coax",
  606. "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",
  607. "missiles_DAR","missiles_ASRAAM","missiles_SCALPEL","missiles_titan","missiles_titan_static","missiles_Zephyr","Mk82BombLauncher","mortar_82mm",
  608. "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",
  609. "Rocket_03_AP_Plane_CAS_02_F","Twin_Cannon_20mm"
  610. };
  611.  
  612.  
  613.  
  614. /*
  615. custom Box content:
  616. just an item like it is in the example with "ItemMap" will put the item once in the box.
  617. if an array is used like the {"ItemGPS",5} example, well I assume you could guess what it will do.
  618.  
  619. You can just define as many as you want.
  620. {
  621. "BOX NAME", // function name in the admin menu
  622. {
  623. "Item1","Item2", // one per just item in a string
  624. {"Item1",5},{"Item2",10} // second entry in each array defiens how many of items of the first entry are wanted.
  625. }
  626. }
  627.  
  628. The last closing bracket in an array can not have a "," afterwards. So make sure to have no syntax errors here.
  629. */
  630. allSupportBoxes[] =
  631. {
  632. {
  633. "Small Wood BuildBox",
  634. {
  635. "Exile_Item_Flag",
  636. {"Exile_item_WoodWallKit",15},{"Exile_item_WoodFloorKit",15},{"Exile_item_WoodDoorKit",2},
  637. {"Exile_item_WoodGateKit",2},{"Exile_item_WoodFloorPortKit",2},{"Exile_item_WoodStairsKit",2},
  638. {"Exile_item_WoodWindowKit",4},{"Exile_Item_WoodSupportKit",4},{"Exile_item_Storagecratekit",2},
  639. {"Exile_item_SafeKit",1},{"Exile_item_Codelock",2},{"Exile_Melee_Axe",1},{"Exile_item_WorkBenchKit",1}
  640. }
  641. },
  642. {
  643.  
  644. "Large Wood BuildBox",
  645. {
  646. "Exile_Item_Flag",
  647. {"Exile_item_WoodWallKit",30},{"Exile_item_WoodFloorKit",30},{"Exile_item_WoodDoorKit",4},
  648. {"Exile_item_WoodGateKit",4},{"Exile_item_WoodFloorPortKit",4},{"Exile_item_WoodStairsKit",4},
  649. {"Exile_item_WoodWindowKit",8},{"Exile_Item_WoodSupportKit",8},{"Exile_item_Storagecratekit",4},
  650. {"Exile_item_SafeKit",2},{"Exile_item_Codelock",4},{"Exile_Melee_Axe",1},{"Exile_item_WorkBenchKit",1}
  651. }
  652. },
  653. {
  654.  
  655. "Extra WoodKits",
  656. {
  657. {"Exile_item_WoodWallKit",30},{"Exile_item_WoodFloorKit",30},{"Exile_item_WoodDoorKit",4},
  658. {"Exile_item_WoodGateKit",4},{"Exile_item_WoodFloorPortKit",4},{"Exile_item_WoodStairsKit",4},
  659. {"Exile_item_WoodWindowKit",8},{"Exile_Item_WoodSupportKit",8}
  660. }
  661. },
  662. {
  663.  
  664. "Small Concrete BuildBox",
  665. {
  666. "Exile_Item_Flag",
  667. {"Exile_Item_ConcreteWallKit",15},{"Exile_Item_ConcreteFloorKit",15},{"Exile_Item_ConcreteDoorKit",2},
  668. {"Exile_Item_ConcreteDoorwayKit",2},{"Exile_Item_ConcreteGateKit",2},{"Exile_Item_ConcreteFloorPortKit",2},
  669. {"Exile_Item_ConcreteStairsKit",2},{"Exile_Item_ConcreteWindowKit",4},{"Exile_Item_ConcreteSupportKit",4},
  670. {"Exile_item_Storagecratekit",2},{"Exile_item_SafeKit",1},{"Exile_item_Codelock",2}
  671. }
  672. },
  673. {
  674.  
  675. "Large Concrete BuildBox",
  676. {
  677. "Exile_Item_Flag",
  678. {"Exile_Item_ConcreteWallKit",30},{"Exile_Item_ConcreteFloorKit",30},{"Exile_Item_ConcreteDoorKit",4},
  679. {"Exile_Item_ConcreteDoorwayKit",4},{"Exile_Item_ConcreteGateKit",4},{"Exile_Item_ConcreteFloorPortKit",4},
  680. {"Exile_Item_ConcreteStairsKit",4},{"Exile_Item_ConcreteWindowKit",8},{"Exile_Item_ConcreteSupportKit",8},
  681. {"Exile_item_Storagecratekit",4},{"Exile_item_SafeKit",2},{"Exile_item_Codelock",4}
  682. }
  683. },
  684. {
  685.  
  686. "Extra ConcreteKits",
  687. {
  688. "Exile_Item_Flag",
  689. {"Exile_Item_ConcreteWallKit",30},{"Exile_Item_ConcreteFloorKit",30},{"Exile_Item_ConcreteDoorKit",4},
  690. {"Exile_Item_ConcreteDoorwayKit",4},{"Exile_Item_ConcreteGateKit",4},{"Exile_Item_ConcreteFloorPortKit",4},
  691. {"Exile_Item_ConcreteStairsKit",4},{"Exile_Item_ConcreteWindowKit",8},{"Exile_Item_ConcreteSupportKit",8}
  692. }
  693. }
  694. };
  695.  
  696.  
  697. /* ***DANGER***DANGER***DANGER***DANGER***DANGER***DANGER***DANGER***DANGER***DANGER***DANGER */
  698. /*
  699. THE KYLE MODE - by enabling it (setting it to true), you disable 99% of the AntiHack features.
  700. (DEFAULT VALUE: FALSE).
  701. This is only for those, that want to use the Admin Menu only!
  702. */
  703. KYLE_MODE = false;
  704. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement