Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: Update dependency com.github.TownyAdvanced:Towny to v0.97.3.0 #1433

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 22, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.github.TownyAdvanced:Towny 0.97.2.15 -> 0.97.3.0 age adoption passing confidence

Release Notes

TownyAdvanced/Towny

v0.97.3.0

Compare Source

Towny Advanced 0.97.3.0

##### Release contains: Towny 0.97.3.0 TownyChat 0.91

Welcome to Towny 0.97.3.0.
Towny 0.97.3.0 is the fourth release in the 0.97.*.* series. This release adds some minor features, a hefty amount of polish and as ever: important fixes you want to have on your server today.
This release also marks the removal of the last of the war code, both FlagWar and EventWar are available as separate plugins now! When you add in SiegeWar there's going to be at least one which will satisfy your server's hunger for fights.
This is a drag-and-drop update: just replace your old .jars with the new ones and Towny will take care of the rest of the update by itself.
➕ Added (31)
#### ➕ Added:
  • Add ability to override a town's NationZone, using /ta set nationzoneoverride [town] [size]
  • Add option to prevent a nation's capital city from being neutral.
  • Make nationzones toggle-able per town, using /t toggle nationzone.
  • Add spawn protection for players who've just died.
  • Add nation's capital to the nation status screen.
  • Add nation join date to a town's status screen in the nation hover section.
  • Add town join date to a resident's status screen in the town hover section.
  • Add nation zone size to nation and town status screens.
  • Add hover to the capital on the nation status screen.
  • Add protection for glow berries being harvested off cave vines, treated as a destroy test.
  • Clean up TownyMessaging class.
  • Blank capital prefixes and postfixes will no longer override a town's normal prefix and postfix.
  • Blank king prefixes and postfixes will no longer override a mayor's normal prefix and postfix.
  • Add closed_economy_enabled bstats chart.
  • Update Account CachedBalances when we're get the account holding balance.
  • Made invites/confirmation messages translate to player locales in more places.
  • Add a size limit for the town_block_ratio option, courtesy of Warriorrrr with PR #​5326.
    • See in New Config Options section below: town.town_block_limit
  • Use server provided gson instead of shading our own, courtesy of Warriorrrr with PR #​5347.
  • Tidy & rename /ta delete, courtesy of Warriorrrr with PR #​5351.
  • Enhance the /res list command, courtesy of Warriorrrr with PR #​5350.
  • Limit the amount of changelog lines printed to 100, courtesy of Warriorrrr with PR #​5352.
  • Cache builds & fix up labeler & update to Java 17, courtesy of Warriorrrr with PR #​5394.
  • Make the outsiders prevent pvp toggle apply to plots, courtesy of Warriorrrr with PR #​5455.
  • Show online status for console when running /res, courtesy of Warriorrrr with PR #​5457.
  • Improve startup logging/initialization, courtesy of @​Articdive & @​LlmDl with PR #​5299.
  • Fix Citizens NPCs causing error on PlayerTeleportEvent, courtesy of Articdive with PR #​5319.
  • Remove old Outpost checking code and references to Articdive which were not spelled correct, courtesy of Articdive with PR #​5324.
  • Use Java NIO instead of File, courtesy of Articdive with PR #​5316.
  • Update Toolchain, Test multiple Java Versions, and Use SDKMAN for JitPack configuration, courtesy of @​TheFlagCourier with PR #​5386.
  • Implemented town and nation baltops, courtesy of Glare with #​5428.
    • Adds commands to see who is the richest players in a town or nation: /t baltop {townname} and /n baltop {nationname}.
    • Opens as a book for the player.

❌ Removed (4)
#### ❌ Removed:
  • Remove the GatherResidentUUIDTask.
  • Remove one-way nation alliances.
    • This setting pre-dated the Invite system added many years ago.
    • Nations will no longer be able to ally another nation unless the other nation accepts their invite to ally.
  • Remove TownBlock, TownyWorld and TownyUniverse warzone methods.
    • No longer used by FlagWar.
  • Purge EventWar from Towny codebase.
    • Look for a new plugin EventWar, currently in closed-beta for Sponsors.

➕ Automatic Config Edits (0)
#### ➕ Towny will automatically edit the following settings in your config and existing worlds - None
✨ Command Changes (10)
✨ New Commands (7) #### ✨ New Commands: - `/ta set nationzoneoverride [town] [size]` - Sets a town's nationzone override. - `/ta resident {residentname} delete` - Deletes a resident. - `/nation baltop {nationame}` - Opens a book displaying the richest players in a nation. - `/town baltop {townname}` - Opens a book displaying the richest players in a town. - `/town allylist {townname}` - Show allies of a town. - `/town enemylist {townname}` - Show enemies of a town. - `/town toggle nationzone` - Turns on and off the nationzone of a town (if they have one.)
❌ Removed Commands (3) #### ❌ Removed Commands: - /ta delete {residentname} - /towny war - /ta toggle war

📕 Config Changes (6)
📕 New Config Options (5) #### 📕 New Config Options: ##### These new settings will be added to your config with their default settings. - global_town_settings.respawn_protection - Default: 10s - When greater than 0s, the amount of time a player who has respawned is considered invulnerable. - Invulnerable players who attacker other players will lose their invulnerability. - Invulnerable players who teleport after respawn will also lose their invulnerability. - global_town_settings.keep_inventory_on_death_in_arena - Default: false - If People should keep their inventories on death in an arena townblock. Is not guaranteed to work with other keep inventory plugins! - global_nation_settings.capitals_cannot_be_neutral - Default: false - If true the capital city of nation cannot be neutral/peaceful. - town.town_block_limit - Default: 0 - The maximimum amount of townblocks a town can have, if town_block_ratio is 0 the max size will be decided by the town_levels. - Set to 0 to have no size limit. - economy.daily_taxes.nation_perplot_upkeep - Default: false - Uses the total number of plots which a nation has across all of its towns to determine upkeep instead of nation_pertown_upkeep and instead of nation level (number of residents.) - Calculated by (price_nation_upkeep X number of plots owned by the nation's towns.)
❌ Removed Config Options (1) #### ❌ Removed Config Options: - Entire war section has been removed.

🔑 Permission Node Changes (3)
🔑 New Permission Nodes (3) #### 🔑 New Permission Nodes: **No change required in townyperms.yml.**
  • towny.command.townyadmin.set.nationzoneoverride
    • Child node of towny.command.townyadmin.set.*
  • towny.command.town.toggle.nationzone.
    • Child node of towny.command.town.toggle.*
    • No changes required in townyperms.yml.
  • towny.townless
    • Given to players who do not have a town.

❌ Removed Permission Nodes (0) #### ❌ Removed Permission Nodes: - none

💻 API Changes (31)
#### 💻 API: - TownToggleNationZoneEvent. - Cancellable event. - DeathPriceEvents - NationPaysDeathPriceEvent - PlayerPaysDeathPriceEvent - TownPaysDeathPriceEvent - Make it possible for other plugins to manipulate the prices taken from players, towns and nations when someone dies. - Town ally/enemy events. - Cancellable events thrown when towns have allies or enemies added/removed. - TownAddAlliedTownEvent - TownAddEnemiedTownEvent - TownRemoveAlliedTownEvent - TownRemoveEnemiedTownEvent - Add ally and enemy lists to Towns. - Accessible via the API only. For plugins which want to make towns war against each other. - Closes #​3476. - Add Government#hasActiveWar. - A non-persistant Town and Nation flag, which other plugins can use to tell Towny a town or nation is considered at war. - Used to make various functions accomodate war, such as NationZones disabling during war, spawning only being to be used during peace/war. - PlayerCacheGetTownBlockStatusEvent. - An event which allows another plugin to dictate what TownBlockStatus will be applied to a player's cache. - TownyAPI#isPVP(Location). - Simple method to ask Towny if PVP is enabled at the location. - Add ability to add translation strings apart from the LoadTranslationEvent. - Make Confirmation commands configurable through the API. - Made Confirmations able to take on a custom plugin prefix, so that it can be used to run non-Towny commands. - Expand MetaDataUtil methods to include hasMeta and addNewMeta methods. - Add TownyAPI#getTownBlock(Player).
  • Add new PlotChangeOwnerEvents, courtesy of Warriorrr and LlmDl with PR #​5418.
    • PlotPreClaimEvent
    • PlotClaimEvent
    • PlotPreUnclaimEvent
    • PlotUnclaimEvent
  • Add events for when a town/nation spawn is set, courtesy of Warriorrrr with PR #​5432.
    • TownSetSpawnEvent
    • NationSetSpawnEvent
  • Add TabCompleter support for addon commands, courtesy of Warriorrrr with PR #​5403.
  • Add a TownBlock getter to PlotToggle events, courtesy of Warriorrrr with PR #​5434.
  • New API events courtesy of @​emanondev with PR #​5363. (First-Time Contributor!)
    • BonusBlockPurchaseCostCalculationEvent
      • Used to modify what towns pay when using /t buy bonus.
    • TownBlockClaimCostCalculationEvent
      • Used to modify what towns pay when using /t claim.
  • New API to CombatUtil, courtesy of @​galacticwarrior9 with PR #​5446. (First-Time Contributor!)
    • CombatUtil#isAlly(Resident, Resident)
    • CombatUtil#isEnemy(Resident, Resident)

