Lua Table Debugger for FiveM/RedM
A powerful Lua table visualization tool for FiveM / RedM development. With just a short event you can debug your table - easy and plug-and-play. This Dev Tool provides a clean, interactive interface for viewing complex nested Lua tables, making debugging and development significantly easier.
Compatible with any Framework:
All Frameworks / STANDALONE
Preview
Features
Standalone: Plug-and-play for FiveM and RedM development with no dependencies
Lightweight Design: Lightweight and easy to use, fits your individual development workflow
Simple Integration: Easy to use from any client or server script
Dual View Mode: Toggle between structured tree view and raw JSON view
Smart JSON Parsing: Automatically detects and parses nested JSON strings
Advanced Search: Search in both tree and JSON views with scrollbar markers for easy navigation
Interactive Table Exploration: Expand/collapse nested tables with ease
Copy Options: Copy full JSON, specific paths, or individual values via context menu
Keyboard Shortcuts: Quickly navigate and control the viewer
INSTALLATION
- Place the
bs-tableviewer
folder in your server’s resources directory - Add
ensure bs-tableviewer
to your server.cfg - Restart your server or start the resource manually
Usage
From Client Scripts
-- Using event
TriggerEvent('debugTable', myTable)
-- Using export (recommended)
exports['bs-tableviewer']:debugTable(myTable)
-- With custom title
exports['bs-tableviewer']:debugTable(myTable, "My Custom Title") -- optional title
From Server Scripts
-- Send table to specific player
TriggerClientEvent('debugTable', source, myTable)
-- Example with player data serverside
local Player = exports.qbx_core:GetPlayer(source)
TriggerClientEvent('debugTable', source, Player.PlayerData, "Player Data") -- optional title
Test Commands
/testviewer
- Shows a test table for demonstration purposes
Keyboard Shortcuts
Shortcut | Action |
---|---|
Esc |
Close the viewer |
Ctrl+F |
Focus search box |
Ctrl+J |
Toggle between tree and JSON views |
Advanced Features
JSON String Parsing
The table viewer automatically detects and parses JSON strings within your data, making it easier to navigate complex nested structures. Parsed JSON strings are marked with a “parsed” badge in the tree view.
Search with Scrollbar Markers
When searching in JSON view, markers appear on the scrollbar showing the positions of all matches, allowing you to quickly navigate between search results by clicking on the markers.
Context Menu
Right-click on any item to access additional options:
- Copy Path: Copies the Lua-compatible path to the item
- Copy Value: Copies the value of the item
Framework (STANDALONE)
This resource is completely standalone with no external dependencies, making it extremely lightweight and easy to integrate into any server.
SUPPORT
For support, join our Discord server:
At Blaze Scripts, we’re here to make your life easier - so if you ever run into a hiccup with one of our resources, just reach out and we’ll jump in to help. We strive to support all major frameworks, but on the rare occasion you’re using something outside our usual expertise, we might not be able to provide direct assistance. Either way, we’ll always point you toward resources or guidance to keep your project moving forward.
FREE DOWNLOAD
GitHub URL : github.com/Blaze-Scripts/bs-tableviewer
Code is accessible | Yes |
Subscription-based | No |
Lines (approximately) | 700 |
Requirements | None |
Support | Yes |