-
-
Notifications
You must be signed in to change notification settings - Fork 342
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation API #432
Comments
Did bukkit suppress chat and join messages while the conversation was displayed? If so, should they be queued and released to the player when the conversation releases, or just discarded? |
It depended on the |
Can't people implement this quite easily on their own? |
Yes, but theres some advantage to having consistent look and feel between plugin UI. |
Could this be achieved by setting the players MessageSink and redirecting their messages to a plugin?
The only thing that seems strange is the requirement of a CommandSource to be the recipient of a message... Or would creating a plugin defined CommandSource be appropriate for this use..? |
@ryantheleach It is achievable that way, but bucket had a nicer system where players didn't receive any chat while in the "conversation". @zml2008 would this be feasible with Text API and Messaging API? |
@zml2008 is this still within the realm of possibility for 3.0? |
Would this be better as a service, much like the Pagination service? |
I am certainly interested in seeing a conversation API come to fruition. The Enjin Minecraft Plugin utilizes Bukkit's Conversation API, so we definitely see potential for this feature in Sponge. |
@20zinnm It'd likely not be a service, as there's a lot involved with |
I'll look into this. |
For reference: #1532 |
Bukkit had a decent API called "Conversations" where a
Conversable
would be able to converse with a plugin and vice versa.The core of the
Conversation
was being able to use aConversation
to maintain a quasi transientConversationContext
that basically was aMap<String, Object>
to contain information pertinent to the conversation in the context between the player and the plugin.The API had quite a bit to use, and there are some plugins that have been able to use them more robustly for interactive chat-based menus, and to be honest, I'd like to see some form of this API in SpongeAPI.
Ideally, as the
getConversationData(Object)
is rather abstract, I'd prefer to see some use ofDataQuery
as keys. Of course, all of this is up for debate and discussion.The text was updated successfully, but these errors were encountered: