-
Notifications
You must be signed in to change notification settings - Fork 11
Reward Types
goflishMC edited this page Oct 22, 2024
·
2 revisions
- One or multiple commands executed by the player with op permissions.
- You can use placeholders like
%player%
to insert the player's name.
RewardType: opcommand
Reward:
- fly
RewardType: opcommand
Reward:
- fly
- give 4 64
- Use
RewardType: nothing
for decoration or similar purposes where players receive nothing.
RewardType: nothing
- Adds an enchantment to the item in the player's main hand.
- Use the format:
Reward: <enchantment name/id>#<level>
.
RewardType: ENCHANTMENT
Reward: 'enchantment:DURABILITY#3'
- Gives the player money (requires the Vault plugin).
- Use
%reward%
to display the actual amount of money received.
RewardType: money
Reward: 500
- Gives the player points. Supported plugins include:
- PlayerPoints
- CommandPoints
- Enjin
- PointsAPI
- TokenEnchant
- Jobs
- MySQL-Tokens
- VotingPlugin
- Kingdoms
- Use
%reward%
to display the actual amount of points received.
RewardType: points
Reward: 750
- Grants the player one or more permissions (requires Vault).
RewardType: permission
Reward:
- Permission.Node
RewardType: permission
Reward:
- Permission.Node1
- Permission.Node2
- Opens another shop GUI.
RewardType: shop
Reward: menu
- Sends the player to another page of the current shop.
RewardType: page
Reward: next
- Sends the player to a named BungeeCord server.
RewardType: bungeecordserver
Reward: survival
- Executes commands via the BungeeCord console.
RewardType: bungeecordcommand
Reward:
- 'alert This alert was triggered by %player%.'
- Sends a player to a LilyPad server using
playercommand
.
RewardType: playercommand
Reward: server survival
- Increases the player's experience level.
RewardType: exp
Reward: 10
- Fills the player's inventory with the specified item. Requires a numeric
PriceType
. Set the reward to the item you want with an amount of one. The given price is the price per unit.
RewardType: ITEMALL
Reward:
- type:LOG
- amount:1
PriceType: MONEY
Price: 10
In this example, players can fill their inventory with logs and pay 10 money for each.
- Closes the shop/inventory GUI.
RewardType: close