From d64dce4a26b69d202f9d2943da8da0d3bc9ddad2 Mon Sep 17 00:00:00 2001 From: Tyler Murphy Date: Tue, 9 Aug 2022 13:43:20 -0400 Subject: block solidify time, seeker lobby --- .../net/tylermurphy/hideAndSeek/configuration/Config.java | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'src/main/java/net/tylermurphy/hideAndSeek/configuration') diff --git a/src/main/java/net/tylermurphy/hideAndSeek/configuration/Config.java b/src/main/java/net/tylermurphy/hideAndSeek/configuration/Config.java index 4130ec7..853b6a2 100644 --- a/src/main/java/net/tylermurphy/hideAndSeek/configuration/Config.java +++ b/src/main/java/net/tylermurphy/hideAndSeek/configuration/Config.java @@ -50,6 +50,7 @@ public class Config { gameOverPrefix, warningPrefix, spawnWorld, + seekerLobbyWorld, exitWorld, lobbyWorld, locale, @@ -67,6 +68,7 @@ public class Config { spawnPosition, lobbyPosition, exitPosition, + seekerLobbyPosition, worldBorderPosition; public static boolean @@ -116,7 +118,8 @@ public class Config { lobbyItemLeavePosition, lobbyItemStartPosition, flightToggleItemPosition, - teleportItemPosition; + teleportItemPosition, + solidifyTime; public static float seekerPingLeadingVolume, @@ -184,6 +187,14 @@ public class Config { ); lobbyWorld = config.getString("spawns.lobby.world"); + ///Seeker Lobby + seekerLobbyPosition = new Vector( + config.getDouble("spawns.seeker.x"), + Math.max(Main.getInstance().supports(18) ? -64 : 0, Math.min(255, config.getDouble("spawns.seeker.y"))), + config.getDouble("spawns.seeker.z") + ); + seekerLobbyWorld = config.getString("spawns.seeker.world"); + announceMessagesToNonPlayers = config.getBoolean("announceMessagesToNonPlayers"); exitPosition = new Vector( @@ -304,6 +315,7 @@ public class Config { } } } + solidifyTime = Math.max(20,config.getInt("blockhunt.solidifyTime")); //Leaderboard LOBBY_TITLE = leaderboard.getString("lobby.title"); -- cgit v1.2.3-freya