Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Env var or command line for using mods? #32

Open
JoshWobbles opened this issue Apr 16, 2020 · 6 comments
Open

Env var or command line for using mods? #32

JoshWobbles opened this issue Apr 16, 2020 · 6 comments
Labels

Comments

@JoshWobbles
Copy link

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.

@twreid
Copy link

twreid commented Apr 20, 2020

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.

@wolffstarr
Copy link

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.

@JoshWobbles
Copy link
Author

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

@stale
Copy link

stale bot commented Jul 10, 2020

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 stale bot added the wontfix label Jul 10, 2020
@Dids Dids added pinned and removed wontfix labels Jul 10, 2020
@cryptton2004
Copy link

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.

@jonneymendoza
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants