π Config & Command
Commands
The FurnitureShow plugin provides two main commands: /nwfurnitureshow (for administrators) and /nwfurnitureopen (for players and searching).
1. Admin Commands: /nwfurnitureshow
/nwfurnitureshowThese commands typically require the command.admin permission (or the permission you've configured in config.yml).
permissions: #You can change the permissions as you want.
admin: command.admin
player: command.player1.1 Reload
/nwfurnitureshow reload
Reloads the
config.ymland all furniture category files within thefurniture/folder.
1.2 AddItem
/nwfurnitureshow config additem <category> <price>
Adds the item currently held by the player to the specified category.
Item data will be saved to
plugins/nwFurnitureShow/furniture/<category>.yml.The item's name will be pulled from its custom name or its material name if no custom name is set.
1.3 Set Location
/nwfurnitureshow setlocation
Sets the display location for a specific furniture item to your current coordinates and facing direction.
1.4 Furniture Price
/nwfurnitureshow price <true/false>
Toggles the ability for players to purchase furniture using in-game money.
When set to
true, players can right-click furniture items in the GUI to attempt a purchase, provided they have enough money.When set to
false, purchasing with money is disabled
2. Player Commands: /nwfurnitureopen
/nwfurnitureopenThese commands typically require the command.player permission (or the permission you've configured in config.yml).
2.1 Open Furniture GUI
/nwfurnitureopen <category>
Opens a GUI displaying all furniture items within the specified category.
<category>: The name of the category file (e.g.,furnitures).
2.2 Search Furniture GUI
/nwfurnitureopen search <keyword> [category] [dye]
Opens a GUI displaying search results for furniture.
<keyword>: The search term. It will search by the item'snamefirst, then by itsidif no name match is found.Special: If the
<keyword>is-(a hyphen), it will display all furniture items without filtering by name.
[category]: (Optional) If specified, the search will be restricted to that particular category.[dye]: (Optional) Ifdyeis specified (and the HMCColor system is enabled), only furniture items that are dyeable will be shown.Tab Completion:
dyewill only appear as a tab completion option if HMCColor is enabled.

Config
1. Configuration Settings (config.yml File)
config.yml File)The config.yml file is the central hub for customizing the plugin's behavior and messages. You can tailor various sections as follows:
Key Settings:
permission: Defines the permission node players need to open the plugin's GUI.close-gui-on-click: Set totrueif you want the GUI to close immediately after a player clicks on a furniture item (e.g., to purchase it).rows/page-size: Control the GUI's dimensions and the number of items displayed per page. Be careful to alignpage-sizewithrowsand the positions of page navigation buttons.search-title: The format for the GUI's title when players use the search command.<search>will be replaced by the actual search term.*-page-item: Configure the material, name (supports MiniMessage), and slot position for the previous, current, and next page navigation buttons.message: This section allows you to customize various messages the plugin sends to players, such as no-permission warnings, invalid command usage, or search results. It supports MiniMessage for rich text formatting.
2. Furniture Management (furniture/<category>.yml Files)
furniture/<category>.yml Files)The plugin stores furniture data categorized into separate .yml files within the plugins/nwFurnitureShow/furniture/ folder, for example, plugins/nwFurnitureShow/furniture/furnitures.yml.
3. Minimessage
MiniMessage formatting. This means you can use a wide range of colors, styles, and advanced text features to customize how messages appear in-game.
MiniMessage Formatting Guide: https://docs.advntr.dev/minimessage/format.html
MiniMessage Web Editor (for easy preview): https://www.birdflop.com/resources/rgb/

Last updated