Changes
Page history
Update Placeholder Condition
authored
Apr 07, 2021
by
Ethan
Hide whitespace changes
Inline
Side-by-side
Placeholder-Condition.md
View page @
b18c3d4a
...
@@ -6,12 +6,13 @@ Used for making custom conditions.
...
@@ -6,12 +6,13 @@ Used for making custom conditions.
| Parameter | Aliases | Description | Type | Default Value |
| Parameter | Aliases | Description | Type | Default Value |
| ------ | ------ | ------ | ------ | ------ |
| ------ | ------ | ------ | ------ | ------ |
|
`placeholder`
|
`ph`
| The placeholder to match to the value. | String | Required |
|
`placeholder`
|
`ph`
| The placeholder to match to the value. | String
, Boolean
|
`
Required
`
|
|
`value`
|
`v`
| What the placeholder will match to. | String | Required |
|
`value`
|
`v`
| What the placeholder will match to. | String |
`
Required
`
|
## Examples
## Examples
```
```
conditions:
conditions:
- 'placeholder{ph=%mmoitems_is_sleeping%;m=true}'
- 'placeholder{ph=%mmoitems_stat_defense%;value=100;operator=equal;m=true}'
- 'placeholder{ph=%mmoitems_stat_defense%;value=100;operator=equal;m=true}'
- 'placeholder{ph=%mmoitems_stat_defense%;value=%mmoitems_stat_armor%;operator=less;equalto=true;m=true}'
- 'placeholder{ph=%mmoitems_stat_defense%;value=%mmoitems_stat_armor%;operator=less;equalto=true;m=true}'
```
```
\ No newline at end of file