Class ConfirmationPrompt

java.lang.Object
org.bukkit.conversations.StringPrompt
net.sacredlabyrinth.phaed.simpleclans.conversation.ConfirmationPrompt
All Implemented Interfaces:
Cloneable, org.bukkit.conversations.Prompt
Direct Known Subclasses:
DisbandPrompt, ResetKdrPrompt, ResignPrompt

public abstract class ConfirmationPrompt extends org.bukkit.conversations.StringPrompt
  • Constructor Details

    • ConfirmationPrompt

      public ConfirmationPrompt()
  • Method Details

    • confirm

      protected abstract org.bukkit.conversations.Prompt confirm(ClanPlayer sender, Clan clan)
    • decline

      protected org.bukkit.conversations.Prompt decline(ClanPlayer sender)
    • getPromptTextKey

      protected abstract String getPromptTextKey()
    • getDeclineTextKey

      protected abstract String getDeclineTextKey()
    • getPromptText

      @NotNull public @NotNull String getPromptText(@NotNull @NotNull org.bukkit.conversations.ConversationContext context)
    • acceptInput

      public org.bukkit.conversations.Prompt acceptInput(@NotNull @NotNull org.bukkit.conversations.ConversationContext cc, @Nullable @Nullable String input)