Skip to content

Releases: its-c10/dialogue

Multi line prompting & fixes

10 Apr 23:13
Compare
Choose a tag to compare

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

05 Apr 21:50
Compare
Choose a tag to compare

What's Changed

  • Added support for multiple escape sequences. by @byteful in #2

Full Changelog: 1.3.0.0...1.4.0.0

Big API change

20 Mar 05:57
Compare
Choose a tag to compare

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

15 Mar 02:15
Compare
Choose a tag to compare

What's Changed

  • Fixed 'ValidateInputEvent cannot be triggered asynchronously from another thread' by @byteful in #1

New Contributors

Full Changelog: 1.2.0.0...1.2.0.1

Change to Dialogue end action

14 Mar 19:07
Compare
Choose a tag to compare

the endAction variable is now a BiConsumer. This gives developers more flexibility and freedom within the end actions (Actions that run after Dialogue is over)

You will have to change your code. Join my discord if you need support or have questions!

New dialogue setting.

13 Mar 18:37
Compare
Choose a tag to compare
  • 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

13 Mar 05:21
Compare
Choose a tag to compare
  • 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

12 Mar 17:50
Compare
Choose a tag to compare

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

11 Mar 21:19
Compare
Choose a tag to compare

This is the first official release of this API. I will flesh out the README and possibly the wiki soon.