Updated sv_password wrong references
This commit is contained in:
10
README.md
10
README.md
@@ -28,7 +28,7 @@ This project is a fork of: [artkirienko/hlds-docker-dproto](https://github.com/a
|
|||||||
#### Docker Hub Image
|
#### Docker Hub Image
|
||||||
|
|
||||||
The latest image of this repo is available in docker hub [josejsalinas/hl-server](https://hub.docker.com/r/josejsalinas/hl-server) 🐋
|
The latest image of this repo is available in docker hub [josejsalinas/hl-server](https://hub.docker.com/r/josejsalinas/hl-server) 🐋
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# To quickly run the image
|
# To quickly run the image
|
||||||
docker run -it --rm -d --name hl-server -p27015:27015 -p27015:27015/udp josejsalinas/hl-server +map crossfire +maxplayers 12
|
docker run -it --rm -d --name hl-server -p27015:27015 -p27015:27015/udp josejsalinas/hl-server +map crossfire +maxplayers 12
|
||||||
@@ -42,21 +42,21 @@ Build the image `hl-server`:
|
|||||||
docker build -t hl-server .
|
docker build -t hl-server .
|
||||||
```
|
```
|
||||||
|
|
||||||
Run your image
|
Run your image
|
||||||
```bash
|
```bash
|
||||||
docker run -it --rm -d --name hl-server -p27015:27015 -p27015:27015/udp
|
docker run -it --rm -d --name hl-server -p27015:27015 -p27015:27015/udp
|
||||||
```
|
```
|
||||||
|
|
||||||
You can add extra parameters when starting the image
|
You can add extra parameters when starting the image
|
||||||
```bash
|
```bash
|
||||||
docker run -it --rm --name hl-server -p27015:27015 -p27015:27015/udp hl-server +map crossfire +maxplayers 16 +password 1 +vs_password "password"
|
docker run -it --rm --name hl-server -p27015:27015 -p27015:27015/udp hl-server +map crossfire +maxplayers 16 +password 1 +sv_password "password"
|
||||||
```
|
```
|
||||||
|
|
||||||
> **Note:** Any [server config command](http://sr-team.clan.su/K_stat/hlcommandsfull.html)
|
> **Note:** Any [server config command](http://sr-team.clan.su/K_stat/hlcommandsfull.html)
|
||||||
can be passed by using `+` after the docker command options.
|
can be passed by using `+` after the docker command options.
|
||||||
|
|
||||||
#### Customization
|
#### Customization
|
||||||
|
|
||||||
Adjust things as you like in `default.cfg` file to set them to your liking.
|
Adjust things as you like in `default.cfg` file to set them to your liking.
|
||||||
Like `hostname` to set your server name, or `sv_password` to set a password.
|
Like `hostname` to set your server name, or `sv_password` to set a password.
|
||||||
|
|
||||||
|
|||||||
@@ -16,4 +16,4 @@ echo "########################################################################"
|
|||||||
|
|
||||||
// // password
|
// // password
|
||||||
// password 1
|
// password 1
|
||||||
// vs_password YOURPASSWORD
|
// sv_password YOURPASSWORD
|
||||||
|
|||||||
@@ -48,4 +48,4 @@ exec banned.cfg
|
|||||||
|
|
||||||
// password
|
// password
|
||||||
// password 1
|
// password 1
|
||||||
// vs_password YOURPASSWORD
|
// sv_password YOURPASSWORD
|
||||||
|
|||||||
Reference in New Issue
Block a user