This repository has been archived by the owner on Jan 15, 2024. It is now read-only.
Big update that rewrites the entirety of the source code in TypeScript. This makes the project easier to maintain, but also allows you to write your own plugins in TypeScript, or just regular JavaScript if you prefer.
Besides from that, two new Team Fortress 2 APIs were added:
Player.applyCondition()
Player.giveWeapon()
Download sourcemod.js.smx
and throw it into your addons/sourcemod/plugins
folder.