|
Mechanic: CurrencyTake
|
|
## Description
|
|
======================
|
|
|
|
|
|
|
|
Takes money from players.
|
|
Takes money from players.
|
|
This mechanic needs the Vault plugin and an economy plugin installed to
|
|
This mechanic needs the Vault plugin and an economy plugin installed to
|
|
work.
|
|
work.
|
... | @@ -9,19 +7,21 @@ It also requires Vault being enabled in the [config.yml](/configuration/) |
... | @@ -9,19 +7,21 @@ It also requires Vault being enabled in the [config.yml](/configuration/) |
|
Vault:
|
|
Vault:
|
|
Enabled: true
|
|
Enabled: true
|
|
```
|
|
```
|
|
Attributes
|
|
|
|
----------
|
|
|
|
|
|
|
|
|
|
## Attributes
|
|
| Attribute | Aliases | Description | Default |
|
|
| Attribute | Aliases | Description | Default |
|
|
|-----------|---------|----------------------------------------|---------|
|
|
|-----------|---------|----------------------------------------|---------|
|
|
| amount | a | The amount of money taken from player. | 0.0 |
|
|
| amount | a | The amount of money taken from player. | 0.0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Examples
|
|
## Examples
|
|
--------
|
|
|
|
This skill will take away 20 money from all players in radius of 20 blocks.
|
|
This skill will take away 20 money from all players in radius of 20 blocks.
|
|
```yaml
|
|
```yaml
|
|
Skills:
|
|
Skills:
|
|
- currencytake{amount=20} @pir{r=20} ~onSpawn
|
|
- currencytake{amount=20} @pir{r=20} ~onSpawn
|
|
```
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
## Aliases
|
|
|
|
- [x] takeCurrency |
|
|
|
\ No newline at end of file |