Uses of Interface
space.arim.libertybans.api.scope.ServerScope
Packages that use ServerScope
Package
Description
Defines API for drafting punishments as well as punishments themselves.
-
Uses of ServerScope in space.arim.libertybans.api.formatter
Methods in space.arim.libertybans.api.formatter with parameters of type ServerScopeModifier and TypeMethodDescriptionPunishmentFormatter.formatScope(ServerScope scope) Formats a server scope according to the configuration -
Uses of ServerScope in space.arim.libertybans.api.punish
Methods in space.arim.libertybans.api.punish that return ServerScopeModifier and TypeMethodDescriptionPunishmentBase.getScope()Gets the scope of the punishmentPunishmentDetailsCalculator.CalculationResult.scope()Returns the value of thescoperecord component.Methods in space.arim.libertybans.api.punish with parameters of type ServerScopeModifier and TypeMethodDescriptionDraftPunishmentBuilder.scope(ServerScope scope) Sets the scope of this builder to the specified one.voidPunishmentEditor.setScope(ServerScope scope) Sets the new scopeConstructors in space.arim.libertybans.api.punish with parameters of type ServerScopeModifierConstructorDescriptionCalculationResult(PunishmentType type, String reason, Duration duration, ServerScope scope) Creates -
Uses of ServerScope in space.arim.libertybans.api.scope
Methods in space.arim.libertybans.api.scope that return ServerScopeModifier and TypeMethodDescriptionGets a scope applying to a user defined category.ScopeManager.currentServerScopeOrFallback()Gets the current server scope if it is available (seeScopeManager.currentServerScope().ScopeManager.defaultPunishingScope()The scope configured as the default with which to punish.ScopeManager.globalScope()Gets the global scope, applying to all servers and categoriesScopeManager.specificScope(String server) Gets a scope applying to a specific server.Methods in space.arim.libertybans.api.scope that return types with arguments of type ServerScopeModifier and TypeMethodDescriptionScopeManager.currentServerScope()Gets a scope applying to the current server.ScopeManager.scopesApplicableToCurrentServer()Gets all scopes applying to the current server as defined by user configuration. -
Uses of ServerScope in space.arim.libertybans.api.select
Methods in space.arim.libertybans.api.select that return types with arguments of type ServerScopeModifier and TypeMethodDescriptionSelectionBase.getScopes()Gets the scopes matchedSelectionOrder.getScopes()Methods in space.arim.libertybans.api.select with parameters of type ServerScopeModifier and TypeMethodDescriptiondefault BSelectionBuilderBase.scope(ServerScope scope) Sets the scope matched.default SelectionOrderBuilderSelectionOrderBuilder.scope(ServerScope scope) Method parameters in space.arim.libertybans.api.select with type arguments of type ServerScopeModifier and TypeMethodDescriptionSelectionBuilderBase.scopes(SelectionPredicate<ServerScope> scopes) Sets the scopes matched.SelectionOrderBuilder.scopes(SelectionPredicate<ServerScope> scopes)