Skip to content

0.98.3.9 for MC 1.16.* & 1.17.* & 1.18.* & 1.19.*

Pre-release
Pre-release
Compare
Choose a tag to compare
@LlmDl LlmDl released this 19 Sep 14:24
· 1891 commits to master since this release
  • Fix angry wolves not being attackable while in Towns when wolves are a protected entity.
  • Protect lily pads in towns from being destroyed by boats.
  • Use "town_sing" translation in TownCommand, courtesy of Warriorrrr with PR #6167.
  • API: Add TownyAPI#getTown(Player), courtesy of Warriorrrr with PR #6166.
  • Make TownyAPI#getOnlinePlayers(ResidentList) thread safe, courtesy of Warriorrrr with PR #6165.
  • Improve command blocking, courtesy of Warriorrrr with PR #6163.
  • Fix legacy hex code parsing not working, courtesy of Warriorrrr with PR #6176.
  • Use translatable over direct translation in BaseCommand, courtesy of Warriorrrr with PR #6172.
  • Simplify parameters used for TownCommand title & surname methods, courtesy of Warriorrrr with PR #6171.

Cumulative changes since 0.98.3.0
0.98.3.8
  • Fallback to another Vault chat implementation if an invalid one is detected, courtesy of Warriorrrr with PR #6155.
  • Fix new reference file creation not working, courtesy of Warriorrrr with PR #6156.
  • Use getPlayerExact for resident#getPlayer, courtesy of Warriorrrr with PR #6154.
0.98.3.7
  • Alter CooldownTimerTask to accept strings alongside the pre-configured enum, allowing for third-party plugins to create simple cooldowns.
  • Use FontUtil's minecraftfont constant for bookfactory, courtesy of Warriorrrr with PR #6133.
  • Fix towny.command.plot.asmayorinunowned permission node not working for /plot nfs, due to area selection.
  • New Config Option: new_world_settings.are_new_world_claimable
    • Default: true
    • Are new worlds claimable by default?
    • Setting this to false means that Towny will still be active but no land can be claimed by towns.
  • Stop removing title/surname when nation is deleted, courtesy of partydev with PR #6136.
  • Prevent axolotls from targeting protected mobs, courtesy of Akiranya with PR #6140. (First-Time Contributor!)
  • Add colors class changes from minimessage branch, courtesy of Warriorrrr with PR #6132.
  • Replace Component.texts with alternatives in formatter, courtesy of Warriorrrr with PR #6134.
  • Fix missing outlaws-cannot-spawn-to-towns feature that used to exist.
  • Fix /towny map big kicking players in rare cases, courtesy of Warriorrrr with PR #6151.
  • Remove lang file versions, courtesy of Warriorrrr with PR #6146.
  • Remove instances of legacy making it into components, courtesy of Warriorrrr with PR #6141.
  • Replace ChatColor.stripColor uses with Colors.strip, courtesy of Warriorrrr with PR #6143.
  • Add a catch to Account's constructor, courtesy of Warriorrrr with PR #6144.
  • Adoption of MiniMessage throughout the remaining codespaces, courtesy of Warriorrrr with PR #6142!
    • As of this moment, all messaging is using minimessage. All language strings can accept MiniMessage tags and,
    • Hex is available everywhere in just about any tag style you can imagine.
    • If you have previously been using hex gradients you might have to update your tags to the MiniMessage way of things.
0.98.3.6
  • Make it possible to use Unicode symbols in the ASCII maps.
  • Make unconfigurable map symbols configurable.
  • New Config Options:
    • ascii_map_symbols.home
      • Default: "H"
      • The character used for the home symbol.
    • ascii_map_symbols.forsale
      • Default: "$"
      • The character used for plots which are forsale.
    • ascii_map_symbols.wilderness
      • Default: "-"
      • The character used for plots which are unclaimed.
  • Fix many ArrayIndexOutOfBoundsExceptions in the /ta town NAME command.
    • Progress towards #6120.
  • Add status screen changes from minimessage branch, courtesy of Warriorrrr with PR #6090.
  • API: Add NewResidentEvent, courtesy of PestoNotPasta with PR #6121.
  • Big refactor on TownCommand, making use of newer methods and making the code more readable.
  • API: Add WorldCoord#getCardinallyAdjacentWorldCoords
    • Returns a List of WorldCoords directly N, E, S, W from the WorldCoord.
  • Clean up edgeblock test in TownCommand.
  • Add version numbering to the database.yml.
  • Capitalize the returned value of the %townyadvanced_player_plot_type% placeholder.
  • Prevent towns and nations being named with only underscores.
  • Fix /ta town new NAME MAYOR not being able to be run from console.
  • API: Add new outlaw add/remove events.
    • TownOutlawAddEvent
    • TownOutlawRemoveEvent
    • Cancellable events that are thrown when a town is modifying who is outlawed.
0.98.3.5
  • Add Translator#component, courtesy of Warriorrrr with PR #6088.
  • Add component support for status screen events, courtesy of Warriorrrr with PR #6091.
  • Allow removing metadata by key, courtesy of Warriorrrr with PR #6089.
  • Simplify permission-checking code with NoPermissionException.
  • Add WorldCoord#getChunks, courtesy of Warriorrrr with PR #6098.
  • Fix max_distance_between_homeblocks config setting being triggered when there are no towns yet.
  • Fix plot info command not being usable in wilderness, courtesy of Warriorrrr with PR #6104.
  • Rename town explosion methods, courtesy of Warriorrrr with PR #6102.
  • Add TownyComponents class, courtesy of Warriorrrr with PR #6105.
  • Make the ASCII map fully use components, courtesy of Warriorrrr with PR #6103.
  • Handle bold characters in titles using pixelwidth, courtesy of Warriorrrr with PR #6107.
  • Allow /plot set name to be used on plots in groups, courtesy of Warriorrrr with PR #6108.
  • Fix regression from 0.98.3.4 that resulted in some command output breaking due to #6078.
  • Apply new font-measuring to BookFactory, fixing potential Invalid Book Tag books being made.
  • Reflow TownyMessaging.
    • Re-directs TownyMessaging from having many end points for messages, into the sendMessage(Sender, String) method.
    • Plugins that want to cancel Towny events and prevent those events showing cancellation messages to the user should be able to do so.
0.98.3.4
  • Fix vehicles not being killed by lava, courtesy of Warriorrrr with PR #6044.
  • Make townyworld's trident strike list use uuid instead of eid, courtesy of Warriorrrr with PR #6043.
  • Add baltop as banned name, courtesy of Warriorrrr with PR #6046.
  • Fix messages from cancelled Nation ally adding and removal events not displaying to the command user.
  • Exclude transitive bukkit api dependency, courtesy of Warriorrrr with PR #6051.
  • Replace town/nation levels with records, courtesy of Warriorrrr with PR #6041.
  • Add upkeep comparator type, courtesy of Warriorrrr with PR #6042.
  • Add perm check to invalid comp type message, courtesy of Warriorrrr with PR #6054.
  • Fix using World#isRespawnAnchorWorks() which did not exist in 1.16.5 api.
  • Create our own wrapper impl, courtesy of Warriorrrr with PR #6075.
  • Add option to disallow numbers in town/nation names, courtesy of Warriorrrr with PR #6068.
  • Allow spaces to be used in town/nation rename commands, courtesy of Warriorrrr with PR #6067.
  • Make it easier to debug lang file formatting errors, courtesy of Warriorrrr with PR #6066.
  • Fix /t deposit & /n deposit running sync, courtesy of Warriorrrr with PR #6064.
  • Include the plot price in the /plot fs feedback message, courtesy of Warriorrrr with PR #6062.
  • Ensure player gets feedback message when setting a group for sale, courtesy of Warriorrrr with PR #6060.
  • Re-check group set cost after confirmation is accepted, courtesy of Warriorrrr with PR #6058.
  • Add admin town command upkeep toggle, courtesy of Gamer153 with PR #6052. (First-Time Contributor!)
  • New Command: /ta town NAME toggle upkeep
    • Toggles upkeep on or off for the given town.
  • Add null check to teleport listener, courtesy of Warriorrrr with PR #6077.
  • Add all subcommand to /t and /n withdraw and deposit commands, courtesy of Warriorrrr with PR #6081.
  • New Commands:
    • /t withdraw all - remove all money from the town bank.
    • /t deposit all - deposit all your money into the town bank.
    • /n withdraw all - remove all money from the nation bank.
    • /n deposit all - deposit all your money into the nation bank.
  • Update platform bukkit to 4.1.2, courtesy of Warriorrrr with PR #6079.
  • Update translatable with changes from MiniMessage PR, courtesy of Warriorrrr with PR #6078.
  • Add configurable plot type limits, courtesy of Warriorrrr with PR #6038.
    • Closes #5889.
    • If you want to limit plot types amounts per-town based on their town_level you will fill out the new section in this fashion:
      townBlockTypeLimits:
      - shop: 2
      - arena: 2
  • Automatic Config Edit: your config's town_level sections will have an empty townBlockTypeLimits: added.
