VZone Plugins/VHoppers/currencies.yml

Config

This page mirrors the default currencies.yml file from the plugin.

currencies.yml
# ============================================================================
# VHoppers custom currencies
# ----------------------------------------------------------------------------
# This file defines command-based currencies for upgrades.
#
# Usage in upgrades.yml:
# currency: Custom:example-currency
# currency: example-currency
#
# Fields:
# name         = Display name shown in upgrade menus.
# prefix       = Price format shown in upgrade menus. Use {amount} for the formatted value.
# placeholder  = Optional PlaceholderAPI placeholder used to check balance.
# take-command = Console command used to remove currency.
# give-command = Optional console command used to add currency for seller payouts.
#
# Placeholders in take-command:
# %player% = player name
# %uuid%   = player UUID
# %amount% = required amount
# ============================================================================

Vault:
  name: "Vault"
  prefix: "{amount} $"

example-currency:
  name: "Token"
  prefix: "{amount} Token"
  placeholder: "%example_currency%"
  take-command: "examplecurrency take %player% %amount%"
  give-command: "examplecurrency give %player% %amount%"