Files
RestartCountdownPlugin/README.md
T
2026-10-09 10:55:22 +02:00

78 lines
2.2 KiB
Markdown

![Modrinth Downloads](https://img.shields.io/modrinth/dt/mQUTcH2r) ![Modrinth Version](https://img.shields.io/modrinth/v/mQUTcH2r)
# EN
# RestartCountdownPlugin
A simple Minecraft plugin that restarts the server after a countdown to warn all players.
Made for Paper Server.
Plugin can be downloaded from Modrinth:
https://modrinth.com/plugin/restartcountdown
## How to use it
For example, with “/restartserver 20s” you start a countdown with 20 seconds. Minutes are also possible with “/restartserver 10m”.
With “/restartserver stop” you stop the current countdown.
## Configuration
All messages can be customized in config.yml!
``` yaml
messages:
start: "§aAttention! The Server is restarting in %time%"
stop: "§cCountdown stopped"
restart: "§cServer is restarting now!"
invalid_time: "§cInvalid time!"
usage: "§cUsage: /restartserver <time> or /restartserver stop"
# dynamic alerts
half: "§eRestart in %time%!"
minute: "§eRestart in %time%!"
seconds_20: "§eRestart in 20s!"
seconds_final: "§cThe Server is restarting in %time% seconds!"
# fixed alerts
fixed_1200: "§eRestart in 20m!"
fixed_600: "§eRestart in 10m!"
fixed_300: "§eRestart in 5m!"
```
# DE
# RestartCountdownPlugin
Ein simples Minecraft Plugin welches den Server nach einem Countdown neustartet um alle Spieler zu warnen.
Gemacht für Paper Server
Download auf Modrinth:
https://modrinth.com/plugin/restartcountdown
## Verwendung
Mit "/restartserver 20s" startest du z.B. ein Countdown mit 20 Sekunden. Minuten mit "/restartserver 10m" gehen auch.
Mit "/restartserver stop", stoppst du den aktuellen Countdown.
# Konfiguration
Alle Nachrichten sind in der config.yml anpassbar!
``` yaml
messages:
start: "§aAttention! The Server is restarting in %time%"
stop: "§cCountdown stopped"
restart: "§cServer is restarting now!"
invalid_time: "§cInvalid time!"
usage: "§cUsage: /restartserver <time> or /restartserver stop"
# dynamic alerts
half: "§eRestart in %time%!"
minute: "§eRestart in %time%!"
seconds_20: "§eRestart in 20s!"
seconds_final: "§cThe Server is restarting in %time% seconds!"
# fixed alerts
fixed_1200: "§eRestart in 20m!"
fixed_600: "§eRestart in 10m!"
fixed_300: "§eRestart in 5m!"
```