🔧 Fixed (58)
#### 🔧 Fixed:
  • Fix resident/town counts being shown on the status screens when "and more..." was being used on long lists.
  • Lists of TownyObjects (resident lists, town lists, nation lists) will no longer use their longer formatted names if the list is over 19.
  • Fix Status Screen components' hovering bleeding over into blank spaces further along the line.
  • Fix TownAddResidentEvent firing on database loads.
  • Fix plot groups causing an NPE when putting a town into a ruined state.
  • Fix PlayerCacheUtil not choosing an Outsider TownBlockStatus.
  • Fix no feedback message when a town tries to purchase more bonus blocks, when they are already at max.
  • Tidy up PlayerCacheUtil.
  • Fix missing splitter between Nation bank and upkeep on the nation status screen.
  • Change PlayerCacheUtil to once again check for a fakeplayer resident.
  • Fix PlayerCacheUtil preventing plot permissions from working properly.
  • Fix missing command feedback on many /tw toggle commands.
  • Fix Global messages stripping their colour.
  • Fix automatic renaming of invalid and duplicate town and nation names failing some of the time.
  • Fix EventWar not handling the OutlawTeleportEvent.
  • Fix welcome message only being seen by the newly joined player.
  • Fix global messages that lost their Towny prefix.
  • Fix updating reference lang files, an issue on select operating systems.
  • Fix appearance of the overclaimed upkeep line in the town status screen.
  • Make it so that turning Towny off in a world will shut down any active revert-on-unclaim actions.
  • Make Confirmations show the correct timeout time.
  • Make Cancelled confirmations only show the default cancel message when there's no onCancel runnable.
  • Fix name changes charging money for names which won't pass a later test.
  • Make nation's names behave according the Capitalize Names config setting which only affect towns.
  • Make towns set their world when it is null, when we set the homeblock.
  • Fix support for Reserve and an NPE when trying to deposit money into a town bank.
  • Fix loading order of databaseconfig and config, fixing the config's database section conversion.
  • Fix towny.claimed.townowned.* node not being tested for.
  • Make /t reslist {townname} usable by the console.
  • Make the plugin.name_blacklist apply to the town and nation titles and surnames.
  • Fix ConcurrentModificationException in InviteHandler's expired invite search.
  • Fix /towny command not working for console senders in the TownyCommandAddOn API.
  • Fix /ta set capital, /ta set king, /ta nation NAME set commands not working properly.
  • Fix nation zones generating an error if wildernessuse isn't enabled.
  • Fix DeathPriceEvent missing handlers.
  • Fix global messages being stripped of their colours.
  • Fix deleted nations not removing sent/received invites.
  • Fix automatic tag setting picking up -'s and _'s.
  • Fix a nation removing an ally, and that causing the ally to remove the nation as an ally not throwing a NationRemoveAllyEvent.
  • Fix NationRemoveAllyEvent constructor.
  • Fix baltops not using cached balances.
  • Fix Entity Listener paying attention to cancelled events, closes #​5449.
  • Fix /n tabcompleter missing "invite".
  • Make /towny top balance run things async, which should make it easier on servers when there's no cached bank balances to work off of.
  • Prevent spam if a player's locale is invalid, courtesy of Warriorrrr with PR #​5314.
  • Prevent outlaws from being able to join towns, courtesy of Warriorrrr with PR #​5329.
  • Fix backup cleaning not working, courtesy of Warriorrrr with PR #​5337.
  • Fix the /ta plot claimedat command, courtesy of Warriorrrr with PR #​5361.
  • Make the plot change listener more efficient, courtesy of Warriorrrr with PR #​5365.
  • Fix /ta reload all reloading config/lang twice, courtesy of Warriorrrr with PR #​5389.
  • Only compile pushes for master, courtesy of Warriorrrr with PR #​5390.
  • Regression: fix empty strings always being blacklisted, courtesy of Warriorrrr with PR #​5406.
  • Fix variable name in javadoc, courtesy of Warriorrrr with PR #​5419.
  • Fix typo in /n set capital node, courtesy of Warriorrrr with PR #​5435.
  • Fix exception when running /plot claim, courtesy of Warriorrrr with PR #​5448.
  • Fix nation spawns not being cleared when a capital changes, courtesy of Warriorrrr with PR #​5456.
  • Set the nation spawn to the town's spawn on creation, courtesy of Warriorrrr with PR #​5458.
  • Parse baltops asynchronously, courtesy of @​Gamer153 with PR #​5444. (First-Time Contributor!)

🌏 Language Updates (6)
#### 🌏 Language Updates: - New languages: Japanese, Czech, Tagalog, Portuguese, Thai, Bulgarian. - If you'd like to help translating Towny into the available languages or add entirely new languages, [we're on Crowdin!](https://crowdin.com/project/townyadvanced) - Language file to 0.135.
👽 Placeholder Updates (4)
#### 👽 Placeholder Updates: - `%townyadvanced_town_board%` - Displays a player's town's board message. - `%townyadvanced_nation_board%` - Displays a player's nation's board message. - `%townyadvanced_player_location_town_board%` - Displays the board message of the town where the player is stood. - `%townyadvanced_player_location_nation_board%` - Displays the board message of the nation where the player is stood.
💬 TownyChat Changes (2)
#### 💬 TownyChat Changes:

Towny Sponsors

I want to give a big thank you to all of my sponsors:
These are the people that help to make Towny's support and development as active as it is.

MrLoganoMomshroomCobrex1 KarlOfDuty
scatterspellTheFlagCouriergerardvanschipDrprofLuigi
TobzaSmallSansSerifTheNyloxdiontimmer
trevor1097benevolent20120xBit-MCspecs1396
treeDerevoScottlander100ItsSynchroEnvyEnfys
MidnightSugarmzyaxPestoNotPastacatsaretheend
cigamingKeNickGonghonnishaMilesBHuff
pebblehostAkiranyaBamBamTheEggmanNoikzGaming
LordHenryVonHenrynUSAHudsonSolarCivLitning11
Black-TongueSkapMCnickoo9043Tauses
AaronBDesignLeftTheNegotiatorMaluuhLiveanaxios
AguilaDBZectogonixLemuridaeeand 9 private sponsors.

If you want to support the developer, become a sponsor.

