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.
- 🔌 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
- 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
-- 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
-- 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
/testviewer
- Shows a test table for demonstration purposes
Shortcut | Action |
---|---|
Esc |
Close the viewer |
Ctrl+F |
Focus search box |
Ctrl+J |
Toggle between tree and JSON views |
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.
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.
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
This resource is completely standalone with no external dependencies, making it extremely lightweight and easy to integrate into any server.
For support, join our Discord server: https://discord.gg/xUcj2R4ZX4
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.
- 🧾 GitHub: Blaze Scripts
- 💬 Discord: Join our Discord
- 👀 More Free Scripts: Blaze Scripts
This resource is licensed under the MIT License - see the LICENSE file for details.