Giter VIP home page Giter VIP logo

Comments (8)

alvarlagerlof avatar alvarlagerlof commented on June 19, 2024

I think my issue is really that the networking goes away before the container is done stopping. Graceful shutdown does at least work with rcon-cli

from docker-bungeecord.

alvarlagerlof avatar alvarlagerlof commented on June 19, 2024

Hmm. Considering I don't have this issue with https://github.com/itzg/docker-minecraft-server, it may be something else. How does the STOP_SERVER_ANNOUNCE_DELAY work there?

from docker-bungeecord.

itzg avatar itzg commented on June 19, 2024

It's actually handled by https://github.com/itzg/mc-server-runner, but I'm now realizing that should work here too.

from docker-bungeecord.

alvarlagerlof avatar alvarlagerlof commented on June 19, 2024

Yeah I went on a little dig for the parameters, and found that too. Both are servers running on JVM and you can interact with both using RCON, so lots of similarities.

One thing to consider if you choose to implement the mc runner here too is potential duplicates messages. You want to keep both up for the same amount of time, but both sending messages might not be good.

I'd want to keep the messages per server I think. There are potential use cases for keeping the lighter proxy up while shutting down the servers.

Just a sleep(env param) here before stop would solve my issue at the most basic level.

from docker-bungeecord.

alvarlagerlof avatar alvarlagerlof commented on June 19, 2024

Just done a lot of experimenting with systemd trying to get /bin/sleep in before it stops. I can't seem to do it.

from docker-bungeecord.

github-actions avatar github-actions commented on June 19, 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.

alvarlagerlof avatar alvarlagerlof commented on June 19, 2024

Still have not found a good solution. Most important is that it works for servers, which it does, so data loss is avoided, but this ends up being a bad experience in game.

from docker-bungeecord.

github-actions avatar github-actions commented on June 19, 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.