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 TypeMethodDescriptiongetName()Get service name, this name will appear in the console or in the game.default StringGet 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.intVersion 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
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.- 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
-