
DeliveryMan 1.3.4
GUI | Sound | Fully Configurable | MySQL | Unlimited Rewards | PlaceholderAPI
The DeliveryMan plugin allows players to claim daily, weekly, or event-based rewards through a GUI interface in Minecraft.
» Lightweight and easy to use!
» No dependency
» 100% customizable
» MySQL Storage
Download Libraries: Click here
After downloading and extracting, you can simply place the files inside the DeliveryMan folder.
Commands
- /rewards
- /deliveryman reload
- /deliveryman reset <player> <id>
Permissions
- deliveryman.admin - Allows use of the /deliveryman reload command
PlaceholderAPI Expansion
- %deliveryman_available_rewards% - Show how many rewards are available
config.yml
# MySQL database configuration.
#
# Make sure you set 'enabled' to true.
database:
# Whether is the database enabled or not.
#
# If false, a memory storage will be used, and delays won't persist across restarts.
enabled: false
# The database hostname
host: 127.0.0.1
# The database name
database-name: minecraft
# The username to access with
username: root
# The database password
password: ""
# The table name. Ideally, this should be only contain letters and underscore.
table-name: "rewards"
# The maximum cache size for players. Unless told explicitly, it's best
# to leave it as it is.
max-cache-size: 1000
# Advanced HikariCP pooling configuration.
#
# Unless you know what you are doing, or were told to modify these explicitly,
# it's best to leave them as they are.
#
# Documentation: https://github.com/brettwooldridge/HikariCP#essentials
hikaricp:
# The max lifetime (in milliseconds) for a connection before it times out.
#
# Default value: 120000 (120 seconds)
max-lifetime: 120000
# The amount of connections to use for the database
#
# Default value: 10
max-pool-size: 10
# Rewards GUI settings
gui:
# The GUI title. Accepts color codes
title: 'Delivery Man'
# The rows in the GUI
rows: 5
# The interval in ticks in which the GUI will live-update the time
# on it.
#
# Default value: 10
live-update-interval: 10
# The scenery (extra useless items for decorating the GUI)
#
# Each line must only contain 9 characters. Each character
# represents a slot in the real GUI.
#
# You can specify what each character represents in the 'scenery-items'
# section below.
#
# Slots with '#' means they are left blank/undecided.
scenery-scheme:
- 'CCWWDWWCC'
- 'C#######C'
- 'C#######C'
- 'C#######C'
- 'CCW###WCC'
# The items in the above scenery scheme.
scenery-items:
C:
type: black_terracotta
name: "&b"
W:
type: white_terracotta
name: "&b"
D:
type: music_disc_blocks
name: "&aThe Delivery Man"
messages.yml
# The prefix that comes before any message. To send a message without prefix, precede it with '[noprefix]'
Prefix: '&7[&aDelivery &2Man&7] '
# Sent when a non-player attempts to use a player-only command
NotPlayer: '&cYou must be a player to use this command!'
# Sent when an invalid player is specified in a command
InvalidPlayer: '&cInvalid player: %target%'
# Sent when a player attempts to use a non-accessible command
NoPermission: '&cYou do not have permission to use this command!'
# Sent when an invalid number is inputted for a command
InvalidNumber: '&cInvalid number: &e%input%&c.'
# Sent when no such reward with ID exists
InvalidReward: '&cInvalid reward ID: &e%id%&c.'
rewards.yml
# The cooldown message
cooldown-message: "&cYou need to wait %time% before claiming this reward again!"
# Should the GUI close upon claiming the reward?
close-gui-on-claim: false
# The rewards section. Each reward should be defined as follows:
#
# <slot>:
# id: <unique reward id>
# permission: <reward permission>
# item: ..
# ...other properties...
rewards:
20:
# The reward ID. This must be unique, each reward with its own ID.
id: 1
# The reward permission
permission: "deliveryman.reward.1"
# Permission message
no-permission: "&cYou don't have the permission to get this reward!"
# Message sent when the reward is claimed
get-item: "&7You get coal. You need to wait &660s &7before claiming this reward again!"
# Commands to run when the reward is claimed
commands:
- minecraft:give %player% minecraft:coal 10
# The reward cooldown, in seconds
cooldown: 120
# The sounds to play for different reward results
sounds:
claim: entity_player_levelup # reward claimed
cooldown: block_anvil_land # needs to wait
no-permission: entity_enderman_teleport # no permission
# The reward item, before it is claimed
item:
type: chest_minecart
name: "&aReward #1"
glow: true
lore:
- "&7Your free &7coal"
- "&7is here!"
- ""
- "&7Contains the following:"
- "&7- &8x10 Coal"
- ""
- "&7Requires &aVIP&6+"
- "&aClick to loot!"
# The cooldown item.
#
# Accepts %cooldown% as a placeholder
cooldown-item:
type: minecart
name: "&cReward #1"
lore:
- "&7You already picked up this"
- "&7delivery, come back later!"
- " "
- "&7Next delivery: &f%cooldown%"
21:
id: 2
permission: "deliveryman.reward.2"
no-permission: "&cYou don't have the permission to get this reward!"
get-item: "&7You get iron. You need to wait &6120s &7before claiming this reward again!"
cooldown: 120
commands:
- minecraft:give %player% minecraft:iron_ingot 10
item:
type: chest_minecart
name: "&aReward #2"
glow: true
lore:
- "&7Your free &fIron"
- "&7is here!"
- ""
- "&7Contains the following:"
- "&7- &8x10 Iron"
- ""
- "&7Requires &aVIP&6+"
- "&aClick to loot!"
sounds:
claim: entity_player_levelup
cooldown: block_anvil_land
no-permission: entity_enderman_teleport
cooldown-item:
type: minecart
name: "&cReward #2"
lore:
- "&7You already picked up this"
- "&7delivery, come back later!"
- " "
- "&7Next delivery: &f%cooldown%"
22:
id: 3
permission: "deliveryman.reward.3"
no-permission: "&cYou don't have the permission to get this reward!"
get-item: "&7You get iron. You need to wait &6180s &7before claiming this reward again!"
cooldown: 180
commands:
- minecraft:give %player% minecraft:gold_ingot 10
sounds:
claim: entity_player_levelup
cooldown: block_anvil_land
no-permission: entity_enderman_teleport
item:
type: chest_minecart
name: "&aReward #3"
glow: true
lore:
- "&7Your free &eGold"
- "&7is here!"
- ""
- "&7Contains the following:"
- "&7- &8x10 Gold"
- ""
- "&7Requires &aVIP&6+"
- "&aClick to loot!"
cooldown-item:
type: minecart
name: "&cReward #3"
lore:
- "&7You already picked up this"
- "&7delivery, come back later!"
- " "
- "&7Next delivery: &f%cooldown%"
23:
id: 4
permission: "deliveryman.reward.4"
no-permission: "&cYou don't have the permission to get this reward!"
get-item: "&7You get diamond. You need to wait &6240s &7before claiming this reward again!"
cooldown: 240
item:
name: "&aReward #4"
type: chest_minecart
glow: true
lore:
- "&7Your free &bDiamond"
- "&7is here!"
- ""
- "&7Contains the following:"
- "&7- &8x10 Diamond"
- ""
- "&7Requires &aVIP&6+"
- "&aClick to loot!"
sounds:
claim: entity_player_levelup
cooldown: block_anvil_land
no-permission: entity_enderman_teleport
commands:
- minecraft:give %player% minecraft:diamond 10
cooldown-item:
name: "&cReward #4"
type: minecart
lore:
- "&7You already picked up this"
- "&7delivery, come back later!"
- " "
- "&7Next delivery: &f%cooldown%"
24:
id: 5
permission: "deliveryman.reward.5"
no-permission: "&cYou don't have the permission to get this reward!"
get-item: "&7You get emerald. You need to wait &6300s &7before claiming this reward again!"
cooldown: 300
sounds:
claim: entity_player_levelup
cooldown: block_anvil_land
no-permission: entity_enderman_teleport
item:
name: "&aReward #5"
type: chest_minecart
glow: true
lore:
- "&7Your free &2Emerald"
- "&7is here!"
- ""
- "&7Contains the following:"
- "&7- &8x10 Emerald"
- ""
- "&7Requires &aVIP&6+"
- "&aClick to loot!"
commands:
- minecraft:give %player% minecraft:emerald 10
cooldown-item:
name: "&cReward #5"
type: minecart
lore:
- "&7You already picked up this"
- "&7delivery, come back later!"
- " "
- "&7Next delivery: &f%cooldown%"
For support, please use only resource discussion
Terms of Service
By using this plugin, you agree to the following terms, which may be updated by the author at any time.
- All payments are final and non-refundable.
- Redistribution or resale of this plugin is prohibited.
- You are not permitted to modify, decompile, or extract any part of the plugin's source code.
- Support is provided exclusively to legitimate customers. We cannot offer support for plugins obtained through unauthorized or illegal means.