LuckGiveaway | Advanced Automated LuckPerms Rewards
Stop managing giveaways manually and start engaging your community! LuckGiveaway is a professional-grade Skript designed to remove the stress and human error from server events. Whether you are rewarding a top player with a seasonal rank or giving back to your community during a milestone, this script handles everything—from permission checks to the final "Rank Up" command—automatically.
Why LuckGiveaway is Essential for Your Server
On most servers, staff have to manually verify if a winner already has a rank, check if they are still online, and then manually type LuckPerms commands. This leads to awkward "re-rolls" and delays. LuckGiveaway solves this by performing real-time background checks on every entrant, ensuring the prize always goes to a deserving, eligible, and active player.
Deep-Dive: Core Functionality
Intelligent Eligibility Filtering
Our script doesn't just pick a random name; it picks the right name.- The "Waste-Proof" Check: Before a player can even join, the script checks if they already possess the target LuckPerms group. If they do, the entry is denied, saving the prize for someone who actually needs it.
- The Staff Exclusion System: By default, OPs and staff members are blocked from entering. This ensures total transparency and fairness for your community.
- The "Live-Only" Rule: Many giveaway systems reward players who have gone offline. LuckGiveaway runs a final sweep at the end of the timer to ensure the winner is currently in the server to receive their hype!
Seamless LuckPerms Integration
Built specifically for the LuckPerms ecosystem, this script uses high-priority console execution to grant rewards.- The Command: It utilizes the lp user %player% parent add %group% logic.
- Flexibility: You specify the internal group name (e.g., mvp) and the fancy display name (e.g., &b&lMVP+) in one simple command.
Dynamic "Rolling" Hype System
To make your giveaways feel like a true event, we’ve included a "Rolling" phase.- Visual Animation: Instead of an instant winner, the chat broadcasts a "Rolling for winner..." message with a candidate count to build anticipation.
- Auditory Feedback: Custom sound effects (Hat, Pling, Challenge Complete) trigger for everyone on the server, ensuring no one misses the big announcement.
Technical Specifications & Customization
- Optimized Variable Handling: We use indexed list variables ({giveaway.players::*}) that are completely wiped after every giveaway. This prevents your server's database from bloating over time.
- Hex & Legacy Color Support: Fully compatible with standard color codes and Hex gradients for your rank display names.
- Configurable Duration: Easily change the default 90-second timer in the options: section to fit your event's pace.
Commands & Permissions
| Command | Description | Permission |
| /startgiveaway <lp-group> <display> | Starts a new giveaway event. | giveaway.start |
| /join | Allows players to enter the active pool. | None |
| /endgw | Forces the giveaway to end and rolls the winner. | op |
This triggers a giveaway for the internal group "mace" with the public name "mace".
Installation Guide
- Ensure you have Skript and LuckPerms installed.
- Upload LuckGiveaway.sk to /plugins/Skript/scripts/.
- Reload the script using /sk reload LuckGiveaway.
- Launch your event and watch the engagement rise!
Support & Community
Need a custom feature or found a bug? Join our dedicated support hub for rapid assistance:https://discord.gg/2yH2yRUdWf
