Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Releases: Infinixius/sourcemod.js

v2.0.0

29 Jul 16:56
Compare
Choose a tag to compare

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

08 May 13:20
Compare
Choose a tag to compare

Small update that adds some new internal code (smlib), support for game-specific APIs, and a new Team Fortress 2 specific API.

  • Player.regenerate()

Download sourcemod.js.smx and throw it into your addons/sourcemod/plugins folder.

1.1.0

01 May 21:32
70c26a1
Compare
Choose a tag to compare

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

14 Feb 23:21
Compare
Choose a tag to compare

First release! Unzip sourcemod.js.smx.zip and throw it into your tf\addons\sourcemod\plugins folder.