Package org.spongepowered.api.service
Interface ServiceProvider.ServerScoped
-
- All Superinterfaces:
ServiceProvider
- Enclosing interface:
- ServiceProvider
public static interface ServiceProvider.ServerScoped extends ServiceProvider
Provides serivces that are scoped to theServiceProvider.ServerScopedEngineonly.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.spongepowered.api.service.ServiceProvider
ServiceProvider.GameScoped, ServiceProvider.ServerScoped
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BanServicebanService()Retrieves theBanService.ContextServicecontextService()Retrieves theContextService, if it exists.Optional<EconomyService>economyService()Retrieves theEconomyService, if it exists.PermissionServicepermissionService()Retrieves thePermissionService.WhitelistServicewhitelistService()Retrieves theWhitelistService.-
Methods inherited from interface org.spongepowered.api.service.ServiceProvider
provide, registration
-
-
-
-
Method Detail
-
banService
BanService banService()
Retrieves theBanService.- Returns:
- The
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
WhitelistService whitelistService()
Retrieves theWhitelistService.- Returns:
- The
WhitelistService
-
-