|
## Description
|
|
## Description
|
|
Gives money to players.
|
|
Gives money to 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 and Vault must be enabled in the MythicMobs `config-general.yml` file
|
|
It also requires Vault being enabled in the plugin's Configurations file
|
|
|
|
```yaml
|
|
```yaml
|
|
Vault:
|
|
Vault:
|
|
Enabled: true
|
|
Enabled: true
|
|
```
|
|
```
|
|
|
|
|
|
## Attributes
|
|
## Attributes
|
... | @@ -17,8 +16,8 @@ It also requires Vault being enabled in the plugin's Configurations file |
... | @@ -17,8 +16,8 @@ It also requires Vault being enabled in the plugin's Configurations file |
|
|
|
|
|
## Examples
|
|
## Examples
|
|
```yaml
|
|
```yaml
|
|
Skills:
|
|
Skills:
|
|
- currencygive{amount=20} @pir{r=20} ~onSpawn 0.2
|
|
- currencygive{amount=20} @pir{r=20} ~onSpawn 0.2
|
|
```
|
|
```
|
|
If executed all players in radius of 20 blocks around the spawned mob
|
|
If executed all players in radius of 20 blocks around the spawned mob
|
|
will receive 20 money by a chance of 20% |
|
will receive 20 money by a chance of 20% |
|
|
|
\ No newline at end of file |