Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 2 KB

File metadata and controls

36 lines (25 loc) · 2 KB

GhostServer

CI

Server for the Ghost feature in SourceAutoRecord

Installation

  • Download the latest release from the releases page
  • Unzip the archive
  • Launch GhostServer.exe (Windows) / ghost_server (Linux)
    • You can also run the command-line version with GhostServer_CLI.exe (Windows) / ghost_server_cli (Linux)
  • The default port is 53000. You can change it in the Settings tab.
  • In the settings of your router, open both UDP and TCP ports to the above setting.

Usage

  • The server will run as soon as you click on the Start Server button. Your IP address is shown on the first line along with the port the server uses to communicate.
  • Players and spectators connect to the server with the SAR commands ghost_connect <ip> [port=53000] or ghost_spec_connect <ip> [port=53000]
  • You can set a countdown on the right part of the interface
    • You can set some commands to execute before and after the countdown. You can write them on one line like sv_cheats 0; say lol or on multi-line
  • Server stops by clicking on the Stop Server button (previously Start Server)
Environment variable Description
GHOST_ADMIN_USERNAME Set the name of the admin user. If unset, admin authentication is disabled. This can be changed using the admin admin command.
GHOST_ADMIN_PASSWORD Set the password for the admin user. If unset, admin authentication is disabled. This can be changed using the admin admin command.
GHOST_TICKER_MESSAGES Set the initial ticker messages, separated by |. If unset, no ticker messages are sent. This can be changed using the ticker admin command.

Contributing

Pull requests are welcome.

Bug report

If you encountered a bug, please open an issue report.