▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/First Light
First Light

First Light

Stops the server when the last man standing quits.

241
3

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

Совместимость

Minecraft: Java Edition

1.19.x1.18.x1.17.x1.16.x1.15.x

Платформы

Поддерживаемые окружения

Сервер

Создатели

Детали

Лицензия:GPL-3.0-only
Опубликован:2 года назад
Обновлён:2 года назад
Главная