Arma3Server icon indicating copy to clipboard operation
Arma3Server copied to clipboard

Local mods not detected by launch.py

Open pnmcosta opened this issue 3 weeks ago • 1 comments

I believe that

https://github.com/BrettMayson/Arma3Server/blob/v2/launch.py#L56

is incorrect because os.path will be relative to the execution directory, which is /arma3:

https://github.com/BrettMayson/Arma3Server/blob/v2/Dockerfile#L56

I can further confirm this if I change

-v path/to/mods:/arma3/server/mods

to

-v path/to/mods:/arma3/mods

Then the mod attribute on the binary is set with the list of mods.

However as it's not relative to the binary on /arma3/server local mods aren't loading.

I also believe the same will occur with serverMods as it's the same harnessing method.

pnmcosta avatar Dec 03 '25 22:12 pnmcosta