Releases: vanphi1207/GiftcodeX
Releases · vanphi1207/GiftcodeX
Release list
1.5
1.4
✨ 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
✨ 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.ymlbackward-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
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 guireplaces/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-symboltomessages.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)
- Gold Ingot (max uses) — toggle
- 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>%

1.1
1.0
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
- Drop
GiftcodeX-1.0.jarinto yourplugins/folder - Restart the server
- Edit
plugins/GiftcodeX/config.ymlas needed
