Presents
Presents is a very customisable supply drop plugin. Once configured, it will select x amount of random player online every x amount of seconds and add a present to their inventory that they will then right-click to randomly receive one of the custom rewards from the config.
Features
- Custom Commands (Require Restart)
- Custom Messages
- Fully Customisable
- Customisable Presents
- Unique Rewards
Required Plugins
- Vault
Commands
- /Presents {help, reload, give} (Can be changed in the config)
Permissions
permissions :
presents.help :
description : lists cmd!
default : op
presents.reload :
description : lets you reload plugin!
default : op
presents.disable :
description : disables plugin!
default : op
presents.give :
description : Lets you give the presents out!
default : op
presents.click :
description : Allows you to click the present!
default : op
Config
# ---------------
# Presents - 1.1
# By JackThePanda
# ---------------
Config Version : 1.1
Metrics : true
# &
Messages :
Prefix : "&7[&aPresents&7] "
NoPermission : "&cYou do not have permission to do that!"
InternalError : "&cInternal Error has occurred! Please contact an Administrator"
Disabled : "&bThis plugin is now been disabled! to reenable the plugin please restart the server!"
GiveTo : "&7A present has been given to &f%player%!"
GiveSelf : "&fYou now have a present! To give it to a player please do: &7/present give {PLAYER}"
GiveOther : "&7You have been given a present by &f%player%!"
Time : "&7The present will be given out in &a%hour%%minute%%second%"
Offline : "&f%player% is offline :("
OneItem : "&cYou can only open one at a time!"
RightAirClick : "&cPlease right-click the present in the air!"
NoRewards : "&cNo rewards were found in the config :("
ActionBar : "&bYou have received a Present!"
Settings :
Commands :
Present : "presents"
# The Timer Is In Seconds
Timer : 120
MinimumOnlinePlayers : 1
GiveOutAmount : 1
Broadcasts :
1 : 30
2 : 10
3 : 3
4 : 2
5 : 1
ActionBar : true
Items :
Present :
item : CHEST
name : "&6&lPresent"
lore : "&eRight Click &7to open!"
lore2 : "&7&kasdfghjkfghjkljhg"
# Types:
# - item (item, name(optional), lore(optional), enchants(optional), amount, message, broadcast)
# - money (amount, message, broadcast)
# - command (command, commandsender, message, broadcast)
# Example
# {number}
# {type}
# {amount}
# {message}
# {broadcast}
Rewards :
1 :
type : "item"
item : DIAMOND_SWORD
name : "&6Dragon Slayer"
lore : "You won this from presents"
enchants :
DURABILITY : 3
DAMAGE_ALL : 5
FIRE_ASPECT : 2
amount : 1
message : "&aCongratulation &7you have recived the &6Dragon Slayer!"
broadcast : "&aCongratulation &7to &a%player%&7 for winning the &6Dragon Slayer"
2 :
type : "money"
amount : 5000
message : "&aCongratulation &7you have recived &a$5,000"
broadcast : "&aCongratulation &7to &a%player%&7 for winning the &6$5,000"
3 :
type : "command"
command : "broadcast %player% is cool"
# commandsender: player, console
commandsender : "console"
message : "&aCongratulation &7you have won a &aCustomCommands"
broadcast : "&aCongratulation &7to &a%player%&7 for winning &6CustomCommand"
4 :
type : "item"
item : DIAMOND_AXE
name : "&6Tree Chopper"
lore : "You won this from presents"
amount : 1
message : "&aCongratulation &7you have recived the &6Tree Chopper!"
broadcast : "&aCongratulation &7to &a%player%&7 for winning the &6Tree Chopper"
5 :
type : "item"
item : DIAMOND
amount : 64
message : "&aCongratulation &7you have recived the &64 Diamonds!"
broadcast : "&aCongratulation &7to &a%player%&7 for winning &664 Diamonds"
Installation
- Download Presents - 1.0.jar
- Stop your server
- Upload Presents - 1.0.jar into the plugins folder
- add Vault to your server if you dont have it already
- Configure to how you want it
- Startup server
- ENJOY!
Coming Soon
- Random location present spawn
- Rewards GUI
Bug Report
If you find any bugs within the plugin please report them to me asap by copying the error into https://pastebin.com/ and sending me the link via a conversation. Please do not use the review to tell me about an error!
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta