[FREE] LUA Table Viewer (Developer Tool)

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:
:white_check_mark: All Frameworks / STANDALONE


:tv: Preview



:sparkles: Features

  • :electric_plug: Standalone: Plug-and-play for FiveM and RedM development with no dependencies
  • :jigsaw: Lightweight Design: Lightweight and easy to use, fits your individual development workflow
  • :peach: Simple Integration: Easy to use from any client or server script
  • :arrows_counterclockwise: Dual View Mode: Toggle between structured tree view and raw JSON view
  • :brain: Smart JSON Parsing: Automatically detects and parses nested JSON strings
  • :mag_right: Advanced Search: Search in both tree and JSON views with scrollbar markers for easy navigation
  • :100: Interactive Table Exploration: Expand/collapse nested tables with ease
  • :clipboard: Copy Options: Copy full JSON, specific paths, or individual values via context menu
  • :keyboard: Keyboard Shortcuts: Quickly navigate and control the viewer

:wrench: INSTALLATION

  1. Place the bs-tableviewer folder in your server’s resources directory
  2. Add ensure bs-tableviewer to your server.cfg
  3. Restart your server or start the resource manually

:peach: 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: Keyboard Shortcuts

Shortcut Action
Esc Close the viewer
Ctrl+F Focus search box
Ctrl+J Toggle between tree and JSON views

:fire: 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

:muscle: Framework (STANDALONE)

This resource is completely standalone with no external dependencies, making it extremely lightweight and easy to integrate into any server.


:handshake: 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.


:fire:FREE DOWNLOAD

GitHub URL : github.com/Blaze-Scripts/bs-tableviewer

Code is accessible Yes
Subscription-based No
Lines (approximately) 700
Requirements None
Support Yes
14 Likes

Feels like a Server Owner Tool more so than a Development Tool. I do not see how this helps developing anything.

2 Likes

I like this, much cleaner than just printing entire tables into the console when trying to debug something.

+1

1 Like

@Lynn69 Great work, Appreciate you contribution to the community.

1 Like