Sueta

SpaceChestSell | ChestSell Signs | Essentials worth | ShopGu

1.5

This plugin allows players to put signs on chests and sell!

·Plugin

How it works:
This plugin creates signs that sell chests when said sign is right-clicked by the player, a handy breakdown message will pop up in chat showing how much was made per item as well if enabled.


ChestSell Example:

YouTube

Example of the Sign:
e631e2015a4444990934c27f2e136987.png

Example of the Breakdown:
31278ab536865b92ad930dfe552dc10f.png


Dependencies:

Vault : Required
An Economy plugin: Essentials, iConomy 4,5,6, BOSEconomy 6 & 7, EssentialsEcon, 3Co, MultiCurrency, MineConomy, eWallet, EconXP, CurrencyCore, CraftConomy, AEco, Gringotts

Any of the above economy provider plugins can be used with SpaceChestSell.

This plugin has hooks into Essentials which allow you to use Essentials worth.yml to supply pricing to the Chest Sell Signs, this allows you to only type out your prices once instead of having to constantly alter two separate price files. If you don't wish to use the worth.yml you can set your prices through the config at the top.

This plugin also has the option to hook into ShopGuiPlus and use the prices supplied from ShopGuiPlus. This makes building economies simple and easy!

Permissions:
"spacechestsell.place": This permission allows the player to place the Chest sell signs down using your required format supplied from the config.
"spacechestsell.sell": This permission allows the player to use the Chest Sell signs that have been placed down. I recommend giving this to all players as it's pretty fundamental and baseline.

If you have suggestions for permissions let me know and I'll see about adding them in!

Commands:
/chestsell add [player,player,player]: with this command you can add a long list of players to a chestsell sign simply by adding a comma between their names!

/chestsell remove [player,player,player]: with this command you can remove a long list of players from a chestsell sign simply by adding a comma between their names!

/chestsell list: this command shows all the player that have permission to use that sign.

Config:

DefaultConfig
[/COLOR][/FONT][/SIZE] 
use-essentials-worth-yml: false 
shopguiplus: false 
breakdown: true 
prices: 
  stone: 1.0 
layout: 
  - '&b&l[ChestSell]' 
  - '' 
  - '&7&o(( right click ))' 
  - '' 
required: '[chestsell]' 



messages: 
  no-permission: 'You dont have permission to do this.' 
  chest-empty: 'The chest you are trying to sell from is empty.' 
  breakdown: '&8 » &b%item% (x%amount%) for $%price%.' 
  sale: '&3&lItems sold for &b&l$%amount%&3&l:' 
  success: '&bSuccess, you have created a Sell Sign!' 
  not-on-sign: '&cYou arent added to this sign, as such you cannot use it.' 
  wrong-arguments: '&cThose arent the correct arguments for that command.' 
  not-a-sell-sign: '&cThats not a sell sign.' 
  player-added: '&bThis player >> %player% << has been added.' 
  you-are-not-owner: '&cYou arent on this sign, as such you can add.' 
  player-removed: '&cThis player >> %player% << has been removed.' 
  header-list: '&bPlayers currently on this sign: ' 
  list-format: '  &f* &b&l%player%' 
  player-hasnt-joined: '&c&l[!] &cThat player hasnt joined before.' 
  help: |- 
    &f*&b*&3* &b&lSpaceChestSell &3*&b*&f* 
    &bTo add a player to a sign type /chestsell add [ign] 
    &bTo remove a player from a sign type /chestsell remove [ign] 
    &bTo see who can access this sign!


If you wish to provide a cool example config, pm me on spigot!

Servers this is currently used on:
SpaceCadets.space


Side Notes:

I do this in my free time and for fun so I will primarily code things that I enjoy or things that I want to see added to the game. However, I am a people pleaser and I have a lot of free time in between jobs so if you'd like a custom jar or a custom plugin let me know! I will release the source code in the future however I don't feel that the code is pretty enough to release just yet. Expect to see this fairly soon though!

Similar projects

Plugin →