Create unlimited restockable chests for your users to grab as many times as you want
Super user friendly
Unlimited chests
Create your chests with GUIs
Trigger some actions when opening a restockable chest (see example in chests.yml)
Permissions for grabing an item from a restockable chest
Command tab autocompletion
Cooldowns!
Commands: -/crs help - Shows a list of commands -/crs version - Shows you the plugin's current version -/crs reload - Reloads the plugin's files -/crs chest (create/edit/remove) (name) - Creates a new chest with that name, edits an existing chest with that name or removes an existing chest with that name
Permissions: -chestrestock.version - Allows you to check the plugin's current version
-chestrestock.reload - Allows you to reload the plugin
-chestrestock.create - Allows you to create, edit or remove chests
-chestrestock.place - Allows you to place a restockable chest to update its location in chests.yml
-chestrestock.unlimited - Allows you to open a reStockable chest unlimited times
-chestrestock.* - Gives you access to every permission available
Code (YAML):
[/LEFT
] config:
prefix: "[&eChestRestock&f]" use metrics: true
messages:
no permission: '&cNo permission'
unknown: '&cUnknown command. &ftry &e/
%command% help &ffor help' already exists: '&cA chest named &e
%name%&c already exists, try editing it' no chest: '&fNo chest created yet'
no chest with name: '&cNo chest with the name &f
%name% &cwas found' chest removed: '&aChest with name &f
%name% &asuccessfully removed' existing names: '&fExisting names are
: '
chest creator: '&aOpening chest creator for you!'
chest editor: '&aOpening chest editor for you!'
chest created: '&6Chest &f
%name% &6created!' place chest: '&fPlace the chest
%name% where you want it to be' chest edited: '&6Chest &f
%name% &6edited and saved to chests.yml!' place edited chest: '&fPlace the chest &c
%name% &fto update its location' already claimed: '&cYou have already claimed this chest the max amount of times!'
cooldowns reset: '&aEvery cooldown has been successfully reset.'
still on cooldown: '&cYou are still on cooldown for this chest! Time left
: %time%' weeks: 'weeks'
week: 'week'
days: 'days'
day: 'day'
hours: 'hours'
hour: 'hour'
minutes: 'minutes'
minute: 'minute'
seconds: 'seconds'
second: 'second'
and: 'and'
[LEFT
]
Code (YAML):
[/LEFT
] # The max id for the chest to look for (internal), you must set this to the highest id your config contains. max i: 1
chests:
0: # The name of the chest (internal, works as an id) name: chest1
# Title for the restockable chest title: "&cReStockable chest example" # The number of times an user can claim this chest. claim: 1
# the actions to perform when a user finds and open the chest the {claim} number of times # Valid actions: # - command: executes a command from the console. # - message: sends a message to the player. actions: - '
[command
]me example command'
- '
[message
]&cYou found me!'
# Where is the chest located (must be a chest in these cords) location:
world: world
x: 0
y: 80
z: 0
# Contents refers to the items the chest contains, where the number id is the slot in the chest # Slots go from 0 to 26 contents:
'0':
item:
==: org.bukkit.inventory.ItemStack
v: 2578
type: DIAMOND
meta:
==: ItemMeta
meta-type: UNSPECIFIC
display-name: §bOne pretty diamond for you!
lore: - §cThis is a diamond
- ' §cyou can keep it'
enchants:
DURABILITY: 10
DAMAGE_ALL: 1
'10':
item:
==: org.bukkit.inventory.ItemStack
v: 2578
type: EMERALD
amount: 3
meta:
==: ItemMeta
meta-type: UNSPECIFIC
display-name: §a3 emeralds!
lore: - §cHell yeah!
enchants:
DURABILITY: 10
DAMAGE_ALL: 3
1: # The name of the chest (internal, works as an id) name: chestwithpermissions
# Title for the restockable chest title: "&cReStockable chest example with permissions" # The number of times an user can claim this chest. claim: 3
# the actions to perform when a user finds and open the chest the {claim} number of times # Valid actions: # - command: executes a command from the console. # - message: sends a message to the player. actions: - '
[command
]me example command'
- '
[message
]&cYou found me!'
# Where is the chest located (must be a chest in these cords) location:
world: world
x: 0
y: 81
z: 0
# Contents refers to the items the chest contains, where the number id is the slot in the chest # Slots go from 0 to 26 contents:
'9':
item:
==: org.bukkit.inventory.ItemStack
v: 2578
type: DIAMOND
meta:
==: ItemMeta
meta-type: UNSPECIFIC
display-name: §bOne pretty diamond for you!
lore: - §cThis is a diamond
- ' §cyou can keep it'
enchants:
DURABILITY: 10
DAMAGE_ALL: 1
'21':
item:
==: org.bukkit.inventory.ItemStack
v: 2578
type: EMERALD
amount: 3
meta:
==: ItemMeta
meta-type: UNSPECIFIC
display-name: §a3 emeralds!
lore: - §cHell yeah!
enchants:
DURABILITY: 10
DAMAGE_ALL: 3
permission: emerald.grab
no permission message: '&cYou cannot grab this emerald!'
[LEFT
]
Code (YAML):
players: []
If you review my plugin let me know so i can put your video here
Add customizable messages (!!) (DONE✅)
Add more types of actions.
Add support for potions and tipped arrows. (DONE✅)
Add timers (!!) (As requested by a user on discord)
By using this plugin you agree to the following terms:
You cannot sell this plugin
You cannot claim this plugin as yours
I can modify this terms at any time without any kind of notification
If you find any bugs please let me know, also make sure to rate this plugin, thank you!