Skip to content

Releases: vanphi1207/GiftcodeX

1.5

Choose a tag to compare

@vanphi1207 vanphi1207 released this 29 May 01:49
b72eb0d

✨ New Features

  • Added cooldown preriod for redeeming gift code

1.4

1.4

Choose a tag to compare

@vanphi1207 vanphi1207 released this 26 Apr 12:58

✨ New Features

  • Added support for hex color
  • Added language configuration (now supports both English and Vietnamese.)

💡 Notes

  • Make sure to update your configuration files to take full advantage of the new language system and hex color support.

1.3

1.3

Choose a tag to compare

@vanphi1207 vanphi1207 released this 10 Apr 05:00
b0304c4

✨ New Features

  • Add support Minecraft 1.21+ servers
  • Added ViaVersion-aware dialog/chat fallback for legacy clients
  • Admin using client < 1.21.6 will automatically use chat input mode instead of dialog for text fields (expiry, permission, commands, messages)
  • GUI lore now shows dialog input or chat input (legacy client) so admins know which mode is active

⏱️ Playtime Requirement Overhaul

  • Replaced single minutes integer with full duration model: Years, Months, Weeks, Days, Hours, Minutes, Seconds, Milliseconds
  • codes.yml backward-compatible — old plain-integer values auto-migrated on reload
  • GUI editor now shows per-field breakdown; clicking opens 8-field Dialog (1.21.6+) or chat prompt (legacy)

1.2

1.2

Choose a tag to compare

@vanphi1207 vanphi1207 released this 05 Apr 06:25

GiftcodeX v1.2 — Infinity Toggle & Configurable Symbol

Unlimited values are now displayed with a configurable ∞ symbol instead of raw -1, and admins can toggle unlimited state directly from the GUI using the Q key.

Changes

  • /gcx gui replaces /gcx list — opens the paginated code browser GUI (list kept as a silent alias for backwards compatibility)
  • Create Code button — glowing Nether Star in the bottom bar; clicking prompts the
  • Configurable infinity symbol — add infinity-symbol to messages.yml (default , change to any string)
  • Q key toggles unlimited on three GUI slots:
    • Gold Ingot (max uses) — toggle / unlimited global uses
    • Player Head (per-player limit) — toggle / unlimited per player
    • Compass (IP limit) — toggle / no IP restriction
    • Clock (expiry) — clear expiry date → (never expires)
  • Items glow when their value is in unlimited state
  • symbol now shown consistently in /gcx info, /gcx list, GUI lore, and PlaceholderAPI output
  • Two new placeholders: %giftcodex_code_playerlimit_<code>% and %giftcodex_code_iplimit_<code>%
2026-04-05_13 23 15 2026-04-05_13 23 24

1.1

1.1

Choose a tag to compare

@vanphi1207 vanphi1207 released this 02 Apr 05:25

GiftcodeX v1.1 — GUI Colour Update

Lore lines across all GUI screens now use a consistent colour system for faster readability.

Changes

  • GUI lore now colour-coded by state
  • Usage counter fixed: now correctly displays used / total instead of used / remaining
2026-04-02_12 23 56

1.0

1.0

Choose a tag to compare

@vanphi1207 vanphi1207 released this 01 Apr 10:59

GiftcodeX v1.0 — Initial Release

Advanced gift code management plugin for Paper/Folia servers.

Features

  • GUI editor for creating and managing gift codes
  • Per-player, per-IP, and playtime redemption restrictions
  • Bulk random code generation
  • MySQL & H2 (embedded) database support
  • PlaceholderAPI integration
  • Folia compatible

Requirements

  • Java 21+
  • Paper / Folia 1.21.6+
  • PlaceholderAPI 2.11+ (optional)

Installation

  1. Drop GiftcodeX-1.0.jar into your plugins/ folder
  2. Restart the server
  3. Edit plugins/GiftcodeX/config.yml as needed