Skip to content

0.97.0.2 for MC 1.14.*/1.15.*/1.16.*

Pre-release
Pre-release

Choose a tag to compare

@LlmDl LlmDl released this 02 Jun 16:28
  • Validate /plot group fs input, courtesy of Warriorrrr with PR #4968.
  • Fix addon api exception in the towny command, courtesy of Warriorrrr with PR #4967.
  • Shade in slf4j, fixing ClassNotFoundException: org.slf4j.LoggerFactory
  • Update es-419, courtesy of EuGNosii with PR #4964.
  • Fix towns that already have a nation being able to be sent nation invites.
  • Fix nations not losing their spawn point.
  • Fix command always being null, courtesy of Warriorrrr with PR #4974.
  • Add /ta command for getting exact claimedat time, courtesy of Warriorrrr with PR #4911.
  • New Command: /ta plot claimedat
    • Shows when the plot was claimed.
  • Automatically clean up unused NPC residents, courtesy of Warriorrrr with PR #4972.
  • Parse hex colours in resident titles in the status screens.
  • Jail Overhaul Project (Begun in January 2021):
    • New Jail Object and JailUtil.
      • Jails are stored in the database in the towny\data\jails\ folder.
      • Towns no longer stores a list of jailspawns.
      • Old town jailspawns will be converted into new Jail objects on first load.
        • Jailed residents will not keep their jailed status, getting a clean slate to start from.
      • Jailing and unjailing code is much better than it used to be.
      • The jailing system is very much the same still, but there are many new nice things.
    • Add Jail Book.
      • The book is given to players when they are jailed.
      • It explains to the jailed player what they can do to get out of jail, based on how jails have been configured on the server.
      • Closes #4686.
    • Jail plots can now have more than one "cell" or spawn location.
      • SpawnPoints particles are used to show the jail cell spawns.
      • Cells are added/removed using /plot jailcell add|remove
      • Closes #3106.
    • The jailed message now includes who ran the jail command.
    • Jail plots can now have PVP disabled in them (configurable.)
    • Chorus Fruit are now lumped in with the Ender Pearl in a new config option for whether teleport items can be used by jailed players.
    • Add optional logout protection for newly-jailed players.
      • Newly jailed players that logout before they are teleported to jail will be killed, when the feature is activated.
      • The player is warned of this to prevent surprises.
      • Similar to combat-logging plugins.
    • Add new-player jail-immunity.
      • Players who first joined the server cannot be jailed for their first hour of playtime (configurable.)
    • Add Town PrimaryJail.
      • The PrimaryJail is the default jail for a town.
      • It is used when the /t jail NAME command is used (with no jail/cell/hours specified.)
      • It is used when outlaw and enemies are jailed by being killed.
      • PrimaryJail is set using /t set primaryjail.
    • New Permission Nodes:
      • towny.command.plot.jailcell - allows for adding/removing of jail cells in a jail plot.
      • towny.command.town.jail
      • towny.command.town.jail.list
      • towny.command.town.unjail
      • towny.command.town.set.primaryjail
      • towny.command.plot.jailcell
    • Removed Permission Node: - towny.command.town.toggle.jail
    • New Commands:
      • /plot jailcell add - Adds a jail cell to a jail plot, where the player is stood.
      • /plot jailcell remove - Removes a jail cell from a jail plot, where the player is stood.
      • /town jail list - Shows jail number, name, coord, cellcount and which jail is the primary jail.
      • /town jail {name} - Jails the given player for 1 hour, must be a resident of your own town.
      • /town jail {name} {hours} - Jails the given player for the given hours.
      • /town jail {name} {hours} {jail} - Jails the given player for the given hours, in the given jail plot (which is a number.)
      • /town jail {name} {hours} {jail} {cell} - Jails the given player for the given hours, in the given jail plot and jail cell (which are both numbers.)
      • /town unjail {name} - Unjails someone in your town's jail.
      • /town set primaryjail - Sets your town's primary jail.
    • Removed Command: /town toggle jail
    • New Config Options:
      • jail.outlaw_jail_hours
        • Default: 5
        • How many hours an attacking outlaw will be jailed for.
      • jail.do_jail_plots_deny_pvp
        • Default: false
        • When true, jail plots will prevent any PVP from occuring. Applies to jailed residents only.
      • jail.prevent_newly_jailed_players_logging_out
        • Default: false
        • When true, Towny will prevent a person who has been jailed by their mayor/town from logging out if they do log out they will be killed first, ensuring they respawn in the jail.
      • jail.new_player_immunity
        • Default: 1h
        • How long do new players have to be on the server before they can be jailed?
      • jail.jail_allows_teleport_items
        • Default: false
        • If true jailed players can use items that teleport, ie: Ender Pearls & Chorus Fruit, but are still barred from using other methods of teleporting.
        • Closes #4903
    • Removed Config Option: jail.outlaw_jail_days
  • Bump Language Files to 0.107.

