Skip to content

Commit

Permalink
Fix the way to set the ahbot.conf file
Browse files Browse the repository at this point in the history
Fixes #17
  • Loading branch information
StephenSorriaux committed May 31, 2019
1 parent 8f042f8 commit 273d2bc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@ This is OK if you want to create a little server with not much players. Also, th
```bash
docker run -i -v /path/to/maps:/etc/mangos/maps -v /path/to/vmaps:/etc/mangos/vmaps -v /path/to/mmaps:/etc/mangos/mmaps -v /path/to/dbc:/etc/mangos/dbc -e "LOGIN_DATABASE_INFO=localhost;3306;root;mangos;realmd" -e "WORLD_DATABASE_INFO=localhost;3306;root;mangos;mangos" -e "CHARACTER_DATABASE_INFO=localhost;3306;root;mangos;characters" -p 8085:8085 -d ssorriaux/<version>-server:latest
```
It is possible to configure AH using the `ahbot.conf` file. Add this parameter to the previous command:
##### Configure ahbot.conf
It is possible to configure AH using the `ahbot.conf` file. Add this parameter to the world server launch command:
```bash
-v /path/to/ahbot.conf:/etc/conf/ahbot.conf
-v /path/to/ahbot.conf:/mangosconf/ahbot.conf
```
Be aware to use the `/mangosconf/ahbot.conf` file and not the one in `/etc/mangos/`.

#### Launching the database
```bash
Expand Down

0 comments on commit 273d2bc

Please sign in to comment.