Skip to main content

config.lua (Static Settings)

These settings require a manual file edit and resource restart to apply. Everything else is handled in-game.

Debug

Enable for verbose [pdd_search] [DEBUG] console output when troubleshooting. Always set false in production.

Locale

Options: en, es, fr, de, it, ja, pt, ru, zh, ar

Admin Licenses

Players with a matching license can access the admin panel via /searchadmin. Add multiple entries for multiple admins. To find your license hash, run in the server console:

Admin Command

The chat command used to open the admin tablet. Registered as a client command on resource start.

Discord Webhook Logging

When UseDiscordLogs is true, successful search events are forwarded to the provided webhook URL via pdd_bridge for persistent audit logging.

Runtime Config (In-Game Admin Panel)

All of the following are managed through the in-game admin panel at /searchadmin and saved automatically to data/searchdata.json:
Target system changes require a resource restart. Use the Restart Resource button in the Danger Zone section of the admin panel — it saves your config and restarts automatically, reopening the UI on the Settings page.
Do not manually edit data/searchdata.json. It is overwritten by the admin panel. Manual edits will be lost on the next save.