config.yml

Giftcards Configuration Files


# Plugin License key from discord.mantic.dev
license: XXXX-XXXX-XXXX-XXXX

# Your Tebex Secret Key
tebex-secret-key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

# Giftcard command, changes applies after restart.
command: giftcard
aliases:
- giftcards

# Settings
basecommand-permission: mantic.giftcard
give-permission: mantic.giftcard.give
lookup-permission: mantic.giftcard.lookup
view-others-permission: mantic.giftcard.others
date-time-format: dd-MM-yyyy HH:mm:ss
gift-card-note: '{player} created the giftcard for {target} | {time} - Prison'

# Webhook
gift-card-webhook-status: true
gift-card-webhook: https://discord.com/api/webhooks/XXXXXXXXX
webhook-gift-card-image: https://cdn.discordapp.com/attachments/1121766487959535657/1169296209781997672/logo.png?ex=6554e2f4&is=65426df4&hm=df843e1f4446ff7679a535b3ea71715b4d70bc3a62e52e09843c261dbbed5994&
webhook-gift-card-user-name: Mantic Giftcard
webhook-gift-card-title: Mantic Giftcard AI
webhook-gift-card-footer: mantic.dev
webhook-gift-card-hex: '#FFFFFF'
webhook-info:
- ' ➸ Given by: {player}'
- ' ➸ Given to: {target}'
- ' ➸ ID: {id}'
- ' ➸ Giftcard Code: {code}'
- ' ➸ Balance: ${balance}'
- ' ➸ Note: {note}'

# Messages
msg-usage-give: '&a&lGiftcard &8➸ &c/giftcard give <player> <amount>'
msg-usage-lookup: '&a&lGiftcard &8➸ &c/giftcard lookup <code>'
msg-invalid-player: '&a&lGiftcard &8➸ &cYou have entered an invalid player name!'
msg-not-number: '&a&lGiftcard &8➸ &cThis is not a valid number.'
msg-key-not-working: '&a&lGiftcard &8➸ &cSeems like your tebex secret key no longer
  works!'
msg-invalid-giftcard-i-d: '&a&lGiftcard &8➸ &cYou have entered an invalid giftcard
  id.'
msg-giftcard-does-not-exist: '&a&lGiftcard &8➸ &cThis giftcard does not exist. Valid
  Giftcards: {ids}'
msg-no-giftcards-player: '&a&lGiftcard &8➸ &c{player} has no giftcards!'
msg-no-giftcards: '&a&lGiftcard &8➸ &cYou do not have any giftcards redeemed!'
msg-given-giftcard: '&a&lGiftcard &8➸ &7You have given &a{player} &7a giftcard with
  the value of &2$&a{amount}&7.'
msg-invalid-giftcard: '&a&lGiftcard &8➸ &cInvalid giftcard! Please contact an administrator.'
msg-redeemed-giftcard: '&a&lGiftcard &8➸ &7You have redeemed a giftcard for &2$&a{amount}&7!
  Type /giftcard view to see your codes!'
view-text-title: '&8----- &e{player} Giftcard List &f[{page}/{max_page}] &8-----'
view-format: '&7{place}. &a{code} - ${amount}'
msg-giftcard-info:
- '&8&l&m------------------------'
- ' &8» &bID: &f{id}'
- ' &8» &bCode: &f{code}'
- ' &8» &bStarting Value: &f${value}'
- ' &8» &bRemaining Value: &f${current}'
- ' &8» &bNote: &f{note}'
- '&8&l&m------------------------'

Last updated