Display and Localization
string
default:"en"
The locale used for Sunshine’s user interface.Available Languages:
bg- Bulgariancs- Czechde- Germanen- Englishen_GB- English (UK)en_US- English (United States)es- Spanishfr- Frenchit- Italianja- Japaneseko- Koreanpl- Polishpt- Portuguesept_BR- Portuguese (Brazilian)ru- Russiansv- Swedishtr- Turkishuk- Ukrainianzh- Chinese (Simplified)zh_TW- Chinese (Traditional)
string
default:"PC hostname"
The name displayed by Moonlight when browsing for hosts.
Logging Configuration
string
default:"info"
The minimum log level printed to standard output.Available Levels:
verbose- All logging messages (may affect performance)debug- Debug messages and higher (may affect performance)info- Informational messages and higherwarning- Warning messages and highererror- Error messages and higherfatal- Only fatal messagesnone- No log messages
string
default:"sunshine.log"
The path where the Sunshine log file is stored.
System Integration
boolean
default:"enabled"
Show icon in system tray and display desktop notifications.
boolean
default:"disabled"
Whether to be notified of new pre-release versions of Sunshine.
Global Commands
array
default:"[]"
A list of commands to run before/after all applications. If any prep command fails, starting the application is aborted.Each command can have:
do- Command to run before launchingundo- Command to run after closingelevated- Whether to run with admin privileges (Windows only)
Configuration Files
string
default:"apps.json"
The application configuration file path containing a JSON formatted list of applications that can be started by Moonlight.
string
default:"sunshine_state.json"
The file where user credentials for the web UI are stored.
string
default:"sunshine_state.json"
The file where the current state of Sunshine is stored.
SSL Certificates
string
default:"credentials/cakey.pem"
The private key used for the web UI and Moonlight client pairing.
string
default:"credentials/cacert.pem"
The certificate used for the web UI and Moonlight client pairing.
Example Configuration
Next Steps
Audio/Video Settings
Configure encoders and streaming quality
Input Configuration
Set up gamepad and input device emulation

