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.ServerScoped
Engine
only.
-
-
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 BanService
banService()
Retrieves theBanService
.ContextService
contextService()
Retrieves theContextService
, if it exists.Optional<EconomyService>
economyService()
Retrieves theEconomyService
, if it exists.PermissionService
permissionService()
Retrieves thePermissionService
.WhitelistService
whitelistService()
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
-
-