SANDBOX — this is a test environment. No servers are actually deployed and no real payments are charged.
Source-checkedLibraries & compatibility

Lua API global Variable Viewer (gvv)

by Ritn · for Factorio

This is a debugging tool. This mod adds commands /gvv and others and a hotkey(Ctrl+Shift+V) to allow you to check _G and global table of map or each mods. Only admins can use command if it is multiplay game. You have to input some code for temporary accessibility or have to edit "control.lua" of other mod or map to access global table of the mod or map. See "Helper" tab for instructions.

4.1KDownloads
28d agoLast updated
UnlicenseLicense
2.1Latest game version

About Lua API global Variable Viewer (gvv)

From Factorio Mod Portal

This is a debugging tool. This mod adds commands /gvv and others and a hotkey(Ctrl+Shift+V) to allow you to check _G and global table of map or each mods. Only admins can use command if it is multiplay game. You have to input some code for temporary accessibility or have to edit "control.lua" of other mod or map to access global table of the mod or map. See "Helper" tab for instructions.

Type /gvv or press CTRL+SHIFT+V (you can change key bindings) to open GUI. Only admins can use the mod if it is multiplay game. To allow gvv to access global table of mod, savefile or scenario(start from beginning), you need to modify "control.lua" file of demand mod or map. Input following code at first line or last line of "control.lua" file of the mod or map.

if script.active_mods["gvv"] then require("__gvv__.gvv")() end

In case of savefile, extract "control.lua" from it first. Then, edit code and overwrite it at same location of "control.lua" inside of the zipped file. There is also a way to make the mod or map accessible temporarily without editing "control.lua", introduced in in-game GUI. Most of other helpful words are inside of Helper tab in gvv in-game GUI.

###Commands added by this mod

  • /gvv : Opens/closes gvv main GUI window. Only admins or player in singleplay can use this command.
  • /gmods : Prints loaded mod list and global accessible mod list.
  • /gdump : Same as /gdump-luaon
  • /gdump-luaon <mod_name>(optional) : Prints global data of accessible mod in lua object notation format.

If no <mod_name> is given, level(current map) will be used.

  • /gdump-json <mod_name>(optional) : Prints global data of accessible mod in js object notation format.

If no <mod_name> is given, level(current map) will be used.

###LuaRemote interfaces added by this mod

  • remote.call("__<mod_name>__gvv","storage")

: Returns global table of the mod.

  • remote.call("__<mod_name>__gvv","_G")

: Returns _G table of the mod. Some data types can not be brought.

  • remote.call("__<mod_name>__gvv","diag")

: Need to be used only internally. Performs diagnosis of global table of the mod and returns problematic paths as table.

  • remote.call("__<mod_name>__gvv","fix")

: Need to be used only internally. Performs diagnosis and kills entries that LuaRemote cannot handle in global table of the mod.

  • remote.call("__<mod_name>__gvv","c",<lua_code>, ...)

: Runs a lua code(string type) in sandbox of the mod, "..." becomes local table named "arg" in the lua code.

###Server console exclusive

  • /sc \_\_gvv\_\_ settings.global["gvv-mod_enable-on-tick"]={value= false }

: Turns off(true for on) that, "on_tick" event used for tracking variables. Admin player already can do this in game GUI.

Highlights

From source data

Game versions

Built for Factorio 2.1.

Footprint

Rated a light load on a server.

License

Published under Unlicense.

Lua API global Variable Viewer (gvv) on Nxeon

From our catalogue
One-click install
Supported on Nxeon Factorio servers. We download it from Factorio Mod Portal, place it, and restart the server.
Server side
Required on the server
Server load
light
Smallest plan we suggest
Factorio — 2 GB (2 GB RAM). This follows our own load rating above, not a benchmark.
Latest build
0.5.21, released 2026-10-25

Recent builds

BuildReleasedGame versionsLoaders
0.5.212026-10-252.1n/a
0.5.202026-09-122.1n/a
0.5.192026-07-112.1n/a
0.5.172026-05-292.0n/a
0.5.162026-05-172.0n/a
0.5.152025-07-152.0n/a

Run Lua API global Variable Viewer (gvv) on a Factorio server

Pick a server or deploy a new one above; it is installed in one click.

What kind of mod it is

From the catalog
Listed on Factorio Mod Portal as “Mods”

Libraries & compatibility

Foundations and fixes other mods build on. Usually installed because something else needs it.

Runs on your server

From source side support

Factorio Mod Portal lists Lua API global Variable Viewer (gvv) as required on the server. Check its Factorio Mod Portal page to see whether players need it too.

Compatibility

Game
Factorio
Runs on
Serverrequired on the server
Game versions
2.1

Verified at the source

  • ✓Factorio Mod PortalOfficial listing, checked 2026-10-26Open ↗
  • ✓AuthorRitn, as published on Factorio Mod Portal
  • ✓LicenseUnlicenseFree

Lua API global Variable Viewer (gvv), answered

Generated from the mod’s own source data.

Do my players need to install Lua API global Variable Viewer (gvv)?

Factorio Mod Portal lists Lua API global Variable Viewer (gvv) as required on the server. Check its Factorio Mod Portal page to see whether players need it too.

Is it free?

Yes. Lua API global Variable Viewer (gvv) is free to download from Factorio Mod Portal. Its license is Unlicense.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run Lua API global Variable Viewer (gvv) on a Factorio server.

Deploy in about a minute from $2.99 a month, then add Lua API global Variable Viewer (gvv) in one click.