11 Commits
Author SHA1 Message Date
jakob48 23e94d4824 update 1.1.1 2026-10-09 11:16:02 +02:00
jakob48 ba6f4c2ff1 README.md aktualisiert 2026-10-09 10:55:22 +02:00
jakob48 85db4d623b Merge pull request 'Update 1.1.1' (#1) from update-1.1.1 into main
Reviewed-on: #1
2026-10-09 09:29:41 +02:00
jakob48 a3974d309f translate config.yml 2026-10-09 09:29:25 +02:00
jakob48 6a79ea0c11 src/main/resources/plugin.yml aktualisiert 2026-10-09 09:20:54 +02:00
jakob48 ed68b936cb README.md aktualisiert 2026-10-09 09:03:02 +02:00
jakob48 e168e25d91 README.md aktualisiert 2026-09-29 19:16:23 +02:00
jakob48 61a3c2592c README.md aktualisiert 2026-09-29 19:14:56 +02:00
jakob48 f7d7cfb202 readme translate 2026-09-29 19:05:00 +02:00
jakob48 e5a62be219 Aktualisieren von README.md 2025-12-21 13:51:43 +01:00
jakob48 a3d2288269 Clean up pom.xml by removing unnecessary comments
Removed comments for compiler and shade plugins.
2025-11-27 08:31:02 +01:00
4 changed files with 85 additions and 19 deletions
+69
View File
@@ -1,9 +1,78 @@
![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!"
```
+1 -4
View File
@@ -8,7 +8,7 @@
<groupId>de.jakob48</groupId>
<artifactId>restartcountdown</artifactId>
<version>1.1</version>
<version>1.1.1</version>
<packaging>jar</packaging>
<properties>
@@ -38,7 +38,6 @@
<build>
<plugins>
<!-- Compiler Plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
@@ -48,8 +47,6 @@
<target>${java.version}</target>
</configuration>
</plugin>
<!-- Shade Plugin, optional für fertiges JAR -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
+14 -14
View File
@@ -1,17 +1,17 @@
messages:
start: "§aAchtung! Der Server wird in %time% neu gestartet!"
stop: "§cCountdown wurde gestoppt!"
restart: "§cServer wird jetzt neu gestartet!"
invalid_time: "§cUngültige Zeitangabe!"
usage: "§cVerwendung: /restartserver <Zeit> oder /restartserver stop"
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"
# Dynamische Meldungen
half: "§eServerneustart in %time%!"
minute: "§eServerneustart in %time%!"
seconds_20: "§eServerneustart in 20s!"
seconds_final: "§cServerneustart in %time% Sekunden!"
# dynamic alerts
half: "§eRestart in %time%!"
minute: "§eRestart in %time%!"
seconds_20: "§eRestart in 20s!"
seconds_final: "§cThe Server is restarting in %time% seconds!"
# Feste Meldungen
fixed_1200: "§eServerneustart in 20m!"
fixed_600: "§eServerneustart in 10m!"
fixed_300: "§eServerneustart in 5m!"
# fixed alerts
fixed_1200: "§eRestart in 20m!"
fixed_600: "§eRestart in 10m!"
fixed_300: "§eRestart in 5m!"
+1 -1
View File
@@ -1,5 +1,5 @@
name: RestartCountdown
version: 1.1
version: 1.1.1
main: de.jakob48.restartcountdown
api-version: 1.20
commands: