About Lucky Drop
Keep your Players Online Longer with Lucky Drop.
Set a Loot Table for a Randomized Player Selecting Drop.
You can set the time between events in Seconds. (Default 1 Hour)
The plugin will detect the min player threshold in order to keep events going.
Winners can be broadcasted via Chat.
Winners info can be pushed to Discord Via Webhook
Features and Parameters can be seen in config.
Once you have your loot table set, Don't forget to toggle on the Drop Timer!
Lang included for Server Customization.
HOOKS
OnLuckyDropActive
OnLuckyDropInactive
Config
{ "Turn on the Lucky Drop Timer?": false, "Block Admins From Participating?": true, "Minimum Amount of Players Online to enable Drops": 3, "Cancel Drop Event if a Player drops out to bring Min Players Below Threshold?": false, "Amount of Time in Seconds between Lucky Drops": 3600, "Broadcast when the Lucky Drop timer Starts?": true, "Announce Lucky Drop Winner?": true, "Chat Icon": 0, "Announce Winner to Discord?": false, "Discord Webhook URL": "INSERTWEBHOOKURLHERE", "Minimum Amount of Items to be Pulled from the Lucky Drop": 1, "Maximum Amount of Items to be Pulled from the Lucky Drop": 1, "Amount of Drops to Give the Winner?": 1, "Loot Table": [ { "Item ShortName": "scrap", "Item Custom Name": "", "Minimum Item Amount": 200, "Maximum Item Amount": 400, "Item Skin ID": 0, "Probability out of 100 to pull this item from the Lucky Drop?": 50 }, { "Item ShortName": "explosive.timed", "Item Custom Name": "", "Minimum Item Amount": 1, "Maximum Item Amount": 3, "Item Skin ID": 0, "Probability out of 100 to pull this item from the Lucky Drop?": 50 } ] }
Lang
{ "Win": "[<color=#00aba9>Lucky</color> <color=#f09609>Drop</color>] <color=#a200ff>{0}</color>, has Won this Rounds <color=#00aba9>Lucky</color> <color=#f09609>Drop</color>, Stick around for your Chance to <color=#f09609>Win</color>.", "DropScheduled": "[<color=#00aba9>Lucky</color> <color=#f09609>Drop</color>] A <color=#00aba9>Lucky</color> <color=#f09609>Drop</color> Event has started and will choose a random winner when the Timer is up.", "Cancelled": "[<color=#00aba9>Lucky</color> <color=#f09609>Drop</color>] The <color=#00aba9>Lucky</color> <color=#f09609>Drop</color> was Cancelled due to lack of <color=#f09609>Players</color>.", "Dropped": "[<color=#00aba9>Lucky</color> <color=#f09609>Drop</color>] The <color=#00aba9>Lucky</color> <color=#f09609>Drop</color> was dropped near you due to Lack of Space.", "DroppedContents": "[<color=#00aba9>Lucky</color> <color=#f09609>Drop</color>] The <color=#00aba9>Lucky</color> <color=#f09609>Drop</color> <color=#00aba9>Contents</color> were dropped at your feet due to Lack of Space." }
Thanks to @Luuxen for the help with testing.