Add-ons

🎟️ Vouchers

On this page, you will find everything you need to know about the vouchers add-on.

#Information

The Vouchers add-on adds redeemable codes. A code can hand out crate keys, items and commands, and can be limited by how many times it is used in total, how many times one player may use it, and when it stops working.

It is the piece a giveaway needs: a code posted in Discord, a code bundled with a store purchase, or a one-off code for a single player, all created in game without editing a file.

#Installation

To install this add-on, you can either:

  • Drag and drop the jar file into the PhoenixCrates/addons folder, then restart your server.
  • Download the plugin with the add-on selected during the downloading.

circle-exclamation

The add-on requires the Premium edition.

#Files

File What it holds
PhoenixCrates/vouchers.yml The codes, their rewards and the code generator settings.
PhoenixCrates/translations/vouchers.translations.<lang>.yml The add-on messages.

Which codes a player has redeemed is stored per player in the database, in the player_vouchers_table table. The number of times a code has been used across the whole server is stored on the code itself in vouchers.yml, so it survives a restart.

Last updated 9 days ago
My Cart (0 items)

Oops... looks like the spiders padded through here

Add products to your cart and remove them from here Lets buy