Price
The FurnitureShow plugin features an integrated price and purchase system, allowing players to acquire furniture items directly through the GUI using in-game money. This system relies on an economy plugin (like Vault) and is configurable to be enabled or disabled.
1. Setting Item Prices
Every furniture item listed in your furniture/<category>.yml
files has a price
property. This defines the cost of the item. or /nwfurnitureshow config additem <category> <price>
Example from furniture/<category>.yml
:
# plugins/nwFurnitureShow/furniture/furnitures.yml
furniture_show:
my_red_chair:
id: "itemsadder:my_red_chair"
name: "Red Chair"
price: 100.0 # <--- The price of this item
lore:
- "<gray>A bright red chair</gray>"
- "<gold>Price: {price}฿</gold>"
Last updated