SwiftlyS2

CLI Options

SwiftlyS2 startup behavior can be configured with command-line options passed when launching the game server.

Startup Example

./game/bin/win64/cs2.exe -dedicated +map de_dust2 \
	-sw_path addons/swiftlys2 \
	-sw_logpath addons/swiftlys2/logs \
	-sw_hide_logs_in_console 1 \
	-sw_loglevel WARNING

Options Reference

OptionExampleDetails
-sw_path-sw_path addons/swiftlys2Relative path from game/csgo where SwiftlyS2 is located. Default: addons/swiftlys2.
-sw_logpath-sw_logpath addons/swiftlys2/logsRelative path from game/csgo where logs are stored. Default: addons/swiftlys2/logs.
-sw_hide_logs_in_console-sw_hide_logs_in_console 1Disables plugin logs in console. Accepted values: 1, TRUE, YES.
-sw_loglevel-sw_loglevel WARNINGMinimum log level shown in console. Default: all. Accepted values: DEBUG, INFO, WARNING, ERROR, OFF.

Notes

  • -sw_path and -sw_logpath are relative to the game/csgo directory.
  • Use -sw_hide_logs_in_console when you want plugin logs to remain in files but not in console output.
  • Use -sw_loglevel to reduce console noise while preserving higher-severity logs.

On this page