Tags
Tags
None
ALL TESTED WITH SPIGOT 1.8
SellMode
This will add the command /sellmode to your server, only players with the permission "sellmode.use" will be able to use the sell mode command, once the command is executed any chest that is clicked by the player who executed the command will go through the config and check if the item id is specified in the config, if so it will take it out of the chest and add money to the players balance using vault.
Config
Code:
#SellMode
sellable_items:
    4: '10'
messages:
    entered_sellmode: "&6 You have entered sell mode, right click a chest to sell the chest's items"
    exited_sellmode: '&4 You have exited sell mode'
    items_sold: '&6 You have sold %amount% x %item%'
Every part of this plugin is configable. To add items to the list you will get the item id which can be done by going into minecraft and hitting the buttons f3 + h, doing so will make it so whenever you hover over a item in your inventory it will reveal more info like durability and item id. Once you have the item id you will go under the config section "sellable_items" and do
Code:
sellable_items:
    4: '10'
    itemid : 'price'
then after the next server reload or restart the new item will now be sellable through sell mode.​
Permissions and proof of ownership
Permissions:
Code:
sellmode.use
Proof of ownership:
upload_2017-11-4_11-37-36.png
  • upload_2017-11-4_11-37-36.png
    upload_2017-11-4_11-37-36.png
    6.6 KB · Views: 217

Author

William

Owner
Author
William
Downloads
3
Type
Digital product
License duration
Unlimited
Price
0.99 USD
Views
608
First release
Last update
Rating
0.00 star(s) 0 ratings
Top
You need to upgrade!
Our dark style is reserved for our Premium members. Upgrade here.