Skip to content

0.103.3.0 for MC 1.19.* & 1.20.* & 1.21.* & 26.1.* & 26.2.* & 26.3.*

Latest

Choose a tag to compare

@LlmDl LlmDl released this 29 Nov 20:34
· 1 commit to master since this release

Towny Advanced 0.103.3.0

Release contains:

Towny 0.103.3.0
TownyChat 0.122

Welcome to Towny 0.103.3.0.
Towny 0.103.3.0 is the fourth release in the 0.103.*.* series!
This version adds support for Minecraft 26.3, some new jailing options, and many more things.
This version supports any Minecraft version 1.19.* and newer! This version of Towny should be run using Java 17 or newer!
This version contains new features and 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 (2)

➕ Added:

  • [Database Source Reflow] Internal loading and saving of TownyObjects.

    • The first stage in updating Towny's loading and saving classes, which will make it easier to create new database types in the future.
  • Add ability for nation capitals to jail nation residents.

  • Add max trusted residents setting.

    • Towns will not be able to add any more residents to their trusted residents list.
    • Closes #8343.
  • Update to support MC 26.3.

  • Add support for displaying Days in more of the TimeMgmt methods.

  • Converted all lang files from using old colour codes (ie &a, &4,) to using minimessage colour codes (ie , <dark_red>.)

  • Add protection for cobwebs spawned by weaving potions, courtesy of Warriorrr with PR #8310.
    • Cobwebs spawned via weaving potions will now disappear like explosions' broken blocks, 60 seconds after they are created.
  • Add tab complete to /plot group trust remove, courtesy of Warriorrr with PR #8282.
  • Add automatic cost refunds to confirmations, courtesy of Warrior with PR #8254.
  • Upload Towny jar directly as actions artifact, courtesy of Warriorrr with PR #8309.
  • Add non-hourly jail sentences, boss bars to Jails, courtesy of Veyronity with PR #8316.

    • Jailing now support specified time periods instead of fixed hourly amounts.
    • Mayors and jailors can now supply times in the dhms format, ie: 5d = 5 days, 15m = 15 minutes.
    • Existing jail hours stored on jailed residents in databases will be loaded and converted into the new JailUntil value.
    • MySQL databases will have the resident table altered to drop the jailhours column, replacing it with the jailuntil column.
      • This has been tested but anyone running a mysql database should probably be reminded to make a backup before they update.
    • Jail information can now be made to appear in the bossbar, giving constant updates on a player's jail duration.
  • Add CancellableTownyEvent#setCancelMessage(Translatable), courtesy of Veyronity with PR #8268.

    • Migrate (most) CancellableTownyEvent uses to use Translatables, making Towny better-able to show error messages in the language used by the player's minecraft client.
  • Send a town message when a plot is claimed, courtesy of Veyronity with PR #8300.

  • Allow setting min adjacent chunks per-world, courtesy of Veyronity with PR #8302.

  • Add a config option to set a cost for /t cede, courtesy of Veyronity with PR #8307.

  • Allowing looking up other towns' outpost lists, courtesy of Veyronity with PR #8320.

  • Improve /n join, send new town mayors a list of nations to join, courtesy of Veyronity with PR #8341.

  • Overhaul devmode as a resident mode, courtesy of SulkyWhale with PR #8328.
    • The old system that relied on a developer name in the towny config.yml, and /ta toggle devmode command has been replaced.
    • Now requiring a permission node "towny.command.townyadmin.toggle.devmode", anyone with this node will be able to use /res toggle devmode {playername}.
  • Add PLOT_GROUP to TownyCommandAddonAPI, courtesy of SulkyWhale with PR #8265.
  • Add resident trustlist command, courtesy of flyncodes with PR #8276.
  • Protect players from hostile mobs in claims, courtesy of pernio with PR #8284.
  • Add shearing protection for Mooshrooms, Bogged, Copper Golems, Snow Golems and Sulfur Cubes, courtesy of Oribuin with PR #8327 (First-Time Contributor!)

➕ Automatic Config Edits (1)

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

  • New Automatic Config Edit: global_town_settings.farm_plot_allow_blocks
    • Will have ",SHELF_MUSHROOM" added to it.

✨ Command Changes (6)
✨ New Commands (5)

✨ New Commands:

  • /res trustlist {playername}, shows you (or the given playername) which towns they are trusted in.
  • /res toggle devmode {resident} .. {resident}
    • Turns on and off devmode, when supplied with a list of residents, the devmode-user will only see global dev messages and messages corresponding to the given residents.
  • /res set mode devmode
    • Turns on and off devmode.
  • /t outpost list [page] [other town]
    • Allows players to view other towns' outpost lists.
  • /tw set minadjacency
    • Used to set a world's min_adjacent_claim setting.

✨ Changed Commands (0)

✨ Changed Commands:

  • None.

❌ Removed Commands (1)

❌ Removed Commands:

  • /ta toggle devmode


📕 Config Changes (10)
📕 New Config Options (9)

📕 New Config Options:

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

  • jail.can_nation_leaders_jail_nation_residents

    • Default: false
    • If true, nation leaders can jail any resident of their nation inside of their capital city's jails.
  • jail.bossbar.enabled

    • Default: true
    • If true, jailed residents will be shown a bossbar with their remaining jail time, and bail if available.
  • jail.bossbar.color

    • Default: red
    • The bossbar color to use for the jail bossbar.
    • Valid colors are blue, green, pink, purple, red, white, or yellow.
  • jail.bossbar.text_color

  • jail.show_bail_command_in_title_message_permanently

    • Default: false
    • When this and jail.show_bail_command_in_title_message are enabled, the title message is displayed permanently to residents.
    • If this is false and jail.show_bail_command_in_title_message is enabled, the title message is only displayed for 10 seconds.
  • protection.prevent_monster_damage_to_players_in_mobless_areas

    • Default: false
    • When set to true, players will be protected from monster damage in locations where mobs are disabled.
    • Warning: This allows players to abuse mob farms while being invulnerable in a nearby chunk where mob spawns are disabled.
  • claiming.outposts.limit_outposts_per_world

    • Default: false
    • Setting this value to true will only allow towns to claim outposts in worlds they don't have claims in.
  • economy.new_expand.price_town_cede

    • Default: 0
    • The cost of a town transferring a plot using /t cede.
    • The town offering the plot pays the cost.
  • global_town_settings.max_trusted_players_per_town

    • Default: -1
    • When set to above -1, the maximum number of players that a town can trust at the same time. -1 for infinite.

❌ Moved Config Options (1)

❌ Moved Config Options:

  • jail.outlaw_jail_hours is renamed to jail.outlaw_jail_duration.

❌ Removed Config Options (0)

❌ Removed Config Options:

  • None.


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

🔑 New Permission Nodes:

No change required in townyperms.yml.

  • towny.command.town.outpost.list.other
    • Allows players to use the /t outpost list [page] [othertown] command.

❌ Removed Permission Nodes (0)

❌ Removed Permission Nodes:

  • None.

❌ Changed Permission Nodes (0)

❌ Changed Permission Nodes:

  • None


💻 API Changes (2)

💻 API:

  • Add NationKickOutOfRangeTownEvent, courtesy of Veyronity with PR #8353.
    • An event thrown to mark a town being removed from a nation due to range/proximity tests.
  • Add methods to check if players can build, destroy and itemuse silently, courtesy of whimxiqal with PR #8325. (First-Time Contributor!)

🔧 Fixed (32)

