ryansheehan/terraria

Plugins not loading

asumaray opened this issue · 5 comments

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

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

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

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

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

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.