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

Ability to start the server manually #45

Open
Jipok opened this issue Mar 3, 2023 · 0 comments
Open

Ability to start the server manually #45

Jipok opened this issue Mar 3, 2023 · 0 comments

Comments

@Jipok
Copy link

Jipok commented Mar 3, 2023

Needed to perform work on the server. For example, I want to start the pregeneration of the world. Now I have to either disable lazymc, change the server settings, and start it manually. Or connect to the server and leave the client connected. Both options are very inconvenient.

I suggest accepting some or all of these changes:

  • add a command or keyboard shortcut that will start the server without players. Like #start
  • add a command or keyboard shortcut that will not allow the server to shutdown/pause when there are no players
  • grep the log for given messages and allow the server to be stopped only after that. You can either add built-in support for some mods, or/and let the user customize it himself. For example, here is what the chunky write when they are finished: [Chunky] Task finished for minecraft:the_nether. Processed: 35721 chunks (100.00%), Total time: 0:10:50
  • add an automatic check for server load or output to the logs and do not turn it off while work is being done
  • wake up the server on a schedule for certain jobs
  • add a command or key combination that will not allow to restart after a stop. You can even make an automatic check that the server was stopped manually using the command
  • do not start the server automatically if there is a "down" file in the folder. This will allow you to make backups correctly. Easy to use with scripts. It does not require any command implementation to manage and fiddle with ipc
  • automatic wakeup if the user entered a command for the server. Also keep the server from sleeping if the user is interacting with the console
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

1 participant