Git Product home page Git Product logo

Comments (6)

gekigek99 avatar gekigek99 commented on June 16, 2024 1

basically it is a simple matter of installing go and running the command go build minecraft-server-hibernation.go in the script folder to create yourself an executable file from the code.

@Br31zh exacly, as a plus in next releases will include a compiled binary (no go installation stuff 😉) and I'm thinking about adding more config options in the .json file to increase configurability

from minecraft-server-hibernation.

gekigek99 avatar gekigek99 commented on June 16, 2024 1

Add configuration for custom info (hibernation-warmup) where added in a7cc6c0.

configuration for custom loading-screen messages where not added since there is a %d in the string which cal lead to problems if omitted

from minecraft-server-hibernation.

lubocode avatar lubocode commented on June 16, 2024

I think it’s related, so what about adding configuration for custom hibernation and startup messages? I modified the Python version for that until now but since it’s deprecated…

Yes, we deprecated the Python Version simply because of too much overhead for maintenance.
We both use the Go version and as such, decided to deprecate the Python one.
However, this does not mean, that the Python version is now unusable. You can continue to use the last release and unless you run into bugs we have not found yet, it should work fine.

As for the go version; we plan to add instructions on how to build it by yourself, but basically it is a simple matter of installing go and running the command go build minecraft-server-hibernation.go in the script folder to create yourself an executable file from the code. Modifying the code should also not be too complicated, since you successfully did so in the Python version.

Copied answer from #30 (comment)

from minecraft-server-hibernation.

Br31zh avatar Br31zh commented on June 16, 2024

Of course, it was a bad formulation, even if you hadn’t stop maintaining the Python version it’s still a good idea to permit to change that from the configuration ^^ Changing the source code is a temporary workaround.

from minecraft-server-hibernation.

lubocode avatar lubocode commented on June 16, 2024

configuration for custom loading-screen messages where not added since there is a %d in the string which cal lead to problems if omitted

@gekigek99 The string from the config could be combined with a string in the script for the countdown though?
Also, when #37 is built in, the countdown requirements might change.

from minecraft-server-hibernation.

gekigek99 avatar gekigek99 commented on June 16, 2024

Oh yes... You are right!

I will figure it out when I add this functionality (since I think it more important than a silly configurable string)

from minecraft-server-hibernation.

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.