Resource image

ProSellChest [1.8-1.14] Automatically sell items in chests!

1.0

A simple block that conveniently sells anything placed inside of it!

 

 

 


 


# How often sellchests should sell their contents, in seconds.
sell-time: 3.0

# How often sellchest locations should save to config, in seconds (good for when crashes happen).
save-time: 300.0

# How often players should be notified of their recent earnings. This will display the amount earned since the last message.
# For example, if the interval is 5 minutes (300s), then it will display the earnings in the past 5 minutes. Set to 0 to disable.
recent-earnings-time: 300.0

# Set to false if you don't want unsellable items to be cleared.
# ex. if this is true and bedrock is found in a sellchest with a value of $0,
# it will still be removed from the chest.
remove-unsellable-items: true

# Options: PLAYER, FACTION_LEADER, FACTION_BALANCE, ISLAND_OWNER, PLOT_OWNER;
money-recipient: 'PLAYER'

# Shift and punch the sellchest to easily break & return a sellchest (recommended)
sneak-punch-to-break: true

# Drop the sellchest on the floor if the player's inventory is full when doing /vc give
command-drop-if-full: true

# Whether to put the sellchest directly in the player's inventory when breaking it
break-give-to-inventory: true

# Drop the sellchest on the floor if the player's inventory is full when breaking the sellchest (applies if above is true)
break-drop-if-full: true

# If set to false, only the respective owners/team members can break this chest.
# For example, if money-recipient: is set to FACTION_LEADER or FACTION_BALANCE, anyone
# in the faction can break the chest.
anyone-can-break: false

# The minimum factions rank that can break sellchests, only works if factions hook is enabled.
minimum-factions-rank-break: 'MEMBER'

# Will prevent the voidchest breaking from explosions & fire
unbreakable-naturally: false

# Customize the sellchest item.
item:
material: 'CHEST' # Note, the physical block will always be a chest regardless of this material.
name: '&6&lSellChest'
lore:
- '&7Anything placed in this chest will be automatically sold'
- '&7according to the shop price and straight into your balance.'
glow: false

# The title that will show up when opening the chest ingame.
chest-title: '&6&lSellChest'

hooks:
essentials: true # Use the worth.yml from Essentials for prices
shopguiplus: false # Use prices from ShopGUI+ (unfortunately, I can only get prices while the player, faction leader, or island owner is online due
# to api limitations unless if shopguiplus-workaround is enabled- where it will then get the prices from any other random online player).
askyblock: false
factions: true
plotsquared: false
cmi: false

# Allow the plugin to fetch ShopGUI+ prices while the money recipient is offline.
# This workaround will instead take the prices from any random online player. Would only recommend
# using this if the shop prices are the same for all players in your server.
shopguiplus-workaround: true

# Set chest limits with permissions.
chest-limits:
default: 0 # This is the default limit that everyone has. 0 means no limit.
vip: 5 # For example, this would mean anyone with the permission 'sellchest.limit.vip' would be able to place 5 chests only
# unless if the default stays 0, then they get the highest limit they have permission for: unlimited.
mvp: 10 # sellchest.limit.mvp

# Customize messages from the plugin.
messages:
sellchest-beside-chest: '&cYou cannot place a sellchest beside another chest!'
chest-beside-sellchest: '&cYou cannot place a chest beside a sellchest!'
sellchest-removed: '&aSellchest removed and added to your inventory!'
sellchest-remove-nospace: '&cYou must have an empty inventory slot to break this sellchest!'
sellchest-remove-notowner: '&cYou cannot destroy a sellchest that is not yours!'
sellchest-place: '&aSellchest placed!'
sellchest-receive: '&aYou have received {amount} sellchests!'
no-permission-place: '&cYou do not have permission to place a sellchest!'
no-permission-command: '&cNo permission!'
not-minimum-faction: '&cYou are not the minimum factions role!'
reached-limit: '&cYou reached your place limit of {limit}!'
recently-earned: '&aYou have earned ${amount} in the past 5 minutes!'

# These prices will be used as a last resort if none of the hooks above are enabled.
prices:
dirt: 1.0
bedrock: 2.0
iron_ingot: 0.5

# Set to false if you don't want your ops to get update messages. (Recommended: true)
update-messages: true

# Please do not change this!
config-version: 1.4
Terms of Service (you agree to, by buying/downloading this plugin):
  • You are responsible what happens with the plugin after you download, therefore, if plugin is leaked or redistributed and it's registered under your name, I am allowed to remove you from buyers list without a warning. I may be obligated to report you on SpigotMC, which might lead to your account being permanently suspended (banned).
  • You may not redistribute plugin, in any shape or form neither it's code or parts of it.
  • You may ask me for support if plugin doesn't function the way it's supposed to.
  • No refunds, all payments are final as by buying you gain access to this resource without ability to stop it.
More information about the plugin is provided in configuration files

(you will have to go through buyer verification process before getting accepted for support, if you don't have access to "Download" button here don't even bother joining and begging for help or bothering users via PM)
Information
Author chochoco4777
Total downloads 1
First Release 08 Oct. 2021
Last Update 08 Oct. 2021
Category Mechanics
All-time rating
Version 1.0
Released 08 Oct. 2021
Downloads 1
Version rating
0 ratings
More resources from chochoco4777
Resource logo

With ItemStack Support! - Make the MultiSpawner drop when you silk them (permission based)

Resource logo

Unlimited backpacks options | Custom backpacks | Backpacks Recipe

Resource logo

High performance and customizable Battle Pass plugin.

Resource logo

Jump between blocks in this unique sky grid world; Can you survive & thrive?

Resource logo

give the ability to your players to get vaults for win your games, and get reward open a Vault!