Skip to content

0.100.3.0 for MC 1.16.* & 1.17.* & 1.18.* & 1.19.* & 1.20.*

Latest
Compare
Choose a tag to compare
@LlmDl LlmDl released this 09 Jun 19:29
· 22 commits to master since this release

Towny Advanced 0.100.3.0

Release contains:

Towny 0.100.3.0
TownyChat 0.115

Welcome to Towny 0.100.3.0.
Towny 0.100.3.0 is the fourth release in the 0.100.*.* series!
0.100.3.0 supports all versions of Minecraft 1.16.5 through 1.20.5
This version closes out Towny's support for Minecraft 1.16, 1.17 and 1.18, you will not be able to upgrade your Towny beyond this point without updating to Minecraft 1.19 or newer.
This version also contains critical fixes that you want on your server!
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. Your config file and Towny database will not be harmed.
➕ Added (13)

➕ Added:

  • Add ability to pay out town and nation bank balances to the mayor or nation leader when possible, when a town or nation is deleted.
  • Add the ability to see who is selling a plot.
  • Add extra message shown to outlaws when they enter towns, describing what the length of the jail time is, as well as potential bail costs.
  • Update FarmPlotBlocks to automatically update from ItemLists when generating defaults.
    • Also adds a new ConfigMigration type specifically for farm blocks.
    • Existing configs will add in any missing farm blocks.
  • Add ability to set default town and nation map colors.
  • Add new LuckPerms context: towny:istownconquered
    • When a player is part of a town that it conquered by a nation, this will return true.
  • Add TransactionEvents thrown by /ta withdraw and deposit commands.
  • Allow setting a default plot price of -1, courtesy of Warrior with PR #7313.
    • A town can now prevent their plots going up for sale by setting a plot price of -1, using /t set plotprice -1.
    • Closes #7295.
  • Support partial reference files, courtesy of Warrior with PR #7428.
    • Reference language files will only be re-written when Towny's version is also changing.
    • This will allow Towny's reference files to eventually leave a smaller footprint on the Towny.jar filesize.
  • Add consumer methods to the task scheduler, courtesy of Warrior with PR #7264.
  • Make addItemList accept any list of the same type, courtesy of Warrior with PR #7333.
  • Update logging code, courtesy of Articdive with PR #7314.
    • Drops the usage of deprecated methods and begins using the towny.log file again.
    • Closes #5855.
  • Add option to use world key instead of world name, courtesy of gecko10000 with PR #7388. (First-Time Contributor!)

➕ Automatic Config Edits (1)

➕ Towny's default config and world files will have the following automatic changes made:

  • An update will be made to the farm plot allowed_blocks list, in order to add blocks which were not there by default.

✨ Command Changes (0)
✨ New Commands (0)

✨ New Commands:

  • None.

✨ Changed Commands (0)

✨ Changed Commands:

  • None.

❌ Removed Commands (0)

❌ Removed Commands:

  • None.


📕 Config Changes (7)
📕 New Config Options (6)

📕 New Config Options:

These new settings will be added to your config with their default settings.

  • economy.banks.is_deleted_town_and_nation_bank_balances_paid_to_owner
    • Default: true
    • When set to true, a town or nation which is deleted will attempt to pay the balance bank balance to the mayor or leader.
    • This will only succeed if the town or nation has a mayor or leader.
  • notification.plot.forsaleby
    • Default: &e[For Sale by %s: %s]
  • plugin.interfacing.web_map.world_name_uses_world_key
    • Default: false
    • If enabled, the world name placeholder will be replaced with the world key instead of the Bukkit name.
    • This should be enabled if you use SquareMap.
  • global_town_settings.admins_can_always_pvp
    • Default: false
    • If set to true, any player with towny.admin (or OP,) will be able to hurt other players overriding any location's PVP setting.
    • Setting this to true will create avenues for admins to abuse players.
  • town.default_map_color
    • Default: ""
    • When set, all new Towns will have their map color set to this color. You must use a colour listed in the global_town_settings.allowed_map_colors setting below, ie aqua, azure, etc.
  • nation.default_map_color
    • Default: ""
    • When set, all new Nations will have their map color set to this color. You must use a colour listed in the global_nation_settings.allowed_map_colors setting below, ie aqua, azure, etc.

