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
  • Search
  • Using the Search Command
  • Search Result GUI
  1. My Plugins
  2. nwFurnitureShow
  3. English
  4. Feature

Search

PreviousPreviewNextPrice

Last updated 2 days ago

Search

The FurnitureShow plugin provides a powerful search feature, allowing players to quickly find specific furniture items across all categories or within a chosen category. This is especially useful for servers with a large collection of furniture.


Using the Search Command

The primary command for accessing the search functionality is /nwfurnitureopen search.

Basic Search: /nwfurnitureopen search <keyword>

  • Purpose: Search for furniture items by their display name or internal ID across all configured categories.

  • <keyword>: The term you want to search for. The search is case-insensitive.

    • The plugin will prioritize matching against the item's name property in the furniture/<category>.yml files.

    • If no match is found by name, it will then attempt to match against the item's id.

  • Example:

    • /nwfurnitureopen search chair - This will open a GUI showing all furniture items that have "chair" in their name or ID (e.g., "Red Chair", "Gaming Chair", "id:fancy_chair").

    • /nwfurnitureopen search table - Finds all tables.

Category-Specific Search: /nwfurnitureopen search <keyword> <category>

  • Purpose: Narrow down your search to a specific furniture category.

  • <keyword>: The search term (same as basic search).

  • <category>: The name of the category file (e.g., furnitures, decorations). This must be a valid category configured in your plugins/nwFurnitureShow/furniture/ folder.

  • Example:

    • /nwfurnitureopen search lamp decorations - This will search for items containing "lamp" only within the decorations.yml category.

Dyeable Item Search: /nwfurnitureopen search <keyword> [category] dye

  • Purpose: Filter search results to include only dyeable furniture items. This requires the HMCColor system to be enabled and properly configured in your plugin's settings.

  • <keyword>: The search term.

  • [category]: (Optional) You can still specify a category to search within.

  • dye: This specific keyword at the end of the command activates the dyeable filter.

    • Tab Completion: The dye option will only appear in tab completion if the HMCColor system is active on your server.

  • Example:

    • /nwfurnitureopen search cushion dye - Finds all dyeable cushions across all categories.

    • /nwfurnitureopen search bed bedroom dye - Finds all dyeable beds specifically in the "bedroom" category.

Display All Items: /nwfurnitureopen search - [category] [dye]

  • Purpose: View all furniture items without applying any keyword filter. This acts like a "show all" command.

  • - (hyphen): Using a hyphen as the <keyword> signifies that you want to see all items.

  • [category]: (Optional) You can still restrict "show all" to a specific category.

  • [dye]: (Optional) You can combine show all with the dye filter to see all dyeable items.

  • Examples:

    • /nwfurnitureopen search - - Opens a GUI showing every furniture item from all categories.

    • /nwfurnitureopen search - outdoor - Displays all furniture items specifically from the "outdoor" category.

    • /nwfurnitureopen search - dye - Shows all dyeable furniture items from all categories.

    • /nwfurnitureopen search - furnitures dye - Shows all dyeable furniture items specifically from the "furnitures" category.


Search Result GUI

  • After executing a search command, a new GUI will open displaying the matching furniture items.

  • The title of this GUI will reflect your search term (e.g., "Search: chair").

  • You can navigate through multiple pages of search results using the pagination buttons at the bottom of the GUI.


/nwfurnitureopen search Chair dye
HMCColor Support
Result