It will not, for example, send the url associated with sv_curl_defaulturl, then resend another link within curl_urls.txt if the file is unavailable at the former. Note: the server will only send one download link to the clients. Other pattern matches will direct to the respective url. In above example, any map with a name matching the wildcard pattern i.e cts_mappername_mapname1, cts_mappername_mapname2, and so forth, will direct to for download. The following describes the format per line.Ĭts_mappername-mapname* mapname_revision* This text file belongs in the user profile for xonotic. If there are multiple download sources for the catalog of the server's maps, a plain text file curl_urls.txt may be used to specify which links per map are sent to clients. The following enables map shuffling on the map voting menu, and is required in order for the map list to be different per vote menu (as opposed to the first few maps in alphabetical order). The following sets the number of vote options on the map voting menu that appears at the conclusion of a match. G_maplist "" // include all possible maps in the maplist One may manually add the map name to the list (exclude the file extension), or submit an empty string to include all possible maps. Note, fs_rescan must have been executed beforehand so the server has the file to begin with. The following is relevant to updating the map list. Be careful not to include a space at the end of the url. The following sets the default url to serve to clients to the one specified in url. Thus the file host must not change the file names. Xonotic identifies maps by file name additionally it only concatenates a base url and the file name as the download url to send to clients. In order to host unofficial maps, the server needs the custom map itself and a file host to provide the download service to clients that do not already have the map file. Note: Listen servers do not use rcon, hence commands for listen servers are as is, as opposed to being prefixed with rcon and requiring an rcon_password set. In general, rcon is used to execute commands or change settings remotely, which allows server administrator to make small changes without editing a file. Update Server Packages rcon fs_rescan // updates the server's files e.g adding a new map or server package Replace server.cfg with the file containing your server configuration file if you are using a different file. Update Server Configuration rcon exec server.cfg // updates the server's configuration by re-executing the. From a game client, the server administrator may log in typing the following into the developer console (~). In order to set up rcon, within server.cfg, rcon_password must be set. Instead, they may be configured on-the spot by the server administrator by the console command rcon. Xonotic servers do not need to be restarted for changes to take effect. Server settings can instead be stored in autoexec.cfg, the file that is automatically executed when the game client is launched and will not be managed by the game. However, since the game writes to config.cfg e.g in the event the user changes preferences, it is unideal to store server settings in config.cfg. Listen servers get their settings from config.cfg or the state of the client's console. Listen servers can be configured to the same degree as dedicated servers. Much like config.cfg stores player preferences as a list of commands to execute on launch, server.cfg stores server settings. Deploy the server by executing the shell script.Note: do not copy to the additional folder named data, within data.Windows: % USERPROFILE%\Saved Games\xonotic\data.Mac: ~/Library/Application Support/xonotic/data.Copy server.cfg to the user profile for Xonotic.This is so the shell script can launch the game executable in the server mode.Copy the shell script or batch file corresponding to the operating system the server will be running on, from /server/ into the main game directory.This section assumes network configuration such as port forwarding have already been done. The files needed to set up a Xonotic server come with the game, from the main game directory inside /server/.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |