Esc to clear, Enter to open the best match, click an export to open it in its page
Concepts
Glossary
Words these docs use in a sense of their own. Where QBCore, ESX or ox uses a different word, it's in italics.
| Word | Means |
|---|---|
| ACE | FiveM's permission system, set with add_ace in server.cfg. whip.devtools is the ACE for WHIP's admin tools (Dev Tools) |
| Action | Something a player can do: a prompt in the world, an F1 wheel option, a choice on a car part. Made with AddAction. A target option. |
| Address | How a store and slot are named: { kind, id, sub, slot } (Addresses) |
| Audience | Who something the server shows is for (a blip, a prop set, a point): 'everyone' or { people = { serverId | { charId = n } } } (Player) |
| Card | One step of a Director scenario: an NPC, a car, a goal, a line of talk (Director cards) |
| charId | A character's id. Saved, so it never changes; save this one (Naming a person) |
| Consume, live | The two ways a client reports a vehicle stat only it can know: how much was used (fuel), or what it's worth now (boost). The server caps both (consume and live) |
| Container | A storage box in the world; one kind of store. A stash. (Containers) |
| Developer mode | A switch in /w. Off, an admin is treated as an ordinary player (Dev Tools) |
| Director | WHIP's scenario builder in /whip: missions and stories made from cards, no code (Director) |
| DUI | A web page drawn onto something in the world, like a screen or a sign (DUI) |
Ensure… | EnsureJob, EnsureShop, EnsureDoors and the rest: the first call creates the thing, later calls bring it in line with what you declare. Safe to declare at every start (Jobs) |
| F1 wheel | The radial menu (F1, or hold D-pad down). An action with at = { radial = true } (at). A radial menu. |
| Ground item | An item lying in the world. Not a store: it has its own exports. A drop. (Ground Items) |
| Hook | A function of yours WHIP calls at a set moment and waits for, like a panel's onValidate (panel hooks) or a client hook (RegisterClientHook). Unlike an event, it can reply |
| Item key | The name an item is registered under: 'mycafe_coffee' (Item Definition) |
| Layer | A named change stacked on something, removed to restore what was under it: a weather layer (Layers), a handling layer (SetVehicleHandlingLayer) |
| Lore character | A story person the Director keeps, with a name, face, phone and voice lines (Director) |
| Managed door | A door owned by a resource (EnsureDoors) or a home. Admins can rename it but not change who opens it (Doors) |
| Monitor | /whip → System → Monitor: every SecureEvent and SecureCallback call, accepted or refused, and Sentinel's detections |
near | A SecureEvent rule: refuse unless the player is within range of a spot or the car named (near) |
| Owned, session vehicle | Owned: someone's car, saved. Session: any other car WHIP knows, in memory only: street cars and SpawnTempVehicle cars (Vehicles) |
| Panel | An inventory-like window your resource opens beside the inventory, with OpenPanel. A secondary inventory. (Panels) |
| Panel item | An item that holds items, like a wallet (RegisterPanelItem) |
| Permission | A WHIP staff role on an account, between player and full admin. Not an ACE (Permissions) |
| Person | A server id for someone online, or { charId = n } online or not (Naming a person) |
| Player sheet | The plain table GetPlayer returns: charId, fullName and so on, no methods. PlayerData, xPlayer. (Player) |
| Pockets | A player's own stores: the main inventory (sub = 'player') and the accessory strip ('accessory') |
| Point | An interaction point added by server code (AddPoint) |
| Presence | persist = 'presence' on a vehicle stat: the database remembers the car has it, at its fitted value (RegisterVehicleStat) |
| Receipt | What ChargePlayer returns; pass it to RefundPlayer (Charging a Player) |
| Registry, registration rule | What whip_core holds of everything resources declared, forgotten on restart; same again changes nothing, another resource's name is refused (Registering) |
| Run tag | A label like 'run:42' on what one mission makes, so ReleaseTag removes it all (Run tags) |
| Satellite | Any resource built on whip_core, loading @whip_core/lib/satellite.lua (The satellite helper) |
| SecureEvent, SecureCallback | RegisterNetEvent and a server callback, with checks built in (Secure Events) |
| Sentinel | WHIP's guard against a game changing the state bags WHIP writes (Sentinel) |
| Session | A number on the player sheet, new each time a character loads; check it with IsSessionCurrent after a wait. Not a session vehicle |
| Setup report | What whip_core prints at start: problems with the server's setup and the line that fixes each (Quick Start) |
| Server id, source | FiveM's number for a connected player. Changes every join, so never save it |
| Snapshot | The copy of a car GetVehicle returns; it can be passed back to any vehicle export (Vehicle references) |
| Stat, effect | A character's server-side numbers (health, hunger, your own) and timed changes to them (Stats & Effects) |
| Store | Anywhere items sit: pockets, a container, a boot, a shop, a panel item. Not a shop. An inventory. (Stores) |
| Store kind | The sort of store an address names: 'player', 'container', 'vehicle' or your own (Store Kinds) |
| Use handler | What using an item does: a function, or a table for a timed use. A usable item. (RegisterUseHandler) |
| userId | A player's account, holding up to Config.MaxCharacters characters (Characters) |
| Vehicle data | Anything stored on a car that isn't a gauge: SetVehicleData (Vehicle Data) |
| Vehicle reference | { id }, { entity }, { plate } or { netId }; a bare number is a vehicleId (Vehicle references) |
| Vehicle stat | A gauge on a car that WHIP keeps, syncs and saves: fuel, nitrous, boost (RegisterVehicleStat) |
| vehicleId | WHIP's id for a car: the database id when owned, 1,000,000,000 and up otherwise. Not the entity or netId |
| Watcher | WatchVehicleStat / WatchVehicleData: your code runs while a car nearby has a stat (Watching stats) |
Whip.register | The function you hand declarations to, so WHIP can run it again after a restart (the one rule) |