← Guide hub 01 / 17 · Scripting framework Workshop page ↗
Scripting Framework (Dependency)

LuaCsForBarotrauma

The foundation the scripted mods stand on. It adds Lua (and optional C#) modding to Barotrauma, doing things XML can't. Not a content mod itself — but Neurotrauma, Performance Fix and Enhanced Immersion's Lua features won't run without it.

Library Required by 3 mods in this pack Client + server side
What it is
A modding framework (by Evil Factory) adding Lua + optional C# support. It's a base layer, not gameplay content.
Needed by
Neurotrauma, Performance Fix, and Enhanced Immersion's Lua features (zoom, zDoors).
Load order
Irrelevant for Lua/CS — or simply at the top if using the classic content-package method. With the launch-option method it isn't a workshop item at all.

Client vs server side (the #1 confusion)

Installing it

Recommended: launch-option auto-updater

1
Close the game. In Steam, right-click Barotrauma → Properties → Launch Options.
2
Paste the platform-specific auto-updater command from the LuaCs Workshop page (Windows/Linux/macOS each have one).
3
Keep the LuaCs workshop item DISABLED. It now installs both sides from GitHub every launch and survives game updates and file verification.

Classic content-package method

🔍Verifying it works

Multiplayer rule of thumb: everyone subscribes to the same mod list, everyone runs the LuaCs launch-option installer, and the host selects LuaForBarotrauma as the Server Executable before hosting.

Sources

NextPerformance Fix