SellGUI icon

SellGUI -----

Simple and Easy Custom Selling Menu




  • Fixed bug where items on head or body were being sold but item not removed.
  • Added post check to remove any inventory items that were taken due to lag or other means.
----------, Aug 29, 2022

  • Added custom menu items
    • Check the custom menu items.yml file for an example
  • Bug with decimals not rounding in chat after selling should be fixed
----------, Jul 25, 2022

  • Should fix plugin not starting correctly
----------, Jun 25, 2022

  • Fixed issue with Essentials pricing'
  • Added config option
  • Code (Text):
    use-permission-bonuses-on-essentials: true
Sorry for the many updates today. After each version I just spotted some issues and wanted to fix them.

Also looking for any resources on API creation, help would be appreciated :D
----------, Jun 25, 2022

  • Fixed issue with permission bonuses/multiplier nullification and inheritance
----------, Jun 25, 2022

  • Fix for older servers trying to use newer version
Not extensively tested report bugs, thanks :)
----------, Jun 25, 2022

  • Fixed bug where items without pricing would be sold via /sellall when combined with permission bonuses/multipliers
  • Added config option to disable selling any enchanted items via /sellall
  • Changed default decimal places to 2
  • Updated plugin page
    • Commands
    • Permissions
    • Configs
    • Features
Code (Text):
sell-all-command-sell-enchanted: false
Reminder: Any feature requests and bug reports are encouraged! DMing me via Discord is the best way to get these through. :)
----------, May 29, 2022

  • Fixed issue where bonus permission would allow items with no pricing to be sold.
----------, May 22, 2022

  • Fixed bug where the sell/confirm item would be able to duped or taken from the SellGUI
Reminder to report any bugs and I'll fix them asap
----------, May 16, 2022

  • Added multiplier and flat bonuses using permissions
  • flat bonuses apply to every item and multiplier is calculated after bonus
  • Each permission individual permission node should stack with each other so keep that in mind
  • Flat bonus format: sellgui.bonus.<value> | Example: sellgui.bonus.0.25, this will add .25 to every item sold
  • Multiplier format: sellgui.multiplier.<value> | Example: sellgui.bonus.1.2, this will add 20% more value to every item sold

  • Bugs are to be expected, report any strange behavior and I'll try to fix them asap
----------, May 14, 2022

  • Fixed rounding display issues on lore
  • Supporting decimals up to 16 places
  • Added choosing how many decimals to round
  • Added choosing to round or not
  • Added options to config
    • Code (Text):
      round-places: true
      #enables rounding of numbers
      places-to-round: 8
Due to the way the Spigot API saves configs after you restart/reload the server values in the pricing config with many decimal places will convert to Scientific Notation. Values should be preserved from my testing but please let me know if you find otherwise.
----------, Nov 7, 2021

  • Added Transaction Logger by default off
    • Spreadsheet importable with "|" as separator
  • Fixed bug with items not dropping
  • Prioritized Custom Item Pricing
Add to config for logging if not added automatically
Code (Text):
log-transactions: false
----------, Sep 9, 2021

UNTESTED
  • Added option to disable selling of modified items
Add this to your config.
Code (Text):
prevent-custom-item-selling: false
#Makes price of anything with ItemMeta (Display Name, Enchants, Lore) 0.00. Bypassable via custom item pricing
----------, Sep 8, 2021

Not a major update w/ significant features added
  • Added option to directly insert items into empty inventory slots (default) or drop them
    Code (Text):
    drop-items-on-close: false;
  • Updated to 1.17 api
    • Not sure if old version worked fine on 1.17 or not
----------, Jun 23, 2021

  • Fixed Essentials not being an optional dependency
  • Condensed confirm item lore
  • Fixed bug where you don't see items of the same type as the confirm item in the lore


todo
  • clean up custom items process
  • bonuses - server wide events, player specific ,permission based, etc
  • commands to edit price
----------, May 4, 2021

  • Fixed bug where you could get the confirm item
  • Shortened decimals to 2 places
  • Added /sellall & corresponding message in lang file

  • Upcoming: Condensing confirm item lore
----------, Jan 25, 2021

Fixed bug with selling multiple stacks of the same item
Added update checker
----------, Dec 28, 2020

Added requested sign feature.
Create a sign with [sellgui] on the first line to make a SellGUI sign.
New permissions: sellgui.createsign & sellgui.usesign

For existing configs add this to your lang config
Code (Text):
sign-lines:
  - '&aSell Items'
  - 'Right Click'
  - 'to'
  - 'Sell Items'
----------, Dec 5, 2020

  • Recompiled to work with older java versions
----------, Nov 29, 2020

  • Fixed minor error when clicking outside the inventory
  • Updated default item total format in lang file
----------, Nov 21, 2020

Hello everyone. It's been a while since I did any plugin development and the last update.
I haven't tested the old version of this plugin on 1.16 but I assume it doesn't work.
I recoded the plugin and tried to include all the features and even some new ones.

I'll be updating the plugin page with documentation and info.

edit: this is basically a new plugin and will most likely come with bugs / errors. Please let me know about them and I'll fix them asap.
Also feel free to request features. :)
----------, Nov 17, 2020

QUICK FIX - Permissions not being checked for commands.
----------, Feb 22, 2019

  • Fixed /sell reload
  • Added item blacklisting
  • Fixed issue with item selling when trying to remove from inventory
----------, Feb 22, 2019

There is a bug in the default PluginConfig file when selling items with enchants (I think)
This should fix that -
Try deleting the indent before Multiply:
so that it says
Code (Text):
Enchant: true
Multiply: true
----------, Feb 21, 2019

If you are updating from v2.0 - Add this to your PluginConfig or delete it and let it regen.
Code (Text):
Enchants: true
Multiply: true
  • Added Custom Item support /customitems - Allows you to insert custom items with metadata and sell them at different prices.
  • Added Enchantment Support
  • Added reload command - /reload (kinda, sometimes works)
  • Fixed small issues
----------, Feb 21, 2019

Warning this is an untested version and only provides the core selling mechanic for MC v1.13. Is meant to give a feel of the plugin for v1.13. Looking for suggestions and or features to be added.
Please report any bugs in the Discussion

BACKUP OLD CONFIGS IF YOU DON'T WANT TO LOSE THEM

Any version below 1.13 is not supported.

Read the plugin page for key information

Many of the previous features are yet to unimplemented
----------, Feb 19, 2019

Hey, sorry for the silence.
Kinda dropped off and not really playing minecraft anymore
Looking to see if anyone still wants this updated to 1.13
I'm looking to get back into coding and this could be fun for me again.
If you still want 1.13 feel free to let me know!
----------, Dec 5, 2018

The recode for v1.13 is about 60% completed so far. I've been busy in my daily responsibilities. I have mostly stopped playing minecraft and I have lost a lot of motivation to continue developing minecraft plugins. These are some reasons progress is slow. Please show some support if you wish the plugin to be updated. Even just a reply on the discussion would show that that you want the update. If a good amount of people want the plugin to be updated to 1.13 than I'll be more motivated and devote more time to doing so.
Thank you.
----------, Aug 1, 2018

Fixed issue with items that cannot be sold to the server (essentials)
----------, Jul 13, 2018

  • Fixed reload breaking GUI when changing size
----------, Jul 10, 2018

  • Fixed dupe glitch (hopefully)
  • Now drops items if inventory is full (hopefully)
  • Possible re-code coming up
----------, Jul 2, 2018

  • Removed test message
  • Fixed version number
  • Added customization to the sell item lore
Add this to your config if it doesn't show up
Code (Text):
SellItemLore: '*insert lore*'
----------, Jun 25, 2018

  • Fixed bug with changing GUI size and reloading
----------, Jun 22, 2018

  • Added Multiple Pages for Custom Items
TBH - Tested pretty minimally, Please report issues in discussion :D

Looking for some suggestions / additions
----------, May 20, 2018

Hello! I have created a discord server for my plugins and you can join it here - https://discord.gg/Ezf56h7

Hope to see people actually join :ROFLMAO:
----------, May 5, 2018

Uploaded the right version this time
----------, Apr 29, 2018

• Added basic in-game custom item system
Check the plugin page under Help for a guide.

Looking for feedback and suggestions!
----------, Apr 29, 2018

  • Fixed signs not opening the GUI at all
----------, Apr 26, 2018

  • Fixed nullPointerException on named items with no lore.
----------, Apr 24, 2018

Fixed nullPointerException
Added SpaceIO Metrics
Changed items to drop more naturally.
Fixed version number within console
----------, Apr 24, 2018

  • Added lore pricing support
Code (Text):
LorePriceFormat: '&7&lPrice: $&a'
[​IMG]

[​IMG]
----------, Apr 23, 2018

  • Fixed gui opening for every sign
  • Fixed changing the blocks for the sell item and confirm item
  • Console can now use reload
----------, Apr 22, 2018

Sorry for the long wait, school and sports has been a little time consuming and haven't had time for coding. Hope you understand :D

Added Enchantments
Code (Text):
Add this to your config
EnchantMultiplier: false/true
##Decides whether to multiply or add to the price of the item
Enchants:
  EnchantName-Level: value

Ex.

Enchants:
  DURABILITY-1: 1.02
##Adds $1.02 or multiplies the price by 1.02

Enchantment names - https://hub.spigotmc.org/javadocs/spigot/org/bukkit/enchantments/Enchantment.html
 
Removed TitleAPI dependancy
Titles still work!
----------, Apr 19, 2018

Currently, I have no features to add to this and I'm looking for some suggestions! If you have any suggestions please feel free to post it in the discussion, dm me or message me on discord. Thanks :D
----------, Apr 9, 2018

Added color support to custom items
----------, Apr 7, 2018

Added support for Citizens

Requires trait add-on - https://www.spigotmc.org/resources/sellgui-trait.55440/
----------, Apr 7, 2018

• Added Custom Item Support!
Colors not yet support stay tuned!
Format:
Code (Text):
<Material>-<Data>;<Name>
Spaces = _
Examples:
WOODEN_SWORD-0;Vampire_Killer: 32.0
STONE-0;Granite_Countertop: 333.33
• Added Title support (REQURES TitleAPI)

• Added Alternate Command support

• Added a Sign that opens the menu
To create one
Code (Text):
[SellGUI]
• GUI now closes upon selling
• Message will not be sent if inventory is worth $0.0
• Also tried to add update checker but has not worked on my end.

Thanks to @adamawesome135 and @KazMNF for the suggestions :D
----------, Apr 5, 2018

Added item blacklist

Simply add to your config
Code (Text):
BlacklistedItems:
<Tab>- "<material>:data"
Refer to https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
----------, Apr 4, 2018

Added reload command.
----------, Apr 3, 2018

Resource Information
Author:
----------
Total Downloads: 36,719
First Release: Apr 1, 2018
Last Update: Aug 29, 2022
Category: ---------------
All-Time Rating:
29 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings