# Custom Server Changes
## These are the custom integrations possible with dayzdockerserver
### Lowered login/logout time
To lower the login/logout time from the default 15 seconds.
Go into the server container:
```shell
docker compose exec server bash
```
Make a new directory in /profiles/custom called login and go into it:
```shell
mkdir -p /profiles/custom/login
cd /profiles/custom/login
```
Generate a globals.xml with the changed values:
```shell
cat > globals.xml << EOF
EOF
```
### 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.
Go into the server container:
```shell
docker compose exec server bash
```
Make a new directory in /profiles/custom called no-food and go into it:
```shell
mkdir -p /profiles/custom/no-food
cd /profiles/custom/no-food
```
Generate the types.xml override file from your current mpmissions type.xml (presumes dayzOffline.chernarusplus):
```shell
xmlstarlet ed \
-s / -t elem -n food \
-m "/types/type[category[contains(@name, 'food')]]" "/food" \
-d /types \
-r food -v types \
-u //nominal -v 0 \
/serverfiles/mpmissions/dayzOffline.chernarusplus/db/types.xml \
> types.xml
```
Always lint any XML file that is created/merged:
```shell
xmllint --noout types.xml
```
Explanation:
* Start xmlstarlet in edit mode
* Add a new XML node at the root named "food"
* Move all `` nodes where `` root node
* Rename `` to ``
* Set all remaining nodes to have `0`
* Do this for every mpmissions types.xml file (dayzOffline.chernarusplus shown here)
* Save it to a new types.xml file in the current directory, the one we made above.
This file will now serve as a types.xml override for all food items when the server starts!
Every directory under /profiles/custom will be added as a new Economy Core entry when the server is started.
See https://community.bistudio.com/wiki/DayZ:Central_Economy_mission_files_modding for more details.