Esc to clear, Enter to open the best match, click an export to open it in its page
Server Owners

Configuration

whip_core's settings live in its config.lua, read by server and client. The ones an owner changes are also in /whip → Settings → Config; timings, reaches and fine tuning are config.lua only.

Most settings apply at once for every player; those marked Next restart wait for whip_core's next start. Another resource can't read whip_core's Config: use the export for the value, such as GetPockets().

Changing a setting in game#

Only a permanent admin sees Config: whip.devtools from server.cfg, not dev tools given in the Player Manager. Pick a group, change values, press Apply.

A saved value wins over config.lua until you press Reset. Saved values live in whip_settings (history in whip_settings_log) and are copied to settings.json (read by players' games) and server_settings.json (never downloaded). Don't edit either: WHIP rewrites them from the database at every start.

Items are edited in /whip → Economy → Items. Resources add their own pages beside Config: Settings pages for your resource.

Characters and money

SettingDefaultDescription
MaxCharacters4Characters per account, up to 30
DefaultCash500A new character's cash
StartingBalance1000A new character's bank balance
DefaultAccountLabel'Personal Account'Name of the account made with a character
MaxExtraAccounts5Savings and shared accounts per character (personal and job accounts don't count; 0 = none)
BlockOwnCharacterTransferstrueA player's characters can't move money to each other through the bank, so starting money can't be farmed. Cash handed over in the world isn't tracked
DefaultSpawnvector4(-1023.03, -1660.96, 4.62, 44.92)Where new characters appear

Joining

SettingDefaultDescription
LandingtableThe screen after loading: a camera shot, the WHIP logo and "Press any button to continue". enabled = false skips it. Also camera, prompt, look (sky and clock), fades, streamMs. /logout skips it
CharSelecttableThe character screen. slots: a hero shot per character place (camera, pos, a scenario/anim/emote, look, props); a place without one reuses another, and shot 1 must exist. quietBucket (no traffic or people), preloadShots, spawnPicker (pick where to arrive on the 3D map; false: fade to black, as dead and new characters always get). Fades: Config.CharSelectFades
SpawnPointstableExtra spawn picker places, beside the last position and the character's properties: { id, label, pos }, pos a vector4. Server only. A resource adds its own with RegisterSpawnPoint
CreatortableWhere a new character is made (spawn), look, fades and holds; saving sends them to DefaultSpawn. maxOutfits (20, up to 100): saved outfits per character (clothes and accessories only)
ArrivalScenestableA GTA character-switch scene as the picture returns after picking a character. enabled = false: a plain fade
ArrivalScenes in full
  • onFoot: one at random, skipping any whose walk hits a wall. Indoors, only lines marked indoors.
  • inVehicle: left in a car still within vehicleRange (400 m), they wake up in it (their seat or the first free). No scene on a bicycle, boat or aircraft.
  • onBike: the motorbike is stood up and they arrive beside it. nearCar: a car of theirs within nearCarRange (25 m), they arrive at it.
  • Line fields: from / to (0-1), vehicleClip (lined up with a real vehicle), getsIn (ends in the seat), prop (else the game's own).
  • Config → Joining lists each scene; Add scenes picks from every switch scene (client/arrival_list.lua) and Watch plays one where you stand.

Inventory and saving

SettingDefaultDescription
AccessoryStriptrueThe strip beside the inventory: a Phone slot, a Money slot (cash or a wallet) and three Key slots (a key there goes in the ignition). false: its contents move to the inventory at next login. Next restart. Read pockets with GetPockets()
ContainerSlotsplayer 30, accessory 5Slots per player container
MaxWeightplayer 80, accessory 10kg. player includes the strip; accessory is the strip alone
WeightUnit'kg'What the inventory and shops show weights in until a player picks their own (Server Settings → Map & HUD): 'kg' is grams under a kilo and kilograms from one up, 'lb' ounces under a pound and pounds from one up. Weights in config.lua and RegisterItem are kilograms either way
DropOnFullInventorytrueAddItem drops what can't fit at the player's feet (full inventories). false: it returns false and creates nothing
MaxGroundPilesPerDrop50Most piles one drop makes (one per slot's worth); past it, items are shared across this many
EnableInventoryUItruefalse: no WHIP inventory screen (Replacing the inventory UI); the system keeps running
FlushInterval1000ms between write-behind flushes: what a crash can lose (Save System)
PlayerPositionSaveInterval30Seconds between saves of position and stats such as hunger. Health and armour save at once
EnableTestSeamsoffLets a test resource inject database failures. Needs set whip_test_seams true; never on a live server
ShowPlayerNames'nearby'Who sees another player's character name (GetPlayerFullName, the phone, the Director; CanSeePlayerName): 'nearby', 'always' or 'never'
PlayerNameRange25.0Metres, for 'nearby'
DependentResources{}Resources to restart with whip_core. Leave empty; use Whip.register
PlaceItemRange10.5Metres from the camera an item can be set down
ItemNotices{ enabled = true, removed = true }The item's picture and "Burger x2" for two seconds in the hint capsule when a player gets (green) or loses (red) an item, any way. Several take turns. removed = false: only what they get
GiveModeStyle{ walk = 'trash', speed = 'jog' }Movement while holding an item out: walk (a /walk name; nil: own), speed ('jog', 'walk' or nil). SetGiveModeStyle overrides it
ThrowKnockdown.EnabledtrueA thrown item that hits hard enough knocks a person down and bounces off. Never in a no-PvP zone or on god mode
ThrowKnockdown.MinSpeed8.0m/s the item must still be flying at (a throw starts at 18)
ThrowKnockdown.MinImpact8.0Its weight in kg times its speed in m/s. At a normal throw a 1 kg item is about 17 and knocks someone down; a 0.3 kg sandwich is about 5 and doesn't; cash never does
ThrowKnockdown.RagdollMs2500ms on the ground, then 1.5 s before another knockdown
ThrowKnockdown.NpcstrueStreet NPCs fall too
DefaultGroundProp'prop_cs_cardbox_01'Model for a dropped item with no prop
ContainerDefaultSlots / ContainerDefaultWeight / ContainerDefaultProp20 / 100.0 / 'prop_cs_cardbox_01'A stash's values when it sets none

Stats

SettingDefaultDescription
Hunger / ThirsttrueDrains, saves, has a gauge and costs health at 10 or below (Config.NeedDamage: every 10 s under 10%; 0 for none). Off: none of that; food and drink still work
RespawnTime / RespawnLocations10 / three hospitalsSeconds before respawn, and the hospitals (vector4s, one at random). See HoldRespawn
DeathScreentruefalse: draw your own from whip_core:death:screenChanged
HungerMinutes / ThirstMinutes120 / 90Minutes from full to empty (1 to 1440)
StatOrder{ 'health', 'armour', 'hunger', 'thirst', 'oxygen' }Gauges left to right; unlisted ones go after
StatHitFlashhealth 10, armour 10Drop (% of gauge) that brings the gauges back while chat or a notification has the capsule. 0 never
OxygenSeconds20Seconds of breath under water (1 to 45)
OxygenRecoverPerSecond6Breath back per second, out of 100
OxygenGraceSeconds1Seconds without breath before drowning (0 to 10)
Stats{}Your own stats (WHIP's are in server/stats.lua). See Stats
StatsTickInterval / StatsSyncInterval1 / 5Seconds between server stat processing, and between full syncs to the client
StatsSetGuardWindow2Seconds after WHIP sets health or armour in which a 0 from the game is ignored

HUD, minimap and controls

SettingDefaultDescription
MinimapMask'rounded''square', 'rounded' or 'circle'. The minimap is WHIP's own 3D map; players tune it in Server Settings → Minimap. GTA's radar shows only in /radardebug
HudSkin'black''black': black discs in a draining white rim, a framed minimap, a blue route. 'classic': discs that fill white, in a capsule. Not the vehicle dial
AimDottrueA dot replaces GTA's reticle (not for melee or the petrol can), red when the muzzle is against a wall
HudDeveloperMarktrueThe amber developer-mode mark among the gauges. false hides it, for filming
CameraHidesDuifalsetrue: the camera item also hides WHIP's things in the world (/me bubbles, conversations, Director marks)
MapOptions.onFoot / .inVehicle'player'Minimap on foot / in a vehicle: 'player' (each chooses), 'on' or 'off'
MapOptions.forceMinimapfalsetrue: everyone gets MapOptions.minimap, locked
MapOptions.minimaptablefps (120/60/45/30/15), border (true, 'outline', false), northUp, centre, markerSize (%), markersUpright, viewFoot/viewSlow/viewFast (metres), speedFrom/speedTo, tiltFoot/tiltVehicle/tiltWithSpeed/tiltFast (degrees)
ActionMode{ Disable = true }Turns off GTA's combat stance after shooting
IdleCam{ Disable = true, ResetMs = 10000 }Turns off GTA's idle camera; ResetMs resets a driver's idle timer
ControllertableGamepad layout and timings (below)
Keyboard{ Languages = { 'en' }, Default = 'en' }The on-screen keyboard's languages, each a pack in html/keyboard/ (its README explains adding one). Default: for players whose GTA language isn't listed. Read at start
Controller in full
  • Layout buttons: dpad_up, dpad_down, dpad_left, dpad_right, l3, veh_a, foot_b, and with LB held lb_a, lb_b, lb_x, lb_y, lb_dpad_up … lb_dpad_right.
  • Each holds a WHIP action ('radial', 'engine', 'inventory', 'sprint'), a registered action, or false (free).
  • Defaults: dpad_up = 'phone', veh_a = 'nitrous', lb_a = 'talk', lb_b = 'gunny_check_ammo', lb_x = 'radio'. A named action keeps its button while its resource runs.
  • RadialHoldMs, SprintDoubleClickMs, SprintOnA; VehicleControls (true) shows a car's buttons for VehicleControlsMs (5000).
  • Players remap in the pause menu (saved on their PC). D-pad up/down, A and LB on prompts are fixed.

World interaction

Ranges in metres.

SettingDefaultDescription
InteractVisibleRange / InteractActiveRange5.0 / 2.0Where the circle appears, and where E works
InteractFocusCone40.0Degrees from the view's centre a prompt must be to win (InteractFocusConeNear / InteractFocusNearWeight for doors)
InteractDistWeight / InteractCameraWeight0.6 / 0.4A scoring helper's defaults; the E prompt doesn't use them
ContainerInteractRange / ContainerStreamRange2.5 / 100.0Open a container (server allows +2 m, counted from the edge of a prop set up in /whip, where its prompt is); spawn its prop
ContainerPrompt'face'A stash prompt's default spot: 'middle', 'side' (nearest side) or 'face' (follows you). Players can pick their own
ShopInteractRange / ShopStreamRange2.5 / 100.0The same, for shops
ShopBasketSlots10Lines in a basket (1 to 50)
GtaStores / GtaStoreCatalogoff / { food = 50, drink = 30 }GTA's nine 24/7s and five LTDs as shops (a keeper behind the till, a map icon), each made once and then managed in /whip. On with set whip_gta_stores true in server.cfg (WHIP's txAdmin recipe sets it for a new server) or on /whip → Settings → World & gameplay. Off makes no more and deletes none; one deleted in /whip is not made again. Leave it off if another resource runs your stores
ShopTalk.enabledtrueShopper and shopkeeper speak in /me bubbles (Shop talk)
ShopTalk.batchSeconds / .keeperDelay1 / 1.2Seconds of quiet before basket changes are said; seconds before the keeper answers
ShopTalk.open … ShopTalk.keeperLeavelistsLines for open, add, change, remove, paid, broke, leave and their keeper versions, with {n}, {item}, {total}, {items}. config.lua only
NetworkRange424.0How far news of a place reaches (chat, throws, a car's look). /global reaches all
DoorInteractRange3.0To use a door
GroundItemPickupRange / GroundItemStreamRange2.0 / 100.0Items in the Ground panel; dropped props spawn. Door locks use the stream range: keep it 50+
ZoneCheckRange200Furthest zone tested
ZonePollInterval / ZoneVehiclePollInterval300 / 2000 msZone re-checks for players / vehicles
InteractRenderer'world''world': 3D prompts, no lag, hidden behind walls. 'nui': an overlay a frame behind; doors show flat
PropPromptDefaultOffsetEmptyDefault offset, with optional heading, visualOffset and radius, by model name or hash. Explicit action placements win. /promptoffset prints entries; edit config.lua, then restart the resource
Interact3DtableThe 3D prompts' look: badgePx, labelPx, fades, depthBias, theme ('keycap' or 'classic'), dark, styles and groupStyles (Styles)
DoorHandleAlong / DoorHandleHeight0.85 / 1.05A door circle's spot: fraction toward the free edge, metres up. Garage doors (over 1.7 m wide) get a sliding padlock
DoorPromptOffsets{}Per-model fixes: [GetHashKey('model')] = { x, y, z } from the door's origin
Grid cell sizes. GroundItemCellSize and ZoneCellSize (both 50) size the spatial grids. Door and ground updates travel on GroundItemCellSize's: keep it well above 25 m.

Vehicles

SettingDefaultDescription
VehicleTrunkSlots / VehicleTrunkMaxWeight40 / 200.0Boot capacity
VehicleGloveboxSlots / VehicleGloveboxMaxWeight10 / 20.0Glovebox capacity
MotorbikeGloveboxSlots1A motorbike's glovebox. Bicycles have none and need no key
VehicleKeySlots / VehicleKeyMaxWeight1 / 1.0The ignition: one key
VehicleLockRange8.0Metres to lock with L
UnlockOnExittrueGetting out unlocks the car. false: it stays locked
LockpickGame'ring'Skill check for lockpicks and the ignition hack, or a Whip.skillCheckGame game (falls back to the ring)
Seats{ NoAutoShuffle = true }Passengers stay in their seat (Vehicles & Keys)
VehicleTrunkRange2.5Metres from the rear to open the boot
GarageSpotRadius3.5How close to a bay's middle a car must be to store there. Occupancy uses the bay's outline
Fuelwhip_fuelFuel is whip_fuel's (its config.lua, /whip → Settings → Fuel). Without it, cars need no fuel
VehicleStatsengineGauges every car carries; add yours with RegisterVehicleStat
VehicleDamage{ remember = true, engineFloor = 100 }Cars keep damage, torn doors and burst tyres (not dents). engineFloor: lowest engine health on spawn (Damage a car keeps)
VehicleHudtableThe rev dial (flight instruments in aircraft, power on boats). Below
VehicleStatsTickInterval1Seconds between checks of stats with a decay. Next restart
VehiclePositionSaveInterval / VehiclePositionEpsilon30 / 2.0Seconds between car position saves; metres moved to save
VehicleStorageKeepRange5.5How far a player can stray with the boot open. No effect below VehicleTrunkRange + 3.0
DrivingCamera{ Enabled = true, Default = false, Shake = 1.0 }The driving camera in Server Settings → Vehicles: Enabled (offered at all), Default (on for a player who never chose), Shake (0 to 3; 1 as made)
BikeAutoHelmetfalsetrue: GTA's helmet on a motorbike
ExperimentalDriveSyncfalsetrue: every game plays a Director car's recorded drive on its own copy
InteractPresstableThe hand press (PlayPress): enabled, maxDistance (2.5 m), followHand
LogVehicleStoragefalseLogs every boot, glovebox and ignition open, to find why one didn't
VehiclePartPromptstableBoot, bonnet and door circles: enabled, drop, rise, clearance, range, activeRange, scale, doors' inset; bike, bicycle, boat (/vehpoints shows them)
VehiclePartPromptScan15.0How far away part prompts are prepared
VehiclePartOpenAngle70.0Degrees an open door swings
VehiclePartHingeTopFrac / VehiclePartHinges0.52 / {}Guessing which way a boot opens; per-model fixes
VehicleBackDoors / VehicleBackDoorClasses{} / { 10, 11, 12, 17, 18, 19, 20 }Vans whose back doors are the trunk, found from the model on these vehicle classes (industrial, utility, vans, service, emergency, military, commercial). true or false by model hash to correct one
VehicleFillers{}Fuel filler side by model: left, right or rear
VehicleMakeLogos{}Logo files spelled differently from the make, e.g. ['emperor'] = 'emporer'
GarageSpotPromptHeight1.22Metres a bay's prompt floats up
VehicleHud in full
  • attitude ('ball' or 'flat') and flipBank: an aircraft's horizon.
  • speedUnit ('mph' or 'kmh'), rpmMax (thousands, 2 to 20), redline (share of the dial), rpmElectric (20).
  • idleRpm (0.8 = 800 rpm); idleMeasured = true uses each engine's own idle (data/rpm_by_model.lua).
  • rpmByClass (openwheel = 15) and rpmByModel (sultan = 8.5, which wins).
  • dashSkins: each car's GTA dashboard look (data/dash_skins.lua, 555 vehicles).
  • The dial follows the engine: a swap with SetVehicleRevRange changes it. /vehiclehud off hides it for one player until reconnect.

ATMs

WHIP finds these models wherever they stand. AtmProps and the two ranges are also on /whip → Settings → Characters, money & jobs, live: an empty model list turns WHIP's ATMs off, for a server that uses another ATM resource.

SettingDefaultDescription
AtmProps4 modelsATM models. Add an MLO's machine here
AtmSearchRange30.0How far out machines are looked for
AtmVisibleRange / AtmActiveRange3.0 / 1.4Circle shows; circle works
AtmBadgeOffsettableThe circle's spot per model (side, out, up, yaw), plus default
AtmMaxDigits9Longest amount ($999,999,999)
AtmExtraPositions{}Machines a map mod or an MLO adds, for IsNearAtm and GetNearestAtm (a vector3 at each one's base)

For a resource of your own that wants the player standing at a machine, the server knows where GTA's own are (server/atm_positions.lua, 121 read from the game's map): IsNearAtm(source, range?) answers true, at or false, why, and GetNearestAtm(coords) the machine and its distance. Machines a map mod or an MLO adds go in Config.AtmExtraPositions (vector3 at the machine's base). WHIP's own ATMs don't ask this, so a machine missing from the list still works for them.

Time and weather

SettingDefaultDescription
TimeScale1.0Normal GTA speed: 48 real minutes a day
StartTime / StartWeather{ hour = 12, minute = 0 } / 'CLEAR'On a database that never saved a clock
TimeSyncInterval60000 msClock drift correction
WeatherTypestableNames SetWeather accepts

Furnisher, props and lore

SettingDefaultDescription
FurnishPlaceRange8.0A picked prop lands on what you look at within this; further, 3 m ahead
FurnishMoveSteps / FurnishTurnSteps{ 0.05, 0.25, 1.0 } / { 15.0, 45.0, 1.0 }Shift-drag snaps (metres / degrees); G cycles
PropSetMaxProps256Most props in a set (ShowPropSet); about 100 bytes each to every player
LorePictureLinks{ 'https://r2.fivemanage.com/' }Allowed picture link prefixes (lore characters, phone cards). Every player loads them: use a host you trust
LoreVoicetableLore NPCs speaking (needs whip_voice's bot): Enabled, Links, Range (15 m), GreetRange (4 m), ByeRange (10 m), GreetAgainMinutes (3), ReactAgainSeconds (6), Gestures
PropertySignPosts2 boardsFor Sale boards: model, label, panel (w, h), ink, accent, back. config.lua only
PropClusters / PropCategories7 / 35The furnisher's groups and categories, each with a glyph
PropSeeds{}Your props beyond the ~15,000 shipped: ['prop_model'] = 'category'. Also /prop add <category>, /prop remove and /propcheck

Emotes, /me and conversations

SettingDefaultDescription
EmotestablecancelKey ('X'), placeRange (6.0 m). The menu opens from the F1 wheel and /emotes. The list is shared/emote_list.lua
Bubblestable/me: range (20 m), duration (5000 ms), maxLength (120), maxStack (3), maxPlayers (6), height, size
ConversationstableNPC dialog (Conversations): size, height, margin, swing, range (6.0 m), speakingText, busyText, watcherBubbles, npcLines (1 to 4)

Logs and timings

SettingDefaultDescription
LogSecureRejectionstruePrints refused SecureEvents and SecureCallbacks; repeats are counted every 5 s. A flood means something real is refused
ActivityLogDays30Days of Activity Log kept
PlayerManagerSessionWarnfalsetrue: the Player Manager flags two game clients on one licence ("2 SESSIONS")
PlayerPositionEpsilon2.0Metres moved before a player's position saves again
GroundSyncInterval1Seconds between grid cell checks (dropped items, door states)

Content tables

Config.Items, Config.Shops, Config.Garages and Config.JobDefaultRoles define the world's contents and are read at startup. Items: Item Definition Schema.

Settings explained with their system

SettingWhere
InventoryRendererBuilding a whole custom inventory UI (whip_core/docs/nui-inventory.md)
WeaponGuardPermitNativeWeapon
JobOneCharacterPerAccount, JobDutyOneAtATimeJobs & Business
VehicleStatsSaveIntervalSave System
NpcVehicleLockRangeVehicles & Keys
GaragePositionHelperPosition Helper
GarageWizardReachThe bay tool, the wizard
PropertyMaxObjects, PropertyKeyGrantRange, PropertyStreamRange, PropertyFurnitureDistance, PropertyFurnitureRooms, PropertySignPlaceRangeProperties & Homes
PropertyStashProps, PropertyStashLimitStashes
ZoneTrackIntervalZones (Server)
SkillCheckHoldMs, SkillCheckMouseSpeed, SkillCheckDifficultySkillCheck
ThemeTheming & Skins
MediaBaseMedia packs
SentinelSentinel
Voice (whip_voice's config.lua)Voice