(It's just like Patreon but instead 100% of your support goes to the developer.)

Plus there are Sponsor Perks!

Important Links
How Towny WorksTowny Install GuideTowny Update Guide
Complete Changelog Default Config FilesCommands/Permissions
Placeholders
##### ⏬ Download available as a .zip file in the Assets section below:

v0.97.2.18

Compare Source

  • Fix automatic tag setting picking up -'s and _'s.
    • Add new API to CombatUtil, courtesy of galacticwarrior9 with PR #​5446. (First-Time Contributor!)
      • CombatUtil#isAlly(Resident, Resident)
      • CombatUtil#isEnemy(Resident, Resident)
    • Fix a nation removing an ally, and that causing the ally to remove the nation as an ally not throwing a NationRemoveAllyEvent.
    • Fix NationRemoveAllyEvent constructor.
    • Parse baltops asynchronously, courtesy of Gamer153 with PR #​5444. (First-Time Contributor!)
    • Fix baltops not using cached balances.
    • API: Add new PlotChangeOwnerEvents, courtesy of Warriorrr and LlmDl with PR #​5418.
      • PlotPreClaimEvent
      • PlotClaimEvent
      • PlotPreUnclaimEvent
      • PlotUnclaimEvent
    • Bump language file to 0.134.

Cumulative changes since 0.97.2.0
0.97.2.17
  • API: add TownyAPI#getTownBlock(Player).
  • New Config Option: global_town_settings.keep_inventory_on_death_in_arena
    • Default: false
    • If People should keep their inventories on death in an arena townblock. Is not guaranteed to work with other keep inventory plugins!
  • Make deprecated isWarTime() non-static.
  • New language: Bulgarian.
0.97.2.16
  • Bump language file to 0.133.
  • Made invites/confirmation messages translate to player locales in more places.
  • API: Made Confirmations able to take on a custom plugin prefix, so that it can be used to run non-Towny commands.
  • API: Add events for when a town/nation spawn is set, courtesy of Warriorrrr with PR #​5432.
  • Fix typo in /n set capital node, courtesy of Warriorrrr with PR #​5435.
  • API: Add a TownBlock getter to PlotToggle events, courtesy of Warriorrrr with PR #​5434.
0.97.2.15
- Purge EventWar from Towny codebase.
  • Implemented town and nation baltops, courtesy of Glare with #​5428.
    • Adds commands to see who is the richest players in a town or nation.
    • Opens as a book for the player.
  • New Commands:
    • /town baltop {townname}
    • /nation baltop {nationame}
  • Update Account CachedBalances when we're get the account holding balance.
  • Bump language file to 0.132.
0.97.2.14
  • Add ability to add translation strings apart from the LoadTranslationEvent.
  • New Permission Node: towny.townless
    • Given to players who do not have a town.
  • Fix global messages being stripped of their colours.
  • Fix deleted nations not removing sent/received invites.
0.97.2.13
  • API: Add PlayerCacheGetTownBlockStatusEvent.
    • An event which allows another plugin to dictate what TownBlockStatus will be applied to a player's cache.
  • Fix variable name in javadoc, courtesy of Warriorrrr with PR #​5419.
  • Add Government#hasActiveWar.
  • API: add TownyAPI#isPVP(Location).
  • Add closed_economy_enabled bstats chart.
0.97.2.12
  • Add ally and enemy lists to Towns.
    • Accessible via the API only. For plugins which want to make towns war against each other.
    • Closes #​3476.
  • New Command: /t allylist {townname}
    • Show allies of a town.
  • New Command: /t enemylist {townname}
    • Show enemies of a town.
  • API: Town ally/enemy events.
    • Cancellable events thrown when towns have allies or enemies added/removed.
    • TownAddAlliedTownEvent
    • TownAddEnemiedTownEvent
    • TownRemoveAlliedTownEvent
    • TownRemoveEnemiedTownEvent
  • Bump language file to 0.131.
  • Fix DeathPriceEvent missing handlers.
0.97.2.11
  • Fix ConcurrentModificationException in InviteHandler's expired invite search.
  • Fix /towny command not working for console senders in the TownyCommandAddOn API.
  • Add TabCompleter support for addon commands, courtesy of Warriorrrr with PR #​5403.
  • Fix /ta set capital, /ta set king, /ta nation NAME set commands not working properly.
  • Make Confirmation commands configurable through the API.
  • Regression: fix empty strings always being blacklisted, courtesy of Warriorrrr with PR #​5406.
  • Remove one-way nation alliances.
    • This setting pre-dated the Invite system added many years ago.
    • Nations will no longer be able to ally another nation unless the other nation accepts their invite to ally.
  • Remove Config Node: war.disallow_one_way_alliance
  • Remove TownBlock, TownyWorld and TownyUniverse warzone methods.
    • No longer used by FlagWar.
  • API: DeathPriceEvents
    • NationPaysDeathPriceEvent
    • PlayerPaysDeathPriceEvent
    • TownPaysDeathPriceEvent
    • Make it possible for other plugins to manipulate the prices taken from players, towns and nations when someone dies.
  • Fix nation zones generating an error if wildernessuse isn't enabled.
0.97.2.10
  • Cache builds & fix up labeler & update to Java 17, courtesy of Warriorrrr with PR #​5394.
  • Cleanup util classes, couresty of EuGNosii with PR #​5348.
  • Bump language file to 0.130.
  • Fix PlayerCacheUtil not choosing an Outsider TownBlockStatus.
0.97.2.9
  • New languages: Japanese, Czech, Tagalog, Portuguese, Thai.
  • Update Toolchain, Test multiple Java Versions, and Use SDKMAN for JitPack configuration, courtesy of TheFlagCourier with PR #​5386.
  • Fix /ta reload all reloading config/lang twice, courtesy of Warriorrrr with PR #​5389.
  • Only compile pushes for master, courtesy of Warriorrrr with PR #​5390.
  • Fix loading order of databaseconfig and config, fixing the config's database section conversion.
  • Fix towny.claimed.townowned.* node not being tested for.
  • New Config Option: economy.daily_taxes.nation_perplot_upkeep
    • Default: false
    • Uses the total number of plots which a nation has across all of its towns to determine upkeep instead of nation_pertown_upkeep and instead of nation level (number of residents.)
    • Calculated by (price_nation_upkeep X number of plots owned by the nation's towns.)
  • Bump language file to 0.129.
  • Make /t reslist {townname} usable by the console.
  • Make the plugin.name_blacklist apply to the town and nation titles and surnames.
0.97.2.8
  • Make it so that turning Towny off in a world will shut down any active revert-on-unclaim actions.
  • Make Confirmations show the correct timeout time.
  • Make Cancelled confirmations only show the default cancel message when there's no onCancel runnable.
  • Fix plot groups causing an NPE when putting a town into a ruined state.
  • Fix name changes charging money for names which won't pass a later test.
  • Make nation's names behave according the Capitalize Names config setting which only affect towns.
  • Make towns set their world when it is null, when we set the homeblock.
  • Fix support for Reserve and an NPE when trying to deposit money into a town bank.
  • New API events courtesy of emanondev with PR #​5363. (First-Time Contributor!)
  • API: BonusBlockPurchaseCostCalculationEvent
    • Used to modify what towns pay when using /t buy bonus.
  • API: TownBlockClaimCostCalculationEvent
    • Used to modify what towns pay when using /t claim.
  • Make nationzones toggle-able per town.
  • New Command: /town toggle nationzone
    • Turns on and off the nationzone of a town (if they have one.)
  • New Permission Node: towny.command.town.toggle.nationzone.
    • Child node of towny.command.town.toggle.*
    • No changes required in townyperms.yml.
  • New API Event: TownToggleNationZoneEvent.
    • Cancellable event.
  • Remove the GatherResidentUUIDTask.
0.97.2.7
  • Fix appearance of the overclaimed upkeep line in the town status screen.
  • Add option to prevent a nation's capital city from being neutral.
  • New Config Option: global_nation_settings.capitals_cannot_be_neutral
    • Default: false
    • If true the capital city of nation cannot be neutral/peaceful.
  • Bump language file to 0.128.
  • Fix the /ta plot claimedat command, courtesy of Warriorrrr with PR #​5361.
  • Expand MetaDataUtil methods to include hasMeta and addNewMeta methods.
  • Make the plot change listener more efficient, courtesy of Warriorrrr with PR #​5365.
0.97.2.6
  • Fix global messages that lost their Towny prefix.
  • Bump language file to 0.127.
  • Add nation zone size to nation and town status screens.
  • Add hover to the capital on the nation status screen.
  • Clean up TownyMessaging class.
  • Use server provided gson instead of shading our own, courtesy of Warriorrrr with PR #​5347.
  • Tidy & rename /ta delete, courtesy of Warriorrrr with PR #​5351.
  • Removed command: /ta delete {residentname}
  • New Command: /ta resident {residentname} delete.
  • Enhance the /res list command, courtesy of Warriorrrr with PR #​5350.
  • Fix updating reference lang files, an issue on select operating systems.
  • Blank capital prefixes and postfixes will no longer override a town's normal prefix and postfix.
  • Blank king prefixes and postfixes will no longer override a mayor's normal prefix and postfix.
  • Fix no feedback message when a town tries to purchase more bonus blocks, when they are already at max.
  • Limit the amount of changelog lines printed to 100, courtesy of Warriorrrr with PR #​5352.
  • Fix TownAddResidentEvent firing on database loads.
0.97.2.5
  • Add nation's capital to the nation status screen.
  • Add protection for glow berries being harvest off cave vines.
    • Treated as a destroy test.
  • Prevent outlaws from being able to join towns, courtesy of Warriorrrr with PR #​5329.
  • Add town join date to a resident's status screen in the town hover section.
  • Bump language files to 0.126.
  • Add nation join date to a town's status screen in the nation hover section.
  • Fix welcome message only being seen by the newly joined player.
  • Add ability to override a town's NationZone.
  • New Command: /ta set nationzoneoverride [town] [size]
    • Sets a town's nationzone override.
  • New Permission Node: towny.command.townyadmin.set.nationzoneoverride
    • Child node of towny.command.townyadmin.set.*
  • Fix backup cleaning not working, courtesy of Warriorrrr with PR #​5337.
  • Use Java NIO instead of File, courtesy of Articdive with PR #​5316.
0.97.2.4
  • Fix Global messages stripping their colour.
  • Remove old Outpost checking code and references to Articdive which were not spelled correct, courtesy of Articdive with PR #​5324.
  • Add a size limit for the town_block_ratio option, courtesy of Warriorrrr with PR #​5326.
  • New Config Option: town.town_block_limit
    • Default: 0
    • The maximimum amount of townblocks a town can have, if town_block_ratio is 0 the max size will be decided by the town_levels.
    • Set to 0 to have no size limit.
  • Fix automatic renaming of invalid and duplicate town and nation names failing some of the time.
  • Fix EventWar not handling the OutlawTeleportEvent.
  • Fix resident/town counts being shown on the status screens when "and more..." was being used on long lists.
  • Lists of TownyObjects (resident lists, town lists, nation lists) will no longer use their longer formatted names if the list is over 19.
  • Fix Status Screen components' hovering bleeding over into blank spaces further along the line.
0.97.2.3
  • Change PlayerCacheUtil to once again check for a fakeplayer resident.
  • Fix PlayerCacheUtil preventing plot permissions from working properly.
  • Fix missing command feedback on many /tw toggle commands.
0.97.2.2
  • Fix Citizens NPCs causing error on PlayerTeleportEvent, courtesy of ArticDive with PR #​5319.
0.97.2.1
  • Tidy up PlayerCacheUtil.
  • Fix missing splitter between Nation bank and upkeep on the nation status screen.
  • New Placholder: %townyadvanced_town_board%
    • Displays a player's town's board message.
  • New Placeholder: %townyadvanced_nation_board%
    • Displays a player's nation's board message.
  • New Placeholder: %townyadvanced_player_location_town_board%
    • Displays the board message of the town where the player is stood.
  • New Placeholder: %townyadvanced_player_location_nation_board%
    • Displays the board message of the nation where the player is stood.
  • Add spawn protection for players who've just died.
  • New Config Node: global_town_settings.respawn_protection
    • Default; 10s
    • When greater than 0s, the amount of time a player who has respawned is considered invulnerable.
    • Invulnerable players who attacker other players will lose their invulnerability.
    • Invulnerable players who teleport after respawn will also lose their invulnerability.
  • Bump language files to 0.125.
  • Prevent spam if a player's locale is invalid, courtesy of Warriorrrr with PR #​5314.
  • Improve startup logging/initialization, courtesy of ArticDive & LlmDl with PR #​5299.

Towny Sponsors

I want to give a big thank you to all of my sponsors:
These are the people that help to make Towny's support and development as active as it is,
and who supported me during this pre-release of Towny.

MrLoganoMomshroomCobrex1 KarlOfDuty
scatterspellTheFlagCouriergerardvanschipDrprofLuigi
TobzaSmallSansSerifTheNyloxdiontimmer
trevor1097benevolent20120xBit-MCspecs1396
treeDerevoScottlander100ItsSynchroEnvyEnfys
MidnightSugarmzyaxPestoNotPastacatsaretheend
cigamingKeNickGonghonnishaMilesBHuff
pebblehostAkiranyaBamBamTheEggmanNoikzGaming
LordHenryVonHenrynUSAHudsonSolarCivLitning11
NeotenySSBlack-TongueSkapMCnickoo9043
TausesAaronBDesignLeftTheNegotiatorMaluuhLive
anaxiosand 7 private sponsors.

If you want to support the developer consider becoming a sponsor.

(It's just like Patreon but 100% goes to the developer.)

Plus there are perks!

Important Links
How Towny WorksTowny Install GuideTowny Update Guide
Complete Changelog Default Config FilesCommands/Permissions
Placeholders
##### ⏬ Download available as a .jar file in the Assets section below:

v0.97.2.17

Compare Source

  • API: add TownyAPI#getTownBlock(Player).
    • New Config Option: global_town_settings.keep_inventory_on_death_in_arena
      • Default: false
      • If People should keep their inventories on death in an arena townblock. Is not guaranteed to work with other keep inventory plugins!
    • Make deprecated isWarTime() non-static.
    • New language: Bulgarian.

Cumulative changes since 0.97.2.0
0.97.2.16
  • Bump language file to 0.133.
  • Made invites/confirmation messages translate to player locales in more places.
  • API: Made Confirmations able to take on a custom plugin prefix, so that it can be used to run non-Towny commands.
  • API: Add events for when a town/nation spawn is set, courtesy of Warriorrrr with PR #​5432.
  • Fix typo in /n set capital node, courtesy of Warriorrrr with PR #​5435.
  • API: Add a TownBlock getter to PlotToggle events, courtesy of Warriorrrr with PR #​5434.
0.97.2.15
- Purge EventWar from Towny codebase.
  • Implemented town and nation baltops, courtesy of Glare with #​5428.
    • Adds commands to see who is the richest players in a town or nation.
    • Opens as a book for the player.
  • New Commands:
    • /town baltop {townname}
    • /nation baltop {nationame}
  • Update Account CachedBalances when we're get the account holding balance.
  • Bump language file to 0.132.
0.97.2.14
  • Add ability to add translation strings apart from the LoadTranslationEvent.
  • New Permission Node: towny.townless
    • Given to players who do not have a town.
  • Fix global messages being stripped of their colours.
  • Fix deleted nations not removing sent/received invites.
0.97.2.13
  • API: Add PlayerCacheGetTownBlockStatusEvent.
    • An event which allows another plugin to dictate what TownBlockStatus will be applied to a player's cache.
  • Fix variable name in javadoc, courtesy of Warriorrrr with PR #​5419.
  • Add Government#hasActiveWar.
  • API: add TownyAPI#isPVP(Location).
  • Add closed_economy_enabled bstats chart.
0.97.2.12
  • Add ally and enemy lists to Towns.
    • Accessible via the API only. For plugins which want to make towns war against each other.
    • Closes #​3476.
  • New Command: /t allylist {townname}
    • Show allies of a town.
  • New Command: /t enemylist {townname}
    • Show enemies of a town.
  • API: Town ally/enemy events.
    • Cancellable events thrown when towns have allies or enemies added/removed.
    • TownAddAlliedTownEvent
    • TownAddEnemiedTownEvent
    • TownRemoveAlliedTownEvent
    • TownRemoveEnemiedTownEvent
  • Bump language file to 0.131.
  • Fix DeathPriceEvent missing handlers.
0.97.2.11
  • Fix ConcurrentModificationException in InviteHandler's expired invite search.
  • Fix /towny command not working for console senders in the TownyCommandAddOn API.
  • Add TabCompleter support for addon commands, courtesy of Warriorrrr with PR #​5403.
  • Fix /ta set capital, /ta set king, /ta nation NAME set commands not working properly.
  • Make Confirmation commands configurable through the API.
  • Regression: fix empty strings always being blacklisted, courtesy of Warriorrrr with PR #​5406.
  • Remove one-way nation alliances.
    • This setting pre-dated the Invite system added many years ago.
    • Nations will no longer be able to ally another nation unless the other nation accepts their invite to ally.
  • Remove Config Node: war.disallow_one_way_alliance
  • Remove TownBlock, TownyWorld and TownyUniverse warzone methods.
    • No longer used by FlagWar.
  • API: DeathPriceEvents
    • NationPaysDeathPriceEvent
    • PlayerPaysDeathPriceEvent
    • TownPaysDeathPriceEvent
    • Make it possible for other plugins to manipulate the prices taken from players, towns and nations when someone dies.
  • Fix nation zones generating an error if wildernessuse isn't enabled.
0.97.2.10
  • Cache builds & fix up labeler & update to Java 17, courtesy of Warriorrrr with PR #​5394.
  • Cleanup util classes, couresty of EuGNosii with PR #​5348.
  • Bump language file to 0.130.
  • Fix PlayerCacheUtil not choosing an Outsider TownBlockStatus.
0.97.2.9
  • New languages: Japanese, Czech, Tagalog, Portuguese, Thai.
  • Update Toolchain, Test multiple Java Versions, and Use SDKMAN for JitPack configuration, courtesy of TheFlagCourier with PR #​5386.
  • Fix /ta reload all reloading config/lang twice, courtesy of Warriorrrr with PR #​5389.
  • Only compile pushes for master, courtesy of Warriorrrr with PR #​5390.
  • Fix loading order of databaseconfig and config, fixing the config's database section conversion.
  • Fix towny.claimed.townowned.* node not being tested for.
  • New Config Option: economy.daily_taxes.nation_perplot_upkeep
    • Default: false
    • Uses the total number of plots which a nation has across all of its towns to determine upkeep instead of nation_pertown_upkeep and instead of nation level (number of residents.)
    • Calculated by (price_nation_upkeep X number of plots owned by the nation's towns.)
  • Bump language file to 0.129.
  • Make /t reslist {townname} usable by the console.
  • Make the plugin.name_blacklist apply to the town and nation titles and surnames.
0.97.2.8
  • Make it so that turning Towny off in a world will shut down any active revert-on-unclaim actions.
  • Make Confirmations show the correct timeout time.
  • Make Cancelled confirmations only show the default cancel message when there's no onCancel runnable.
  • Fix plot groups causing an NPE when putting a town into a ruined state.
  • Fix name changes charging money for names which won't pass a later test.
  • Make nation's names behave according the Capitalize Names config setting which only affect towns.
  • Make towns set their world when it is null, when we set the homeblock.
  • Fix support for Reserve and an NPE when trying to deposit money into a town bank.
  • New API events courtesy of emanondev with PR #​5363. (First-Time Contributor!)
  • API: BonusBlockPurchaseCostCalculationEvent
    • Used to modify what towns pay when using /t buy bonus.
  • API: TownBlockClaimCostCalculationEvent
    • Used to modify what towns pay when using /t claim.
  • Make nationzones toggle-able per town.
  • New Command: /town toggle nationzone
    • Turns on and off the nationzone of a town (if they have one.)
  • New Permission Node: towny.command.town.toggle.nationzone.
    • Child node of towny.command.town.toggle.*
    • No changes required in townyperms.yml.
  • New API Event: TownToggleNationZoneEvent.
    • Cancellable event.
  • Remove the GatherResidentUUIDTask.
0.97.2.7
  • Fix appearance of the overclaimed upkeep line in the town status screen.
  • Add option to prevent a nation's capital city from being neutral.
  • New Config Option: global_nation_settings.capitals_cannot_be_neutral
    • Default: false
    • If true the capital city of nation cannot be neutral/peaceful.
  • Bump language file to 0.128.
  • Fix the /ta plot claimedat command, courtesy of Warriorrrr with PR #​5361.
  • Expand MetaDataUtil methods to include hasMeta and addNewMeta methods.
  • Make the plot change listener more efficient, courtesy of Warriorrrr with PR #​5365.
0.97.2.6
  • Fix global messages that lost their Towny prefix.
  • Bump language file to 0.127.
  • Add nation zone size to nation and town status screens.
  • Add hover to the capital on the nation status screen.
  • Clean up TownyMessaging class.
  • Use server provided gson instead of shading our own, courtesy of Warriorrrr with PR #​5347.
  • Tidy & rename /ta delete, courtesy of Warriorrrr with PR #​5351.
  • Removed command: /ta delete {residentname}
  • New Command: /ta resident {residentname} delete.
  • Enhance the /res list command, courtesy of Warriorrrr with PR #​5350.
  • Fix updating reference lang files, an issue on select operating systems.
  • Blank capital prefixes and postfixes will no longer override a town's normal prefix and postfix.
  • Blank king prefixes and postfixes will no longer override a mayor's normal prefix and postfix.
  • Fix no feedback message when a town tries to purchase more bonus blocks, when they are already at max.
  • Limit the amount of changelog lines printed to 100, courtesy of Warriorrrr with PR #​5352.
  • Fix TownAddResidentEvent firing on database loads.
0.97.2.5
  • Add nation's capital to the nation status screen.
  • Add protection for glow berries being harvest off cave vines.
    • Treated as a destroy test.
  • Prevent outlaws from being able to join towns, courtesy of Warriorrrr with PR #​5329.
  • Add town join date to a resident's status screen in the town hover section.
  • Bump language files to 0.126.
  • Add nation join date to a town's status screen in the nation hover section.
  • Fix welcome message only being seen by the newly joined player.
  • Add ability to override a town's NationZone.
  • New Command: /ta set nationzoneoverride [town] [size]
    • Sets a town's nationzone override.
  • New Permission Node: towny.command.townyadmin.set.nationzoneoverride
    • Child node of towny.command.townyadmin.set.*
  • Fix backup cleaning not working, courtesy of Warriorrrr with PR #​5337.
  • Use Java NIO instead of File, courtesy of Articdive with PR #​5316.
0.97.2.4
  • Fix Global messages stripping their colour.
  • Remove old Outpost checking code and references to Articdive which were not spelled correct, courtesy of Articdive with PR #​5324.
  • Add a size limit for the town_block_ratio option, courtesy of Warriorrrr with PR #​5326.
  • New Config Option: town.town_block_limit
    • Default: 0
    • The maximimum amount of townblocks a town can have, if town_block_ratio is 0 the max size will be decided by the town_levels.
    • Set to 0 to have no size limit.
  • Fix automatic renaming of invalid and duplicate town and nation names failing some of the time.
  • Fix EventWar not handling the OutlawTeleportEvent.
  • Fix resident/town counts being shown on the status screens when "and more..." was being used on long lists.
  • Lists of TownyObjects (resident lists, town lists, nation lists) will no longer use their longer formatted names if the list is over 19.
  • Fix Status Screen components' hovering bleeding over into blank spaces further along the line.
0.97.2.3
  • Change PlayerCacheUtil to once again check for a fakeplayer resident.
  • Fix PlayerCacheUtil preventing plot permissions from working properly.
  • Fix missing command feedback on many /tw toggle commands.
0.97.2.2
  • Fix Citizens NPCs causing error on PlayerTeleportEvent, courtesy of ArticDive with PR #​5319.
0.97.2.1
  • Tidy up PlayerCacheUtil.
  • Fix missing splitter between Nation bank and upkeep on the nation status screen.
  • New Placholder: %townyadvanced_town_board%
    • Displays a player's town's board message.
  • New Placeholder: %townyadvanced_nation_board%
    • Displays a player's nation's board message.
  • New Placeholder: %townyadvanced_player_location_town_board%
    • Displays the board message of the town where the player is stood.
  • New Placeholder: %townyadvanced_player_location_nation_board%
    • Displays the board message of the nation where the player is stood.
  • Add spawn protection for players who've just died.
  • New Config Node: global_town_settings.respawn_protection
    • Default; 10s
    • When greater than 0s, the amount of time a player who has respawned is considered invulnerable.
    • Invulnerable players who attacker other players will lose their invulnerability.
    • Invulnerable players who teleport after respawn will also lose their invulnerability.
  • Bump language files to 0.125.
  • Prevent spam if a player's locale is invalid, courtesy of Warriorrrr with PR #​5314.
  • Improve startup logging/initialization, courtesy of ArticDive & LlmDl with PR [#​5299](https://github.com/TownyAdvanced/Tow

Configuration

📅 Schedule: "on monday after 9am" in timezone Europe/Berlin.

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot requested a review from a team as a code owner November 22, 2021 11:03
@renovate renovate bot requested review from dordsor21 and SirYwell November 22, 2021 11:03
@renovate renovate bot added the Renovate label Nov 22, 2021
@NotMyFault NotMyFault closed this Nov 23, 2021
@renovate
Copy link
Contributor Author

renovate bot commented Nov 23, 2021

Renovate Ignore Notification

As this PR has been closed unmerged, Renovate will now ignore this update (0.97.3.0). You will still receive a PR once a newer version is released, so if you wish to permanently ignore this dependency, please add it to the ignoreDeps array of your renovate config.

If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened.

@renovate renovate bot deleted the renovate/com.github.townyadvanced branch November 23, 2021 23:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants