Skip to content

JSmod2 1.0.1 - 001 build - 1 Update Smod2 3.5.0 api

Pre-release
Pre-release
Compare
Choose a tag to compare
@MagicLu550 MagicLu550 released this 21 Aug 14:05
· 121 commits to master since this release

最新的预览版,根据smod2的3.5.0做的兼容

ConfigManager

AddConfig(ConfigSetting setting); 添加一个配置

GetConfig(ConfigSetting setting); 获取一个配置

API

Server.GameServer:

  • 关于GetPlayers的过滤器

添加了webAPI,具体语法将在wiki发布

  • banSteamId(String username,String steamId,int duration,String reason,String issuer);

  • banIpAddress(String username,String ipAddress,int duration,String reason,String issuer);

The latest preview version, compatible with smod2 3.5.0

ConfigManager

AddConfig(ConfigSetting setting); Add a configuration

GetConfig(ConfigSetting setting); Get a configuration

API

Server.GameServer:

  • About GetPlayers filter

  • banSteamId(String username, String steamId, int duration, String reason, String issuer);

  • banIpAddress(String username, String ipAddress, int duration, String reason, String issuer);

Added webAPI, the specific syntax will be published on the wiki