# ============================================================== #
# Language Configuration Section #
# ============================================================== #
language: "en" # Supported languages -> de, en
console-in-webhook: "CONSOLE"
# If you want to change the language of your plugin, choose from the available options: 'de' (German) or 'en' (English)
# ============================================================== #
# Main Menu Configuration Section #
# ============================================================== #
uses-must-be-bigger-than-one: true # If true, the main menu will only display codes where the 'USES' is greater than 1
# This is a toggle to control whether vaults with less than one use should be excluded from the menu
# ============================================================== #
# Database Configuration Section #
# ============================================================== #
database:
type: h2 # Supported types -> MYSQL, H2
# MySQL-specific configuration
mysql:
host: localhost
port: 3306
database: user
username: root
password: "" # Enter your MySQL password here (leave empty for no password)
ssl: false
certificateverification: false
poolsize: 10
lifetime: 1800000
# This section is only necessary for MySQL. If using H2, you can ignore this part.
# Provides configuration for the MySQL connection, including host, port, and other settings.
# ============================================================== #
# Vaultcher Item Configuration Section #
# ============================================================== #
vaultcher-item:
amount: 1
material: PAPER
name: "&c{name}" # {name} will be replaced with the vaultcher's name
lore:
- ""
- "&aClick if you want to redeem the vaultcher!" # Description when hovering or clicking on the vaultcher item
# ============================================================== #
# Filler Glass Item Configuration Section #
# ============================================================== #
filler-glass-item:
material: GRAY_STAINED_GLASS_PANE
name: " " # An empty name for the filler glass
lore: [] # Empty lore as it is just a filler item
# ============================================================== #
# Back to Navigation Menu Item Configuration #
# ============================================================== #
back-to-navigation-item:
material: COMPASS
name: "&eI want to look around more!"
lore:
- ""
- "&aClick here if you want to go back!"
slot: 49
# ============================================================== #
# Menu Configuration - Accessible Vaultchers #
# ============================================================== #
user-accessible-menu:
title: "&c&lACCESSIBLE VAULTCHERS" # The title of the menu (with color codes)
size: 54 # Size of the menu (9 slots per row)
update-tick: 2 # Refresh rate of the menu in ticks
back-item:
amount: 1
material: RED_STAINED_GLASS
name: "&cBack" # Button to go back to the previous menu
slot: 45 # Slot position in the menu
forward-item:
amount: 1
material: GREEN_STAINED_GLASS
name: "&aForward" # Button to go forward to the next page of codes
slot: 53 # Slot position in the menu
filler-glass: true # Filler glass to fill unused slots
# ============================================================== #
# Placeholder Answers Configuration Section #
# ============================================================== #
placeholders:
yes-holder: "Yes"
no-holder: "No"
no-code-holder: "No code"
# ============================================================== #
# Full Overview Menu Configuration #
# ============================================================== #
full-overview-menu:
title: "&c&lFULL OVERVIEW" # The title of the full overview menu
size: 54
update-tick: 2
back-item:
amount: 1
material: RED_STAINED_GLASS
name: "&cBack"
slot: 45
forward-item:
amount: 1
material: GREEN_STAINED_GLASS
name: "&aForward"
slot: 53
filler-glass: true # Same filler glass setting as in the accessible vaultcher menu
# ============================================================== #
# Navigation Menu Configuration #
# ============================================================== #
navigation-menu:
title: "&c&lNAVIGATION MENU" # Title of the navigation menu
size: 9 # Smaller menu with only 9 slots
filler-glass: true # Use filler glass to fill empty slots
user-accessible-menu-item:
amount: 1
material: DIAMOND
name: "&4&lAVAILABLE CODES" # A diamond item representing available codes
slot: 3 # Slot where the item will appear
full-overview-menu-item:
amount: 1
material: CAULDRON
name: "&4&lALL" # Cauldron item representing the full overview of vaultchers
slot: 5 # Slot where the item will appear
# ============================================================== #
# Referral Configuration #
# ============================================================== #
referral:
command-creator: # These/this command(s) will run for THE CODE CREATOR when someone activates their code.
- "msg {player} nice!"
- "msg {player} you are so sigma"
command-activator: # These/this command(s) will run for THE CODE ACTIVATOR when someone activates a command.
- "msg {player} nice job!"
- "msg {player} test"
# ============================================================== #
# Redeem Configuration #
# ============================================================== #
redeem:
particle:
enabled: true
name:
- "FIREWORKS_SPARK"
- "CRIT"
sound:
enabled: true
name:
- "BLOCK_NOTE_BLOCK_BELL"
play-sound-at-location: false # If it's on true then everyone will hear the sound.
# ============================================================== #
# Command Settings #
# ============================================================== #
aliases:
- "vaultcher"
- "voucher"