Releases: Infinixius/sourcemod.js
v2.0.0
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.
1.1.1
1.1.0
First update to the plugin! This update brings several changes:
- Modularized the SM plugin (previously the entire plugin was a single 1k> line file)
- Authorization for connecting to servers
- Automatically timing-out when the connection is terminated
- New documentation/installation guide.
In addition, this update brings a lot of brand new APIs:
Player.update()
Player.hint()
Player.centerHint()
Player.playSound()
Player.teleport()
Player.slap()
Player.setRendering()
Player.resetRendering()
Players.get()
Players.broadcast()
Players.broadCastHint()
Players.broadcastCenterHint()
Players.broadcastSound()
Server.disconnect()
Server.fetch()
Server.setMap()
Server.setNextMap()
The next update will hopefully bring TypeScript support, game-specific support (TF2 & CS:GO), and more APIs and events!
Download sourcemod.js.smx
and throw it into your addons/sourcemod/plugins
folder.
1.0.0
First release! Unzip sourcemod.js.smx.zip
and throw it into your tf\addons\sourcemod\plugins
folder.