Vouchers
Vouchers is designed to make creating vouchers easy. Everything is done in-game through the use of GUIs, meaning you will never need to leave your client to edit the config, or vouchers.

Features

  • Unlimited vouchers can be created
  • Unlimited broadcast messages
  • Unlimited player messages
  • Unlimited commands
  • Complete in-game editor for settings / vouchers
  • Small Developer API

Developer API / Methods

Methods
1
VoucherAPI.getInstance()
2
doesVoucherExists(String id): boolean
3
removeVoucher(String id): void
4
createVoucher(Voucher voucher): void
5
6
Vouchers.getInstance.getVoucherManager()
7
addVoucher(Voucher voucher): void
8
removeVoucher(Voucher voucher): void
9
getVoucher(String id): Voucher
10
getVouchers(): Collection<Voucher>
11
isLoaded(String id): boolean
12
loadVouchers(boolean isReload): void
13
redeem(Player player, Voucher voucher): void
Copied!
Custom Events
  • VoucherCreateEvent
  • VoucherRedeemEvent
  • VoucherRemoveEvent

Source Code

To view the source code for this plugin click this link: https://www.github.com/tweetzy/vouchers
Last modified 8mo ago