7dtd-server icon indicating copy to clipboard operation
7dtd-server copied to clipboard

Env var or command line for using mods?

Open JoshWobbles opened this issue 5 years ago • 6 comments

Is is possible to enable mods in this docker? if so is there a var or switch I can use to direct the mod folder? would like this to be on one of my shares so it is easy to update and manupulate.

JoshWobbles avatar Apr 16 '20 14:04 JoshWobbles

I would also like to know how to install mods. I have created a Mods directory in the directory that has the server config xml, but at start the server always says no Mods directory found.

twreid avatar Apr 20 '20 05:04 twreid

I would also like to know how to install mods. I have created a Mods directory in the directory that has the server config xml, but at start the server always says no Mods directory found.

The Mods directory needs to be located with the game files, not the config files. So you would need to put the Mods directory in whatever directory you've got /steamcmd/7dtd mounted from; that will allow you to load mods.

wolffstarr avatar Apr 25 '20 14:04 wolffstarr

I would also like to know how to install mods. I have created a Mods directory in the directory that has the server config xml, but at start the server always says no Mods directory found.

The Mods directory needs to be located with the game files, not the config files. So you would need to put the Mods directory in whatever directory you've got /steamcmd/7dtd mounted from; that will allow you to load mods.

I still had issues with that, I assume my modded files were getting overwritten by steam on each start

JoshWobbles avatar May 10 '20 18:05 JoshWobbles

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 10 '20 05:07 stale[bot]

I added: RUN mkdir -p /steamcmd/7dtd/mods just below

# Create the volume directories
RUN mkdir -p /steamcmd/7dtd /app/.local/share/7DaysToDie

And for some reason:

# Fix permissions
RUN chown -R 1000:1000 \
    /steamcmd \
    /app \
    /steamcmd/7dtd/mods

Then just copy pasted my "mods" into the shared folder and everything went well. They persist after updates and stuff. Of course, wolffstarr's comment stands:

The Mods directory needs to be located with the game files, not the config files. So you would need to put the Mods directory in whatever directory you've got /steamcmd/7dtd mounted from; that will allow you to load mods.

cryptton2004 avatar Feb 20 '21 14:02 cryptton2004

I added: RUN mkdir -p /steamcmd/7dtd/mods just below

# Create the volume directories
RUN mkdir -p /steamcmd/7dtd /app/.local/share/7DaysToDie

And for some reason:

# Fix permissions
RUN chown -R 1000:1000 \
    /steamcmd \
    /app \
    /steamcmd/7dtd/mods

Then just copy pasted my "mods" into the shared folder and everything went well. They persist after updates and stuff. Of course, wolffstarr's comment stands:

The Mods directory needs to be located with the game files, not the config files. So you would need to put the Mods directory in whatever directory you've got /steamcmd/7dtd mounted from; that will allow you to load mods.

Where exactly did you add this? what file did you change/edit?

jonneymendoza avatar Oct 06 '21 18:10 jonneymendoza