-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
129 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
# RestartPlugin | ||
|
||
Restart notifications just like the minecraft server 2b2t | ||
|
||
Completely configurable messages | ||
|
||
``` | ||
# 2b2t restart plugin | ||
# Minecraft restart notifications plugin by moo | ||
# Time to where the server will call a restart | ||
Timezone: "America/New_York" | ||
#Time | ||
# 2:00 AM EST | ||
# THIS IS IN 24 HOUR TIME | ||
Hour: 2 | ||
Minute: 0 | ||
Seconds: 0 | ||
RestartTimes: | ||
- "2:00:00" # 2AM EST | ||
# - "14:00:00" #2PM EST | ||
string: "&e[SERVER] Server restarting in" | ||
# %timeword% is the minute/seconds/second string. | ||
# %time% is the number, ex: 15/10/5/2 | ||
string: "&e[SERVER] Server restarting in %time% %timeword%" | ||
finalstring: "&e[SERVER] Server restarting..." | ||
minutestring: " minutes..." | ||
secondsstring: " seconds..." | ||
secondstring: " second..." | ||
minutestring: "minutes..." | ||
secondsstring: "seconds..." | ||
secondstring: "second..." | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,58 +1,74 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns="http://maven.apache.org/POM/4.0.0" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>me.moomoo</groupId> | ||
<artifactId>RestartPlugin</artifactId> | ||
<version>1.1</version> | ||
<packaging>jar</packaging> | ||
<groupId>me.moomoo</groupId> | ||
<artifactId>RestartPlugin</artifactId> | ||
<version>2.0</version> | ||
<packaging>jar</packaging> | ||
|
||
<name>RestartPlugin</name> | ||
<name>RestartPlugin</name> | ||
|
||
<properties> | ||
<java.version>1.8</java.version> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
</properties> | ||
<properties> | ||
<java.version>1.8</java.version> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
</properties> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>3.8.1</version> | ||
<configuration> | ||
<source>${java.version}</source> | ||
<target>${java.version}</target> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-shade-plugin</artifactId> | ||
<version>3.2.4</version> | ||
<executions> | ||
<execution> | ||
<phase>package</phase> | ||
<goals> | ||
<goal>shade</goal> | ||
</goals> | ||
<configuration> | ||
<createDependencyReducedPom>false</createDependencyReducedPom> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
<resources> | ||
<resource> | ||
<directory>src/main/resources</directory> | ||
<filtering>true</filtering> | ||
</resource> | ||
</resources> | ||
</build> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>3.8.1</version> | ||
<configuration> | ||
<source>${java.version}</source> | ||
<target>${java.version}</target> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-shade-plugin</artifactId> | ||
<version>3.2.4</version> | ||
<executions> | ||
<execution> | ||
<phase>package</phase> | ||
<goals> | ||
<goal>shade</goal> | ||
</goals> | ||
<configuration> | ||
<createDependencyReducedPom>false</createDependencyReducedPom> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
<resources> | ||
<resource> | ||
<directory>src/main/resources</directory> | ||
<filtering>true</filtering> | ||
</resource> | ||
</resources> | ||
</build> | ||
|
||
<repositories><repository><id>papermc-repo</id><url>https://papermc.io/repo/repository/maven-public/</url></repository><repository><id>sonatype</id><url>https://oss.sonatype.org/content/groups/public/</url></repository></repositories> | ||
<repositories> | ||
<repository> | ||
<id>papermc-repo</id> | ||
<url>https://papermc.io/repo/repository/maven-public/</url> | ||
</repository> | ||
<repository> | ||
<id>sonatype</id> | ||
<url>https://oss.sonatype.org/content/groups/public/</url> | ||
</repository> | ||
</repositories> | ||
|
||
<dependencies><dependency><groupId>com.destroystokyo.paper</groupId><artifactId>paper-api</artifactId><version>1.12.2-R0.1-SNAPSHOT</version><scope>provided</scope></dependency></dependencies> | ||
<dependencies> | ||
<dependency> | ||
<groupId>com.destroystokyo.paper</groupId> | ||
<artifactId>paper-api</artifactId> | ||
<version>1.12.2-R0.1-SNAPSHOT</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
</dependencies> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,15 @@ | ||
# 2b2t restart plugin | ||
|
||
# Minecraft restart notifications plugin by moo | ||
# Time to where the server will call a restart | ||
Timezone: "America/New_York" | ||
#Time | ||
# 2:00 AM EST | ||
# THIS IS IN 24 HOUR TIME | ||
Hour: 2 | ||
Minute: 0 | ||
Seconds: 0 | ||
RestartTimes: | ||
- "2:00:00" # 2AM EST | ||
# - "14:00:00" #2PM EST | ||
|
||
string: "&e[SERVER] Server restarting in" | ||
# %timeword% is the minute/seconds/second string. | ||
# %time% is the number, ex: 15/10/5/2 | ||
string: "&e[SERVER] Server restarting in %time% %timeword%" | ||
finalstring: "&e[SERVER] Server restarting..." | ||
minutestring: " minutes..." | ||
secondsstring: " seconds..." | ||
secondstring: " second..." | ||
minutestring: "minutes..." | ||
secondsstring: "seconds..." | ||
secondstring: "second..." |