First Light

First Light

Plugin

Stops the server when the last man standing quits.

Server Optimization

99 downloads
3 followers
Createda year ago
Updateda year ago

Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

First Light

pipeline status StackShare bStats Servers

If you run a server on your personal computer, you might notice sometimes that the server crashes and rolls back to a few hours before. The people on your server might be a little upset. In fact, if you let your server run for too long without shutting it down, it will crash, and that's sad for everyone.

This plugin will shutdown the server when the last man standing on the server quits and will set the time to 0 so the next people to come on the server will come in the morning.

Features

  • Shutdown the server
  • Set the time to 0

Before using this plugin, I recommend using a loop to start your server as it will shutdown frequently.

Windows

@echo off
:x
	cls
	ping 127.0.0.1 > nul
	java -Xmx3G -d64 -jar spigot.jar nogui
goto x

Linux

#!/bin/bash
while :
do
	clear
	sleep 5
	java -Xmx3G -d64 -jar spigot.jar nogui
done

Dependencies

Windows

Use scoop to install dependencies.

scoop bucket add extras
scoop bucket add java
scoop install maven openjdk vscode

Linux

sudo snap install vscode
sudo apt install default-jdk maven

Build

Open in VSCode then run these commands.

mvn eclipse:eclipse
mvn package

External resources



Project members

Nato Boram

Owner


Technical information

Project ID