Skip to content

0.97.2.18 for MC 1.14.* & 1.15.* & 1.16.* & 1.17.*

Pre-release
Pre-release
Compare
Choose a tag to compare
@LlmDl LlmDl released this 14 Nov 21:17
· 2721 commits to master since this release
  • 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: