Uses of Interface
space.arim.libertybans.api.punish.DraftPunishmentBuilder
Packages that use DraftPunishmentBuilder
Package
Description
Defines API for drafting punishments as well as punishments themselves.
-
Uses of DraftPunishmentBuilder in space.arim.libertybans.api.punish
Subinterfaces with type arguments of type DraftPunishmentBuilder in space.arim.libertybans.api.punishModifier and TypeInterfaceDescriptioninterfaceBuilder of draft punishments.Methods in space.arim.libertybans.api.punish that return DraftPunishmentBuilderModifier and TypeMethodDescriptionPunishmentDrafter.draftBuilder()Begins creating a draft punishmentSets the duration of this builder to the specified one.DraftPunishmentBuilder.escalationTrack(EscalationTrack escalationTrack) Sets the escalation track of this builder.Sets the reason of this builder to the specified one.DraftPunishmentBuilder.scope(ServerScope scope) Sets the scope of this builder to the specified one.DraftPunishment.toBuilder()Creates a newDraftPunishmentBuilder, copying all properties of this draft.DraftPunishmentBuilder.type(PunishmentType type) Sets the punishment type of this builder to the specified one.