[FREE RELEASE] Devtools - LUA / JSON Table viewer by Codesign

Devtools by Codesign


Icons made by Freepik from www.flaticon.com

Standalone
Devtools is a simple yet useful LUA / JSON table viewer for development purposes, as well as a 1 click script restart.

It allows developers to view tables in a JSON format, sort and search through them with ease or view them as LUA tables.

Devtools include a simple way to copy a table in order to move it to some external text editor or work environment.

Take a look at the preview to see more.


Table viewer

Simply trigger the event below, sending a LUA table in the first argument.
The UI will only open when you trigger the event.
This event can be placed in while loops and the displayed table will be updated (yes it will be high ms on resmon when in a loop but this is a developer resource for dev servers).

Notes

  • If you close the UI, it can only be reopened by triggering the event again.

  • You can disable the NUI focus by clicking middle mouse button while the UI is still open, and the UI will stay on your screen even while you are triggering the event.

From server to client

TriggerClientEvent('table', source, TABLE_HERE)

From client to client

TriggerEvent('table', TABLE_HERE)



Quick Script Restart

The purpose of this feature is to be able to quickly restart scripts when developing and debugging. To save a script to restart you can use the chat command below to save your chosen script.

Part 1: Use the chat command /restart_script "script_name" to save the name of your chosen script in the restart_script.txt file and cache it in the server side. Now when you start your server or restart the script you can simply press the (numpad +) key to restart the script.

Chat commands

/restart_script <script name> - (Example /restart_script cd_garage)

Save the name of a script to use in the quick restart keypress.
The example command will save the resource “cd_garage”.

Preview


Download


Click here for Documentation


Additional information

We will not be providing any kind of installation / usage support for this resource due to the lack of time and resources to do so.
In case You find any bugs please report them either here or ( preferably ) by opening an issue on the GitHub repository.
As always, we are open to suggestions and ideas on ways we can expand this resource.

Check out our free scripts:

Expand

[FREE RELEASE] Easytime - Time and weather management by Codesign
[FREE RELEASE] Keymaster minigame by Codesign
[FREE RELEASE] Draw text UI

For developers by Codesign <3

17 Likes

This is really handy. Thanks for the free release :slight_smile:

6 Likes

really handy and useful for me and others. Thanks for the release :sweat_smile:

3 Likes

Looks very good. Nice release!

4 Likes

Goodbye Print!
Hello cd_devtools :smiley:

this tool will help you save a time debuging anything regarding from tables.

4 Likes

great work, another amazing script AND FREE!

3 Likes

Great release, will help a lot of people out i’m sure.

4 Likes

great work bro

3 Likes

far better than mine : ) nice ui

3 Likes

/table doesn’t work for me… Any way I can fix it?

2 Likes

Great work @Codesign Team!

3 Likes

@tarekifla That /table command was just an example i made for the video, read our documentation for more info on how to use this resource

1 Like