
LuckyDeliveryMan 1.2.1
GUI | Fully Configurable | Custom Rewards | Custom Cooldown | Custom Permission | NPC
LuckyDeliveryMan is a plugin that offers a fully configurable GUI (Graphical User Interface) for managing deliveries. It includes features like custom rewards, custom cooldowns, and custom permissions. Additionally, it supports NPC integration, allowing players to interact with NPCs for delivery-related tasks or rewards.
- GUI: A customizable interface for easier player interaction.
- Fully Configurable: Allows full customization to fit server needs.
- Custom Rewards: You can create unique rewards for players.
- Custom Cooldown: Set cooldowns for the delivery system, limiting how often players can claim rewards.
- Custom Permission: Set specific permissions for players to access certain delivery features.
- NPC: The NPC acts as a "deliveryman" who players can interact with to receive rewards or deliveries. Instead of using commands, players can click on the NPC to claim their rewards or participate in a delivery task.
Dependencies
- Citizens (Click to download) [Softdepend]
Commands
- /dm open
- /dm adddeliverymannpc <id>
- /dm removedeliverymannpc <id>
- /dm list
- /dm reload
Permissions
- deliveryman.command.help.command.help - Allows use of the /dm command
- deliveryman.command.adddeliverymannpc - Allows use of the /dm adddeliverymannpc command
- deliveryman.command.removedeliverymannpc - Allows use of the /dm removedeliverymannpc command
- deliveryman.command.list - Allows use of the /dm list command
- deliveryman.command.reload - Allows use of the /dm reload command
config.yml
gui:
slot: 54
messages.yml
messages:
no-console: '&cThis command cannot be used as a console!'
no-permission: '&cYou don''t have permission to use this command!'
title: '&8The Delivery Man'
commands:
descriptions:
admin:
open: '&f&oOpen player reward gui'
adddeliverymannpc: '<id> &f&oCreate a DeliveryMan NPC'
removedeliverymannpc: '<id> &f&oRemove a DeliveryMan NPC'
list: '&f&oShows a list of DeliveryMan NPCs'
reload: '&f&oReloads the plugin'
reload-success: '&aSuccessfully reloaded!'
deliveryman-npc-added: '&aYou have successfully added DeliveryManNPC (%%id%%)'
deliveryman-npc-removed: '&aYou have successfully removed DeliveryManNPC (%%id%%)'
deliveryman-npc-list: '&aList of currently created DeliveryMan NPC: &7%%npcs%%'
errors:
reload-fail: '&cA serious error occurred during reloading'
api-citizen: '&cYou need the "Citizen" plugin to use this command!'
contains-deliveryman-npc: '&cThere is already an NPC with that ID!'
not-contains-deliveryman-npc: "&cI couldn't find a DeliveryManNPC with that ID!"
no-npc: "&cThere are no DeliveryManNPC NPC!"
rewards.yml
rewards:
'20':
name: '&cReward #1'
meta: 0
sound:
claim: ENTITY_PLAYER_LEVELUP
cooldown: BLOCK_ANVIL_LAND
no-permission: ENTITY_ENDERMAN_TELEPORT
glow: true
get-item: '&aThe Delivery Man: &7You get coal. You need to wait &660s &7Before claiming this reward again!'
permission: 'deliveryman.reward.1'
no-permission: '&cYou don''t have the permission do get this reward!'
item: CHEST_MINECART
cooldown: 60
commands:
- give %player% minecraft:coal 10
lore:
- '&7Your free &7Coal'
- '&7is here!'
- ''
- '&7Contains the following:'
- '&7- &8x10 Coal'
- ''
- '&7Requires &aVIP&6+'
- '&cClick to loot!'
cooldown-name: '&cReward #1'
cooldown-meta: 0
cooldown-item: MINECART
cooldown-lore:
- '&7You already picked up this'
- '&7delivery, come back later!'
- ' '
- '&7Next delivery: %cooldown%s'
cooldown-message:
chat: '&cYou need to wait 60s before claiming this reward again!'
'21':
name: '&cReward #2'
meta: 0
sound:
claim: ENTITY_PLAYER_LEVELUP
cooldown: BLOCK_ANVIL_LAND
no-permission: ENTITY_ENDERMAN_TELEPORT
glow: true
get-item: '&aThe Delivery Man: &7You get iron. You need to wait &6120s &7Before claiming this reward again!'
permission: 'deliveryman.reward.2'
no-permission: '&cYou don''t have the permission do get this reward!'
item: CHEST_MINECART
cooldown: 120
commands:
- give %player% minecraft:iron_ingot 10
lore:
- '&7Your free &fIron'
- '&7is here!'
- ''
- '&7Contains the following:'
- '&7- &8x10 Iron'
- ''
- '&7Requires &aVIP&6+'
- '&cClick to loot!'
cooldown-name: '&cReward #2'
cooldown-meta: 0
cooldown-item: MINECART
cooldown-lore:
- '&7You already picked up this'
- '&7delivery, come back later!'
- ' '
- '&7Next delivery: %cooldown%s'
cooldown-message:
chat: '&cYou need to wait 120s before claiming this reward again!'
'22':
name: '&cReward #3'
meta: 0
sound:
claim: ENTITY_PLAYER_LEVELUP
cooldown: BLOCK_ANVIL_LAND
no-permission: ENTITY_ENDERMAN_TELEPORT
glow: true
get-item: '&aThe Delivery Man: &7You get iron. You need to wait &6180s &7Before claiming this reward again!'
permission: 'deliveryman.reward.3'
no-permission: '&cYou don''t have the permission do get this reward!'
item: CHEST_MINECART
cooldown: 180
commands:
- give %player% minecraft:gold_ingot 10
lore:
- '&7Your free &eGold'
- '&7is here!'
- ''
- '&7Contains the following:'
- '&7- &8x10 Gold'
- ''
- '&7Requires &aVIP&6+'
- '&cClick to loot!'
cooldown-name: '&cReward #3'
cooldown-meta: 0
cooldown-item: MINECART
cooldown-lore:
- '&7You already picked up this'
- '&7delivery, come back later!'
- ' '
- '&7Next delivery: %cooldown%s'
cooldown-message:
chat: '&cYou need to wait 180s before claiming this reward again!'
'23':
name: '&cReward #4'
meta: 0
sound:
claim: ENTITY_PLAYER_LEVELUP
cooldown: BLOCK_ANVIL_LAND
no-permission: ENTITY_ENDERMAN_TELEPORT
glow: true
get-item: '&aThe Delivery Man: &7You get diamond. You need to wait &6240s &7Before claiming this reward again!'
permission: 'deliveryman.reward.4'
no-permission: '&cYou don''t have the permission do get this reward!'
item: CHEST_MINECART
cooldown: 240
commands:
- give %player% minecraft:diamond 10
lore:
- '&7Your free &bDiamond'
- '&7is here!'
- ''
- '&7Contains the following:'
- '&7- &8x10 Diamond'
- ''
- '&7Requires &aVIP&6+'
- '&cClick to loot!'
cooldown-name: '&cReward #4'
cooldown-meta: 0
cooldown-item: MINECART
cooldown-lore:
- '&7You already picked up this'
- '&7delivery, come back later!'
- ' '
- '&7Next delivery: %cooldown%s'
cooldown-message:
chat: '&cYou need to wait 240s before claiming this reward again!'
'24':
name: '&cReward #5'
meta: 0
sound:
claim: ENTITY_PLAYER_LEVELUP
cooldown: BLOCK_ANVIL_LAND
no-permission: ENTITY_ENDERMAN_TELEPORT
glow: true
get-item: '&aThe Delivery Man: &7You get emerald. You need to wait &6300s &7Before claiming this reward again!'
permission: 'deliveryman.reward.5'
no-permission: '&cYou don''t have the permission do get this reward!'
item: CHEST_MINECART
cooldown: 300
commands:
- give %player% minecraft:emerald 10
lore:
- '&7Your free &2Emerald'
- '&7is here!'
- ''
- '&7Contains the following:'
- '&7- &8x10 Emerald'
- ''
- '&7Requires &aVIP&6+'
- '&cClick to loot!'
cooldown-name: '&cReward #5'
cooldown-meta: 0
cooldown-item: MINECART
cooldown-lore:
- '&7You already picked up this'
- '&7delivery, come back later!'
- ' '
- '&7Next delivery: %cooldown%s'
cooldown-message:
chat: '&cYou need to wait 300s before claiming this reward again!'
npcs.yml
hologramUpdateDelay: 20L
option:
deliverymanNPC:
type: PLAYER
texture:
data: 'ewogICJ0aW1lc3RhbXAiIDogMTYxMDAyNDcxODcxMSwKICAicHJvZmlsZUlkIiA6ICJlNDAxNTUwYmYzZDc0ZTE4YjM2MTVkMzQzYzU5YjIwNyIsCiAgInByb2ZpbGVOYW1lIiA6ICJaZWFsb2NrIiwKICAic2lnbmF0dXJlUmVxdWlyZWQiIDogdHJ1ZSwKICAidGV4dHVyZXMiIDogewogICAgIlNLSU4iIDogewogICAgICAidXJsIiA6ICJodHRwOi8vdGV4dHVyZXMubWluZWNyYWZ0Lm5ldC90ZXh0dXJlL2E0MDJkNjgwZGE2NmMyZDI1MGI2NWUzZmU0NmE3MTljMzUxYWMzNDY3OGRhMzk2M2Y3NzE2NWZhZDNlZjYzOGMiLAogICAgICAibWV0YWRhdGEiIDogewogICAgICAgICJtb2RlbCIgOiAic2xpbSIKICAgICAgfQogICAgfQogIH0KfQ=='
signature: 'x7kBB6X7DwxejGjwX1YpHF4gaYX+GeUseSXz2n923iw086zCsv01tlLQQECS3qDqOeAdKisY8DvMG9RG8uBiB676ZPQ8pv2ugF5UAbsS9P1o7g4aPv8E+vdEKcadZknC41zUBZWp0DtNkvSyYSgY7MbRC6l5SL+aM8sfTenk4cFsDh5IpdZAdFFxjSs3f+67pPdN/ldgkCUI6SlkG/ojFUHjRFJF7NBkTZpJkJX75qTSChtiW+kyyMO1t+r+S45Ssdp41hpWbeAQxjyjBBPHnQ1AKLRWoLTBBd7hHc5+7kuKkYuduOrOFVEvZ/yRlwfuCHnunWaGl3a0Kdo06SS5m9HkMb8hxLwqu+HGuz7a7nxS4VLS3gAL1p82nlXYAB3I4J9auZCAx5+yoOY1Op3eUjwvd9OSVc9pVcSZrVRc6wFO6Blv355ju1YxHxiyTeO4OC1XhMslhPXJtLw6oVkX2AUo9OHVHVYkefUx4JMipLfTl0TXs3yHoIkaJdpagMZAOlqyDn69qvKZnSjfnb9O25I4PvDzdUgEkqu5O3FzG8r4k6rJhJIzci1G//8vKQGml+mPv9aW2Gx8IJQK1nPVOnI3iSL2UtIXzkdgttW4+CL91InDtT1fveShP5aS8SDXeyQFV43IdkZtgOVyR7Y6MBymlT0xOO+sUVPzya0jBbs='
gravity: false
hologramStartY: -0.3
hologramY: 0.35
holograms:
- '&bThe Delivery Man'
- '&e&lRIGHT CLICK'
npcs:
deliverymanNPC: {}
sounds.yml
# Format: '{sound},{pitch},{volume}' (I wish you a pleasant config fix)
invalid-sound-replace: true
invalid-sound-replace-approximate: true
invalid-sound: 'none,0f,0f'
sounds:
action:
open: 'CLICK,1.0f,1.0f'
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.