Minecraft server time to the end of the system

I would like to know that how I could make my own minecraft server for playing the start time and the end time. For example, Mineplex server is the time when the game ends or mccentral. I would think it to be a plugin or just command block of the system. And then when the time has been so players would get teleported spawn / lobby. Hope you can help ...
Best Answer
For servers like Mineplex, they most likely use a plugin, simply because they're more configurable and reliable.
If you want to shut down the server at a specified time, that can be easily done with various pre-existing plugins. From a Google search I found AutoShutdown. This basically shuts down and restarts the server at times you can specify, along with some other features. Just before the server shuts down you can kick all the players to a lobby using, maybe, BungeeTeleporter.
However, if you want to shut the server down when a game ends, that may be more complicated. Doing so would probably require that a specific condition be filled for the game to be counted as over, such as only 1 player left alive, or a timer runs out. I haven't found a plugin for this, but if you're proficient with Java and plugin development it's possible to make your own.
You may also want to reset the world when the game is over to prepare for a new match. I recommend WorldReset to automatically restore from a backup.
Pictures about "Minecraft server time to the end of the system"



Are Minecraft servers endless?
Minecraft is a game that has endless possibilities, and, since you are not solely limited to your own Minecraft island, there are countless amounts of player-created servers, including Minecraft survival servers, for you to check out.What is Max tick time Minecraft?
Java EditionKeyTypeDefault Valuemax-tick-timeinteger (0\u2013(2^63 - 1))60000max-world-sizeinteger (1-29999984)29999984motdstringA Minecraft Servernetwork-compression-thresholdinteger25645 more rowsHow do I change the time on my Minecraft server?
How to Change the Time on your Minecraft ServerDoes time pass on a Minecraft server when not playing?
Time in the sense of day/night cycle and weather passes while no one is on, however in all other senses time doesn't pass in a given chunk unless a player is online and nearby enough (although for a small set of chunks near the default spawn, "nearby enough" is anywhere in the Overworld).Minecraft Server Error: Can’t Keep Up
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Brett Sayles, FOX, Erik Mclean, Erik Mclean