A pure Lua module for Garry's Mod which provides an interface to SourceBans to avoid the vagaries of SourceMod.

Tech used:

When I was involved in running various Garry’s Mod servers one big problem we had was correctly integrating SourceBans with the admin mod we were using, since SourceMod is quite a pain to use.

The obvious solution was to write a completely Lua version of the sourcemod module with all the same features and get rid of SourceMod entirely

This has gone through multiple iterations and has been battle tested on thousands of servers. It started off as a pure Lua-only API, but people asked me to recreate the entire sourcemod experience so they could run it on its own, so now it has full concommand and convar compatibility.

I’m not involved in running servers at the moment, so I don’t know if it works - but as far as I’m aware it both works and is in active use.

If you have any problems with it, please feel free to email me and I’ll try my best to fix them.

There’s currently some discrepency between the version on github and the version on my website, but I’ll deal with that soon.