Advertisement
Guest User

Untitled

a guest
Jun 6th, 2018
1,871
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 40.86 KB | None | 0 0
  1. /*
  2. Author: Chris(tian) "infiSTAR" Lorenzen
  3. Contact: infiSTAR23@gmail.com // www.infiSTAR.de
  4. Copyright infiSTAR. All rights reserved.
  5.  
  6. Description:
  7. Arma AntiHack & AdminTools - infiSTAR.de
  8.  
  9. UPDATEEMAIL for http://update.infiSTAR.de is:
  10. 'lukaskruska@gmx.de'
  11.  
  12. Last download was on:
  13. '24-05-2018 17-51-21';
  14. */
  15. class Cfg_infiSTAR_settings {
  16. /*
  17. "serverCommandPassword" is serverCommandPassword - in your servers config.cfg
  18. if your config.cfg does not have serverCommandPassword yet, simply add it in a new line:
  19. serverCommandPassword = "changeme";
  20.  
  21. This is VERY IMPORTANT as it is needed to KICK & BAN people.
  22.  
  23. It will try to get this password from "@ExileServer\addons\exile_server_config" first. If you did not set a password there (config.cpp),
  24. then it will take what you put here.
  25. */
  26. serverCommandPassword = "Fettelseppel88";
  27.  
  28. /*
  29. "passwordAdmin" is passwordAdmin - in your servers config.cfg, needed for servercommands from client
  30.  
  31. This is used to be able to use the "login" function ingame. Will log you in as Arma "Admin".
  32. */
  33. passwordAdmin = "Fettelseppel88";
  34. /* serverCommandPassword and passwordAdmin should always be different passwords or it could cause problems! */
  35.  
  36.  
  37.  
  38. HIDE_FROM_PLAYERS = "false"; /* So no normal can see it :)! */
  39. 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! */
  40.  
  41. LogAdminActions = "true"; /* "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. */
  42. enableIngameLogs = "true"; /* These logs are shown in the admin menu (disabling it might lower performance cost, since it sends a lot of big strings through the network) */
  43.  
  44. MY_LOG_FOLDER = ""; /* MY_LOG_FOLDER = "infiSTAR Logs"; - would create a folder named "infiSTAR Logs" */
  45.  
  46.  
  47.  
  48. /*
  49. if you set "useAdminNameTag" to "true",
  50. each admin uid can have an individual AdminTag which needs to be a part of the admins name.
  51. Without it, the admin will not get access to the admin menu.
  52.  
  53. example names: "[Admin] PlayerName" or "PlayerName [Admin]"
  54. note: this is case sensitive as well, meaning "PlayerName [admin]" would not work as we set our example to "[Admin]"
  55. */
  56. class adminNameTags {
  57. useAdminNameTag = "false";
  58. tags[] = {
  59. {"[Admin]","76561198130865313"}, /* Kajus */
  60. {"[Admin]","76561198060034714"}, /* Nils */
  61. {"[Admin]","76561198049036197"}, /* Lukas */
  62. {"[Admin]","76561198073275469"} /* Sebastian Geschke: Himself Dreimal Drittes Reich Classic mit Mayonaise */
  63. };
  64. };
  65.  
  66.  
  67. /* "startAsNormal": if you add admin UIDs in here as well, they will start as almost "normal" player instead of with admin menu and such. */
  68. startAsNormal[] =
  69. {
  70. "UID1"
  71. };
  72.  
  73. /* "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) */
  74. hiddenSuperAdmin[] =
  75. {
  76. "76561198130865313"
  77. };
  78.  
  79. adminUIDandAccess[] =
  80. {
  81. {
  82. {"76561198130865313","76561198060034714","76561198049036197","76561198073275469"}, /* Admins with UIDs in this Array have their Access defined in the array below. */
  83. {
  84. "Territory Management",
  85. "Teleport On Map Click","Teleport - Target To Me","Teleport - Me To Target",
  86. "Teleport In Facing Direction (10m steps)","Drag and drop units on the map",
  87. "spectating","Delete Vehicle","FlyUp","ShowGear","Show Server Information",
  88. "HealSelf","HealRepairNear","AdminLog","Freeze","UnFreeze","Restrain","UnRestrain",
  89. "==== Loadouts ====","==== Base Deleter ====","Items spawn menu",
  90. "Remove Gear","Revive","Heal","Restore","Flip Vehicle","Move In My Vehicle","Move In Target Vehicle","Parachute Target","Eject","Eject Crew",
  91. "Player ESP","Player ESP (safezone style)","AI ESP","Dead ESP","Loot ESP",
  92. "Vehicle Marker","Flag Marker (with radius)","Box/Safe/Container Marker","DeadPlayer Marker",
  93. "God Mode","God Mode (no stats change)","Vehicle God Mode","Lower Terrain","Vehboost","UnlimAmmo","noRecoil","FastFire","Stealth / Invisible",
  94. "Disable Announces","Mass Message","Change Time","Spawn Support-Boxes","Create Billboard","Change ViewDistance",
  95. "Spawn Ammo","Login as Arma Admin","BIS FreeRoam Cam (works with ESP)","FreeRoam Cam (does not work with ESP)",
  96. "Request Steam Name","showinfo",
  97. "UnlockLockVehicle","Copy Worldspace(coords) to RPT & Chat",
  98.  
  99. "Spawn Vehicles","Spawn Persistent Vehicles","Trader Menu",
  100.  
  101. "Kill","Explode","Force Disconnect",
  102. "Kick (Silent)","Kick (Announce)","Ban (Silent)","Ban (Announce)","TempBan (Silent)","TempBan (Announce)",
  103.  
  104. "AdminConsole",
  105. "DebugConsole",
  106. "Execute code on server (DebugConsole)","Execute code global (DebugConsole)","Execute code local (DebugConsole)",
  107. "Lock Server (DebugConsole)","UnLock Server (DebugConsole)","Ban (DebugConsole)","Kick (DebugConsole)",
  108.  
  109. "Change Money on Player","Change Money on Bank","Change Respect",
  110.  
  111. "MapIcons",
  112. "MapIcons: Buildings","MapIcons: Flags",
  113. "MapIcons: Player","MapIcons: DeadPlayer","MapIcons: Vehicles",
  114. "MapIcons: Vehicle Types","MapIcons: Vehicle lockstate","MapIcons: DeadVehicles",
  115. "MapIcons: AI",
  116. "Arsenal", // Adds Arsenal to the mousewheel actions if you press "," on the Numpad!
  117. "Unconscious","Remove Unconscious",
  118. "Light", // Zeus like Lighting from the Air strikes down at selected player / target / location - use ctrl+1 or the menu to use it!
  119.  
  120. "Spawn Zombie on Target Location!", // This only works when you are using ExilZ / RyanZombies
  121.  
  122. ""
  123. }
  124. },
  125. {
  126. {"UID1","UID2","UID3","..."},
  127. {
  128. "Teleport On Map Click","Teleport - Target To Me","Teleport - Me To Target",
  129. "Teleport In Facing Direction (10m steps)","Drag and drop units on the map",
  130. "spectating","Delete Vehicle","FlyUp","ShowGear","Show Server Information",
  131. "HealSelf","HealRepairNear","AdminLog","Freeze","UnFreeze","Restrain","UnRestrain",
  132. "==== Loadouts ====","==== Base Deleter ====","Items spawn menu",
  133. "Remove Gear","Revive","Heal","Restore","Flip Vehicle","Move In My Vehicle","Move In Target Vehicle","Parachute Target","Eject","Eject Crew",
  134. "Player ESP","Player ESP (safezone style)","AI ESP","Dead ESP","Loot ESP",
  135. "Vehicle Marker","Flag Marker (with radius)","Box/Safe/Container Marker","DeadPlayer Marker",
  136. "God Mode","God Mode (no stats change)","Vehicle God Mode","Lower Terrain","Vehboost","UnlimAmmo","noRecoil","FastFire","Stealth / Invisible",
  137. "Disable Announces","Mass Message","Change Time","Spawn Support-Boxes","Create Billboard","Change ViewDistance",
  138. "Spawn Ammo","Login as Arma Admin","BIS FreeRoam Cam (works with ESP)","FreeRoam Cam (does not work with ESP)",
  139. "Request Steam Name","showinfo",
  140. "UnlockLockVehicle","Copy Worldspace(coords) to RPT & Chat",
  141.  
  142. "Spawn Vehicles","Spawn Persistent Vehicles","Trader Menu",
  143.  
  144. "Kill","Explode","Force Disconnect",
  145. "Kick (Silent)","Kick (Announce)","Ban (Silent)","Ban (Announce)","TempBan (Silent)","TempBan (Announce)",
  146.  
  147. "AdminConsole",
  148. "DebugConsole",
  149. "Execute code on server (DebugConsole)","Execute code global (DebugConsole)","Execute code local (DebugConsole)",
  150. "Lock Server (DebugConsole)","UnLock Server (DebugConsole)","Ban (DebugConsole)","Kick (DebugConsole)",
  151.  
  152. "Change Money on Player","Change Money on Bank","Change Respect",
  153.  
  154. "MapIcons",
  155. "MapIcons: Buildings","MapIcons: Flags",
  156. "MapIcons: Player","MapIcons: DeadPlayer","MapIcons: Vehicles",
  157. "MapIcons: Vehicle Types","MapIcons: Vehicle lockstate","MapIcons: DeadVehicles",
  158. "MapIcons: AI",
  159. "Arsenal",
  160. "Unconscious","Remove Unconscious",
  161. "Light",
  162.  
  163. "Spawn Zombie on Target Location!",
  164.  
  165. ""
  166. }
  167. },
  168. {
  169. {"UID1","UID2","UID3","..."},
  170. {
  171. "Teleport On Map Click","Teleport - Target To Me","Teleport - Me To Target",
  172. "Teleport In Facing Direction (10m steps)","Drag and drop units on the map",
  173. "spectating","Delete Vehicle","FlyUp","ShowGear","Show Server Information",
  174. "HealSelf","HealRepairNear","AdminLog","Freeze","UnFreeze","Restrain","UnRestrain",
  175. "==== Loadouts ====","==== Base Deleter ====","Items spawn menu",
  176. "Remove Gear","Revive","Heal","Restore","Flip Vehicle","Move In My Vehicle","Move In Target Vehicle","Parachute Target","Eject","Eject Crew",
  177. "Player ESP","Player ESP (safezone style)","AI ESP","Dead ESP","Loot ESP",
  178. "Vehicle Marker","Flag Marker (with radius)","Box/Safe/Container Marker","DeadPlayer Marker",
  179. "God Mode","God Mode (no stats change)","Vehicle God Mode","Lower Terrain","Vehboost","UnlimAmmo","noRecoil","FastFire","Stealth / Invisible",
  180. "Disable Announces","Mass Message","Change Time","Spawn Support-Boxes","Create Billboard","Change ViewDistance",
  181. "Spawn Ammo","Login as Arma Admin","BIS FreeRoam Cam (works with ESP)","FreeRoam Cam (does not work with ESP)",
  182. "Request Steam Name","showinfo",
  183. "UnlockLockVehicle","Copy Worldspace(coords) to RPT & Chat",
  184.  
  185. "Spawn Vehicles","Spawn Persistent Vehicles","Trader Menu",
  186.  
  187. "Kill","Explode","Force Disconnect",
  188. "Kick (Silent)","Kick (Announce)","Ban (Silent)","Ban (Announce)","TempBan (Silent)","TempBan (Announce)",
  189.  
  190. "AdminConsole",
  191. "DebugConsole",
  192. "Execute code on server (DebugConsole)","Execute code global (DebugConsole)","Execute code local (DebugConsole)",
  193. "Lock Server (DebugConsole)","UnLock Server (DebugConsole)","Ban (DebugConsole)","Kick (DebugConsole)",
  194.  
  195. "Change Money on Player","Change Money on Bank","Change Respect",
  196.  
  197. "MapIcons",
  198. "MapIcons: Buildings","MapIcons: Flags",
  199. "MapIcons: Player","MapIcons: DeadPlayer","MapIcons: Vehicles",
  200. "MapIcons: Vehicle Types","MapIcons: Vehicle lockstate","MapIcons: DeadVehicles",
  201. "MapIcons: AI",
  202. "Arsenal",
  203. "Unconscious","Remove Unconscious",
  204. "Light",
  205.  
  206. "Spawn Zombie on Target Location!",
  207.  
  208. ""
  209. }
  210. }
  211. };
  212.  
  213.  
  214. /*
  215. Noficiations shown to all players on the server. Could be used to replace BEC messages.
  216. dynamic format:
  217. {
  218. first occurrence after x min,
  219. show again after x min,
  220. show message for x seconds / delay until next message is shown,
  221. font size (recommended is 0.6),
  222. xpos,
  223. ypos,
  224. text color,
  225. font,
  226. text (<br/> is a linebreak)
  227. }
  228. systemchat format:
  229. {
  230. first occurrence after x min,
  231. show again after x min,
  232. show message for x seconds / delay until next message is shown,
  233. text
  234. }
  235.  
  236. 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.
  237. Example:
  238. {-1, -1, 4, 0.6, 0, 0, "#ff0000", "OrbitronLight", "Welcome to our server"}
  239.  
  240. xpos and ypos need to be within your monitor. to high numbers and you simply won't see the text..
  241. ~ x-range is between -0.7 to +1
  242. ~ y-range is between -0.4 to +1
  243.  
  244. Arma Fonts:
  245. PuristaLight
  246. PuristaMedium
  247. PuristaSemiBold
  248. PuristaBold
  249. LucidaConsoleB
  250. EtelkaMonospacePro
  251. EtelkaMonospaceProBold
  252. EtelkaNarrowMediumPro
  253. TahomaB
  254.  
  255. Exile Fonts:
  256. OrbitronLight
  257. OrbitronMedium
  258. PressStart2P
  259. RobotoMedium
  260. RobotoRegular
  261. NOTE: do not use " within the text.
  262. */
  263. ENABLE_NOTIFICATION_MESSAGES = "true";
  264. NOTIFY_MSG_ARRAY[] =
  265. {
  266. {-1, -1, 3, "Welcome Convict!"},
  267. {-1, -1, 3, "Enjoy your stay and good luck in the field!"},
  268. {-1, -1, 6, 0.36, -0.7, 0.84, "#e5e5e5", "PuristaMedium", "Welcome<br/>Enjoy your stay!"},
  269. {-1, 20, 10, 0.36, -0.7, 0.84, "#e5e5e5", "PuristaMedium", "Enjoy your stay on BBQ Exile!!"}
  270. };
  271.  
  272.  
  273. /*
  274. {chatCommand (text typed in chat), color, size, font, text shown to player}
  275. only triggers if the EXACT text is typed!
  276. NOTE: do not use " within the text.
  277. */
  278. chatCommands[] =
  279. {
  280. {"!discord","#2784D6","1","OrbitronMedium","https://discord.gg/zvYjX86"},
  281. {"!admin","#2784D6","1","OrbitronMedium","Admins: Li Wang, Popcorn Sutton, GermanWars"}
  282. };
  283.  
  284. /*
  285. {chatCommand (text typed in chat) partitial, color, size, font, text shown to player}
  286. "Hello, why is there no loot on this map?" <- will trigger the example below!
  287. NOTE: do not use " within the text.
  288. */
  289. chatCommandsP[] =
  290. {
  291. {"no loot","#2784D6","1","OrbitronMedium","You cannot loot from non arma buildings in this map, you must move around - check the shipping yards for best loot"}
  292. };
  293.  
  294. /*
  295. adds Exile Devs to your AdminList - makes it easier for them to debug their mod live
  296. */
  297. ExileDevFriendlyMode = "true";
  298.  
  299. /*
  300. If admin has rights to "Create Billboard", he will have new options to create a Billboard ingame with one of the following textures
  301. {"name shown in adminmenu","path to texture"}
  302.  
  303. should be looking somewhat like this:
  304. {"example picture","\mpmissions\Exile.Altis.pbo\example.paa"}
  305.  
  306. the picture has to be available on EACH client AND the server.
  307. So you either need a client-side mod for it or you need to put it in the MPMission
  308. */
  309. pathToCustomBillBoardTextures[] =
  310. {
  311. {"Doggy","exile_assets\texture\flag\flag_mate_21dmd_co.paa"},
  312. {"Spawny","exile_assets\texture\flag\flag_mate_spawny_co.paa"},
  313. {"Dickbutt","exile_assets\texture\flag\flag_misc_dickbutt_co.paa"},
  314. {"Vish","exile_assets\texture\flag\flag_mate_vish_co.paa"}
  315. };
  316.  
  317. /*
  318. You can allow clients to execute functions on the server by adding them like this:
  319. infiSTAR_RE_LIST[] =
  320. {
  321. "fn_infiSTAR_antiDupeServer","fn_infiSTAR_antiVehicleTheft","fn_infiSTAR_serverOwner"
  322. };
  323.  
  324. make sure that those functions can't be abused to to any harm.
  325. */
  326. infiSTAR_RE_LIST[] =
  327. {
  328.  
  329. };
  330. /****************************************************************************************************/
  331. /********************OPTIONS BELOW REQUIRE CHANGES TO YOUR EXILE SERVER DATABASE!********************/
  332. /****************************************************************************************************/
  333. /*
  334. "customDatabaseQueries"
  335. To use any of the below, you need to do some changes to the exile.ini!
  336. I've added these changes here:
  337. "infiSTAR.de_Exile\SERVER_ARMA3_FOLDER\db_related_changes"
  338. */
  339. class customDatabaseQueries {
  340. /*
  341. if "USE_DATABASE_WHITELIST = "true";", UIDs that are not whitelisted in your exile server database, will be kicked on connect.
  342. exile.ini needs [getAccountWhitelisted]
  343. */
  344. USE_DATABASE_WHITELIST = "false";
  345.  
  346. /*
  347. if "USE_LOG_TO_DATABASE = "true";", infiSTAR will log to your exile server database! (yes I know this is great!)
  348. exile.ini needs [insert_infiSTARLog]
  349. */
  350. USE_LOG_TO_DATABASE = "false";
  351.  
  352. /*
  353. if "USE_GET_TOTAL_CONNECTIONS = "true";", infiSTAR can log how often a player has been connected to your server before.
  354. exile.ini needs [getTotalConnections]
  355. */
  356. USE_GET_TOTAL_CONNECTIONS = "false";
  357. };
  358. /*
  359. if "USE_ANNOUNCE_NEW_PLAYER = "true";", infiSTAR will announce a "New Player: NAME" to the whole server!
  360. */
  361. USE_ANNOUNCE_NEW_PLAYER = "true";
  362. /****************************************************************************************************/
  363. /********************OPTIONS ABOVE REQUIRE CHANGES TO YOUR EXILE SERVER DATABASE!********************/
  364. /****************************************************************************************************/
  365. /*
  366. Use UID WhiteList?
  367. if "USE_UID_WHITELIST = "true";", UIDs that are not in "UID_WHITELIST" array, will be kicked on connect.
  368. This even counts for Admins!
  369. */
  370. USE_UID_WHITELIST = "false";
  371. UID_WHITELIST[] =
  372. {
  373. "UID1","UID2","UID3","..."
  374. };
  375.  
  376.  
  377. /*
  378. What is this?
  379. infiSTAR has a global ban system so hackers don't jump around servers and learn how to bypass infiSTAR.
  380.  
  381. There was a situation where a group of people asked why their friend could not join the server.
  382. 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,
  383. just ask for his UID and add the UID in the array below.
  384. */
  385. USE_GLOBAL_BAN_CHECK = "true"; /* if false, it can not kick or ban global banned people but it will still "log" them. So you know a globally banned person joined your server. */
  386. UID_SKIP_GLOBAL_BAN_CHECK[] =
  387. {
  388. "UID1","UID2","UID3","..."
  389. };
  390. CHECK_BattlEye_GLOBALBANS = "false"; /* if you don't have BE enabled on your server, this can still check if a player has been banned globally on BattlEye */
  391.  
  392.  
  393. /* What ESCAPE Menu shows */
  394. ESCMNUTOP = "AntiHack & AdminTools";
  395. ESCMNUBOT = "by infiSTAR.de";
  396. BRIEFING_MSG = "false"; /* use mission briefing message: if "BRIEFING_MSG = "false";" then the message will be replaced by infiSTAR */
  397. 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" */
  398. ENABLE_PRIVATE_CHAT_MENU = "true"; /* players can open it by typing !chat in chat or by custom controls -> "Use Action 3" */
  399. 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 */
  400.  
  401.  
  402.  
  403. class infiSTAR_RESTART_SYSTEM {
  404. enableSystem = "true";
  405.  
  406. /*
  407. Locks the server when it starts, adds an eventhandler that kciks all players "on join" until the mpmission is initiated.
  408. That was the server can start up more properly and "build" all bases before the first players get in..
  409. */
  410. LOCK_ON_RESTART = "true";
  411.  
  412. /*
  413. I would recommend to use USE_RESTART_TIME_IN_M = "true"; instead of USE_RESTART_FIXED_TIME_ARRAY
  414. */
  415. USE_RESTART_TIME_IN_M = "false";
  416.  
  417. /*
  418. Restart time in minutes (default: 180min == 3 hours)
  419. */
  420. RESTART_TIME_IN_M = 180;
  421.  
  422. /*
  423. diag_tickTime (starts with arma3server.exe), time (starts with mpmission init)
  424. */
  425. TIME_FUNCTION_USED = "diag_tickTime";
  426.  
  427. USE_RESTART_FIXED_TIME_ARRAY = "true";
  428. RESTART_TIMES[] = { /* {hour,minute} .. put in the times when your server is supposed to restart (real time). */
  429. {00,00},
  430. {03,00},
  431. {06,00},
  432. {09,00},
  433. {12,00},
  434. {15,00},
  435. {18,00},
  436. {21,00},
  437. {24,00}
  438. };
  439.  
  440. USE_SHUTDOWN = "true";
  441. SERVER_END_FUNCTION = "#shutdown"; /* SERVER_END_FUNCTION -> #shutdown or #restartserver */
  442. RESTART_WARNING_SOUND = "air_raid"; /* for example: Alarm or air_raid */
  443.  
  444. LOCK_MIN_BEFORE_SHUTDOWN = 2; /* Locks the server x min before it gets shutdown */
  445. RESTART_IN_X_ARRAY[] = {15,10,5,4,3,2,1}; /* Announce the a restart x mins before it happens (x stands for each number) */
  446. };
  447.  
  448.  
  449.  
  450.  
  451. /* Allow Player to vote Day/Night by typing vote day / vote night in Chat*/
  452. DayNightVote = "true";
  453. MRV = 0.3; /* if "DayNightVote = "true";" - Minimum votes required. Percentage of players needed to pass the vote. */
  454. 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. */
  455. VCT = 900; /* if "DayNightVote = "true";" - Time (in seconds) to wait until nex vote is possible. */
  456.  
  457.  
  458. /* Enable jumping instead of GetOver function (infiSTAR jumping is a custom jump animation :P) */
  459. enableJump = "true";
  460.  
  461.  
  462. /* Allow players to type !pee (or !piss) to start peeing */
  463. allowPee = "true";
  464.  
  465.  
  466. /*
  467. How does this work?
  468.  
  469. chatAnimationCommands[] = {
  470. {{"command1 for animation1","command2 for animation1"}, "animation1", animation time before it will be forced to be stopped},
  471. {{"command3 for animation2","command4 for animation2"}, "animation2", animation time of 0 means it will do the animation "forever" till the end unless it gets stops by the user manually.}
  472. };
  473. */
  474. chatAnimationCommands[] = {
  475. {{"!finger","!fuck"},"acts_briefing_sb_in",7}, //shows fuck you finger
  476. {{"!surrender","!giveup","!hands"},"AmovPercMstpSsurWnonDnon",0}, //surrender animation (hands behind the head)
  477. {{"!dab"},"Exile_Funny_Dab01",0} //Exile Dab animation (doing the dab)
  478. };
  479.  
  480.  
  481.  
  482. /*
  483. The following 4 options can be disabled by putting the value to -1. For example "TGV = -1;"
  484. */
  485. TGV = 40; /* Terrain Grid Value - TGV: if set to 50 grass will be very low for better client FPS.. default is 12.5 ~35 is good performance and grass :) */
  486. VDV = 750; /* ViewDistance Value */
  487. VOV = 750; /* ObjectViewDistance */
  488. SVD = 50; /* ShadowViewDistance */
  489.  
  490. /*
  491. checks if the terraingrid is different from default or TGV (12.5 or what you set in TGV). If you are using things that can change the grid, put this to false!
  492. */
  493. CHECK_TERRAIN_GRID = "false"; // you should have this on false if you allow people to change their terrain in the xm8apps
  494.  
  495.  
  496. /*
  497. *readded new old uniform and vest check since some people asked for it.
  498. http://www.exilemod.com/topic/14179-miss-uniform_and_vest_check/
  499. the game is still broken and sometimes you can see people naked when they are not.
  500. I did not add the old check back in, I made a new one making use of new functions :)
  501. */
  502. fix_uniform_and_vest = "true";
  503.  
  504.  
  505. /*
  506. 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.
  507. */
  508. experimental_dupe_check = "true";
  509.  
  510.  
  511. /*
  512. checks if player tries to dupe using the "disconnect trick" -> sends a ping to the server whenever a player opens the escape menu
  513. */
  514. disconnect_dupe_check = "true";
  515.  
  516.  
  517. /*
  518. There is a way for players to dupe items if they drive a vehicle close to a trader, open the trader menu and then have a friend sit in the driver of the vehicle.
  519. Now they can sell the same item unlimited times and it won't vanish from the vehicle..
  520. That issue is fixed with this check!
  521. */
  522. fix_trader_dupe = "true";
  523.  
  524. /*
  525. server side check for the famous "wastedump dupe" as well as client side cooldown
  526. the timer can not be lower than 120 seconds. if it was lower the check would not be working.
  527. */
  528. fix_wastedump_dupe = "true";
  529.  
  530.  
  531.  
  532. class lagSwitchCheck {
  533. /*
  534. checks if the client connection to the server is established and not lagged out. Might cause a lot of server / network power
  535. after 25 seconds, the client will be kicked to lobby.
  536. */
  537. enable = "false";
  538.  
  539. warn_delay = 3.5; /* When a lag of 2.5 seconds was registered, the player is warned and won't be able to open any GUI (Gear, Tradermenu [..]) */
  540. log_delay = 10; /* server side log entry, when a lagswitch was detected that took longer than x seconds */
  541. kick_and_log_delay = 15; /* KICK and server side log entry, when a lagswitch was detected that took longer than x seconds */
  542. };
  543.  
  544.  
  545. class infiSTAR_blocked_glitch_actions {
  546. /*
  547. if a player is near a flag where he has no buildrights, he can't use the listed inputs close to buildingparts (to prevent glitching!)
  548. */
  549. block_glitch_actions_enabled = "true";
  550.  
  551. inputs[] = {"GetOver","leanLeft","leanLeftToggle","leanRight","leanRightToggle","LookAround","LookAroundToggle",
  552. "ActionFreeLook","Prone","ZoomOut","ZoomOutToggle","ZoomContOut","LookUp","LookLeft","LookRight","FreeHeadMove","AimHeadUp",
  553. "Cheat1","Cheat2"};
  554.  
  555. /* this should also be enabled to prevent freelook (people simply use it to sneak through walls..) */
  556. block_ALT_key = "true";
  557. block_ALT_key_all = "false"; // also blocking ALT key for the Territory owner (so they can't peak through walls to defend easier)
  558. };
  559.  
  560.  
  561. /*
  562. checks if a players tries to glitch through a wall (if player is allowed to build in that territory, it will not be logged.)
  563. */
  564. wall_glitch_object = "true"; // This checks if the Player Object is glitching through a wall/base part
  565. wall_glitch_revert = "true"; // Teleport player back to last "safe" postion if a glitch was detected. Needs: wall_glitch_object = "true";
  566. /*
  567. If a player model intersects with a wall, the player will be teleport back to where he was before he intersected with it..
  568.  
  569. extra punishments possible:
  570. 0 - no punishment
  571. 1 - knockout for 60 seconds
  572. 2 - kill
  573.  
  574. hardcore punishments
  575. 3 - handcuff
  576. 4 - kick
  577. 5 - ban (not recommended)
  578. */
  579. wall_glitch_punish = 0;
  580.  
  581.  
  582.  
  583. /*
  584. stops players from glitching into bases using "eject" or "getout" of a vehicle..
  585. */
  586. wall_glitch_vehicle = "true";
  587.  
  588.  
  589.  
  590. class infiSTAR_safeZoneOptions {
  591. /*
  592. In a safeZone, only you or somebody from your group/clan can drive (or sell) your vehicle
  593. (after a server restart, the first one who gets into a vehicle becomes the "owner" of it (default Exile settings))
  594. */
  595. enable = "true";
  596. kick_from_driver_only = "false"; // if "true", only thieves who get in driver seat will be kicked from vehicle. if "false", they will be kicked from all seats
  597. };
  598.  
  599.  
  600.  
  601. class infiSTAR_handleDamage {
  602. /*
  603. This whole handleDamage does not effect admins!
  604. */
  605. enable = "false";
  606.  
  607. /*
  608. PvP_ReflectDamage option should reflect damage from player vs player (the player still takes damage)
  609. */
  610. PvP_ReflectDamage = "false";
  611.  
  612. /*
  613. PvP_BlockDamage option should block damage from player vs player
  614. */
  615. PvP_BlockDamage = "false";
  616.  
  617. /*
  618. PvP_useZones will load PvP_ReflectDamage and PvP_BlockDamage only if people are not within a range of the given xyz coordinates!
  619. {{X,Y,Z},RADIUS}
  620. */
  621. PvP_useZones = "false";
  622. zones[] = {
  623. {{0,0,0},1},
  624. {{1,1,1},1},
  625. {{2,2,2},1}
  626. };
  627.  
  628. /*
  629. block damage completely if the source of the damage is NULL
  630. (for example if you crash into a bush the source is NULL)
  631. */
  632. BlockNullSource = "false";
  633. };
  634.  
  635.  
  636. /*
  637. Checks player Actions (mousewheel actions, userinterface actions and inputactions)
  638. */
  639. BlockHoldActions = "false"; /* STRONGLY recommended! */
  640. BadActionCheck = "false"; /* log and remove all actions that are not white-listed */
  641. allowedActions[] = {"Break free","Use AutoLockPicker","Craft Vehicle","Hack UAV"}; /* needs the "title" of the action! */
  642. allowedActionsPartial[] = {"paint"};
  643. BadActionContentCheck = "true"; /* Check the functions assigned to all actions, regardless any white-list */
  644.  
  645.  
  646.  
  647. KCM = "true"; /* Just close ALL CommandingMenus */
  648. CMC = "false"; /* Check for CommandingMenus that are not in the allowedCommandingMenus array */
  649. allowedCommandingMenus[] = {"#user:example","#user:example2"};
  650.  
  651.  
  652. task_force_radio = "false"; /* put this to "true" if you allow task force radio on your server! */
  653. reset_inGameUIEventHandler = "false"; /* reset inGameUIEventHandler */
  654. checkFilePatchingEnabled = "true"; /* checks if filepatching is enabled on the client (if it is, the client could inject any script based hack easily) */
  655. onEventsCheck = "false"; /* checks server side on Events vs Client side */
  656. checkCfgPatches = "false"; /* checks server side Cfg Patches vs Client side (logs as "Bad Class found in CfgPatches >> xxx") */
  657. check_Notifications = "false"; /* checks if BIS_fnc_showNotification was used, as it is used with many hacks - some custom addons however use them too. */
  658. check_doors_n_gates = "true"; /* 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! */
  659. attach_to_check = "false"; /* logs and detaches attached vehicles that are close.. basically completely disallow attaching of vehicles! */
  660. INVISIBLE_PLAYER_check = "false"; /* checks if a player object is invisible (hidden). None admins only. LOGS LIKE: INVISIBLE PLAYER-OBJECT @X Y */
  661. MAIN_LOOP_CHECK = "true"; /* "false", if you have too many log entries with "MAIN LOOP STOPPED!" */
  662.  
  663.  
  664. checkPopTabIncrease = "true";
  665. LogPopTabIncrease = 15000; /* Only if checkPopTabIncrease = "true"; logs if PopTabs increased by x within ~50 seconds */
  666. BanPopTabIncrease = 5000000; /* Only if checkPopTabIncrease = "true"; bans a player if PopTabs increase by more than x within ~50 seconds */
  667.  
  668. checkRespectIncrease = "true";
  669. LogRespectIncrease = 5000; /* Only if checkRespectIncrease = "true"; logs if respect increased by x within ~50 seconds */
  670. BanRespectIncrease = 50000; /* Only if checkRespectIncrease = "true"; bans a player if respect increases by more than x within ~50 seconds */
  671.  
  672.  
  673.  
  674. /* Check for Map Menu & Map Sub-Menu */
  675. CMM = "false";
  676. 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"; */
  677.  
  678. /* if steam api.steampowered.com is working, this might be a nice feature */
  679. check_steam_ban = "true"; /* will announce and log steambanned players - using GetPlayerBans v1 */
  680. ban_for_steam_ban = "false"; /* if "check_steam_ban = "true";" then steambanned players will get banned from your Arma server! */
  681.  
  682.  
  683. MPH = "false"; /* This set to "true" will create a log of players being hit on your server */
  684. GodModeCheck = "false"; /* This will check from serverside if a playerobject received damage but did not take it */
  685.  
  686.  
  687. /*
  688. Anti Teleport
  689. AntiTeleport = "false"; To disable Anti Teleport
  690. Arrays below show position & radius where Teleporting is allowed.
  691. Mainly for the Traders (because when you purchase a vehicle, it teleports you into the vehicle)
  692.  
  693. You can white-list "Teleport Zones" by adding them like below.
  694.  
  695. XtoYposition allow players to teleport from pos1 to pos2 or pos2 to pos1 (order doesn't matter).
  696. The idea is to allow scripts like "FastTravel"
  697.  
  698. class AntiTeleport {
  699. enable = "true";
  700.  
  701. allowedZones[] = {
  702. {{0,0,0},1},
  703. {{1,1,1},1},
  704. {{2,2,2},1}
  705. };
  706.  
  707. XtoYpositions[] = {
  708. // { AAC, Gravia}
  709. // {{11590.1,11964.4,0}, {14541.7,17555,0}}
  710. };
  711. };
  712. Trading zones are white-listed by default.
  713. */
  714. class AntiTeleport {
  715. enable = "true";
  716.  
  717. allowedZones[] = {};
  718.  
  719. XtoYpositions[] = {
  720. // { AAC, Gravia}
  721. // {{11590.1,11964.4,0}, {14541.7,17555,0}}
  722.  
  723. // This can have as many positons as you want. Allows teleporting within each subarray of XtoYpositions
  724. // {{11590.1,11964.4,0}, {14541.7,17555,0}, {0,0,0}, {2500,5000,0}}
  725. };
  726. };
  727.  
  728.  
  729.  
  730. /* Check Drawing on the Map (global channel) */
  731. // CHECK_DRAWING = "false"; /* logs & deletes global drawing */
  732. // Removed! - Arma3 can now disable map drawing by putting
  733. // disableMapDrawing = 1; into your mission config
  734.  
  735. CHECK_RECOIL = "false"; /* checks weapon recoil */
  736.  
  737.  
  738.  
  739. /* Check Local Markers */
  740. CLM = "false"; /* "false" if you do not want LocalMarker to be checked. */
  741.  
  742. /* Use aLocalM array */
  743. UMW = "false"; /* use allowed marker array from below (for example AltisLife uses house_ and others in there) or A.I. Missions */
  744. /* aLocalM: if "CLM" && UMW - this array of names will be allowed */
  745. aLocalM[] = {"MissionMarker"};
  746.  
  747.  
  748. /*
  749. Not allowed Chat words on server.
  750. Example:
  751. badkickChat[] = {"blue"}; or badbanChat[] = {"blue"};
  752. will log and kick or ban if somebody writes "blue goat" or "blues" in the chat (not case sensitive).
  753.  
  754. Example 2:
  755. This will most likely stop people from writing Cyrillic (Russian) (I've been asked for this)
  756. badkickChat[] = {"й","д","и","б","ь","т"};
  757. */
  758. badWarnChat[] = {};
  759. badkickChat[] = {};
  760. badbanChat[] = {};
  761.  
  762.  
  763. /* 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) */
  764. badNamesFull[] = {};
  765.  
  766. /* Not allowed Names on server. Example: badNamesPartial[] = {"THE"}; would kick all players with names like "the car" as it includes "THE" (not case sensitive) */
  767. badNamesPartial[] = {"admin"};
  768.  
  769.  
  770. /* 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) */
  771. badGroupNames[] = {"admin"};
  772.  
  773.  
  774.  
  775. /*
  776. if somebody talks on one of the following channels, his channel will be switched to "direct" channel
  777. 0 = Global
  778. 1 = Side
  779. 2 = Command
  780. 3 = Group
  781. 4 = Vehicle
  782. 5 = Direct <-- this is where people get switched too if they talk in one of the blacklisted channels!
  783. 6-15 = Custom Radio (see radioChannelCreate)
  784. */
  785. disAllowVon[] = {1,2};
  786.  
  787. /* badIDDsToKick will be checked before badIDDsToClose, badIDDsToClose will be checked before allowedIDDs */
  788. /* badIDDsToKick: Forbidden Idds that will get you Kicked by the AH */
  789. badIDDsToKick[] =
  790. {
  791. -1338,-1337,-1341,17,19,30,32,45,56,59,62,64,69,71,110,125,
  792. 132,133,155,156,165,166,167,312,313,
  793. 1320,1321,1340,1341,1342,1343,1344,1345,1346,1347,
  794. 2727,2928,2929,3030,316000,9899,0110,
  795. 6900,552266
  796. };
  797.  
  798. /* badIDDsToClose: Forbidden Idds that will get closed by the AH */
  799. badIDDsToClose[] =
  800. {
  801. -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,
  802. 106,126,127,132,146,147,150,151,152,153,154,155,159,162,164,262,
  803. 314,632,1320,2121,148,163,129,157,69,156,165,166,167,312,1321,2727,
  804. -1341,1341
  805. };
  806.  
  807. /* Use IDD White-List ? */ UDW = "true";
  808. /* allowedIDDs: Insert IDDs here to prevent them from being closed! */
  809. allowedIDDs[] =
  810. {
  811. /* default idds */
  812. -1,0,4,5,6,8,12,15,18,24,49,54,55,70,72,101,160,174,177,999,131,63,602,301,
  813.  
  814. /* exile idds */
  815. 24001,24002,20023,24005,24004,24010,24025,20021,20017,24012,24027,
  816. 20019,20016,24007,20024,20018,24008,24011,24015,24000,24006,24014,
  817. 20020,24026,4002,4000,4001,4003,1500,
  818.  
  819. 24033,24030,24029,24028,24031,24034,
  820.  
  821. 4004,21000, // Bounty system and MarXet
  822. 8457, // http://www.exilemod.com/topic/9040-xm8-apps/
  823. 65431, // r3f menu fix
  824. 6666, // Paintshop
  825. 0711, // Advanced Banking
  826. 0720,24036, // Virtual Garage
  827. 5501,5502,5503,5504,5505,5506,5507, // BRAma Cookbook
  828. -1339,-1340, // custom infiSTAR dialogs (some editor & a private chat menu)
  829.  
  830. /* main idd - never delete it */
  831. 46
  832. };
  833.  
  834.  
  835.  
  836. /*
  837. important check to make sure certain variables are set and have the correct type!
  838. */
  839. variableTypeChecks[] =
  840. {
  841. {'ExileIsPlayingRussianRoulette',"false"},
  842. {'ExileClientIsHandcuffed',"false"},
  843. {'ExilePlayerInSafezone',"false"},
  844. {'ExileClientIsAutoRunning',"false"},
  845. {'ExileCurrentBreachingObject',objNull},
  846. {'ExileClientInteractionObject',objNull},
  847. {'HTML_LOAD_URL3',''},
  848. {'infiSTAR_lastJumptime',0},
  849. {'PLAYER_IN_VEHICLE',"false"},
  850. {'ExileSystemSpawnThread',[]}
  851. };
  852.  
  853.  
  854. /*
  855. it is highly recommended to have this check turned on (useBlacklistedVariableCheck = "true";)
  856. shows "BadVariable in xxxxxxxx " in the logs.
  857. */
  858. useBlacklistedVariableCheck = "false";
  859. blacklistedVariables[] =
  860. {
  861. "bis_debug_cam",
  862. "arsenalopened","bis_fnc_arsenal_fullarsenal","babecore_escm_mousepos","RANDOMVAR",
  863. "bis_fnc_dbg_reminder_value","bis_fnc_dbg_reminder","bis_menu_groupcommunication","bis_fnc_addcommmenuitem_menu",
  864. "rscspectator","rscspectator_hints","rscspectator_display","rscspectator_playericon",
  865. "rscspectator_view","rscspectator_map","rscspectator_vision","rscspectator_keys",
  866. "rscspectator_interface","bis_fnc_camera_target","andy_loopz","initfileone","finie_s_p",
  867. "time","servertime","myplayeruid","hhahaaaaar","charliesheenkeybinds","kickoff","yolo","runonce","notakeybind","action1","supa_licenses","autokick","wallaisseikun","mainmenu",
  868. "gefclose","gefwhite","gefred","gefgreen","gefcyan","firsthint","new_queued","fn_exec","fnd_fnc_select","fnx3","antihackkick","tele","dmap","goldens_global_shit_yeah","glass911_run",
  869. "geardialog_create","lystokeypress","thirtysix","ly_swaggerlikeus","jkeyszz","n2","boxofmagic","mainscripts","dmc_fnc_4danews","infistarbypass","exec_text","vehicle_dblclick","init_main",
  870. "esp_count","nute_dat_bomber","s_cash100k","xposplayer","ly_re_onetime","skar_checka","mainscriptsv4","viewdistance","check_load","already_load","meins","f1","dummy","plane_jump",
  871. "c_player","mouseclickeh","distp","nec2","menu_i_run_color_lp","glassv1nce_bindhandler","thecar","fastanimes","getinpassenger","iaimon","dmc_re_onetime","func_execonserver","fnc_serverkicknice",
  872. "kick_admins","dasmokeon","hovering","r_kelly_be_flying","vincelol_altislife","life_fnc_byassskaroah","ah_fnc_mp","jayre","fn_newsbanner","hack_news","trollfuncs",
  873. "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",
  874. "targetfuncs2","life_fnc_antifreeeeze","ly_keyforward","ty_re_onetime","life_fnc_xaaxaa","mein1","goddamnvehiclesxd","mystic_fnc_esp_distance","esp_id_setter","dummymen","whipbut","userfuncs",
  875. "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",
  876. "sni_prz_zzz_targetplayer","healit","o_fnc_arma","mlrn_exec","running_threads","catchemall17503","killtarget","gmtoggle","t1","fuck_me_keyp","cheatcurator"
  877. };
  878.  
  879. /*
  880. due to new hacking methods it is necessary to check variables on objects..
  881. since most server have 50.000+ objects this can cost a lot client fps but it should still be used.. for the greater good!
  882. */
  883. useObjectVariableCheck = "false";
  884.  
  885.  
  886.  
  887. UVC_adminspawn = "false"; /* use vehicle check(s) on vehicles spawned by infiSTAR.de admin? */
  888. /*
  889. Use vehicle white list? (everything not on white-list will be flagged as BadVehicle and deleted!)
  890. "EXILE" vehicles are white-listed by default!
  891. */
  892. VehicleWhiteList_check = "false";
  893. VehicleWhiteList[] =
  894. {
  895. "B_Parachute","B_Parachute_02_F","O_Parachute_02_F","Steerable_Parachute_F",
  896. "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"
  897. };
  898.  
  899. /*
  900. Use forbidden vehicle check? (everything in the ForbiddenVehicles will be flagged as BadVehicle and deleted (even when it is on the white-list)!)
  901. */
  902. ForbiddenVehicles_check = "false";
  903. ForbiddenVehicles[] =
  904. {
  905. "B_MBT_01_arty_F","B_Truck_01_ammo_F"
  906. };
  907.  
  908. /*
  909. If you use VehicleWhiteList_check or ForbiddenVehicles_check then the vehicle check automatically checks for locally created vehicles.
  910. 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!
  911. 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!).
  912. */
  913. LocalWhitelist[] =
  914. {
  915. "O_HMG_01_weapon_F","O_HMG_01_F","O_HMG_01_support_F","I_UavTerminal","I_UAV_01_backpack_F",
  916. "Exile_Bike_OldBike","B_HMG_01_F","B_HMG_01_high_F","O_HMG_01_high_F","B_Mortar_01_F"
  917. };
  918.  
  919.  
  920.  
  921.  
  922. UFI = "false"; /* Use "ForbiddenItems"/Item Check(s) */
  923. UIW = "false"; /* if "UIW = "true";" then it checks if the items the individual player has are in "ItemWhiteList" */
  924. KICK_ON_DETECTION = "false"; // kick when a bad or not whitelisted item was found
  925. ItemWhiteList[] =
  926. {
  927. "AllowThisItem1","AllowThisItem2"
  928. };
  929. ForbiddenItems[] =
  930. {
  931. "autocannon_Base_F","autocannon_30mm","autocannon_35mm","autocannon_40mm_CTWS","autocannon_30mm_CTWS","Bomb_04_Plane_CAS_01_F",
  932. "Bomb_03_Plane_CAS_02_F","cannon_105mm","cannon_120mm","cannon_120mm_long","cannon_125mm","Cannon_30mm_Plane_CAS_02_F","gatling_20mm",
  933. "gatling_25mm","gatling_30mm","Gatling_30mm_Plane_CAS_01_F","GBU12BombLauncher","GMG_20mm","GMG_40mm","GMG_UGV_40mm","HMG_127_MBT",
  934. "HMG_127","HMG_127_APC","HMG_01","HMG_M2","HMG_NSVT","LMG_Minigun2","LMG_RCWS","LMG_M200","LMG_Minigun","LMG_Minigun_heli","LMG_coax",
  935. "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",
  936. "missiles_DAR","missiles_ASRAAM","missiles_SCALPEL","missiles_titan","missiles_titan_static","missiles_Zephyr","Mk82BombLauncher","mortar_82mm",
  937. "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",
  938. "Rocket_03_AP_Plane_CAS_02_F","Twin_Cannon_20mm"
  939. };
  940.  
  941.  
  942.  
  943. /*
  944. custom Box content:
  945. just an item like it is in the example with "ItemMap" will put the item once in the box.
  946. if an array is used like the {"ItemGPS",5} example, well I assume you could guess what it will do.
  947.  
  948. You can just define as many as you want.
  949. {
  950. "BOX NAME", // function name in the admin menu
  951. {
  952. "Item1","Item2", // one per just item in a string
  953. {"Item1",5},{"Item2",10} // second entry in each array defiens how many of items of the first entry are wanted.
  954. }
  955. }
  956.  
  957. The last closing bracket in an array can not have a "," afterwards. So make sure to have no syntax errors here.
  958. */
  959. allSupportBoxes[] =
  960. {
  961. {
  962. "Support-Box1",
  963. {
  964. "Exile_Item_Flag","Exile_Item_CookingPot",
  965. {"Exile_Item_Codelock",5},{"Exile_Item_DuctTape",10},{"Exile_Item_InstaDoc",10},
  966. {"Exile_Item_Energydrink",10},{"Exile_Item_ExtensionCord",5},{"Exile_Item_FloodLightKit",5},
  967. {"Exile_Item_FortificationUpgrade",5},{"Exile_Item_FuelCanisterFull",5},{"Exile_Item_GloriousKnakworst_Cooked",10},
  968. {"Exile_Item_LightBulb",5},{"Exile_Item_Matches",5},{"Exile_Item_MetalBoard",5},
  969. {"Exile_Item_MetalPole",5},{"Exile_Item_PlasticBottleFreshWater",10},{"Exile_Item_PortableGeneratorKit",5},
  970. {"Exile_Item_Rope",15},{"Exile_Item_SafeKit",15},{"Exile_Magazine_Battery",15}
  971. }
  972. },
  973. {
  974. "Support-Box2",
  975. {
  976. "Exile_Item_Flag",
  977. {"Exile_Item_WoodDoorKit",15},{"Exile_Item_WoodDoorwayKit",15},{"Exile_Item_WoodDrawBridgeKit",15},
  978. {"Exile_Item_WoodFloorKit",15},{"Exile_Item_WoodFloorPortKit",15},{"Exile_Item_WoodGateKit",15},
  979. {"Exile_Item_WoodLog",15},{"Exile_Item_WoodPlank",15},{"Exile_Item_WoodStairsKit",15},
  980. {"Exile_Item_WoodSupportKit",15},{"Exile_Item_WoodWallHalfKit",15},{"Exile_Item_WoodWallKit",15},
  981. {"Exile_Item_WoodWindowKit",15},{"Exile_Item_WorkBenchKit",15}
  982. }
  983. },
  984. {
  985. "Support-Box3",
  986. {
  987. {"Exile_Item_Flag",5},{"Exile_Item_WoodDoorKit",15},{"Exile_Item_WoodWallKit",15},
  988. {"Exile_Item_WoodWindowKit",15},{"Exile_Item_WoodFloorKit",15},{"Exile_Item_SafeKit",5}
  989. }
  990. },
  991. {
  992. "Support-Box4",
  993. {
  994. "ItemMap",{"ItemGPS",5},"ItemWatch"
  995. }
  996. }
  997. };
  998. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement