mod-eluna-lua-engine
mod-eluna-lua-engine copied to clipboard
Suggestion: update readme to include instructions for AzerothCore's Docker instructions
This would include:
- A section for where to put the mod_LuaEngine.conf and mod_LuaEngine.conf.dist files (https://www.azerothcore.org/wiki/Install-with-Docker#adding-modules has been updated to show that
azerothcore-wotlk/env/docker/etc/modulesis the proper location, but having it on this page might also be useful) - Where to set the
Eluna.ScriptPathvalue. This stackoverflow post is a great resource. I am not good enough with Docker to explain how to expose a volume using thedocker-compose.ymlfile, but a good start would be just telling people to set the ScriptPath toEluna.ScriptPath = "/azerothcore/lua_scripts"and creating alua_scriptsfolder in theirazerothcore-wotlkfolder.
If the current maintainers like this idea, I can create a PR that updates the readme.
@Yehonal
So the issue is that we don't expose the bin folder anymore and that the lua_scripts reside under the bin folder. We can for sure provide a volume for them by default, but I was wondering: is the a configuration for Eluna to change that path?
Eluna.ScriptPath is the configuration in Eluna that tells it where to look for the lua_scripts folder. Perhaps this is enough?