Vault Bridge
Warning
Depend: Vault
Variable
{money}
gets the money the player having{money_formatted}
gets the money the player having (formatted){group}
gets the group the player is currently in
Action
Format
give-money: <money>
Description
This action gives <money>
to the player
Example
give-money:
slot: 1
id: emerald
name: "&cGive money"
command: "give-money: 10"
Requirement
Money
Format
money: <value>
money:
value: <value>
take: <true/false>
Description
- This requirement checks if the money the player having is at least
<value>
- You can set the
take
value (true
orfalse
) to allow/disallow the plugin to take the money of the player alter checking successfully
Example
check-money:
slot: 1
id: emerald
name: "&cTake money"
click-requirement:
left:
take-money: # Take 10 money
money: 10
right:
check-money: # Check if the players has 10 money
money:
value: 10
take: false
success-action: "tell: &a You have enough money"
fail-action: "tell: &a You don't have enough money"
Group
Format
group: <name>
Decription
This requirement checks if the player is in the group <name>
Example
check-group:
slot: 1
id: stone
name: "&cStone Group"
click-requirement:
default:
stone-group: # Check if the player is in the "stone" group
group: stone
success-action: "tell: &aYou are welcome"
fail-action: "tell: &cGet out of here"