From 4e4af590c3f886692be0753f9dcafd1cda15319e Mon Sep 17 00:00:00 2001 From: LlmDl Date: Thu, 13 Oct 2022 14:14:12 -0500 Subject: [PATCH] - Fix allowedMove edge case, courtesy of Warriorrrr with PR #6228. - Make unkickable ranks configurable, courtesy of Warriorrrr with PR #6226. - New config option: global_town_settings.unkickable_ranks - Default value: assistant - List of ranks (separated by a comma) that will prevent a player from being kicked from a town. - Use toLowerCase(Locale.ROOT) in TownySettings, courtesy of Warriorrrr with PR #6227. - Hide tax component on status screens if taxes are off, courtesy of Warriorrrr with PR #6221. - Change border smoke color based on affiliation, courtesy of Warriorrrr with PR #6219. - Allow for all nation spawn and town spawn types to have individual spawn cooldowns. - Your previous global_town_settings.spawn_cooldown_time setting will be migrated to the new settings. - Closes #6224. - New Config Nodes: - global_town_settings.spawning_cooldowns.town_spawn_cooldown_time - Default: 30 - Number of seconds that must pass before a player can use /t spawn or /res spawn. - global_town_settings.spawning_cooldowns.outpost_cooldown_time - Default: 30 - Number of seconds that must pass before a player can use /t outpost. - global_town_settings.spawning_cooldowns.nation_member_town_spawn_cooldown_time - Default: 30 - Number of seconds that must pass before a player of the same nation can use /t spawn. - global_town_settings.spawning_cooldowns.nation_ally_town_spawn_cooldown_time - Default: 30 - Number of seconds that must pass before a player in an allied nation can use /t spawn. - global_town_settings.spawning_cooldowns.unaffiliated_town_spawn_cooldown_time - Default: 30 - Number of seconds that must pass before a player who is not a member or ally of town can use /t spawn. - global_nation_settings.spawning_cooldowns.nation_member_nation_spawn_cooldown_time - Default: 30 - Number of seconds that must pass before a player of the same nation can use /n spawn. - global_nation_settings.spawning_cooldowns.nation_ally_nation_spawn_cooldown_time - Default: 30 - Number of seconds that must pass before a player allied with the nation can use /n spawn. - global_nation_settings.spawning_cooldowns.unaffiliated_nation_spawn_cooldown_time - Default: 30 - Number of seconds that must pass before a player who is not a member or ally can use /n spawn. - Removed Config Option: global_town_settings.spawn_cooldown_time --- resources/ChangeLog.txt | 39 ++++++++++++++++++- .../bukkit/towny/object/CellBorder.java | 1 + 2 files changed, 39 insertions(+), 1 deletion(-) diff --git a/resources/ChangeLog.txt b/resources/ChangeLog.txt index c599239854..a45514faaa 100644 --- a/resources/ChangeLog.txt +++ b/resources/ChangeLog.txt @@ -7880,4 +7880,41 @@ v0.92.0.11: - API: Add TownBlockExplosionTestEvent, courtesy of galacticwarrior9 with PR #6204. - Closes #5970. - Fix potential NPE in TownyPlaceholderExpansion. - - Fix TOWNYADMIN_TOWN and TOWNYADMIN_NATION addon CommandTypes having their town and nation args removed. \ No newline at end of file + - Fix TOWNYADMIN_TOWN and TOWNYADMIN_NATION addon CommandTypes having their town and nation args removed. + - Fix allowedMove edge case, courtesy of Warriorrrr with PR #6228. + - Make unkickable ranks configurable, courtesy of Warriorrrr with PR #6226. + - New config option: global_town_settings.unkickable_ranks + - Default value: assistant + - List of ranks (separated by a comma) that will prevent a player from being kicked from a town. + - Use toLowerCase(Locale.ROOT) in TownySettings, courtesy of Warriorrrr with PR #6227. + - Hide tax component on status screens if taxes are off, courtesy of Warriorrrr with PR #6221. + - Change border smoke color based on affiliation, courtesy of Warriorrrr with PR #6219. + - Allow for all nation spawn and town spawn types to have individual spawn cooldowns. + - Your previous global_town_settings.spawn_cooldown_time setting will be migrated to the new settings. + - Closes #6224. + - New Config Nodes: + - global_town_settings.spawning_cooldowns.town_spawn_cooldown_time + - Default: 30 + - Number of seconds that must pass before a player can use /t spawn or /res spawn. + - global_town_settings.spawning_cooldowns.outpost_cooldown_time + - Default: 30 + - Number of seconds that must pass before a player can use /t outpost. + - global_town_settings.spawning_cooldowns.nation_member_town_spawn_cooldown_time + - Default: 30 + - Number of seconds that must pass before a player of the same nation can use /t spawn. + - global_town_settings.spawning_cooldowns.nation_ally_town_spawn_cooldown_time + - Default: 30 + - Number of seconds that must pass before a player in an allied nation can use /t spawn. + - global_town_settings.spawning_cooldowns.unaffiliated_town_spawn_cooldown_time + - Default: 30 + - Number of seconds that must pass before a player who is not a member or ally of town can use /t spawn. + - global_nation_settings.spawning_cooldowns.nation_member_nation_spawn_cooldown_time + - Default: 30 + - Number of seconds that must pass before a player of the same nation can use /n spawn. + - global_nation_settings.spawning_cooldowns.nation_ally_nation_spawn_cooldown_time + - Default: 30 + - Number of seconds that must pass before a player allied with the nation can use /n spawn. + - global_nation_settings.spawning_cooldowns.unaffiliated_nation_spawn_cooldown_time + - Default: 30 + - Number of seconds that must pass before a player who is not a member or ally can use /n spawn. + - Removed Config Option: global_town_settings.spawn_cooldown_time \ No newline at end of file diff --git a/src/com/palmergames/bukkit/towny/object/CellBorder.java b/src/com/palmergames/bukkit/towny/object/CellBorder.java index 5eb712bcfa..f7e9d68961 100644 --- a/src/com/palmergames/bukkit/towny/object/CellBorder.java +++ b/src/com/palmergames/bukkit/towny/object/CellBorder.java @@ -8,6 +8,7 @@ import java.util.Arrays; import java.util.function.Consumer; +@SuppressWarnings("deprecation") public class CellBorder extends WorldCoord { public boolean[] border;