Compare commits
11
Commits
release1.1
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
23e94d4824 | ||
|
|
ba6f4c2ff1 | ||
|
|
85db4d623b | ||
|
|
a3974d309f | ||
|
|
6a79ea0c11 | ||
|
|
ed68b936cb | ||
|
|
e168e25d91 | ||
|
|
61a3c2592c | ||
|
|
f7d7cfb202 | ||
|
|
e5a62be219 | ||
|
|
a3d2288269 |
@@ -1,9 +1,78 @@
|
|||||||
|
 
|
||||||
|
# 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
|
# RestartCountdownPlugin
|
||||||
|
|
||||||
Ein simples Minecraft Plugin welches den Server nach einem Countdown neustartet um alle Spieler zu warnen.
|
Ein simples Minecraft Plugin welches den Server nach einem Countdown neustartet um alle Spieler zu warnen.
|
||||||
Gemacht für Paper Server
|
Gemacht für Paper Server
|
||||||
|
|
||||||
|
Download auf Modrinth:
|
||||||
|
https://modrinth.com/plugin/restartcountdown
|
||||||
|
|
||||||
## Verwendung
|
## Verwendung
|
||||||
|
|
||||||
Mit "/restartserver 20s" startest du z.B. ein Countdown mit 20 Sekunden. Minuten mit "/restartserver 10m" gehen auch.
|
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.
|
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!"
|
||||||
|
```
|
||||||
@@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
<groupId>de.jakob48</groupId>
|
<groupId>de.jakob48</groupId>
|
||||||
<artifactId>restartcountdown</artifactId>
|
<artifactId>restartcountdown</artifactId>
|
||||||
<version>1.1</version>
|
<version>1.1.1</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
@@ -38,7 +38,6 @@
|
|||||||
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<!-- Compiler Plugin -->
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
@@ -48,8 +47,6 @@
|
|||||||
<target>${java.version}</target>
|
<target>${java.version}</target>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
<!-- Shade Plugin, optional für fertiges JAR -->
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-shade-plugin</artifactId>
|
<artifactId>maven-shade-plugin</artifactId>
|
||||||
|
|||||||
@@ -1,17 +1,17 @@
|
|||||||
messages:
|
messages:
|
||||||
start: "§aAchtung! Der Server wird in %time% neu gestartet!"
|
start: "§aAttention! The Server is restarting in %time%"
|
||||||
stop: "§cCountdown wurde gestoppt!"
|
stop: "§cCountdown stopped"
|
||||||
restart: "§cServer wird jetzt neu gestartet!"
|
restart: "§cServer is restarting now!"
|
||||||
invalid_time: "§cUngültige Zeitangabe!"
|
invalid_time: "§cInvalid time!"
|
||||||
usage: "§cVerwendung: /restartserver <Zeit> oder /restartserver stop"
|
usage: "§cUsage: /restartserver <time> or /restartserver stop"
|
||||||
|
|
||||||
# Dynamische Meldungen
|
# dynamic alerts
|
||||||
half: "§eServerneustart in %time%!"
|
half: "§eRestart in %time%!"
|
||||||
minute: "§eServerneustart in %time%!"
|
minute: "§eRestart in %time%!"
|
||||||
seconds_20: "§eServerneustart in 20s!"
|
seconds_20: "§eRestart in 20s!"
|
||||||
seconds_final: "§cServerneustart in %time% Sekunden!"
|
seconds_final: "§cThe Server is restarting in %time% seconds!"
|
||||||
|
|
||||||
# Feste Meldungen
|
# fixed alerts
|
||||||
fixed_1200: "§eServerneustart in 20m!"
|
fixed_1200: "§eRestart in 20m!"
|
||||||
fixed_600: "§eServerneustart in 10m!"
|
fixed_600: "§eRestart in 10m!"
|
||||||
fixed_300: "§eServerneustart in 5m!"
|
fixed_300: "§eRestart in 5m!"
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
name: RestartCountdown
|
name: RestartCountdown
|
||||||
version: 1.1
|
version: 1.1.1
|
||||||
main: de.jakob48.restartcountdown
|
main: de.jakob48.restartcountdown
|
||||||
api-version: 1.20
|
api-version: 1.20
|
||||||
commands:
|
commands:
|
||||||
|
|||||||
Reference in New Issue
Block a user