TF3TF3 Mod PortalTransport Fever 3 · enhanced with community checks
mod.io · Mod 6481411

Lua Bridge

by sweetgiorniVersion 1.0Updated 2026-10-26Rev. 222.0 KiB
Please start ModManager first. This registers the installation link with Windows.

Description

Lets an external program run Lua inside the running game, so you can inspect game state, try out the game's Lua API and test mod changes from your editor or an AI assistant such as Claude Code. This mod only provides the connection. You also need the free client tools (a command line client and an MCP server) from https://github.com/sweetgiorni/tf3-lua-bridge (open source, GPL-3.0), where setup is explained. How it works: the mod exchanges messages with the client through two files in a tf3_bridge folder in your temp directory. Tested on Windows; Linux and macOS are untested (reports welcome). Not available on consoles. Security: while this mod is enabled, any program on your PC that can write to that folder can run Lua in your game. The option "Lua access for requests" defaults to Restricted, which hides parts of the Lua standard library from that code but is not a security boundary; Full removes the restriction. Enable the mod only while you are developing.

Images