Uses of Class
org.bukkit.conversations.ConversationContext

Packages that use ConversationContext
Package
Description
Classes dedicated to facilitate direct player-to-plugin communication.
  • Uses of ConversationContext in org.bukkit.conversations

    Modifier and Type
    Field
    Description
    Conversation.context
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Modifier and Type
    Method
    Description
    Conversation.getContext()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the Conversation's ConversationContext.
    ConversationAbandonedEvent.getContext()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Gets the abandoned conversation's conversation context.
    Methods in org.bukkit.conversations with parameters of type ConversationContext
    Modifier and Type
    Method
    Description
    @Nullable Prompt
    MessagePrompt.acceptInput(@NotNull ConversationContext context, @Nullable String input)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Accepts and ignores any user input, returning the next prompt in the prompt graph instead.
    @Nullable Prompt
    Prompt.acceptInput(@NotNull ConversationContext context, @Nullable String input)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Accepts and processes input from the user.
    @Nullable Prompt
    ValidatingPrompt.acceptInput(@NotNull ConversationContext context, @Nullable String input)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Accepts and processes input from the user and validates it.
    protected abstract @Nullable Prompt
    BooleanPrompt.acceptValidatedInput(@NotNull ConversationContext context, boolean input)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Override this method to perform some action with the user's boolean response.
    protected @Nullable Prompt
    BooleanPrompt.acceptValidatedInput(@NotNull ConversationContext context, @NotNull String input)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected abstract @Nullable Prompt
    NumericPrompt.acceptValidatedInput(@NotNull ConversationContext context, @NotNull Number input)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Override this method to perform some action with the user's integer response.
    protected @Nullable Prompt
    NumericPrompt.acceptValidatedInput(@NotNull ConversationContext context, @NotNull String input)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected @Nullable Prompt
    PlayerNamePrompt.acceptValidatedInput(@NotNull ConversationContext context, @NotNull String input)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected abstract @Nullable Prompt
    PlayerNamePrompt.acceptValidatedInput(@NotNull ConversationContext context, @NotNull Player input)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Override this method to perform some action with the user's player name response.
    protected abstract @Nullable Prompt
    ValidatingPrompt.acceptValidatedInput(@NotNull ConversationContext context, @NotNull String input)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Override this method to accept and processes the validated input from the user.
    boolean
    MessagePrompt.blocksForInput(@NotNull ConversationContext context)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Message prompts never wait for user input before continuing.
    boolean
    Prompt.blocksForInput(@NotNull ConversationContext context)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Checks to see if this prompt implementation should wait for user input or immediately display the next prompt.
    boolean
    StringPrompt.blocksForInput(@NotNull ConversationContext context)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Ensures that the prompt waits for the user to provide input.
    boolean
    ValidatingPrompt.blocksForInput(@NotNull ConversationContext context)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Ensures that the prompt waits for the user to provide input.
    boolean
    ConversationCanceller.cancelBasedOnInput(@NotNull ConversationContext context, @NotNull String input)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Cancels a conversation based on user input.
    boolean
    ExactMatchConversationCanceller.cancelBasedOnInput(@NotNull ConversationContext context, @NotNull String input)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    InactivityConversationCanceller.cancelBasedOnInput(@NotNull ConversationContext context, @NotNull String input)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    ManuallyAbandonedConversationCanceller.cancelBasedOnInput(@NotNull ConversationContext context, @NotNull String input)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected @Nullable String
    NumericPrompt.getFailedValidationText(@NotNull ConversationContext context, @NotNull Number invalidInput)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Optionally override this method to display an additional message if the user enters an invalid numeric input.
    protected @Nullable String
    NumericPrompt.getFailedValidationText(@NotNull ConversationContext context, @NotNull String invalidInput)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected @Nullable String
    ValidatingPrompt.getFailedValidationText(@NotNull ConversationContext context, @NotNull String invalidInput)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Optionally override this method to display an additional message if the user enters an invalid input.
    protected @Nullable String
    NumericPrompt.getInputNotNumericText(@NotNull ConversationContext context, @NotNull String invalidInput)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Optionally override this method to display an additional message if the user enters an invalid number.
    protected abstract @Nullable Prompt
    MessagePrompt.getNextPrompt(@NotNull ConversationContext context)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Override this method to return the next prompt in the prompt graph.
    @NotNull String
    ConversationPrefix.getPrefix(@NotNull ConversationContext context)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Gets the prefix to use before each message to the player.
    @NotNull String
    NullConversationPrefix.getPrefix(@NotNull ConversationContext context)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Prepends each conversation message with an empty string.
    @NotNull String
    PluginNameConversationPrefix.getPrefix(@NotNull ConversationContext context)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Prepends each conversation message with the plugin name.
    @NotNull String
    Prompt.getPromptText(@NotNull ConversationContext context)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Gets the text to display to the user when this prompt is first presented.
    protected boolean
    BooleanPrompt.isInputValid(@NotNull ConversationContext context, @NotNull String input)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected boolean
    FixedSetPrompt.isInputValid(@NotNull ConversationContext context, @NotNull String input)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected boolean
    NumericPrompt.isInputValid(@NotNull ConversationContext context, @NotNull String input)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected boolean
    PlayerNamePrompt.isInputValid(@NotNull ConversationContext context, @NotNull String input)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected boolean
    RegexPrompt.isInputValid(@NotNull ConversationContext context, @NotNull String input)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected abstract boolean
    ValidatingPrompt.isInputValid(@NotNull ConversationContext context, @NotNull String input)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Override this method to check the validity of the player's input.
    protected boolean
    NumericPrompt.isNumberValid(@NotNull ConversationContext context, @NotNull Number input)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Override this method to do further validation on the numeric player input after the input has been determined to actually be a number.