Repository navigation
0.103.2.14 for MC 1.19.* & 1.20.* & 1.21.* & 26.1.* & 26.2.* & 26.3.*
Pre-release
Pre-release
·
15 commits
to master
since this release
- Add shearing protection for Mooshrooms, Bogged, Copper Golems, Snow Golems and Sulfur Cubes, courtesy of Oribuin with PR #8327 (First-Time Contributor!)
- 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}.
- Added Commands:
- /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.
- /res toggle devmode {resident} .. {resident}
- Removed command: /ta toggle devmode
- Removed config options:
- plugin.dev_mode
- plugin.dev_mode.enable
- plugin.dev_mode.dev_name
- 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.
Cumulative changes since 0.103.2.0
0.103.2.13
- Fix loading fo spawn points and homeblocks on servers using namespacedkey'd worlds.
- Closes #8326.
0.103.2.12
- Fix loading of spawn points and homeblocks on servers where bukkit loads worlds after Towny loads.
- 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.
- Changed Config Option: jail.outlaw_jail_hours is renamed to jail.outlaw_jail_duration.
- New Config Options:
- 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
- Default: red
- The text color to use for the jail bossbar.
- Valid colors include presets found in https://jd.papermc.io/adventure/5.2.0/net.kyori.adventure.api/net/kyori/adventure/text/format/NamedTextColor.html
- As well as any valid hex code. E.g. 'red' or '#34cceb'.
- 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.
- jail.bossbar.enabled
- API: Add methods to check if players can build, destroy and itemuse silently, courtesy of whimxiqal with PR #8325. (First-Time Contributor!)
0.103.2.11
- 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 wild regen entities and blocks not being saved on SQL, courtesy of Warriorrr with PR #8323.
- Bump org.apache.maven:apache-maven from 3.9.16 to 3.10.0.
0.103.2.10
- Fix town's loading the allowedToWar setting.
- Allowing looking up other towns' outpost lists, courtesy of Veyronity with PR #8320.
- New Command: /t outpost list [page] [other town]
- Allows players to view other towns' outpost lists.
- New Permission node: towny.command.town.outpost.list.other
- Allows players to use the /t outpost list [page] [othertown] command.
- Fix possible NPE during town loading, courtesy of Warriorrr with PR #8318.
- Fix loading towns' homeblocks.
0.103.2.9
- Fix some resident events firing async when they ought not to.
- Fix forgotten minAdjacentChunks SQL Column declaration, courtesy of Veyronity with PR #8315.
0.103.2.8
- New PAPI Placeholder: %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.
- Add support for displaying Days in more of the TimeMgmt methods.
- Add automatic cost refunds to confirmations, courtesy of Warrior with PR #8254.
- Allow setting min adjacent chunks per-world, courtesy of Veyronity with PR #8302.
- New Command: /tw set minadjacency
- Used to set a world's min_adjacent_claim setting.
- Add a config option to set a cost for /t cede, courtesy of Veyronity with PR #8307.
- New Config Option: 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.
- Check Entity#isVisibleByDefault when determining vanished status, courtesy of Warriorrr with PR #8308.
- 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.
- Upload Towny jar directly as actions artifact, courtesy of Warriorrr with PR #8309.
- Bump org.slf4j:slf4j-simple from 2.0.19 to 2.0.20.
- Bump org.mockito:mockito-core from 5.23.0 to 5.24.0.
- Bump fr.mrmicky:fastboard from 2.2.1 to 2.2.2.
0.103.2.7
- Update to support MC 26.3.
- New Automatic Config Edit: global_town_settings.farm_plot_allow_blocks
- Will have ",SHELF_MUSHROOM" added to it.
- Fix permission node for ignoreinvites resident toggle, courtesy of Warriorrr with PR #8305.
0.103.2.6
- Fix adding and removing or nation enemies and allies.
- Send a town message when a plot is claimed, courtesy of Veyronity with PR #8300.
0.103.2.5
- Fix PopulationTests hitting a null config when initializing town and nation objects.
- Add ability for nation capitals to jail nation residents.
- Closes #8292.
- New Config Option: 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.
- Fix rank remove tab completes, courtesy of SulkyWhale with PR #8293.
- Protect players from hostile mobs in claims, courtesy of pernio with PR #8284.
- New Config Option: 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.
- Check if a town can bypass the adjacent chunk check per-world, courtesy of Veyronity with PR #8290.
- New Config Option: 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.
- 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.0.
- Bump io.github.git-commit-id:git-commit-id-maven-plugin from 10.0.0 to 10.0.1.
- Bump org.apache.maven.plugins:maven-compiler-plugin from 3.15.0 to 3.16.0.
- Bump org.slf4j:slf4j-simple from 2.0.18 to 2.0.19.
0.103.2.4
- Fix outposts being loaded from incorrect key.
- Closes #8291.
0.103.2.3
- Fix plot groups causing database to not load.
0.103.2.2
- Fix config migration file not having valid json.
0.103.2.1
- Add PLOT_GROUP to TownyCommandAddonAPI, courtesy of SulkyWhale with PR #8265.
- 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.
- Add resident trustlist command, courtesy of flyncoes with PR #8276.
- New Command: /res trustlist {playername}, shows you (or the given playername) which towns they are trusted in.
- Fix: Ensure ChunkNotificationEvent is always thrown, courtesy of SulkyWhale with PR #8281.
- Add tab complete to /plot group trust remove, courtesy of Warriorrr with PR #8282.
- Fix /t jail error that can occur when a jail is removed, courtesy of MidSpike with PR #8286. (First-Time Contributor!)
- 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.
- [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.
Towny SponsorsI want to give a big thank you to all of my sponsors: | |||||
|---|---|---|---|---|---|
| DrprofLuigi | akup001 | pebblehost | Diimoniix | tomhmagic | jshalbrook |
| Luexa | TurtleCraftMan | chessmastertobe | peppower | cobrex1 | lexiccn |
| GoodrichDev | Waspyethan | trevor1097 | AppleDeath318 | MilesBHuff | SolarCiv |
| Litning11 | Bloc-k | xSTORMYxSHM | lukemango | Theeno74 | Folas1337 |
| keijodputt | NeumimTo | EpicSpeed | StevenSharker | KermX | HippieBeak |
| 1456o9 | Newspoet | andrei106 | druidbrandon | yurdd | JosefofMongolia |
| BattleBornPMC | MrG00s3 | MagmaThinker | ubobubob | Karl4s | 32danny |
| terminamc | KRDucky | minefortcom | Elementals-bit | EmperorDazed | Tesqage |
| ShermansWorld | AndyReckt | Atexur99 | FantaFreak04 | Kuvvii | Jsinco |
| Monarchbb | Phatdog731 | uplex11 | havengames-br | CaptainCelarion | regnumbospori |
| romeoiscool123123-coder | Becerritoo | k1erzn | Momshroom | gerardvanschip | spikehidden |
| CorruptedGreed | Triaie | Supersmurf82 | Nikkilectric | Cactusbandit | yurigarciia |
| spektrsoyuz | EarrthLegacy | GeraldR12 | Triumvir-Civ | lDoomerl | laberthouman-jpg |
| Copfie | matt19901 | Rice-wine-o | BCCBOK | gorbyhail | rladudtj2171 |
| hettii | and 29 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 Plugins! | |||||
| 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 |