mirror of
https://ceregatti.org/git/daniel/dayzdockerserver.git
synced 2025-05-06 14:21:18 +00:00
Update docs.
This commit is contained in:
parent
e383c6cced
commit
81b096c320
1 changed files with 6 additions and 0 deletions
|
@ -31,10 +31,14 @@ cat > globals.xml << EOF
|
||||||
EOF
|
EOF
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Restart the server.
|
||||||
|
|
||||||
### No food
|
### No food
|
||||||
|
|
||||||
For a more survival-oriented experience, one can prevent food from spawning in the world, forcing players to hunt and fish for food.
|
For a more survival-oriented experience, one can prevent food from spawning in the world, forcing players to hunt and fish for food.
|
||||||
|
|
||||||
|
Food still spawns on the infected and in containers. Any other mod that adds food will also be unaffected.
|
||||||
|
|
||||||
Go into the server container:
|
Go into the server container:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
|
@ -66,6 +70,8 @@ Always lint any XML file that is created/merged:
|
||||||
xmllint --noout types.xml
|
xmllint --noout types.xml
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Restart the server for the changes to take effect.
|
||||||
|
|
||||||
Explanation:
|
Explanation:
|
||||||
* Start xmlstarlet in edit mode
|
* Start xmlstarlet in edit mode
|
||||||
* Add a new XML node at the root named "food"
|
* Add a new XML node at the root named "food"
|
||||||
|
|
Loading…
Add table
Reference in a new issue