Site search
The visitor search window: where it opens, what it finds, which modules add their own results and where to configure it.
A visitor types a nickname, a page title or a SteamID and jumps straight to the profile, page or menu item they want. Search is built into the engine and is on right after installation, guests included.
What visitors see
The "Search" button sits in the site header next to the profile or sign-in buttons. The window opens on click or with Ctrl+K (⌘K on a Mac) from any page and with any keyboard layout. Pressing it again or Esc closes it.

While the query is empty, the window shows "Recent" (the last five links opened from search, kept in this browser), "Sections" (the first ten header menu items) and "Quick actions" with a "My profile" link for signed-in users.
Searching starts from the second character. Results are grouped by source, and the filters above the list ("All" plus one button per source) narrow them down. Arrow keys pick a row, Enter opens it, Tab switches the filter. The "Users", "Pages" and "Navigation" filters, along with the news and skin set filters, also work with an empty query: the window lists that source's entries.
A page with access permissions is not found by anyone who lacks them. Hidden accounts and admin pages never show up in results.
What gets searched
The engine searches four sources, and modules add the rest. Each source can be turned off on its own (see settings).
| Source | Key | What it finds |
|---|---|---|
| Users | users | accounts by the start of the name, login or profile address, and by SteamID in any notation (STEAM_1:0:…, [U:1:…], 7656119…) |
| Players | players | server players without a site account. Only people who can open moderation, and administrators, see this source |
| Pages | pages | site pages by title, address and description |
| Navigation | navigation | header menu items |
| News | news | published articles by title and summary |
| Forum | forum | topics by title from the boards the visitor can read |
| Rules | rules | published rule clauses and articles |
| Monitoring | monitoring | servers by name and current map, modes |
| Clans | clans | clans by name or tag |
| Cases | cases | cases that can be opened |
| Skin sets | skinchanger | published sets by title |
| Player check | steamlookup | given a SteamID or Steam profile link, returns one row that opens the check |
A module source takes its name in the search window from the module's own settings. If you renamed "News" to "Blog", the filter is called "Blog" too.
Settings
Open https://<YOUR_DOMAIN>/admin/search-module/settings. The screen is called "Search Settings". It has no entry in the admin menu, so bookmark the address. You need the admin and admin.search permissions. The role editor labels the second one "Admin search", and the owner has both.

The "General Settings" card is saved with the "Save" button:
| Field | Default | What it does |
|---|---|---|
| "Enable search" | on | turns off the button, the window and search itself for everyone |
| "Only for authenticated users" | off | hides search from guests. A guest does not see the button, and their search requests are refused |
| "Display mode" | "Modal dialog" | "Modal dialog" opens in the middle of the screen. "Dropdown under input" puts an input in the header with a results panel below it, and on a phone the panel opens full screen |
| "Minimum query length" | 2 | 0 to 64. The window starts searching at the second character whatever the value, so anything below 2 changes nothing, while 3 or more makes shorter queries show "No results found" |
| "Results limit" | 20 | 1 to 100, how many rows the window shows per query |
The "Search Providers" card lists every source with its key and an "On" or "Off" status. The "On" button in a row toggles the source and saves the change right away. A module's source appears in the table by itself once the module is active.
Troubleshooting
For any other message, use the error lookup.
No Search button in the header
Check "Enable search" and "Only for authenticated users". With the second one on, a guest does not see the button until they sign in.
Search is temporarily unavailable
The window got no answer: the site refused the request or the connection dropped. If the text reads "Search temporarily unavailable" instead, search failed on the server and the reason is in the modules.log file.
If one source breaks, the others keep answering and modules.log gets a Search provider <key> failed line. You can open the file on the "Log files" tab. If a nickname finds nothing, type it from the beginning: users are matched only on the first letters of the name, login or profile address.
Three parts of the window are set only in config/search.php. The suggestions key, a list of strings, turns on the "Popular" section: each string becomes a button that fills in the query. The quick_actions key, a list with title, url and an optional icon, adds your own links to "Quick actions" after "My profile".
The thumbnails key controls page previews in the right pane of the window. The visitor's browser takes the snapshot, only for pages they have already opened, and keeps at most 60 of them. enabled turns previews on, ttl_days sets how long a snapshot is kept (7 days by default), and width sets its width in pixels (640).
Site search is separate from admin search. That one opens with the same Ctrl+K inside /admin, finds sections, players and actions, and is covered on the admin home page. A module developer who wants to add a source needs SearchRegistry from the extension points.