❌ Removed Config Options (1)

❌ Removed Config Options:

  • notification.plot.forsale


🔑 Permission Node Changes (0)
🔑 New Permission Nodes (0)

🔑 New Permission Nodes:

No change required in townyperms.yml.

  • None.

❌ Removed Permission Nodes (0)

❌ Removed Permission Nodes:

  • None.

----
💻 API Changes (7)

💻 API:

  • Add CancelledTownyTeleportEvent, thrown when a player has their towny spawn cancelled via moving, damage, or via the TownyAPI class.
  • Add TownSetOutpostSpawnEvent.
    • A cancellable event thrown before a player uses /t set outpost, which is used to set an outpost's spawn point.
  • Add NATION_LIST_BY, TOWN_LIST_BY TownyCommandAddons.
  • Expand DeleteTownEvent and DeleteNationEvent with sender & causes, courtesy of Warrior with PRs #7412 & #7415.
  • Add SuccessfulTownyTeleportEvent
    • Thrown when a player is spawned by Towny after they use /res, /town, or /nation spawn.
  • Add TownPreReclaimEvent.
    • A cancellable event thrown before a player can reclaim a town.
  • Add NationPreInviteTownEvent.
    • A cancellable event thrown before a town is sent an invite to join a nation.
    • Closes #7453.

🔧 Fixed (38)

🔧 Fixed:

  • Fix regression dating back to 0.100.1.8, which caused the hasWorld causing SQL dbs to not load worlds with capital letters' townblocks.
  • Fix spawn particles able to be drawn while Towny is disabled.
  • Fix Ascii map throwing CommandException when plot is for sale.
  • Fix nation deleted message showing when a predeletenationevent is cancelled.
  • Fix regression dating back to 0.99.5.17 which broke the are_new_residents_prompted_to_town_spawn feature.
  • Fix issue with max-allies-per-nation not being respected.
  • Stop non-Towny-using worlds showing a ChunkNotification when entered.
  • Fix /ta unclaim throwing an NPE while the refund on unclaim feature is active.
  • Fix missing "info" from plot command tab completes.
  • Fix regression from 0.100.2.2 which broke the folia tasks.
  • Skip showing the "Modes set:" message when someone has their town removed.
  • Fix OutlawTeleportEvent being able to be thrown async.
  • Add better error message when you try to buy a plot you already own.
  • Fix potential ConcurrentModificationException while using Folia.
  • Fix invites becoming unusable after an invite receiver changes their name.
  • Fix town bank being paid to someone who is not the mayor, when the mayor uses /t delete and is_deleted_town_and_nation_bank_balances_paid_to_owner is true.
  • Disable admins-bypassing-pvp settings by default.
  • Fix TownyMessaging sending null messages.
  • Fix money being taken from town creation when the creation is cancelled because the town is prevented from claiming the homeblock.
  • Fix FarmPlotBlock migration failing on server upgrade.
  • Fix players who log into an area where they are outlawed not using the correct town.
  • Fix the relational placeholder that showed conquered status not being used for the player which are conquered.
  • Remove more potential NotRegisteredExceptions.
  • Fix regression from 0.100.2.4 where deleted town/nation bank refunds could cause money duplication, courtesy of Warrior with PR #7375.
  • Fix Towny not loading on older minecraft servers missing FileNameUtils modern methods, courtesy of Warrior with PR #7403.
  • Set mappings namespace in manifest, courtesy of Warrior with PR #7427.
    • Also includes other pom maintenance.
  • Fix failure on startup due to debug messaging, courtesy of Warrior with PR #7455.
  • Fix unclaim entity delete not working on folia, courtesy of Warrior with PR #7345.
  • Skip processing claim particles for unloaded chunks, courtesy of Warrior with PR #7351.
  • Fix async LoadedMetadataEvent call on folia, courtesy of Warrior with PR #7377.
  • Fix npe in town add resident event listener, courtesy of Warrior with PR #7382.
  • Fix workflows running twice on pull requests, courtesy of Warrior with PR #7402.
  • Fix scheduling 0 tick delayed task on paper, courtesy of Warrior with PR #7404.
  • Call NewResidentThread sync on Folia, courtesy of Warrior with PR #7394.
  • Go into safemode if no sql connection could be made, courtesy of Warrior with PR #7432.
  • Fix potential NPE in the TownyDamageEvent, courtesy of FiLKoNd with PR #7339. (First-Time Contributor!)
  • Fix dragon egg teleportation on left click, courtesy of gecko10000 with PR #7419.
  • Improve a couple SQL operations, courtesy of xyzeva with PR #7438. (First-Time Contributor!)

