Vouchers+
  • 👋Welcome to Vouchers+
  • Overview
    • 💡What is Vouchers+?
    • ✨Our Features
    • ⭐Our Reviews
  • Fundamentals
    • 📜General Information
      • Permission Nodes
      • Commands
    • 🛠️Setting Up
      • Config.yml
        • General Configuration
        • Voucher Configuration
      • Messages.yml
        • General Plugin Messages
        • Voucher Action Messages
    • 🎫Creating a Voucher
      • Primary Details
      • Effects Details
      • Adding Rewards
      • 🔍Example Vouchers
  • Advanced
    • ✍️Using /vouchers edit
    • 📘PAPI Placeholders
  • Additional Information
    • 🔊Sounds
    • ✨Particles
    • 🎆Effects
  • FAQ
    • 📃FAQ
Powered by GitBook
On this page
  • NoPermission
  • ReceiveVoucher

Was this helpful?

  1. Fundamentals
  2. Setting Up
  3. Messages.yml

General Plugin Messages

Let's take a look at the general configurable plugin messages in Vouchers+

Currently there are two primary settings within the general plugin messages section of the Messages.yml file for Vouchers+ Most messages will be able to make use of some additional placeholders, these will be listed within the setting description. These settings will be broken down into detail below.

NoPermission

You may use the following placeholders within this message box: <prefix> - The Plugin Prefix (As defined within the Config.yml) <playername> - The name of the player

+ All PAPI Placeholders

This is the message that any player will receive if they don't have the relevant permission nodes needed to use the command that they attempted to execute. The default message has been included below:

# The message sent when players don't have permission to execute a command
NoPermission: '<prefix> &c&oOops... &cYou don''t have permission to run this command!'

ReceiveVoucher

You may use the following placeholders within this message box: <prefix> - The Plugin Prefix (As defined within the Config.yml) <playername> - The name of the player <vouchername> - The name of the voucher given to the player <amt> - The amount of vouchers given to the player

+ All PAPI Placeholders

This is the message that any player will be sent if they receive a voucher through the /give or /giveall command. The default message has been included below:

# The message sent to a user when they receive a voucher
ReceiveVoucher: '<prefix> &aYou have received <amt>x <voucherName>!'

Last updated 1 year ago

Was this helpful?

🛠️