Skip to content

Configuration File

shawn edited this page Jun 6, 2026 · 1 revision

When starting the server with the mod for the first time, a configuration file will be created at config/hostname-catcher.yml containing the next contents:

# Listed domains are allowed to connect, other requests will be blocked.
# If the whitelist is empty, then any connection will be allowed.
# Wildcard supported.
allowed-domains:
  - localhost
  - 127.0.0.1
  - *.example.com

If allowed-domains is empty, then the mod will act only as a domain logging the domain used by a player or the direct IP of the running server. Any domain you add will let the user join using them like "play.server.com" Wildcards are supported so domains like "*.server.com" will let the user use any domain that points to your server.

Clone this wiki locally