This is a list of the APIs that sourcemod.js plans on adding in the future. This list is subject to change.
Player APIs
-
Player.admin
-
Player.muted
-
Player.ban()
-
Player.shakeScreen()
-
Player.mute()
-
Player.unMute()
-
Player.disarm()
-
Player.hasWeapon()
-
Player.getWeapon()
-
Player.takeWeapon()
Server APIs
-
Players.ban()
-
Players.unban()
-
Server.getMemoryUsage()
-
Console.getConVar()
-
Console.setConVar()
-
Console.registerCommand()
-
Console.log()
-
Console.error()
Team Fortress 2 APIs
-
Player.disguse()
-
Player.removeDisguise()
-
Player.addCondition()
-
Player.checkCondition()
-
Player.removeCondition()
-
Player.respawn()
-
Player.regenerate()
-
Player.stun()
-
Player.bleed()
-
Player.getClass()
-
Player.setClass()
-
Player.getTeam()
-
Player.setTeam()
-
Server.endRound()
Counter-Strike APIs
-
Player.dropWeapon()
-
Player.respawn()
-
Server.endRound()
-
Utilities.getCSWeaponID()
-
Utilities.getCSWeaponAlias()
-
Utilities.getCSWeaponPrice()
-
Utilities.getCSTeamScore()
-
Utilities.setCSTeamScore()