Shipping Bin icon

Shipping Bin -----

sell items through a customizable chest gui



This plugin is inspired by Stardrew Valley
Features

  • Customizable GUI
  • Detect price by NBT tags and it's easy to be compatible with other plugins
  • Support selling vanilla items
  • Open the GUI with a console/player command
Commands
  • /shippingbin reload
  • /shippingbin open
  • /shippingbin forceopen [player]
Config Example

Code (Text):
OAK_LOG: 10
RAW_IRON: 50

Code (Text):
title: '<gradient:#A52A2A:#800000:#A52A2A>Shipping Bin</gradient>'

rows: 6

sound:
  open: minecraft:block.chest.open
  close: minecraft:block.chest.close
  success: minecraft:block.amethyst_block.break
  deny: minecraft:block.anvil.destroy
  confirm: minecraft:entity.villager.trade
  type: player

close-gui-after-success: false

functional-icons:
  sell:
    material: IRON_BLOCK
    display:
      name: '<#00CED1><bold>● <bold:false>Ship the items'
      lore:
        - '<font:uniform><gradient:#E6E6FA:#48D1CC:#E6E6FA>You will gain {money}RMB</gradient></font>'
    custom-model-data: 1
    slot:
      - 50
  deny:
    material: REDSTONE_BLOCK
    display:
      name: '<red><bold>● <bold:false>Denied'
      lore:
        - '<font:uniform><gradient:#E6E6FA:red:#E6E6FA>Nothing to sell!</gradient></font>'
    custom-model-data: 1
  confirm:
    material: EMERALD_BLOCK
    display:
      name: '<green><bold>● <bold:false>Confirm'
      lore:
        - '<font:uniform><gradient:#E6E6FA:#90EE90:#E6E6FA>Sell the items for {money}RMB</gradient></font>'
    custom-model-data: 1
    #Commands to be executed when player clicks the sell icon
    #If not hooked into Vault, you can use command to add money to players
    #command:
    #  - 'money give {player} {money}'

decorative-icons:
  glass-pane:
    material: BLACK_STAINED_GLASS_PANE
    display:
      name: ' '
    slot:
      - 1
      - 2
      - 3
      - 4
      - 5
      - 6
      - 7
      - 8
      - 9
      - 10
      - 18
      - 19
      - 27
      - 28
      - 36
      - 37
      - 45
      - 46
      - 47
      - 48
      - 49
      - 51
      - 52
      - 53
      - 54

How to sell items from other plugins?
take ItemsAdder as example
just add a "Price" NBT to the item
Code (Text):
  cabbage:
    display_name: "Cabbage"
    resource:
      generate: false
      material: APPLE
      model_path: cabbage/cabbage
    nbt: '{Price: 100}'
Screenshots

[​IMG]





Resource Information
Author:
----------
Total Downloads: 644
First Release: Aug 16, 2022
Last Update: Sep 6, 2022
Category: ---------------
All-Time Rating:
1 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings