This update introduces a complete
Giveaway History System so server admins can keep track of all past giveaways!
New Features
- Giveaway History GUI
View all past giveaways in an interactive GUI with multiple pages. Each entry shows host, winner, reward, and date.
- SQLite-Powered Storage
History entries are permanently saved in an SQLite database and persist after restarts.
- Configurable GUI Items
Fully customizable item name, lore, size, and navigation buttons inside config.yml.
- PersistentData Navigation
Items in the GUI are tracked with PersistentData for reliable page-switching and interaction.
⌨️ New Command
- /admingiveaway history – Open the Giveaway History GUI (Admin only).
New Permission
- voidgiveaway.admin.history – Required to view the history GUI.
⚙️ Config Additions
Code (YAML):
history:
gui:
title
:
"&bGiveaway History"
size
: 54
per-page
: 21
entry-item:
material
: PAPER
name
:
"&eGiveaway #%id%"
lore:
- "&7Host
:
&f%host%"
- "&7Winner
:
&a%winner%"
- "&7Prize
:
&b%reward%"
- "&7Date
:
&f%date%"
navigation:
previous-page:
material
: ARROW
name
:
"&ePrevious Page"
slot
: 45
persistent-key
:
"voidgiveaway:prev"
next-page:
material
: ARROW
name
:
"&eNext Page"
slot
: 53
persistent-key
:
"voidgiveaway:next"
close:
material
: BARRIER
name
:
"&cClose"
slot
: 49
persistent-key
:
"voidgiveaway:close"
✨ With this update, you can now
track every giveaway that was ever hosted on your server and easily browse results in a clean GUI.