Skip to content

@MagicLu550 MagicLu550 released this Sep 2, 2019 · 40 commits to master since this release

修复了大量的bug

修复关于返回null导致空指针的问题
修复关于数组为0导致的数组越界问题
修复了启动参数
最新添加

rpc协议进行远程交互(未来将用来适配最新的jsmod2Manager)

Jsmod2Manager : 1.0.6发布第一个正式版

SCP079Data 填补了之前未实现的SCP079Data

尚未实现

添加三个注解

@ LoadBefore 可以加载依赖库,加在主类上,如plugin="example" 就是提前加载名字为example的插件(不是文件名,而是@ Main指定的name)

@ Assembly 加载单例组件,每个类都可以加,都会生成一个单例对象在对象池,可以通过Auto来注入

@ Auto 注入@ Assembly的单例对象

如:

@Assembly
public class Test{

}
@Assembly
public class Main{
@Auto
private Test test;//这里直接注入Test对象
} 

对于GameObject等没有完全的实现

发布download包

Fixed a lot of bugs

Fix an issue with returning null leading to a null pointer
Fix array out of bounds problem caused by array 0
Fixed startup parameters
Latest addition

rpc protocol for remote interaction (will be used to adapt to the latest jsmod2Manager in the future)
Jsmod2Manager: 1.0.6 released the first official version

SCP079Data fills in previously unrealized SCP079Data

Not yet implemented

Add three annotations

@ LoadBefore can load the dependent library, added to the main class, such as plugin="example" is to load the plugin named example in advance (not the file name, but the name specified by @ Main)

@ Assembly Loads singleton components, each class can be added, will generate a singleton object in the object pool, can be injected through Auto

@ Auto Inject @ Assembly's singleton object

Such as:

@Assembly
public class Test{

}
@Assembly
public class Main{
@Auto
private Test test; // directly injected Test object
}

There is no complete implementation for GameObject etc.

Publish the download package

download: java -jar download.jar

Assets 5
  • 1.0.4
  • b92e913
  • Compare
    Choose a tag to compare
    Search for a tag
  • 1.0.4
  • b92e913
  • Compare
    Choose a tag to compare
    Search for a tag

@MagicLu550 MagicLu550 released this Aug 25, 2019 · 88 commits to master since this release

  • 更新了WebAPI,可以使得SpringBoot框架应用在插件上,并且由服务端统一扫描注册

  • 可以通过Spring的正常语法来构建web后端,参见Spring官网: spring.io

  • 修复了启动时DEBUG刷屏的bug

  • proxyHandler和jsmod2-dk没有相关更新

  • Updated the web api to enable the SpringBoot framework. That can be applied to the plugin and registered by the server.

  • The web backend can be built using Spring's normal syntax, see Spring's official website: spring.io

  • Fixed debug mode.

  • proxyHandler and jsmod2-dk have no related updates

Assets 5

@MagicLu550 MagicLu550 released this Aug 22, 2019 · 108 commits to master since this release

添加了之前所没有的事件,彻底和Smod2 3.5.0的API接轨

  • CheckRoundEndEvent
  • PlayerInfectedEvent
  • PlayerDoorAccessEvent
  • PlayerNicknameSetEvent
  • WarheadStopEvent

修复了一个事件对象的属性错误

  • AuthCheckEvent Successful -> DeniedMessage

Added events that were not previously available, fully integrated with the Smod2 3.5.0 API

  • CheckRoundEndEvent
  • PlayerInfectedEvent
  • PlayerDoorAccessEvent
  • PlayerNicknameSetEvent
  • WarheadStopEvent

Fixed an attribute error for the event object below

  • AuthCheckEvent Successful -> DeniedMessage
Assets 5
Pre-release

@MagicLu550 MagicLu550 released this Aug 21, 2019 · 119 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

Assets 5
Pre-release

@MagicLu550 MagicLu550 released this Aug 20, 2019 · 126 commits to master since this release

开发插件通过DevelopKit-1.0.jar

JSmod2于2019.8.20 下午2:13发布,此次发布完成了Smod23.4.0之前的api,团队将在3天后完成3.4.0 - 3.5.0之间更新的api,此次JSmod2完成全部基础设施,可以用于编写插件.

JSmod2包含两个组件:jsmod2.jar和jsmod2.dll

jsmod2.jar是可执行的,在jre8下执行,而proxyHandler.dll是multiAdmin的插件.
在启动proxyHandler时,proxyHandler会等待连接jsmod2服务端,因此启动时会发生阻塞。
验证成功后,插件即可加载并投入使用。

目前可能有未知bug,请在discord的bugs中提交bug

感谢使用

Develop plugins via DevelopKit-1.0.jar

JSmod2 was released at 2:13 PM at 2019.8.20. The release completed the api before Smod23.4.0. The team will complete the api update between 3.4.0 and 3.5.0 after 3 days. This JSmod2 completes the entire infrastructure. Can be used to write plugins.

JSmod2 contains two components: jsmod2.jar and jsmod2.dll

Jsmod2.jar is executable, executed under jre8, and proxyHandler.dll is a multiAdmin plugin.
When the proxyHandler is started, the proxyHandler will wait for the connection to the jsmod2 server, so blocking will occur at startup.
Once the verification is successful, the plugin can be loaded and put into use.

There may be unknown bugs at present, please submit bugs in discord bugs

Thanks for using

Assets 5
You can’t perform that action at this time.