This plugin was made with Minecraft 1.8.9, other versions have not been tested.
- Price -
JAR: $4.99
SRC: $34.99 (Message me on site to purchase)
Special thanks to DiscoverCardOG for the thread design.
Code:
# Thank you for purchasing this plugin, if you need support please contact @tobixd on discord.
tebex:
secret: "your-tebex-secret-here" # https://docs.tebex.io/creators/faq
item:
material: "PAPER" # https://javadocs.olziedev.com/spigot/1.8.8/index.html?org/bukkit/Material.html
name: "&5&lGiftcard &7(Right click)"
lore:
- "&7&m------------------------------------------"
- ""
- "&7Right-click to see the code and amount."
- "&7This giftcard does not expire"
- ""
- "&7valid on &dstore.yourstore.com&7."
- "&8ID: %id%"
- "&7&m------------------------------------------"
enchantment: "LUCK"
enchantment-level: 1
messages:
usage: "&cUsage: /giftcard <create|delete|list> <amount|code> [player]"
player-not-found: "&cPlayer not found!"
error: "&cAn error occurred!"
create-success: "&aGift card created successfully with amount: &a$%amount%"
create-code: "&aGift card code: &a%code%"
delete-success: "&aGift card &a%code% &adeleted successfully."
delete-failure: "&cFailed to delete gift card. Response code: &c%code% - %message%"
list-header: "&aGift Cards:"
list-item: "&7Code: &a%code% &7Remaining: &a$%remaining%"
list-none: "&cNo gift cards found."
retrieve-code: "&7Gift card code: &a%code%"
retrieve-remaining: "&7Remaining balance: &a$%remaining%"
- /giftcard create <amount> <player> - Create a tebex giftcard and give the player the giftcard ingame
- /giftcard list - list all available tebex giftcards
- /giftcard delete <cardnumber>