
The Lab Devtools
The Lab Devtools
In-game developer tools for RedM. A dependency-free (no ox_lib) admin panel with noclip, raycasting, spawning, weather/time control, player debugging, performance monitoring and a fully rebindable key system.
Features
- Menu — 10 tabs (Overview, World, Debug, Player, Weapons, Horse, Resources, Performance, Tools, Keybinds) opened with a keybind or command.
-
Command palette — press
Ctrl+Kin the menu to jump to any tab or run quick actions (toggle noclip, toggle raycast, copy position, reset keybinds, close menu). - Noclip — txAdmin-style free camera (scripted cam) that releases cleanly on RedM. Mouse look, WASD movement, Shift to speed up.
- Raycast — aim ray with impact marker, entity outline + pickup light on props, and a real-time HUD (bottom-right) showing the targeted entity's spawn name, type, distance and coords.
- Weather & time — all 22 RDR2 weather types with readable labels, freeze weather/time, live clock override.
- World — spawn props/peds (17k+ models), nearby entity browser with inspector (freeze, visibility, collision, invincible, teleport, delete), zone visualizer.
- Horse — current mount health/stamina, heal, spawn horses by breed.
- Player — ped model, weapon (with readable names), vitals, position, camera, vehicle/mount info.
- Performance — FPS, frame time, entity pool counts, frame-time spike log.
- Resources — resource list, NUI monitor.
- Tools — position converter, hash finder, model finder, coordinate history, mouse (cursor) toggle.
- Keybinds — every action is rebindable in-game, persisted via KVP, with conflict detection.
- i18n — the entire UI (menu + client notifications) is translatable. English by default, French included.
Installation
- Copy the
tlb-devtoolsfolder into your server'sresourcesdirectory. - Add it to your
server.cfg:ensure tlb-devtools - Restart the server (or
restart tlb-devtools).
Configuration
Edit shared/config.lua:
| Setting | Default | Description |
| --- | --- | --- |
| Config.language | 'en' | UI language. Available: 'en', 'fr'. |
| Config.usePermission | false | Enable ACE permission checks. |
| Config.permission | { 'group.admin' } | ACE groups allowed to use the tools. |
| Config.openMenuKey | 'F3' | Key to open/close the menu. |
| Config.toggleNoclipKey | 'F5' | Noclip toggle. |
| Config.toggleRaycastKey | 'F6' | Raycast toggle. |
| Config.teleportMarkerKey | 'F10' | Teleport to the map waypoint. |
| Config.gobackKey | '' | Return to your previous location. |
| Config.raycast | — | Ray distance, line and outline colors. |
| Config.zone | — | Zone visualizer color. |
All keybinds can also be changed at runtime from the Keybinds tab (persisted per-player via KVP).
Permissions (ACE)
If you enable Config.usePermission, grant access with, for example:
add_ace group.admin command allow
add_ace group.admin "command.tlb-devtools" allow
Commands
-
tlb-devtools— opens/closes the devtools menu. -
goback— teleports you back to your previous location.
Localization
Add your own language in shared/locale.lua (client notifications) then set Config.language.
Troubleshooting
- Menu key not working after noclip — RedM can drop key-release events while player control is disabled; the keybind listener uses manual edge detection on the raw key state, so releasing and pressing the key again re-arms it.
-
Weapon shows a hash — the weapon is not in
shared/data/weapons.lua; add it there to get a readable name. -
NUI not loading — make sure
app/exists (run the web build) andui_page 'app/index.html'matches the built output.
License
Protected resource — the client scripts are intended to be distributed via CFX Asset Escrow (escrow_ignore keeps config, locale and data lists editable by buyers).