HyperCredits+ configuration
Main file: plugins/HyperCreditsPlus/config.yml. Menus are in gui.yml, messages in messages.yml, the web panel in web.yml.
currencies:
giftcards:
enabled: true
# Main command. Changing it needs a server restart.
command-name: "credits"
aliases: []
top-subcommand: "top"
display-name: "Credits"
symbol: "$"
# {amount} {name} {symbol}
format: "{amount} {name}"
prefix: "&8[&6Credits&8] &7"
coupons:
enabled: true
command-name: "coupons"
aliases: []
top-subcommand: "top"
display-name: "Coupons"
symbol: "⚡"
format: "{amount} {name}"
prefix: "&8[&dCoupons&8] &7"
withdraw:
# SIGN (sign editor, falls back to chat) or CHAT
input-method: "SIGN"
giftcards:
enabled: true
minimum: "1.00"
# Tebex gift cards can be worth at most 495
maximum: "495.00"
cooldown: 30
preset-amounts: ["1", "5", "10", "25", "50", "100", "250"]
coupons:
enabled: true
minimum: "1.00"
maximum: "10000.00"
cooldown: 30
preset-amounts: ["1", "5", "10", "25", "50", "100", "250"]
pay:
giftcards:
enabled: true
minimum: "0.01"
cooldown: 3
coupons:
enabled: false
minimum: "0.01"
cooldown: 3
integration:
giftcards-vouchers-to-balance: true
# Set false to keep percentage/package-restricted coupons as normal HyperCredits codes
coupons-vouchers-to-balance: true
take-over-base-commands: true
tebex:
giftcards:
note-prefix: "HyperCredits+ Credits"
expire-days: 0
coupons:
note-prefix: "HyperCredits+ Coupon"
expire-days: 0
discount-application-method: 1
basket-type: "both"
minimum-basket: 0
lock-to-player: false
storage:
# yaml or mysql
type: "yaml"
mysql:
host: "localhost"
port: 3306
database: "hypercreditsplus"
username: "root"
password: "password"
table: "hypercreditsplus_balances"
logging:
transactions: true
Keep percentage coupons as codes
A coupon voucher with a percentage or a package restriction does not fit a plain balance. Set integration.coupons-vouchers-to-balance: false to keep those as normal HyperCredits coupon codes while gift cards still go to Credits.