... | @@ -46,29 +46,13 @@ health: |
... | @@ -46,29 +46,13 @@ health: |
|
|
|
|
|
## Conditions
|
|
## Conditions
|
|
|
|
|
|
### Default Parameters
|
|
|
|
These parameters are included in **every** condition.
|
|
|
|
|
|
|
|
| Parameter | Aliases | Description | Type | Default Value |
|
|
|
|
| ------ | ------ | ------ | ------ | ------ |
|
|
|
|
| `match` | `m, default, d` | What the condition will match to. This condition `gamemode{gm=creative;m=true}` will be true if the player is in creative, while this condition `gamemode{gm=creative;m=false}` will be false. | Boolean | `true` |
|
|
|
|
|
|
|
|
| Conditions | Description | Condition Type |
|
|
| Conditions | Description | Condition Type |
|
|
| ------ | ----------- | ----------- |
|
|
| ------ | ----------- | ----------- |
|
|
| [bar-inactive](Bar-Inactive-Condition) | Used for bar inactivity. | [Basic](https://git.lumine.io/Ehh/mmobars/-/wikis/Conditions#conditions) |
|
|
| [bar-inactive](Bar-Inactive-Condition) | Used for bar inactivity. | [Basic](https://git.lumine.io/Ehh/mmobars/-/wikis/Condition-Parameters#default-parameters) |
|
|
| [bar-progress](Bar-Progress-Condition) | Used for detecting the progress of the bar. | [Comparison](https://git.lumine.io/Ehh/mmobars/-/wikis/Conditions#comparison-conditions) |
|
|
| [bar-progress](Bar-Progress-Condition) | Used for detecting the progress of the bar. | [Comparison](https://git.lumine.io/Ehh/mmobars/-/wikis/Condition-Parameters#comparison-parameters) |
|
|
| [effect](Effect-Condition) | Used for detecting potion effects on the player. | [Basic](https://git.lumine.io/Ehh/mmobars/-/wikis/Conditions#conditions) |
|
|
| [effect](Effect-Condition) | Used for detecting potion effects on the player. | [Basic](https://git.lumine.io/Ehh/mmobars/-/wikis/Condition-Parameters#default-parameters) |
|
|
| [gamemode](Gamemode-Condition) | Checks for a player's gamemode. | [Basic](https://git.lumine.io/Ehh/mmobars/-/wikis/Conditions#conditions) |
|
|
| [gamemode](Gamemode-Condition) | Checks for a player's gamemode. | [Basic](https://git.lumine.io/Ehh/mmobars/-/wikis/Condition-Parameters#default-parameters) |
|
|
| [mounted](Mounted-Condition) | Checks if a player is mounted on a **living** entity. | [Basic](https://git.lumine.io/Ehh/mmobars/-/wikis/Conditions#conditions) |
|
|
| [mounted](Mounted-Condition) | Checks if a player is mounted on a **living** entity. | [Basic](https://git.lumine.io/Ehh/mmobars/-/wikis/Condition-Parameters#default-parameters) |
|
|
| placeholder | Used for making custom conditions. | [Comparison](https://git.lumine.io/Ehh/mmobars/-/wikis/Conditions#comparison-conditions) |
|
|
| placeholder | Used for making custom conditions. | [Comparison](https://git.lumine.io/Ehh/mmobars/-/wikis/Condition-Parameters#comparison-parameters) |
|
|
|
|
|
|
## Comparison Conditions
|
|
|
|
|
|
|
|
### Default Parameters
|
|
|
|
These parameters are included in every comparison condition.
|
|
|
|
|
|
|
|
| Parameter | Aliases | Description | Type | Default Value |
|
|
|
|
| ------ | ------ | ------ | ------ | ------ |
|
|
|
|
| `operator` | `oper, op` | Which operator to use for comparing the values. | `greater, g, equal, e, less, l` | `N/A` |
|
|
|
|
| `equalto` | `et` | If set to true `less` or `greater` will also resolve as true if both of the values equal each other. | Boolean | `false` |
|
|
|
|
|
|
|