All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.bukkit.conversations.StringPrompt Maven / Gradle / Ivy

package org.bukkit.conversations;

/**
 * StringPrompt is the base class for any prompt that accepts an arbitrary
 * string from the user.
 */
public abstract class StringPrompt implements Prompt {

  /**
   * Ensures that the prompt waits for the user to provide input.
   *
   * @param context Context information about the conversation.
   * @return True.
   */
  public boolean blocksForInput(ConversationContext context) {
    return true;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy