rVoidChests (1.7.x - 1.13.x)

Status
This thread has been locked.

Pat

L
Premium
Feedback score
4
Posts
307
Reactions
199
Resources
0
XT1MPrZ.png

This plugin will allow players to automatically sell items that enter their void chest. The plugin is highly configurable.

PRICE: $2.99

CURRENTLY AVAILABLE ON SELLFY: https://sellfy.com/p/jEzv/


AND SPIGOT: https://www.spigotmc.org/resources/rvoidchests.64351/

1dWUNbd.png


kOITEUs.png


  • /voidchest give {player} {amount}
    • Give a player a voidchest.
  • /voidchest add {price} (item in hand)
    • Adds the material you are holding to the config with a specified price.
  • /voidchest set {material} {price}
    • Sets a specific materials price in the config.
  • /voidchest messages {on/off}
    • Turns off voidchest sale notifications for the voidchest you are looking at.
  • /voidchest transfer <shop provider plugin
    • Transfers all shop sell values from a shop provider plugin. (Currently only works with ShopGUIPlus) (Message Pat on Mc-Market if you need a shop provider added.)
DGsGZR4.png

Code:
VOID_CHEST_ITEM:
  NAME: "&b&lVoid Chest"
  LORE:
  - "&7&m------------------------------------------"
  - "&fAny items placed in this chest will be sold"
  - "&fand automatically added to your balance"
  - "&fevery ten seconds."
  - "&7&m------------------------------------------"

PERMISSIONS:
  #The administrator void chest command permissions.
  ADMIN_PERMISSION: 'rvoidchest.admin'

  #Should void chests require a permission to use?
  VOID_CHEST_PERMISSION_ENABLED: false
  VOID_CHEST_PERMISSION: 'rvoidchest.use'

MESSAGES:
  PREFIX: "&b&lVoid Chest &7&l»"
  NO_PERMISSION: "%PREFIX% &cNo permission."
  NO_VOID_CHEST_PERMISSION: "%PREFIX% &cYou do not have permission to use void chests."

  SELL_MESSAGE_ENABLED: true
  SELL_MESSAGE: "%PREFIX% &aYour void chest has collected $%AMOUNT%."

  RECEIVED_VOID_CHEST: "%PREFIX% &a%QUANTITY% void chest(s) &7have been added to your inventory."
  ITEM_ALREADY_EXISTS: "%PREFIX% &cThis item already exists in the config. Use '&7/voidchest set <material> <amount>&c' instead."
  ITEM_SUCCESSFULLY_ADDED: "%PREFIX% &aSuccessfully added this item to the item list."
  INVALID_AMOUNT: "%PREFIX% &cPlease enter a valid amount."
  INVALID_ITEM: "%PREFIX% &cYou must be holding an item."
  INVALID_ITEM_STRING: "%PREFIX% &cThe item you have entered is invalid."
  PLAYER_NOT_ONLINE: "%PREFIX% &c'&f%PLAYER%' &cis not online."
  MUST_LOOK_AT_VOID_CHEST: "%PREFIX% &cYou must be looking at a void chest."
  MESSAGES_TOGGLED: "%PREFIX% &7Void chest messages have been toggled %ON/OFF%&7."

  PLAYER_HELP:
  - "&7&m----------------------------------"
  - "&b/voidchest messages <on/off> &f- toggles void chest sell messages."
  - "&7&m----------------------------------"

  HELP:
  - "&7&m----------------------------------"
  - "&b/voidchest give <player> <amount> &f- gives the void chest item."
  - "&b/voidchest add <amount> &f- adds the item in your hand to the void chest item list."
  - "&b/voidchest set <material> <amount> &f- sets a specific item in the config."
  - "&b/voidchest messages <on/off> &f- toggles void chest sell messages."
  - "&b/voidchest transfer <shop provider plugin> &f- sets the item values to that of another shop provider plugin."
  - "&7&m----------------------------------"

#How often will the void chest automatically sell its contents (in seconds).
VOID_CHEST_INTERVAL: 10

#Will items that are not on the ITEM_VALUES list be deleted when the enter the chest?
DELETE_UNSELLABLE_ITEMS: true

#{Material Name}: {Item Value}
ITEM_VALUES:
  DIAMOND: 25
  EMERALD: 276

lY5O9Lw.png

JVtlWcx.png
 
Last edited:
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Pat

L
Premium
Feedback score
4
Posts
307
Reactions
199
Resources
0
Damn, long time no see Lotus Network..

Anyways, looks nice although you should follow some code name conventions.
Ayyy! Yeah for some reason I've always named my plugins with a lower case in front of the name. Idk why I'll probably change that.
 

Ally

gσ∂∂єѕѕ σƒ мαтнѕ αη∂ мєℓσηѕ χσ
Supreme
Feedback score
37
Posts
2,042
Reactions
2,194
Resources
0
Ayyy! Yeah for some reason I've always named my plugins with a lower case in front of the name. Idk why I'll probably change that.
I mean it's a matter of preference; project naming shouldn't be too strict in any case.
 
Status
This thread has been locked.
Top