🌏 Language Updates (0)

🌏 Language Updates:

  • None.

🌏 Dependency Updates (12)

🌏 Dependency Updates:

  • Bump org.apache.maven.plugins:maven-compiler-plugin from 3.12.1 to 3.13.0.
  • Bump com.github.seeseemelk:MockBukkit-v1.20 from 3.78.0 to 3.88.1.
  • Bump org.apache.maven.plugins:maven-source-plugin from 3.3.0 to 3.3.1.
  • Bump org.apache.commons:commons-compress from 1.26.0 to 1.26.2.
  • Bump org.apache.commons:commons-text from 1.11.0 to 1.12.0.
  • Bump org.apache.maven.plugins:maven-shade-plugin from 3.5.2 to 3.6.0.
  • Bump net.coreprotect:coreprotect from 22.3 to 22.4.
  • Bump net.kyori:adventure-text-minimessage from 4.16.0 to 4.17.0.
  • Bump net.kyori:adventure-text-serializer-plain from 4.16.0 to 4.17.0.
  • Bump me.clip:placeholderapi from 2.11.5 to 2.11.6.
  • Bump net.kyori:adventure-platform-bukkit to 4.3.3.
  • Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.6.3 to 3.7.0.

👽 Placeholder Updates (0)

👽 Placeholder Updates:

  • None.

💬 TownyChat Changes (0)

💬 TownyChat Changes:

  • None.

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.

MrLoganoMomshroomCobrex1DrprofLuigiSmallSansSerifTheNylox
pebblehostNoikzGamingThePontificateAllieDragonTegulaThePigGl0W1E
akup001KelbbieAldinaMappingCrypticBladesEcoSMPTheeno74
Rekar7LambsyguillermodiazkiernansvyvinkeijodputtNeumimTo
vette-danielAncientSMHikitsune-RedDynamite99ItsSynchroEpicSpeed
MrLoganoCorruptedGreedProjectGuinnesstrevor1097MetaverseRPCorruptVD
GabrielTKPolo-luluFolas1337gageeetPainOchoco Bloc-k
xSTORMYxSHMManul-NewtonPolo-luluRoman90879editon96 Intrabit71
gerardvanschip TheWordSmith123CasperTimmyMKieburtzExygleKermX
gorbyhailRimuru-Tempest-IMPAlink-MartyMilesBHufftypicalsmartmanKeNickGong
RandalABurdJrDarioMaviliaSk8nkillxCptSpiffyxAustinGoodrichFruitloopins
tomhmagicSW1D3RSK1RandaeMCSecondEarthOnlineMattWillenlukemango
jshalbrookNicholasJBondCraig1020 PoseidonGamesYatochka8Odin-The-All-Father
Ricola4325BeeeffParvatisGitHubSexy-JuraImperialSam12 roflmarv
TylorTurner MultipedBeatleReEvadereqiqiMaiDruidBrandon jsuarezl
sde-wolfxShadowLightxTriaieMatheny01nayrledurItzXPurpleX
Betr101beabuenodevtlm9201Supersmurf82SemisolOppy-Gasai
jb0sGranpaGamerMCSaytenicGirlsEge00GamingtheFernofrommars2ShiftSad
TuckerAndrews3ArmonicPvPWolfiteMerlin6019Waspyethan SteveStan9925
yurddRaiguriimirochijosegoust Nikkilectricflare2121
bretomartand 55 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
Frequently Asked
Questions
How Towny Works Towny Install Guide Towny Update Guide
Other Towny Plugins Complete Changelog Default Config Files Commands/Permissions
Placeholders

⏬ Download available as a .zip file in the Assets section below: