Dev Tools (/w & /whip)
/w is the quick menu: toggles that draw over the world. /whip is the Admin Panel: every manager in one window, grouped into Players, Vehicles, Economy, World, Director, System and Settings. Both need the whip.devtools ACE and developer mode.
Developer mode
whip.devtools alone isn't enough: /w opens to one switch, and until it's on the account is treated as an ordinary player everywhere (/whip, dev commands, admin-only doors, zones and every resource that asks HasDevTools).
- Visible and logged. The HUD shows Developer Access Enabled. Each switch is printed in the console and logged (
dev_mode_on/dev_mode_off, with position). - Off turns everything off. God Mode, Invisible, Noclip, overlays, open editors and
/whipclose with it. It's off at every join and after a whip_core restart; swapping character keeps it. - Ask
HasDevTools. A resource checkingIsPlayerAceAllowed(src, 'whip.devtools')itself skips developer mode: useexports.whip_core:HasDevTools(source). - Remote tools.
exports.whip_core:SetDeveloperMode(source, on)(server) works as the switch: only for an account with dev tools, and logged with the resource that asked.
Dev commands#
In chat or F8 with developer mode on; the console ones in the server console.
| Command | What it does |
|---|---|
/tp x y [z] [heading] | To coordinates, however they were copied (x y z, x, y, z, vector3(...), vector4(...)). No height: onto the ground there. Behind a fade; a car you drive comes along. On your activity log |
/tpto <server id> | To a player (/tp <server id> does the same). Refused for a player in another world (routing bucket). The Player Manager's Teleport To goes this same way |
/tpm | To your map waypoint, onto the ground there; also Teleport to Waypoint in /w |
/whipcost [seconds] | Times every part of WHIP and every resource's WhipCost sections (20 s; 5 to 120), then prints the dearest first (Measuring your resource) |
/nativecost | Prices each call the controls loop makes |
/paddebug | A controller's chain live: controls down, their buttons, and what WHIP claimed |
/mousedebug | Measures this player's mouse speed, for the skill check's dot |
/nuicaps | Prints what this game's browser can do (GetNuiCaps) |
/vector3, /vector4, /vector2, /heading | Copies where you stand (vector4(x, y, z, heading), two decimals) or the way you face, ready to paste into a config, and shows it. Short forms: /vec (a vector4), /vec2, /vec3, /vec4. The same text as Coords in /w copies with G; if the copy can't happen it's in F8 |
/whipplatform | The platform this game read at start and now. A wrong one means server.cfg needs setr |
/vehpoints | Where each prompt would sit on the bike, boat or aircraft you look at, and why |
/throwtest | Tries ThrowGroundItem where you stand: place where it is thrown from and its target, set the power, and throw a random item with G or RT. Held, it asks for up to 20 a second, and the server throws them one every 500 ms. Delete takes back what it threw; run it again, Esc or B to leave |
/promptoffset | Place a prompt on the entity you look at, or the nearest prop within 20 m, and edit its point, label and radius, and print their values in F8. Run again or Esc to cancel |
/radardebug | The minimap tuner: moves its parts live and prints the numbers |
/propcheck (restart) | Spawns every catalog prop and lists failures; run again to stop, it resumes next time |
/propprobe | What the interior natives say about where you stand |
/npcdebug | Each NPC's state over its head |
whipsetup (console) | The setup report again |
whipcost [seconds] (console) | The server's half of /whipcost |
whiperrors [resource] (console; F8 in developer mode) | Recent errors on that side, grouped by resource, with counts and latest lines |
whipsupport (console) | One block for a seller: version, setup report and recent errors by resource |
Admin commands#
In chat or F8 with developer mode on. Each does what its /w tool or panel button does. An id is the player's server id, the # on their Player Manager page. The ones marked console also work in the server console, where an id is needed.
| Command | What it does |
|---|---|
/noclip | Noclip on or off |
/god | God Mode on or off |
/invis | Invisible on or off |
/car <model> | A temporary car where you stand, its key in the ignition, and you in the driver's seat. In a car, the new one comes beside it. Each stays until /dv takes it or you leave the server |
/dv | The car you're in, or the nearest within 6 m, out of the world: an owned car goes to its garage, any other is removed |
/fix | Repairs the car you're in: engine, body, fuel tank and dirt |
/revive [id] (console) | Stands a downed player up, with full food and drink; no id, you. As the Player Manager's Revive |
/heal [id] (console) | Full health, food and drink for a player who is up (a downed one needs /revive); no id, you. As the Player Manager's Heal |
/kill [id] (console) | Downs a player through the normal death flow; no id, you. Never anyone else of your rank or above, as the Player Manager's Kill |
/kick <id> [reason] (console) | Kicks them, with a note on their account. Only someone below you, as the Player Manager's Kick |
/freeze <id> (console) | Freezes them in place; again lets them go. At the wheel, their car stops and holds with them. While frozen they can't drive, get in or get out. As the Object Viewer's Freeze in place |
/bring <id> | Brings them to you |
/tpc <x> <y> <z> | Takes you to coordinates. A vector4() copied from Coords works too |
/back | Back to where you were before your last teleport: /tpc, /tp, /tpto, /tpm (Dev commands), the Player Manager's Teleport To, or being brought |
/time <hour> [minute] (console) | Sets the time for everyone |
/weather <type> (console) | Sets the weather for everyone. A type it doesn't know lists the ones it does |
/announce <text> (console) | Shows at the top of every player's screen for 10 seconds, with your name under it; as long as the chat box allows. Several in a row show one after another |
/w: quick tools
Arrow keys move, Enter toggles, Esc closes. A tool stays on until switched off (its row lit) or acts once. Every debug tool draws into one shared pane.
| Entry | Does |
|---|---|
| Developer mode | The switch; with it off, the only row |
| Noclip | Fly, invisible and invincible: WASD, Space/Ctrl, Shift for speed. In a car, the car comes too and you stay in your seat, unless another player is driving it |
| Teleport to Waypoint | Once: to your map waypoint, onto the ground there, as /tpm |
| Invisible | Nobody sees you; you see yourself at half opacity |
| God Mode | No damage; health kept full |
| Restore Player Cores | Once: revives you if down (as /revive), then fills your health, armour, food and drink |
| Reveal Players | Every player as a named blip, and within 250 m a tag over their head: character name, charId and account name |
| Kill Me | Once: an ordinary death where you are. Noclip and God Mode go off first |
| Repair Vehicle | Once: repairs the car you're in, driving or not |
| Coords | X/Y/Z/heading on screen; G copies a vector4() |
| Object Viewer | Tags props, peds and vehicles within 20 m. The one you look at opens a card: picture, hash, position, heading and source. G (D-pad left) opens its options |
| Debug | Shows the debug tools: the three below and any resource's own (RegisterDebugTool) |
| Player Stats Debug | Your stats live (the ped's reading beside each vital, amber when they disagree), rates, effects and changes; a card over players within 40 m |
| Vehicle Stats Debug | Your car's stats, rates, change sources and data; a card over WHIP cars within 40 m |
| Ground Items Debug | Piles in your ground cell and the eight around it: counts, droppers, ages, a beam and map mark per pile, and the grid laid on the ground |
| Admin Panel | Opens /whip |
| Dungeon Mode | The world builder on the live world (Dungeon Mode) |
| A resource's page | One row per page a resource added (Your page in /w); Backspace goes back |
| Experimental | Features turned on in Config → Experimental features (Camera Creator, Systems Creator, Combined Settings page). Unfinished prototypes |
/director opens the Director in /whip for a Director builder.
The Object Viewer's options#
Look at something with the Object Viewer on and press G (D-pad left): its options open down the right, searchable and grouped. Esc or B goes back. What G would open is outlined white; the open one blue.
| It is | Options |
|---|---|
| Anything | Copy details (name, hash, vector4), Prompt offset (preview and print a placement). Both leave the original entity unchanged, including a local-only object of another script |
| A map prop | Make it a Dungeon prop, Change model, Remove for everyone; until a restart, or Put back in Dungeon Mode |
| A networked object | Move, Turn invisible, Freeze in place, Swap for a Dungeon prop, Remove (its resource may make it again) |
| A Dungeon prop | Move, Change model, Solid, Put the map's one back, Remove; in Dungeon Mode also Duplicate and a Remote Control Firearm's Fire |
| A ground item | Move, Change item (a gun gets a new serial), Set how many, Remove. Full admins only; logged on the item log |
| Any prop or ground item | Effects: Smoke, Sparks, Flames (harmless), Steam, Glow (80 at most, server-wide); Explode (real, it hurts) |
| A Dungeon car | Key settings: where its key is, Locked, Only its key opens it |
| A WHIP car (saved) | Return to garage, Change owner, Open in WHIP Admin Menu, Delete from whip database, Fix, Set stat, Explode, Become driver / passenger, Eject all players, Turn invisible, Set invincibility, Freeze in place, Move, Inspect trunk / glovebox storage, plus resources' options (whip_autos: Open Whiplash) |
| Any other car | Remove, Fix, Explode, Make vehicle permanently owned by player (paint, parts and free plate kept), Move |
| A player | Restore health / armour, Revive, Kill, Set on fire, Freeze in place, Disable combat abilities (both end when they leave or swap character), Force escort, Move, Change model, Force open character editor, Force change movement style, Force emote, Adjust stats, Inspect inventory, Open in WHIP Admin Menu, Kick, Ban (1 hour to 30 days, or permanent) |
| A player: Make for them | Spawn a car for them (temporary, key in their pocket), Send NPCs after them (1 to 6, armed, from 25-40 m). Lasts until a restart or removal |
| An NPC | Remove, Kill, Set on fire (any fire started here goes out after 8 s), Move. WHIP's own NPCs (shopkeepers, Director, lore) have none |
| A Dungeon NPC | Attack a player, Follow a player, Calm down, Give a weapon, and switches On guard, Invincible, Stay put |
- Who. Full admins, and Dungeon Masters from Dungeon Mode, who can't use options that outlast a restart (marked Admins only). A Dungeon thing's options are its maker's, or any full admin's. Every use is logged on the user's timeline, and the target player's.
- Move gives the furnisher's arrows and rings (R rings, Shift snaps). On a controller: LS moves, LT/RT down and up, D-pad turns. A player is moved by the server about ten times a second.
- Resources add options with
Whip.objectViewerOption.
/whip: the Admin Panel
Open it with /whip, the /w entry, or the unbound key "Whip: Open Admin Panel" (Settings → Key Bindings → FiveM). Esc closes a dialog, then backs out of a section, then closes the panel. On a controller, LB / RB step through tabs; move the cursor to the top edge to fade the panel.
| Section | Group | What it does |
|---|---|---|
| Player Manager | Players | Every player who has joined: characters, stats, vehicles, jobs, bans, notes, timeline. See Player Manager |
| Phones | Players | Every phone number: owner, SIM state, contents (contacts, messages, calls, blocks); change, give the SIM, delete, or give a character a number. Open phone records reads one number's conversations, calls, contacts, activity and blocks both ways, read only. A text or call a block held back is shown, marked |
| Vehicles | Vehicles | Every car, by plate, model, owner or id. Actions: storage, garage, teleport, owner, keys, eject, lock, stats, freeze, repair, explode, tyres, doors, delete. Set up a new vehicle creates one for an owner, in a garage or beside you |
| Vehicle Adjustments | Vehicles | Trunk and glovebox size per category or model, or none. A car's own size beats its model's, then category's, then config.lua |
| Garages | Vehicles | Create, edit, delete and teleport to garages; move cars between them |
| Items | Economy | Every item: settings, pictures, give yourself some (Items) |
| Shops | Economy | Shops, catalogs and prices; link a stocked shop to its container. Stock is managed at the shop |
| Containers | Economy | Create, edit, delete and open containers |
| Jobs | Economy | Jobs, roles, hiring and permissions |
| Banks | Economy | Every account holder, balance, worth and log (Banks) |
| Item Log | Economy | One item's whole life by uid (Activity Log) |
| Zones | World | Persistent zones, rules, whitelists; the in-world Zone Editor (Zones) |
| Doors | World | Saved doors in folders; the in-world Door Editor (Doors) |
| Ground Items | World | Every world item: search, teleport, blips, delete. Select items within 50 m picks every pile near you, to delete together |
| Properties | World | Every home, its problems and fixes; known interiors (Properties & Homes) |
| Time & Weather | World | Time, presets, weather, freeze, blackout, time scale (Time & Weather) |
| Director | Director | Scenarios, packs, live runs and builders (Director) |
| Lore characters | Director | The story's named people: look, bank name, picture, voice lines |
| Monitor | System | Every SecureEvent and SecureCallback call live, refusals, and the Sentinel's catches. Recorded while closed |
| UI Library | System | Runs every UI component live |
| Config | Settings | Changing a setting in game. Permanent admins only |
| A resource's page | Settings | Settings pages for your resource |
Sections with live data push other admins' edits and gameplay changes while you look. Editors that need the game screen suspend the panel and bring it back; anything that opens the inventory closes it.
Media packs#
WHIP's pictures, videos and map files come in media packs of at most 256 MB:
whip_media_clothing_male,whip_media_clothing_female: clothing pictureswhip_media_props: furniture (img/props/<model>.webp)whip_media_previews: vehicles (img/vehicles/<model>.webp), NPCs, tattoos, emoteswhip_media_map: the map, blip icons and minimap tiles
A pack that isn't installed comes from WHIP's CDN, Config.MediaBase (https://media.whipfx.net): both clothing packs, props and previews are there, and a player's game loads each picture the first time a screen shows it, rather than every pack on their first join. whip_core reads the CDN's list of pictures at its start and every hour after, so a pack's new release reaches a running server, and keeps a copy for a start without internet. whip_media_map must be installed: it streams textures to the game.
To run without the CDN, put the packs in your resources folder (a server made by WHIP's recipe has get-whip-media for this): a pack that is installed and started serves its own pictures, and one it hasn't got (a pack older than whip_core) still comes from the CDN. Config.MediaBase = '' turns the CDN off. Installed packs start in any order. Players get a new picture when you restart its pack; whip_core reads which exist at its start. A full category continues in a new pack (whip_media_props_2): after adding, moving or renaming packs, run node whip_core/dev/assets_index.mjs.
ACE permission
Without whip.devtools the commands do nothing, and the server checks the ACE again behind every action. A player with a WHIP permission that opens a section (Director access, say) gets /whip with only that section.
add_ace identifier.license:xxxx whip.devtools allowTo give someone the tools until the restart, see Dev tools until the restart.