Skip to content

GMod development resources

For people writing GMod Lua addons or shipping serious server-side code, not just installing them. Two developers in particular put out work that's worth knowing about: Srlion and noaccessl. Their libraries form the backbone of how a lot of modern GMod server code performs.

Srlion's libraries

github.com/Srlion

Hook-Library

Garry's Mod hook library. Drop-in replacement for the stock hook system.

goobie-sql

Async/sync MySQL/SQLite library with migrations, for server DB persistence.

RNDX

Anti-aliased rounded shape drawing library, for custom HUDs.

Papi

Unified API interface across admin mods (ULX, SAM, ServerGuard, etc). Stops addons hard-coding admin checks.

sfs

Compact binary serializer for Garry's Mod, inspired by MessagePack. LuaJIT-optimised.

gmodx-rs

Modern Garry's Mod Rust library based on mlua. For people writing GMod binary modules in Rust.

gma-lite-rs / gma-lite-go

Read/write GMod .gma archives in Rust or Go. Useful for build pipelines and CDN tooling.

Go version

GLuaX

Modern, statically-typed language for GMod addons with proper expression syntax and a standard library. For people who want types in their Lua.

gmod-webrtc

WebRTC bindings for Garry's Mod. Real-time voice/video tooling.

noaccessl's libraries

github.com/noaccessl

gmod-PhysicsCrashGuard

Detects and prevents physics-based crash attempts while keeping physics available for normal use.

gmod-PerformantRender

De-renders objects that are obstructed yet in FOV, to reduce client-side render load on heavy maps.

glua-SVG

Load and render SVGs in GMod UI.

glua-SharpVector

Vector implementation with rigorous optimisation and high precision. Lua numbers are doubles, so this matters when you need it.

glua-VisualCharacterHeight

Determines the visual height of text characters in Garry's Mod. Tiny but useful for UI work.

glua-collectibles

Various GLua scripts and extensions worth knowing about.

Want a server to test your addons on? Spin one up free for 24 hours, no card required.

Try Zeros Host →