Interface BaseService

All Known Subinterfaces:
EmailService, GameMailService, NotificationService, TeleportService
All Known Implementing Classes:
DefaultEmailService, InMemeryTeleportService, InMemoryNotificationService, NoOpGameMailService

public interface BaseService
Base service interface.

基础服务接口。

  • Method Summary

    Modifier and Type
    Method
    Description
     
    Get service name, this name will appear in the console or in the game.
    default String
    Get service resource folder name, not only the name under the server folder /plugins/UltiTools/config, but also the folder path under the plugin project resources folder.
    int
    Version number, used to compare the version number of the registered service, currently not in use.
  • Method Details

    • getName

      String getName()
      Get service name, this name will appear in the console or in the game.

      获取服务的名称,此名称将会出现在控制台或者游戏中

      Returns:
      Service name
      服务的名称
    • getResourceFolderName

      default String getResourceFolderName()
      Get service resource folder name, not only the name under the server folder /plugins/UltiTools/config, but also the folder path under the plugin project resources folder.

      获取服务资源文件夹的名字,不仅是存在服务器文件夹/plugins/UltiTools/config下的名字 而且还是存在插件项目resources文件夹下的文件夹路径

      Returns:
      service resource folder name
      服务资源文件夹的名字
    • getAuthor

      String getAuthor()
      Returns:
      Author name
      作者名称
    • getVersion

      int getVersion()
      Version number, used to compare the version number of the registered service, currently not in use.

      用于对比注册服务的版本号,目前没啥卵用嘿嘿嘿

      Returns:
      service version
      服务版本号