0.98.3.3
  • Bump language files to 0.152.
  • Fix jailcells being able to be placed where a jailcell already exists.
  • Make the plot perm hud translatable.
  • Fix potential NPE in SelectionGUI.
  • Fix the back button on the switch/itemuse/allowedblocks GUIs not working from the first page.
  • Auto-supress event message if empty, courtesy of GNosii with PR #6028.
  • Add a command to manually override a town's TownLevel.
  • New Command: /ta town TOWNNAME settownlevel [#|unset]
    • Manually overrides a town's townlevel to a number, 1 through x, where x is the last townlevel.
    • unset subcommand removes the manual override and returns a town to using the normal townlevel based on resident count.
  • Add some int and money validations to reduce duplication in commands.
  • New Command: /ta town TOWNNAME giveboughtblocks [#|unset]
    • Command that lets the admin modify the number of purchased townblocks a town has.
    • unset subcommand removes all purchased townblocks from the town.
    • Use negative numbers to take purchased townblocks from the town.
    • Closes #6034.
  • Condense action bar and bossbar notification options into one, courtesy of Warriorrrr with PR #6033.
  • Add Runnable type to ConfigMigrator, courtesy of Warriorrrr with PR #6033.
  • New Config Option: notification.notifications_appear_as
    • Default: "action_bar"
    • This setting controls where chunk notifications are displayed for players.
    • By default, notifications appear in the player's action bar.
    • Available options: action_bar, chat, bossbar, or none.
  • Automatic Config Edit: previous notification setting will be migrated to the new home: notification.notifications_appear_as
  • Add unclaimEntityTypeDelete to TownyWorld.
    • Allows Towny to delete all Entities of a given type from a TownBlock when it is unclaimed by a town.
    • Closes #5953.
  • New Config Options:
    • new_world_settings.plot_management.entity_delete.enabled
      • Default: false
    • new_world_settings.plot_management.entity_delete.unclaim_delete
      • Default: "ENDER_CRYSTAL"
      • These entities will be deleted upon a plot being unclaimed
0.98.3.2
  • Add Resident#getAccountOrNull, courtesy of Warriorrrr with PR #6006.
    • Potentially fixing an issue when Accounts are being renamed.
  • API: Add ChunkNotificationEvent
    • Cancellable event that lets other plugins alter Towny's ChunkNotifications.
    • Closes #6009.
  • Add a small delay before we start the DrawSpawnPointsTask, because one server got a ConcurrentModificationException.
  • New Placeholders:
    • %townyadvanced_daily_town_per_plot_upkeep% - Shows the amount of upkeep paid per-plot by a Town.
    • %townyadvanced_daily_town_overclaimed_per_plot_upkeep_penalty% - Shows the penalty paid per-plot by a Town.
    • %townyadvanced_daily_town_upkeep_reduction_from_town_level% - Shows the percentage that a Town's upkeep is reduced by the TownLevel's upkeepModifier, or if the player has no Town what a 1 player town would receive.
    • %townyadvanced_daily_town_upkeep_reduction_from_nation_level% - Shows the percentage that a Town's upkeep is reduced by the NationLevel's nationTownUpkeepModifier, or if the player has no Nation what a 1 player town would receive if they had a nation.
    • %townyadvanced_daily_nation_per_town_upkeep% - Shows the amount of upkeep paid per-town by a Nation.
    • %townyadvanced_daily_nation_upkeep_reduction_from_nation_level% - Shows the percentage that a Nation's upkeep is reduced by the NationLevel's upkeepModifier, or if the player has no Nation what a 1 player town would receive if they had a nation.
    • %townyadvanced_town_merge_cost% - Shows the base cost to merge a town.
    • %townyadvanced_town_merge_per_plot_percentage% - Shows the percentage of the TownBlock claim price that the merging Town will have to pay in order to do a merge.
    • %townyadvanced_town_reclaim_cost% - Shows the cost to reclaim a town.
    • %townyadvanced_town_reclaim_max_duration_hours% - Shows the maximum number of hours a town can be ruined before it is deleted.
    • %townyadvanced_town_reclaim_min_duration_hours% - Shows the minimum number of hours a town can be ruined before it can be reclaimed.
    • %townyadvanced_townblock_buy_bonus_price% - Shows the base price of buying a TownBlock using /t buy bonus.
    • %townyadvanced_townblock_claim_price% - Shows the base price of claiming a TownBlocking using /t claim.
    • %townyadvanced_townblock_unclaim_price% - Shows the base price of claiming a TownBlocking using /t unclaim.
    • %townyadvanced_outpost_claim_price% - Shows the price of claiming an outpost using /t claim outpost.
  • New Config Option: economy.bankruptcy.neutrality.can_bankrupt_towns_pay_for_neutrality
    • Default: true
    • If a town is bankrupt can they still pay for neutrality?
    • Closes #6017.
  • Fix admins being unable to teleport out of Towns in which they are outlawed.
  • Adapt to PlaceholderAPI no longer parsing colours.
  • Automatic Config Edit:
    • ,OAK_CHEST_BOAT will be added to your protections.switch_ids list.
    • This will make all chest boats require switching perms to open/enter.
    • New configs will have OAK_CHEST_BOAT included in the switch_ids list.
  • Remove old tc, nc tab completes from /res set mode.
  • Fix WorldCoord#loadChunks and #unloadChunks from being called async.
0.98.3.1
  • Fix /t outpost generating a array index out of bounds.

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.

MrLoganoMomshroomCobrex1KarlOfDutyscatterspellTheFlagCourier
gerardvanschipDrprofLuigiSmallSansSerifTheNyloxtrevor1097benevolent2012
Scottlander100EnvyEnfyscigamingKeNickGongMilesBHuffpebblehost
BamBamTheEggmanNoikzGamingTakeoRenkaSkapMCJanniesLemuridaee
ReEvadereqckcatroflmarvbeabuenodevLoJoShobenjamin1313
ThePontificateAllieDragonTegulaThePigKjellWolfCalestonDynamite99
TuckerAndrews3darthpetiPixelJames22CboxheroWillysHubColbertoSwagerto
AgalothMille12313LaBoulangerieEblyssBurgBoiakup001
Intrabit71finder1793mattematti2gladmountainhavencraftmcBloc-k
SW1D3RSK1PeskdtxSTORMYxSHMDantexdetxtraplineFauultySpell
RenoldHenoldTamaKaiNyaAnachroSoftMightyMat0xBitMCLightNing002
Valerie2308ethsmithWextraDownsurgelukemangoethanic17
Chibby9607RulaAshvureKelbbieHerbDashwellKaiserSergioPh4i1ur3
perzues69ConHNationMineswiftamaxtxbretomartDuergur
JuvailyUnitedLandsTRLWeissilllliyasAldinaMappingIammilkk
shiaki-66papaj3CrypticBladesdagobertdu94-YTFilthyCasualOfficialTobza
Onni3000ThatNPCKali0033RFSMassacreSemisolArdogg
Theeno74NotOxymoronicDarklomCoconutFan123serialrainTheDelusioned
F1amireCyricliIsRadand 18 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 .jar file in the Assets section below: