Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
First Light

First Light

Stops the server when the last man standing quits.

180
3
Optimization

Compatibility

Minecraft: Java Edition

1.19.x
1.18.x
1.17.x
1.16.x
1.15.x

Platforms

Paper
Spigot

Supported environments

Server-side

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

Report issues View source
Sponsor on GitHub

Creators

Nato Boram
Nato Boram Owner

Details

Licensed GPL-3.0-only
Published 2 years ago
Updated 2 years ago
DescriptionChangelogVersions

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

Modrinth is open source.

app-ads@1633f40

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.