# Uses of Class
org.bukkit.conversations.ConversationFactory

Packages that use ConversationFactory
Package
Description
org.bukkit.conversations
Classes dedicated to facilitate direct player-to-plugin communication.

## Uses of ConversationFactory in org.bukkit.conversations

Methods in org.bukkit.conversations that return ConversationFactory
Modifier and Type
Method
Description
`@NotNull ConversationFactory`
ConversationFactory.`addConversationAbandonedListener(@NotNull ConversationAbandonedListener listener)`
Adds a `ConversationAbandonedListener` to all conversations constructed by this factory.
`@NotNull ConversationFactory`
ConversationFactory.`thatExcludesNonPlayersWithMessage(@Nullable String playerOnlyMessage)`
Prevents this factory from creating a conversation for non-player `Conversable` objects.
`@NotNull ConversationFactory`
ConversationFactory.`withConversationCanceller(@NotNull ConversationCanceller canceller)`
Adds a `ConversationCanceller` to constructed conversations.
`@NotNull ConversationFactory`
ConversationFactory.`withEscapeSequence(@NotNull String escapeSequence)`
Sets the player input that, when received, will immediately terminate the conversation.
`@NotNull ConversationFactory`
ConversationFactory.`withFirstPrompt(@Nullable Prompt firstPrompt)`
Sets the first prompt to use in all generated conversations.
`@NotNull ConversationFactory`
ConversationFactory.`withInitialSessionData(@NotNull Map<Object,Object> initialSessionData)`
Sets any initial data with which to populate the conversation context sessionData map.
`@NotNull ConversationFactory`
ConversationFactory.`withLocalEcho(boolean localEchoEnabled)`
Sets the local echo status for all `Conversation`s created by this factory.
`@NotNull ConversationFactory`
ConversationFactory.`withModality(boolean modal)`
Sets the modality of all `Conversation`s created by this factory.
`@NotNull ConversationFactory`
ConversationFactory.`withPrefix(@NotNull ConversationPrefix prefix)`
Sets the `ConversationPrefix` that prepends all output from all generated conversations.
`@NotNull ConversationFactory`
ConversationFactory.`withTimeout(int timeoutSeconds)`
Sets the number of inactive seconds to wait before automatically abandoning all generated conversations.