🔧 Fixed:

  • Fix outposts being loaded from incorrect key.

  • Fix loading fo spawn points and homeblocks on servers using namespacedkey'd worlds.

  • Fix config migration file not having valid json.

  • Fix plot groups causing database to not load.

  • Fix PopulationTests hitting a null config when initializing town and nation objects.

  • Fix adding and removing or nation enemies and allies.

  • Fix some resident events firing async when they ought not to.

  • Fix town's loading the allowedToWar setting.

  • Fix loading towns' homeblocks.

  • Update townyperms.yml with new towny.command.town.outpost.list.other node in nomad section.

  • Add towny.command.town.outpost.list.other as a child node of towny.command.town.outpost.list

  • Fix loading of spawn points and homeblocks on servers where bukkit loads worlds after Towny loads.

  • Fix protection of cushions in town lands.

  • Fix cushions being broken in the wilderness by explosions that will be reverted by Towny.

  • Fix /t jail list requiring passing a permission node test.

  • Fix permission lines shown on status screens having their colour codes corrupted by string replacement.

  • Fix missing space in the So You've Been Jailed book.

  • Fix players who are offline not getting unjailed.

  • Fix permission node for ignoreinvites resident toggle, courtesy of Warriorrr with PR #8305.
  • Check Entity#isVisibleByDefault when determining vanished status, courtesy of Warriorrr with PR #8308.
  • Fix possible NPE during town loading, courtesy of Warriorrr with PR #8318.
  • Fix wild regen entities and blocks not being saved on SQL, courtesy of Warriorrr with PR #8323.
  • Preserve components in translatable args/appended, courtesy of Warriorrr with PR #8330.
  • Fix saving exception when a town is deleted, courtesy of Warriorrr with PR #8331.
  • Fix backwards compatibility for cushion check, courtesy of Warriorrr with PR #8347.
  • Fix: Ensure ChunkNotificationEvent is always thrown, courtesy of SulkyWhale with PR #8281.
  • Bring parity to District and Plotgroup metadata methods, courtesy of SulkyWhale with PR #8288.
  • Fix resident toggle reset/clear behavior, courtesy of SulkyWhale with PR #8289.
  • Fix rank remove tab completes, courtesy of SulkyWhale with PR #8293.
  • Check if a town can bypass the adjacent chunk check per-world, courtesy of Veyronity with PR #8290.
  • Fix forgotten minAdjacentChunks SQL Column declaration, courtesy of Veyronity with PR #8315.
  • Fix /t jail error that can occur when a jail is removed, courtesy of MidSpike with PR #8286. (First-Time Contributor!)

🌏 Language Updates (1)

🌏 Language Updates:

  • Regular updates via Crowdin.

🌏 Dependency Updates (8)

🌏 Dependency Updates:

  • Bump fr.mrmicky:fastboard from 2.2.1 to 2.2.2.
  • Bump io.github.git-commit-id:git-commit-id-maven-plugin from 10.0.0 to 10.0.1.
  • Bump org.apache.maven:apache-maven from 3.9.16 to 3.10.0.
  • Bump org.apache.maven.plugins:maven-compiler-plugin from 3.15.0 to 3.16.0.
  • Bump org.apache.maven.plugins:maven-jar-plugin from 3.5.0 to 3.5.1.
  • Bump org.apache.maven.plugins:maven-surefire-plugin from 3.5.6 to 3.6.1.
  • Bump org.mockito:mockito-core from 5.23.0 to 5.24.0.
  • Bump org.slf4j:slf4j-simple from 2.0.18 to 2.0.20.

👽 Placeholder Updates (1)

👽 Placeholder Updates:

  • %townyadvanced_town_neutrality_cost% - Shows the player the cost their town's neutrality would be if they have a town. If they have no town it shows the generic neutrality cost.

💬 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.

DrprofLuigiakup001pebblehostDiimoniixtomhmagicjshalbrook
LuexaGoodrichDevchessmastertobecobrex1lexiccnWaspyethan
Stoniasawesometrevor1097KeNickGongMilesBHuffSolarCivLitning11
Bloc-kxSTORMYxSHMlukemangoTheeno74Rekar7Folas1337
keijodputtNeumimToStevenSharkerRialkinggewofKermX
HippieBeakNewspoetdruidbrandonyurddZacharySeebeck2020JosefofMongolia
BattleBornPMCMrG00s3ubobubobloanderKarl4s32danny
xJ0TxKRDuckyminefortcomElementals-bitEmperorDazedWoodiie
TesqageFusionZ1ShermansWorldyolo69-stsAndyRecktAtexur99
StaccatoAunt007FantaFreak04KuvviiJsincoLucasUnderlineerenmakal
atlasmcpluginsssdrive-flaktraPhatdog731uplex11KrarwiFutureLemon
MomshroomgerardvanschipItzXPurpleXspikehiddenAncientSMCorruptedGreed
TriaieSupersmurf82NikkilectricCactusbandityurigarciiaspektrsoyuz
GeraldR12Triumvir-CivlDoomerlGl0W1EgorbyhailSexy-Jura
TheNyloxhettiiEarrthLegacy MrMirhanItsSaltyA20TurtleCraftMan
LeanLover605 CivWorld emremithat2015-codelaberthouman-jpgZayGameZ and 3 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: