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