nwPlugin | NN
  • Introduction
    • Community & Support
  • My Plugins
    • nwMMOUpgrade
      • English
        • Config & Command
        • Feature
          • Upgrade
          • Add Socket
          • Repair
      • Chinese
        • 配置與指令
        • 功能介紹
          • 升級
          • 增加插槽
          • 修復
    • nwFurnitureShow
      • English
        • Supported Plugins
        • Config & Command
        • Feature
          • Preview
          • Search
          • Price
          • Dye (HMCColor Integration)
Powered by GitBook
On this page
  1. My Plugins
  2. nwFurnitureShow
  3. English
  4. Feature

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.

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>"

PreviousSearchNextDye (HMCColor Integration)

Last updated 2 days ago