This command will ban the user with the specified ID from the server, and add them to the banlist so that they cannot reconnect. This is particularly useful if you're streaming and don't want viewers to be able to catch your IP address, giving them the chance the DDoS the server. This console command is used to hide the IP of your server in your console. The auto kick feature kicks people for being idle (AFK) and team damage. You may want to clear the INSTALL_PLUGINS variable if you want to manage everything manually.This command sets whether or not the auto kick feature should be enabled. If you're using a bind volume, you can copy files in directly. If you're using a data volume, you can use the docker cp command to copy files from your host machine into the data volume. See INSTALL_PLUGINS above in the section above to learn about installing plugins. It is recommended to use INSTALL_PLUGINS environment variable at run time to install plugins, so that they are decoupled from the image. This means that any files you want to add, simply put them in the correct paths under containerfs, and they will appear in the Docker image relative to the steam user's home directory. The directory containerfs (container filesystem) is the equivalent of the steam user's home directory ( /home/steam). Adding your own configs, other files etc. Lastly, a checksum is generated for each plugin's URL and is stored as $CSGO_DIR/csgo/.marker to prevent re-downloading plugins that have already been installed. To override, pass one or more of these to docker using the -e or -env argument (example above). Environment variable overridesīelow are the default values for environment variables that control the server configuration. If you're on a LAN, add the environment variable LAN=1 (e.g., -env "LAN=1") to have sv_lan 1 set for you in the server. These will be added to SourceMod's admin list before the server is started. The optional SOURCEMOD_ADMINS environment variable is a comma-delimited list of Steam IDs. With a key set, you can also use the environment variables HOST_WORKSHOP_COLLECTION and WORKSHOP_START_MAP to specify a workshop collection and start the server with a workshop map, respectively.įor more information check out the Valve developer wiki page. If you don't have a key you can generate one at. You can provide this via the evironment variable AUTHKEY and it will be passed to the command-line as -authkey. To access maps and collections from the Workshop, you need to provide a Steam Web API key. Remember that if you DO NOT give a valid Game Login Token, your server will be restricted to LAN only Optional Steam Web API Key for Workshop Content Confusingly, this token is also referred to as a steam account (it's set via sv_setsteamaccount). The STEAM_ACCOUNT is a "Game Login Token" required by Valve to run public servers. If you plan on managing plugins manually with a bind volume, you might want pass an empty or reduced INSTALL_PLUGINS environment variable to prevent conflicts (see below for default value of INSTALL_PLUGINS). Would you rather use a bind volume so that you can access file contents directly? Use -mount type=bind,source=$(pwd),target=/home/steam/csgo instead of the one in the example above. mount source=csgo-data,target=/home/steam/csgo \
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |