Skip to content

Commit 53c6c5d

Browse files
committed
Docs
1 parent 9eb4f44 commit 53c6c5d

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@ Dialogs allows you to do the following:
3232
- `player_command` - Makes target player execute a command.
3333
- `pause` - Waits for desired amount of ticks, before proceeding to the next action.
3434
- ...more to come in the future!
35+
- Test placeholder-based conditions before executing an action.
36+
- `equals` and `not_equals` - Checks if two strings are equal.
37+
- `contains` and `not_contains` - Checks if one string contains another.
38+
- `starts_with` and `ends_with` - Checks if one string starts or ends with another.
39+
- `greater_than`, `greater_than_or_equals` - Checks if one number is greater than another.
40+
- `smaller_than` and `smaller_than_or_equals` - Checks if one number is smaller than another.
3541

3642
Every element type except for `actionbar_animation` have built-in support for **[PlaceholderAPI](https://github.com/PlaceholderAPI/PlaceholderAPI)**.
3743

src/main/java/cloud/grabsky/dialogs/DialogElement.java

+3
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ public interface DialogElement {
3131
*/
3232
int ticksToWait();
3333

34+
/**
35+
* List of all conditions that must be met in order to execute this {@link DialogElement}.
36+
*/
3437
List<Condition> conditions();
3538

3639
/**

0 commit comments

Comments
 (0)