Cumulative changes since 0.97.0.0
0.97.0.1
  • Fix german.yml, courtesy of relkai with PR #4924.
  • API: Add TownyAPI.getResidentOrNull(TownBlock).
    • Gets the resident who owns the townblock or null if unowned.
    • Best used after TownBlock.hasResident();
  • API: Add TownyAPI.getTownOrNull(TownBlock).
    • Gets the town who owns the townblock or null if wilderness.
    • Best used after TownBlock.hasTown();
  • Fix /n set king declaring that the capital has too many residents.
  • Fix potential console spam from adventure, courtesy of Warriorrrr with PR #4939.
  • bStats to 2.2.1 (was 1.x), Shade it; make isSpigot() private, rename it. Courtesy of TheFlagCourier with PR #4934.
  • Replace deprecated methods on TownyLogger, courtesy of EuGNosii with PR #4933.
  • Update language file es-419.yml, courtesy ofBlock commands from being ran by outsiders #4953#4910.
  • Add Command Addon API, courtesy of Warriorrrr with PR #4886.
    • Adds a new command addon API, that allows plugin developers to add their own sub commands to Towny's existing commands.
  • Replace player.sendMessage() with TownyMessaging.sendMessage().
  • Undo PR #4933 to retain backwards compatibility.
  • Fix no feedback when using a /plot command in the wilderness.
  • Fix regression: null message shown from /t spawn and /n spawn when used from the wilderness.
  • API: Add WorldCoord.getTownOrNull().
    • Gets the town at that WorldCoord or null if it is in the wilderness.
    • Best used after WorldCoord.hasTownBlock();
  • Fix long town/nation names being able to break the TownyFormatter/ChatTools.
  • Fix sheep being protected from shearing in the wilderness.
  • Improve /town claim auto, works again but doesn't always claim everything it could in one use.
  • Fix tamed dogs not being hittable inside towns, courtesy of Warriorrrr with PR #4955.
  • Fix a few tab completion issues with the addon API, courtesy of Warriorrrr with PR #4943.
  • Add commands from being ran by outsiders, courtesy of EuGNosii with PR #4953.
  • New Config Option: global_town_settings.town_command_blacklisting.own_town_and_wilderness_limited_commands
    • Default: sethome,home
    • This allows the usage of blacklisted commands only in the player's town and the wilderness (essentially blocking commands from being ran by tourists/visitors.)
    • Players with the towny.globally_welcome permission node are not going to be limited by this list.
    • Commands have to be on town_command_blacklisting.town_blacklisted_commands, else this is not going to be checked.
  • Include tb_prefix in column drop check, courtesy of Parsonswy with PR #4952 (First-Time Contributor!)
    • For the mysql servers that could never get the old columns dropped, this will fix that, and prevent the massive error logs that resulted from it.
    • Closes #4935.
  • Bump language files to 0.106.

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
scatterspellgerardvanschippartydev DrprofLuigi
Tobza SmallSansSerif TheNyloxdiontimmer
trevor1097benevolent2012 bretomart HunSolos
0xBit-MCspecs1396treeDerevoScottlander100
teozfrankItsSynchroAdvanced-Kind-MCMidnightSugar
ceeedric0liverGMCMicrohazardmhiaxo
TheFlagCourierand 2 private sponsors.

If you want to support the developer consider becoming a sponsor.

(It's just like Patreon but 100% goes to the developer.)
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: