Villager Bank icon

Villager Bank -----

Sell your items for money through a villager!



banner 2.png


Simple, fast, and good-looking way for
your players to sell their items

Requires: [Vault + Economy Plugin]
Works well with Villager Market!

Need support? Want to request a feature?
Join me on Discord!

features 2.png

Current features

  • Everything's configurable (Sounds, messages, items, prices etc.)
  • Very lightweight
  • Create unlimited Villager Banks
  • Sell ANY item, and configure every item price
  • Gives back items without a set price after selling
  • Configure sellable items and inventory title for each individual Villager Bank
  • Change Villager Banks' name with nametags
  • Sneak + right click to change profession
  • Easily move Villager Banks
  • Get player sales log

Upcoming features:

  • Join me on Discord if you want anything added to this list!
image.png

Edit villager:

To edit a certain Villager Bank's sellable items and inventory title, use the villager's corresponding config file located in the Banks folder.

Use "/vb getid" to get which file belongs to which Villager Bank.

If you have the permission node "villagerbank.edit", you can also:

  • Change Villager Banks' name with nametags
  • Sneak + right click to cycle trough villager professions


commands & config.png

Commands:
Code (Text):
/vb create #Permission: villagerbank.create
/vb reload #Permission: villagerbank.reload
/vb remove #Permission: villagerbank.remove
/vb move #Permission: villagerbank.move
/vb getid #Permission: villagerbank.getid
/sell #Permission: villagerbank.sell_command

Other permissions:
villagerbank.edit #Edit Villager Banks


Config.yml:
Code (Text):

#--------------------- General settings ---------------------#

#Villager Bank's Chat Prefix
prefix: "&8[&6Bank&8]"
#How many items should be included in the sell message?
message_item_count: 2
#Should a complete sell log be saved when the server stops/restarts?
log: true

#-------------------- Messages and sounds --------------------#

messages:
  villager_bank_created: "&aNew &6Villager Bank &acreated! Edit it in the Banks folder!"
  no_permission: "&cYou do not have permissions for this command!"
  sell_items: "&bSold: %items% &band &6%amount%&b more items!" #Placeholder: %items% (configure %items% pattern on next line)
  items_pattern: "&c%amount%x &6%type% &8(&a%worth%$&8)&b," #Placeholders: %amount%, %type%, %worth%
  sell_total: "&bTotal: &a%total%$&b!" #Placeholder: %total%
  plugin_reload: "&aPlugin reloaded!"
  remove_villager: "&cRight click the &6Villager Bank&c you want to remove!"
  get_id: "&bRight click a &6Villager Bank &bto get its ID!"
  no_villager_bank: "&cThis is not a Villager Bank! Aborting action!"
  villager_removed: "&cVillager Bank removed!"
  villager_id: "&bVillager Bank's ID is: &6&n%id%!" #Placeholder: %id%
  move_villager: "&bRight click the &6Villager bank &byou want to move!"
  move_villager_to: "&bMove yourself to a new position and click a block!"

sounds:
  open_bank: ENTITY_VILLAGER_TRADE
  check_worth: UI_BUTTON_CLICK
  sell_items: ENTITY_EXPERIENCE_ORB_PICKUP
  villager_removed: BLOCK_LAVA_EXTINGUISH

#--------------------- Villager settings ---------------------#
villager:
  default_name: "&6Sell your items"
  default_proficiency: LIBRARIAN


#------------------------ GUI settings ------------------------#
bank:
  default_title: "&8Sell your items"
  items:
    #Check worth item
    check_worth:
      name: "&aCheck Worth"
      material: EMERALD
      lore:
        - ""
        - "&7Click to check the"
        - "&7worth of your items!"
        - ""
        - "&7>> This will temporary "
        - "&clock &7the items!"
        - ""
    #Confirm sell all items
    confirm:
      name: "&a&lConfirm and Sell"
      material: EMERALD_BLOCK
      lore:
        - ""
        - "&7 >> &6Worth: &a%worth%"
        - ""
        - "&7Left click to &aSell"
        - "&7Right click to &cCancel &7and &aUnlock"
        - ""
    #Filler item at the bottom of the inventory
    filler:
      name: " "
      material: LIGHT_BLUE_STAINED_GLASS_PANE
      lore:
        - " "

#--------------------- Other settings ---------------------#

#Materials and their default worth
default_worth:
  GOLD_NUGGET: 1.0
  GOLD_INGOT: 9.0
  GOLD_BLOCK: 81.0

 

Villager Bank config example:
Code (Text):
UUID: 23ceb308-a026-4556-aab9-03af9cc416a6
title: '&8Sell your wood'
material_worth:
  OAK_PLANKS: 25.0
  DARK_OAK_PLANKS: 10.0
  OAK_LOG : 100.0
 
Need every material in your config? Here you go!



Note: Please join me on Discord if you
experience any issues, or have a question.


If you like this plugin, please leave a feedback!
Resource Information
Author:
----------
Total Downloads: 9,267
First Release: Aug 24, 2020
Last Update: Jan 19, 2023
Category: ---------------
All-Time Rating:
15 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings