diff options
author | Tyler Murphy <tylermurphy534@gmail.com> | 2022-08-09 13:43:20 -0400 |
---|---|---|
committer | Tyler Murphy <tylermurphy534@gmail.com> | 2022-08-09 13:43:20 -0400 |
commit | d64dce4a26b69d202f9d2943da8da0d3bc9ddad2 (patch) | |
tree | 23cef1d812fa41c2185e8ce86b9d176cd950de0b /src/main/java/net/tylermurphy/hideAndSeek/configuration | |
parent | Merge pull request #72 from tylermurphy534/1.6.0 (diff) | |
download | kenshinshideandseek-d64dce4a26b69d202f9d2943da8da0d3bc9ddad2.tar.gz kenshinshideandseek-d64dce4a26b69d202f9d2943da8da0d3bc9ddad2.tar.bz2 kenshinshideandseek-d64dce4a26b69d202f9d2943da8da0d3bc9ddad2.zip |
block solidify time, seeker lobby
Diffstat (limited to 'src/main/java/net/tylermurphy/hideAndSeek/configuration')
-rw-r--r-- | src/main/java/net/tylermurphy/hideAndSeek/configuration/Config.java | 14 |
1 files changed, 13 insertions, 1 deletions
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"); |