From 273d2bc2ca2fa6489434392e3831f892712eeddc Mon Sep 17 00:00:00 2001 From: Stephen Sorriaux Date: Fri, 31 May 2019 11:39:08 +0200 Subject: [PATCH] Fix the way to set the ahbot.conf file Fixes https://github.com/StephenSorriaux/mangos-docker/issues/17 --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e08bd42..ed30c86 100644 --- a/README.md +++ b/README.md @@ -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/-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