Giter VIP home page Giter VIP logo

Comments (10)

itzg avatar itzg commented on June 16, 2024

I'm not sure how to help with this. If Spiget provided incorrect content, then report the issue with them. If the plugin content from Spigot is wrong then contact the plugin author.

You can add -e DEBUG=true if you need to see and report the exact spiget operations that were used.

from docker-bungeecord.

alvarlagerlof avatar alvarlagerlof commented on June 16, 2024

I'm not sure the author is going to stop shipping a zip file if they have multiple versions though? I was thinking maybe of a block list?

from docker-bungeecord.

itzg avatar itzg commented on June 16, 2024

I'm sorry, now I'm even more confused. Can you provide the compose file or docker run command you're using? Maybe seeing what you're trying will help me.

from docker-bungeecord.

alvarlagerlof avatar alvarlagerlof commented on June 16, 2024

Sure! Id 313 is what downloads a zip with a bunch of incompatible jars.

/bin/podman run
-it
-v /mnt/ssd/minecraft/%N/config:/config:ro
-v /mnt/ssd/minecraft/%N/plugins:/plugins:ro
-v /mnt/ssd/minecraft/%N/server:/server
--security-opt label=disable
--network minecraft
-p 25565:25577
-e SPIGET_PLUGINS=73064,313
-e TYPE=WATERFALL
-e ENABLE_RCON=true
-e MEMORY=256m
docker.io/itzg/bungeecord:latest

I use podman but the API is the same.

from docker-bungeecord.

itzg avatar itzg commented on June 16, 2024

Thanks for providing that. I'm not sure what I can do to fix this since my scripts just call the spiget API and have no control over the response from them.

from docker-bungeecord.

alvarlagerlof avatar alvarlagerlof commented on June 16, 2024

Yeah I'm realizing that now too. The Spiget API doesn't seem to have any concept of "sub-resources" or the likes at all. And the plugin author says that they bundle them for convenience. There should be a real package manager for these plugins, imo.

The block list I was talking about was possibly to have the script rm files from a list, but the file names are not stable either, so that is of no use.

from docker-bungeecord.

alvarlagerlof avatar alvarlagerlof commented on June 16, 2024

I would be able to improve my situation somewhat if PLUGINS also took zip urls as arguments.

from docker-bungeecord.

itzg avatar itzg commented on June 16, 2024

I would be able to improve my situation somewhat if PLUGINS also took zip urls as arguments.

That's an interesting idea. And for zips it would simply unzip the contents into the plugins directory?

from docker-bungeecord.

alvarlagerlof avatar alvarlagerlof commented on June 16, 2024

That's an interesting idea. And for zips it would simply unzip the contents into the plugins directory?

Yes, exactly. I believe it already does this for Spiget resources that are zips?

unzip -o -q -d ${dest} "${tmpfile}"

from docker-bungeecord.

github-actions avatar github-actions commented on June 16, 2024

This issue is stale because it has been open 30 days with no activity. Please add a comment describing the reason to keep this issue open.

from docker-bungeecord.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.