blixadocs
/
    UltraCoupons / Configuration

    messages.yml

    Every message UltraCoupons sends to players. Supports standard color codes (&a, &c, etc.) and hex colors. Placeholders like {coupon}, {player}, and {cost} are replaced automatically.

    # UltraCoupons - messages.yml
    # Keys are looked up by dotted path (e.g. COUPON.REDEEMED). Colour and {placeholder}
    # substitution are applied when sent.
    
    COUPON:
      GIVEN: "&aGave &b{coupon} &ato &b{player}&a."
      RECEIVED: "&aYou received a &b{coupon} &acoupon."
      REDEEMED: "&aRedeemed &b{coupon}&a!"
      NOT-A-COUPON: "&cThat item is not a coupon."
      UNKNOWN: "&cThis coupon could not be verified and was rejected."
      ALREADY-REDEEMED: "&cThat coupon has already been used."
      UNDEFINED: "&cThat coupon no longer exists."
      DISABLED: "&cThat coupon is currently disabled."
      LIMIT-REACHED: "&cThis coupon has reached its global claim limit."
      NOT-FOUND: "&cNo coupon named &b{coupon} &cexists."
      INSUFFICIENT-FUNDS: "&cYou cannot afford &b{coupon}&c - it costs &e{cost}&c."
      CHARGE-FAILED: "&cCould not charge you for &b{coupon}&c. Nothing was taken."
    
    EDITOR:
      SAVED: "&aSaved &b{coupon}&a."
      CREATED: "&aCreated coupon &b{coupon}&a. Opening its editor…"
      ALREADY-EXISTS: "&cA coupon named &b{coupon} &calready exists."
      RENAMED: "&aRenamed &b{old} &ato &b{coupon}&a."
      INVALID-NAME: "&cInvalid name. Use only letters, numbers, &f- &cand &f_&c."
      INVALID-NUMBER: "&cThat is not a valid number."
      APPEARANCE-SET: "&aUpdated the coupon's display item."
      COMMAND-ADDED: "&aAdded a command reward."
      COMMAND-UPDATED: "&aUpdated the command reward."
      COMMAND-REMOVED: "&aRemoved a command reward."
      ITEMS-SAVED: "&aSaved the item rewards."
      PROMPT-CANCELLED: "&7Cancelled."
    
    RELOAD:
      SUCCESS: "&aConfiguration reloaded successfully."
      ERROR: "&cAn error occurred while reloading. Check console."
      DATABASE-CHANGED: "&bThe storage type in database.yml changed. A full server restart is required for the database change to take effect; every other config was reloaded."
    
    GENERAL:
      NO-PERMISSION: "&cYou don't have permission to do this."
      PLAYER-NOT-FOUND: "&cPlayer &b{player} &cwas not found."
      CONSOLE-ONLY: "&cThis command can only be run from console."
      PLAYER-ONLY: "&cThis command can only be run by a player."
      INVALID-USAGE: "&cInvalid usage. &7{usage}"