Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // DO NOT TOUCH
- if (isNil "useWebConf") then {
- useWebConf = false;
- };
- if (useWebConf) exitWith {};
- /*
- CONFIG - Thank you Fini for everything, lots of love <3 - Zayne
- */
- ATP = false; // use anti teleport, might cause logs with special spawn points, etc
- DOEF = false; // disable oneachframe and detect (used for esp)
- DD3D = false; // disable draw3d (used for esp)
- DMSC = false; // disable onmapsingleclick
- MCEH = false; // check for mapclick mission eventhandlers
- BVC = true; // bad variable check (you gotta put some vars into the list below)
- LPC = false; // loot pile check, log if weaponholder has more than 50 items
- NGC = false; // no grass check
- VDC = false; // view distance check
- ALMB = true; // altis life money bait, bait people into changing wrong money var
- IAC = false; // infinite ammo check (might require more testing)
- GMC = false; // god mode check (uses mphit eh, checks if unit is full hp after being hit)
- GMC2 = true; // god mode check mk2 (checks allowDamage, if mission uses it, causes kicks)
- DKB = false; // disable keybinds
- CWC = true; // check weird chars, only works on players with game set to english language
- CSS = false; // check spectate scripts, kick people with camera more than 100m from player obj
- SHC = true; // speed hack check (getAnimSpeedCoef)
- NFC = false; // no fatigue cheat check
- PBO = true; // bad pbo check, pbos loaded from first admin joining, stored in profilenamespace
- VAD = false; // virtual arsenal detection, ban if someone is in the virtual arsenal
- FLY = false; // fly hack check
- PSC = false; // player speed check, if player is speed hacking on foot
- DBG = true; // log users debug console data to a file
- STW = false; // shooting through walls check
- EFEH = false; // check for eachframe missioneventhandlers
- EFEH2 = false; // check for stacked eachframe missioneventhandlers
- SAIM = true; // silent aim/bullet teleport cheat check
- ATH = false; // attached objects check, check if too many or unknown objects are attached
- MRK = false; // check map markers for any special markers (local, map esp)
- MRK2 = false; // check if player has map markers with players names
- DUPE = true; // dupe prevention
- LVC = false; // local vehicle check
- FFC = false; // fast fire check
- FPE = true; // file-patching enabled check
- MDEH = true; // check for map esps based on the draw event handler
- GRP = false; // group icons check, old ESP scripts from A2 use this
- THRM = true; // thermal vision check, disable if server has weapons/vehicles with thermal
- NRC = 1; // no recoil check, 0=off, 1=if 0 recoil, 2=fully on
- NSC = 0; // no sway check, 0=off, 1=if 0 sway, 2=fully on
- LAG = true; // lag switch detection
- EXPL = false; // detect if player crouch looks through floors or lean looks through walls, has some problems indoors and shit
- RATE = true; // a heartbeat, uses the rating system, do not use if mission uses rating (addRating)
- AUTH = false; // force first time players to go on a website to check if they are multiaccounting, easy for players, very much recommended
- SRC = false; // experimental scripted be filter check, is not done, do not use
- HOOK = false; // hook wiretransfer/etc functions on the client for server checks (<-- compileFinal'd, see for possible fix)
- /*
- @PLEASE DONT IGNORE
- this is an external logging interface that allows other scripts on the server to
- utilize the logging dll. The script function is AH_LogInterface with params['log text', 'log file.log'];
- example: ["Lannisters jailed innocent people for over 2 hours!", "abuse.log"] call AH_LogInterface;
- */
- ELI = true;
- // expose the read-only level of the admin to external scripts
- // example: call AH_AdminLevel // 0 = sadmin, > 1 other levels
- EAL = true;
- LPD = false; // log player deaths (eg. weapon, cash, vehicle, etc)
- adminChat = false; // log admin actions in the chat for everyone (god mode, esp, etc)
- // what to do when detection occurs, 0 = only log, 1 = kick/ban if AH bypass is detected, 2 = kick/ban if cheat is "confirmed", 3 = always kick/ban, recommended: 1 or 2
- detectionMode = 1;
- DELAY = true; // delay kicks by 5-15 minutes, so cheater doesn't know what is detected, very much recommended
- debugInfo = true; // extra info in the rpt log
- testMode = false; // this is test mode, do not use, enables experimental features which are broken
- silentMode = false; // silent mode, don't how any messages in chat etc for normal players
- clearPbos = true; // clear the pbos from the profilenamespace, enable this for one restart when you update the modpack
- serverPrefix = "Vanguard Gaming"; // prefix for all the messages in the antihack
- messageFunction = {[(_this select 0),"red"] call DT_fnc_notify;}; // function to use (normally use systemChat but not available on some servers), msg is "_this select 0"
- // these found in any display will ban, might also use script commands to detect executor dialogs
- badDisplayStrs = ["no Fatigue", "pesp box", "god mode","godmode","player esp","player visual","nuke", "remote ex","kill all","bullet storm","no recoil","test re","init re","spoody","devsec","bantah","no grass","map tp","add money","everyone", "call compile", "finddisplay", "aim assist", "ctrltext", " compile ", "|exe|cute|"]; // VERY POWERFUL, PLEASE USE
- badActions = ["delete", "destroy", "bomb", "god", "esp", "kill", "teleport", "onmapsingleclick"]; // any action containing these will trigger a ban
- // all the objects that can be attached to players
- attachableObjects = ["Land_Can_V3_F","Land_ClutterCutter_small_F","Land_Razorwire_F","The_Programmer_Iphone_Model","Land_BarGate_F","RoadCone_F","RoadBarrier_small_F",
- "Land_PlasticBarrier_03_F","TapeSign_F","ArrowDesk_L_F","ArrowDesk_R_F","ArrowMarker_R_F","ArrowMarker_L_F","Land_PortableLight_single_f","Land_PortableLight_double_f",
- "#particlesource", "B_supplyCrate_F", "Land_PortableLight_double_F", "C_man_1"];
- badChatText = [["/exec", "ban"]];
- badDisplays = [-1338,-1337,17,19,30,32,45,56,59,62,64,69,71,110,125,132,155,156,162,165,166,167,1320,1321,2727,2928,2929,3030,316000,9899,0110];
- // displays ignored by display string detection, AAN news announcement and default display, if array, idd:idc
- whitelistedDisplays = [];
- // keys that are whitelisted for dialog check
- whitelistedKeys = [];
- correctViewDistance = 1600; // what users max view distance should be (VDC must be true for this)
- moneyLogLimit = 50000; // if more than this is gained in a few secs, then log (0 = disabled)
- longMoneyLogLimit = 100000; // if more than this is gained in the last hour, then log (0 = disabled)
- fastFireTime = 0.015; // time between shots, this works for all default guns, lower is there are false positivies
- _alMoneyVar = "cash"; // requires ALMB to be true, cannot use life_cash
- _alBankVar = "bank";
- // revive variable for admin menu revives, default: life_fnc_revived
- altisLifeVariables = [
- "DT_fnc_revived", // life_fnc_revived
- "DT_fnc_restrain", // life_fnc_restrain
- "DT_fnc_arrestPlayer", // life_fnc_jailSys
- "DT_fnc_initATM", // life_fnc_atmMenu
- "DT_fnc_lockSwitch", // life_fnc_lockVehicle
- "ALSG_fnc_clearVehicleAmmo" // life_fnc_clearVehicleAmmo
- ];
- // anti-tp whitelisted positions
- atpWhitelists = [];
- // allowed mp interrupt children
- mpInterruptWhiteList = ["ueberschrift_mod", "ESC_Timer", "info_gespeichert", "info_creadores", "cba_help_credits", "CBA_Credits_Cont_C"];
- atmObjs = ["TR8_ATM"]; // if the player is near these, cash log is disabled
- // whitelist for suspicous markers (uses find so part of the name is enough)
- mapMarkersWhiteList = [];
- // peeps with these weapons (classnames) will be kicked
- badWeapons = [];
- // peeps in these vehicles (classnames) will be kicked
- badVehicles = [];
- // self explanatory
- badVars = ["MavPlaysMinecraftISwear", "WookieESP", "andy_healall", "targetplayer", "selWeapon", "PrintyBoiSaysHelloToEveryoneAtInfiStar_TextBox", "ChangeTheVariable3",
- "wordAroundTheOfficeIs_YouveGotaPhatCock_GetTheSucc", "fuuunnsnsnns", "getPrintedSlaved", "adminVarName", "hidemenu", "ExileClientPlayerIsOverburdened", "goodmemes"];
- //displays to check, format: idd, no buttons, bad ctrlTypes (arr), max ctrls, min controls (THIS IS QUITE POWERFUL, PLEASE USE)
- badCtrls = [[24, true, [3, 4, 5, 9, 12, 100], 3, 0], [602, true, [2, 3, 9, 12, 100], 100, 20], [12, false, [7, 12], 150, 75], [999, true, [4, 1, 2], 505, 0],[49, false, [3, 4, 5, 12, 100], 105, 10]];
- // shitty name, format: ctrlType, max amount, max length, whitelist (array)
- ctrlLimits = [[5, 4, 20,[4,602,70,8005001]],[1, 6, 0, [49, 602]]];
- // lowest ones at the top, the perms stack from top to bottom (eg. if first one has X then the second one has X too)
- /*
- Basic Rundown of Panel Powers
- -----------------------------------------
- Lewis: Free Cam, Self Disconnect
- Cole: Free Cam, Self Disconnect, View Hacker Logs
- Admins: Free Cam, Self Disconnect, View Hacker Logs, Spectate
- Senior Admins: All of the above + Invis, View Admin Logs, Restrain/Unrestrain, Teleports, Freeze/Unfreeze
- Head Admins/Staff Manager: All of the above + Ban/Kick, Map TP, Day/Night, Jail/Free, Kill, Heal, Revive, God Mode/Vehicle God Mode
- Wolfie/John/Dom - Everything
- */
- _adminBois = [
- [
- ["76561198009978959"], // Lewis & Cole
- ['View Hacker Logs','View Players','Sort Player by Name','Disable Announcements','Self Disconnect','Free Cam']
- ],
- /*
- [
- ["0"], //Cole
- ['View Hacker Logs']
- ],*/
- [
- ["76561198009880911"], // Admin
- ['Spectate']
- ],
- [
- ["76561198080306008","76561198021137363"], // Senior Admin
- ['Stealth mode','View Admin Logs','Restrain','Unrestrain','Teleport target to me','Move target into your vehicle','Teleport to','Move into target vehicle','Freeze','Unfreeze']
- ],
- [
- ["76561198105905115","76561198376183384"], // Head Admin/Staff Manager
- ['Ban','Map Teleport','Day Time (Global)','Night Time (Global)','Jail','Free','Kill','Kick','Revive','God Mode','Vehicle God Mode','Heal']
- ]
- ];
- _sadmins = ["76561198090083094", "76561198282014773","76561198071007604","76561198207258127","76561198074357023"]; // Wolfie, John, Dom
- // these admins will start as normal players until they press the admin login key
- _normalAdmins = ["76561198021137363","76561198080306008"];
- // key normal admins use to login to the admin panel (201 = page up)
- adminLoginKey = 201;
- // announce admins logging in to all players in the chat
- adminLoginAnnounce = true;
- _serverCmdPassword = "A3VG6LT8cvEh";
- // what to do when a global banned person joins (none/log/kick/ban) checks for fini globals, infishit, kfc (a2) and ws
- _onGlobalBans = [["fini", "log"], ["infi", "log"], ["kfc", "log"], ["ws", "log"]];
- _onInfiBan = "log";
- _infiBanWhite = []; // uids that bypass infistar global ban check
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement