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

Plugins not loading #163

Open
asumaray opened this issue Feb 12, 2024 · 5 comments
Open

Plugins not loading #163

asumaray opened this issue Feb 12, 2024 · 5 comments

Comments

@asumaray
Copy link

asumaray commented Feb 12, 2024

I've added some plugins and restarted the server, but the plugins are not being recognized. I've validated that the plugins exist in the host directory, but when I actually exec'd into the container and checked the ServerPlugins folder it did not appear that my plugins were copied over.

Relevant portion of my docker-compose:

terraria:
    container_name: terraria
    image: ryshe/terraria:latest
    stdin_open: true # docker run -i
    tty: true # docker run -t
    environment:
      - WORLD_FILENAME=2024.wld
    ports:
      - 7777:7777
    volumes:
      - /mediaserver/terraria/world:/root/.local/share/Terraria/Worlds
      - /mediaserver/terraria/ServerPlugins:/plugins
    restart: unless-stopped
@SirMonkeyBoy
Copy link
Contributor

I don't think that's running TShock with is what I'm guessing your trying to use you need to use the image
ryshe/terraria:tshock-latest

@asumaray
Copy link
Author

I was under the impression that it was the opposite and I would have to explicitly specify vanilla. I attached to the container and did /version and it appears to be Tshock:
Screenshot 2024-02-12 at 11 01 12 AM

@SirMonkeyBoy
Copy link
Contributor

Ok I've just used the tshock image but if that's tshock then I'm not sure can you send your console logs

@JoseFcoRosado
Copy link

right bind to plugins is:
<your_path>:/tshock/ServerPlugins

@Zsongli
Copy link

Zsongli commented May 24, 2024

right bind to plugins is: <your_path>:/tshock/ServerPlugins

Thank you, I had the exact same problem and this fix works, but the on Docker page it says:

Mount the plugins directory with an additional -v switch on your docker run ... command
-v <path_to_your_ServerPlugins_folder>:/plugins

So I suggest you update the page in order to avoid any misunderstanding in the future.

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

No branches or pull requests

4 participants