Releases: its-c10/dialogue
Releases · its-c10/dialogue
Multi line prompting & fixes
Changelog:
- Multi text prompting has been added. You can send multiple prompt lines to the player via Prompt.Builder#addText
- PromptInputType.LETTERS_AND_NUMBERS did not allow spaces. Fixed this. May just may an entirely different enum in the future.
The wiki may not be fully updated yet, so please look at the example plugin to fully understand the changes.
Need support or have a question/suggestion? Join my discord.
Full Changelog: 1.4.0.0...1.4.1.0
Support for multiple exit sequences
What's Changed
Full Changelog: 1.3.0.0...1.4.0.0
Big API change
Changelog:
- You can now chain end actions, and receive prompt actions.
- There are now default actions. See the Action class
The wiki may not be fully updated yet, so please look at the example plugin to fully understand the changes.
Need support or have a question/suggestion? Join my discord.
Commit Changelog: 1.2.0.1...1.3.0.0
Small bug fix
Change to Dialogue end action
New dialogue setting.
- Added an option for developers to specify whether the prompt gets sent to the player again if they send invalid input.
New event & other changes
- Added default values to Dialogue and Prompt builders.
- Receive input action is now a BiConsumer
- Both the responder (the player) and the input are passed as parameters.
- There's a new event: ValidateInputEvent. Developers can now validate prompt input via event listeners. You can see an example of this in the example plugin
New prompt input type
You can now get a valid player name from input (PromptInputTyp#Player). The player must be online.
Full Changelog: 1.0.0.0...1.0.1.0
The API is ready
This is the first official release of this API. I will flesh out the README and possibly the wiki soon.