Skip to content

Commit 5ed2b52

Browse files
committed
Version 1.6
1 parent ef8aaac commit 5ed2b52

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>net.moddedminecraft</groupId>
55
<artifactId>MMCReboot</artifactId>
6-
<version>1.5-API-${api}</version>
6+
<version>1.6-API-${api}</version>
77
<name>MMCReboot</name>
88
<description>
99
Restart plugin for sponge to allow server restart timers, countdowns and votes.

src/main/java/net/moddedminecraft/mmcreboot/Config.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public void configCheck() throws IOException, ObjectMappingException {
7979
playSoundEnabled = check(config.getNode("timer", "notifications", "playsound"), true, "Should a sound be played when a restart broadcast is sent?").getBoolean();
8080
titleEnabled = check(config.getNode("timer", "notifications", "title", "enabled"), true, "Should a title message pop up in the middle of the screen").getBoolean();
8181
titleStayTime = check(config.getNode("timer", "notifications", "title", "staytime"), 2, "How long should the title message show up for before disappearing? (in seconds)").getInt();
82-
titleMessage = check(config.getNode("timer", "notifications", "title", "message"), "The server will be restarting in {minutes}:{seconds}", "The title message to be displayed").getString();
82+
titleMessage = check(config.getNode("timer", "notifications", "title", "message"), "The server will be restarting in {minutes}:{seconds}", "The title message to be displayed ({hours},{minutes},{seconds} will be replaced").getString();
8383

8484
voteEnabled = check(config.getNode("voting", "enabled"), true, "Enable or Disable the ability for players to vote for a server restart").getBoolean();
8585

src/main/java/net/moddedminecraft/mmcreboot/Main.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
import java.util.TimerTask;
4141
import java.util.concurrent.TimeUnit;
4242

43-
@Plugin(id = "mmcreboot", name = "MMCReboot", version = "1.5", authors = {"Leelawd93"})
43+
@Plugin(id = "mmcreboot", name = "MMCReboot", version = "1.6", authors = {"Leelawd93"})
4444
public class Main {
4545

4646
@Inject
@@ -134,7 +134,7 @@ public void onPluginReload(GameReloadEvent event) throws IOException, ObjectMapp
134134
cancelTasks();
135135
removeScoreboard();
136136
isRestarting = false;
137-
137+
138138
this.config = new Config(this);
139139

140140
if(Config.restartEnabled) {

0 commit comments

Comments
 (0)