Skip to main content
Version: Current

Voucher Example Arg

# FAQ
# Q) How can I deny the player's permissions?
# A) Use your permissions plugin like LuckPerms, You can run /lp user {player} permission set your_permission

# Q) Do I need everything in this config?
# A) No, You can view PlayerHead.yml for an example whereas much as possible can be removed.

###################################
# Items: Options
# Item: <ID:MD> - You can choose the item with its id and meta data.
# Amount: <Number> - Choose how many of the item you get.
# Name: <Name> - The display name that goes on the item.
# Lore: <Line 1>,<Line 2>,<Line 3>,<Line 4> - The lore that will go under the enchantments. Split lines with a ','
# <Enchantment>:<Level> - Choose the enchantment you want to add to the item. You can use the in-game names of the enchantment if you want. Replace the spaces in the name with a "_".
###################################################################
# Firework Colors: #
# Aqua, Black, Blue, Fuchsia, Gray, Green, Lime, Maroon, #
# Navy, Olive, Orange, Purple, Red, Silver, Teal, White, Yellow #
###################################################################
voucher:
# The material.
item: 'paper'
# The name of the item.
name: '<blue>Arg Example <aqua>{arg}'
# The lore of the item.
lore:
- '<gray>Use this voucher to rank up to <red>{arg}'
- '<dark_gray>(<yellow>!<dark_gray>) <light_purple>Right click to redeem.'
# If the item should glow or not.
glowing: true
# Tells the plugin that this command requires an argument.
has-argument: true
# The commands to send.
commands:
- 'lp user {player} parent group set {arg}'
# Any generic component for the Item.
components:
# Hides the entire tooltip.
hide-tooltip: false
# All options when they right-click it.
options:
# The message sent when they right-click it.
message: '<gray>Congratulations, you have just ranked up to <gold>{arg}<gray>.'
# The sound settings.
sound:
# If the sounds should be enabled.
toggle: true
# The volume pitch
volume: 1.0
# The sound pitch
pitch: 1.0
# The sound or sounds to use.
# https://minecraft.wiki/w/Sounds.json
sounds:
- 'block.amethyst_block.step'