Interface ServiceProvider.ServerScoped
- All Superinterfaces:
ServiceProvider
- Enclosing interface:
ServiceProvider
Provides serivces that are scoped to the
ServiceProvider.ServerScoped Engine
only.-
Nested Class Summary
Nested classes/interfaces inherited from interface ServiceProvider
ServiceProvider.GameScoped, ServiceProvider.ServerScoped -
Method Summary
Modifier and TypeMethodDescriptionRetrieves theBanService.Retrieves theContextService, if it exists.Retrieves theEconomyService, if it exists.Retrieves thePermissionService.Retrieves theWhitelistService.Methods inherited from interface ServiceProvider
provide, registration
-
Method Details
-
banService
-
contextService
ContextService contextService()Retrieves theContextService, if it exists.- Returns:
- The
ContextService
-
economyService
Optional<EconomyService> economyService()Retrieves theEconomyService, if it exists.- Returns:
- The
EconomyService.
-
permissionService
PermissionService permissionService()Retrieves thePermissionService.- Returns:
- The
PermissionService
-
whitelistService
-