This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
multiplayer:doomsday-host [2017-03-20 12:09] – skyjake | multiplayer:doomsday-host [2017-03-20 12:10] (current) – [.doomsdayhostrc] skyjake | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== doomsday-host ====== | ||
+ | |||
+ | |||
+ | Command line utility for hosting dedicated servers. Starts a number of servers, monitors their status, restarts them if they crash, and maintains output log storage. Intended for automation. | ||
+ | |||
+ | |||
+ | ===== Installation ===== | ||
+ | |||
+ | |||
+ | Currently [[doomsday-host]] is not installed by default. You need to use '' | ||
+ | |||
+ | [[doomsday-host]] is intended to be run periodically from cron. You could for instance run it every minute or every five minutes. | ||
+ | |||
+ | |||
+ | ===== .doomsdayhostrc ===== | ||
+ | |||
+ | |||
+ | The configuration file **~/ | ||
+ | |||
+ | <code xml>< | ||
+ | < | ||
+ | Location of the **doomsday-server** binary. | ||
+ | |||
+ | <code xml> | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | Command line options to use with all server instances. | ||
+ | |||
+ | <code xml> | ||
+ | < | ||
+ | < | ||
+ | CONFIG+=' | ||
+ | < | ||
+ | | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | Rebuild settings. At the specified times, the script will pull new changes from the [[git_repository]], | ||
+ | |||
+ | <code xml> | ||
+ | < | ||
+ | name=" | ||
+ | info=" | ||
+ | dir="/ | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | name=" | ||
+ | info=" | ||
+ | dir="/ | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | name=" | ||
+ | info=" | ||
+ | dir="/ | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | name=" | ||
+ | info=" | ||
+ | dir="/ | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | name=" | ||
+ | info=" | ||
+ | dir="/ | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | name=" | ||
+ | info=" | ||
+ | dir="/ | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | name=" | ||
+ | info=" | ||
+ | dir="/ | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | name=" | ||
+ | info=" | ||
+ | dir="/ | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | All of these servers are started in the background. If they crash, they get automatically restarted. You'll need to manually create the runtime directories. | ||
+ | |||
+ | |||
+ | |||
+ | |||