Skip to content

Releases: TownyAdvanced/Towny

0.95.0.1 for 1.14

19 Oct 15:45
Compare
Choose a tag to compare
0.95.0.1 for 1.14 Pre-release
Pre-release
  • More PAPI placeholders:
    • %townyadvanced_town_residents_amount% - number of residents in a town.
    • %townyadvanced_town_residents_online% - number of residents in a town that are currently online.
    • %townyadvanced_town_townblocks_used% - number of townblocks claimed by a resident's town.
    • %townyadvanced_town_townblocks_bought% - number of townblocks bought by a resident's town.
    • %townyadvanced_town_townblocks_bonus% - number of bonus blocks given to a resident's town.
    • %townyadvanced_town_townblocks_maximum% - number of townblocks a town has available to claim.
    • %townyadvanced_town_townblocks_natural_maximum% - number of townblocks a town has available to claim, not counting bonus/bought townblocks.
    • %townyadvanced_town_mayor% - a resident's town's mayor's name.
    • %townyadvanced_nation_king% - a resident's nation's king's name.
    • %townyadvanced_resident_friends_amount% - number of friends a resident has.
    • %townyadvanced_nation_residents_amount% - number of residents in a resident's nation.
    • %townyadvanced_nation_residents_online% - number of residents in a resident's nation that are currently online.
    • %townyadvanced_nation_capital% - name of a resident's nation's capital.
    • Closes ticket #3446
  • Make /t rank add|remove {name} {rank} not care about case sensitivity.
  • New Config Option: economy.daily_taxes.town_plotbased_upkeep_minimum_amount
    • default: 0.0
    • If set to any amount over zero, if a town's plot-based upkeep totals less than this value, the town will pay the minimum instead.
    • Closes Ticket #664
  • API: new event added - NewDayEvent
    • has gettable lists of fallen towns and nations, total town and nation upkeeps collected, time at which the event happened.
    • Closes ticket #3323
  • New Perm Levels: Town & Nation
    • On player-owned plots the perm line now has Town added to it.
      • Build/Destroy/Switch/ItemUse can be set for friends/townmembers/allies/outsiders.
      • Allies consists of nation-members and nation-allies.
    • On town-owned plots the perm line now has Nation added to it.
      • Build/Destroy/Switch/ItemUse can be set for residents/nationmembers/allies/outsiders.
      • Allies consists of nation-allies.
    • Closes ticket #3241
  • New Config Options:
    • default_perm_flags.resident.town.build, default false
    • default_perm_flags.resident.town.destroy, default false
    • default_perm_flags.resident.town.item_use, default false
    • default_perm_flags.resident.town.switch, default false
    • default_perm_flags.town.nation.build, default false
    • default_perm_flags.town.nation.destroy, default false
    • default_perm_flags.town.nation.item_use, default false
    • default_perm_flags.town.nation.switch, default false
    • These are used to set the default perm values for new plots.
  • Language files bumped to 0.56.
  • Fix being unable to toggle debug mode in-game, courtesy of Articdive
  • The german.yml has been updated to 0.56 by Sprugente.

Click Here for a full changelog

Towny Install Guide
Towny Permission Nodes
How Towny Works

0.95.0.0 for 1.13.2

15 Oct 16:33
Compare
Choose a tag to compare

Towny Advanced 0.95.0.0

Release contains:

  • Towny 0.95.0.0 for 1.13.2
  • TownyChat 0.58
  • TownyNameUpdater 4.0

REQUIRED TOWNYPERMS CHANGE:

  • REQUIRED TOWNYPERMS.YML CHANGE:
    • Add towny.command.nation.join to the mayor rank.
    • Add towny.command.nation.townlist to the nomad rank.
    • Add towny.command.nation.allylist to the nomad rank.
    • Add towny.command.nation.enemylist to the nomad rank.

Added:

  • Make Towny more compatible with DungeonsXL's loading and unloading of worlds.
    • Prior to running this build any DXL worlds should be removed from the towny\data\worlds folder, and the towny\data\worlds.txt file.
    • Any DXL world that loads will have usingTowny=false, and not be saved by Towny.
  • Revert-on-unclaim feature rewrite for 1.14
    • This brings about the 4th version of the plot snapshot format used in the feature.
    • Should faithfully regenerate things to their pre-claimed state.
    • Still handles older version 3 snapshots but version 3 snapshots made on pre 1.13/1.14 builds will still not regenerate perfectly.
  • Add missing responses to successful uses of /ta town set.
  • Added confirmations to /ta town {townname} delete when used from the Console.
  • Added confirmations to /ta nation {nationname} delete when used from the Console.
  • Add clarity to config comments for the delete_old_residents option.
  • Add price increase percentage to /town buy bonus output.
  • Add decimals to price increase percentage for claiming townblocks seen in /towny prices.
  • Added townblocks and outpost claiming costs to the /towny prices screen. Shows cost increase when it is used.
  • Made the AdminEnabledPVP setting part of the saving and loading rather than being a temporary setting only accessible by other plugins.
  • Added PAPI Placeholders:
    - %townyadvanced_town% - displays town name (if they have one.)
    - %townyadvanced_town_formatted% - displays long-form town name (if they have one.)
    - %townyadvanced_nation% - displays nation name (if they have one.)
    - %townyadvanced_nation_formatted% - displays long-form nation name (if they have one.)
    - %townyadvanced_town_balance% - displays town bank value.
    - %townyadvanced_nation_balance% - displays nation bank value.
    - %townyadvanced_town_tag% - displays town tag (if they have one.)
    - %townyadvanced_town_tag_override% - displays town tag (if they have one,) or the full town name.
    - %townyadvanced_nation_tag% - displays nation tag (if they have one.)
    - %townyadvanced_nation_tag_override% - displays nation tag (if they have one,) or the full nation name.
    - %townyadvanced_towny_tag% - displays town and nation tags.
    - %townyadvanced_towny_tag_override% - displays town and nation tags if they exist, falling back to names if they don't.
    - %townyadvanced_towny_tag_formatted% - displays town and nation tags if they exist, falling back to long-form names if they don't.
    - %townyadvanced_title% - displays king-granted title.
    - %townyadvanced_surname% - displays king-granted surname.
    - %townyadvanced_towny_name_prefix% - displays mayor and king prefix.
    - %townyadvanced_towny_name_postfix% - displays mayor and king postfix.
    - %townyadvanced_towny_prefix% - displays title if it exists, falls back to mayor and king prefixes.
    - %townyadvanced_towny_postfix% - displays surname if it exists, falls back to mayor and king postfixes.
    - %townyadvanced_towny_colour% - used to show colours before nomads, residents, mayors and kings. (Set in the config.yml.)  
  • Change requirements for luring animals.

    • Old behaviour: Player had to be able to break dirt where the animal stood. Affected in towns and wilderness.
    • New behaviour: Player has to be able to break dirt where the animal stands. Affects only personally owned plots.
      • Town-owned plots are exempt. Wilderness is exempt.
  • Change upkeep messages for towns and nations to display fallen towns/nations in a much more condensed way.

  • Change town tax, plot tax, nation tax messages to display in a much more condensed way.

  • Removed some old BukkitTools.getMaterial(BlockID int) calls on the loading of worlds' ignoreID lists. These have been material lists for a long time, doubtful anyone is converting something that old anymore.

    • Long-term this gets us closer to removing the de.themoep.idconverter package.
    • Remaining spots include:
      • a deprecated permission node wilderness check.
      • a part of TownySettings that converts lists of blocksIDs to materials.
      • the PlotBlockData restoreNextBlock (which we have to keep around for a while longer.)
  • Removed underscores from showing in town and nations names in the following places: /t new, /t list, /n new, /n list, /n leave.

  • Remove a couple deprecated things from our VaultPermSource.

  • Remove old MCStats Metrics because their website no longer collects data anyways.

  • Remove deprecated war and perm hud code for undeprecated code.

  • API: Old API deprecated. See new API documentation: https://github.com/TownyAdvanced/Towny/wiki/TownyAPI

  • API: Added nation.getNumTownBlocks();

    • Returns the number of townblocks owned by all the nation's towns.
  • API: Added nation.getKing().

  • API: Added ShopPlotUtil for shop plugins to use.

    • Contains helpful, easy-to-use tests.
  • API: Added getPlayer() to the API's TownPreClaimEvent so that plugin which cancel Towny claims can more easily inform the player why their claim is cancelled.

    • Suggestion by NorbiPeti.
  • API: add TownyAPI.getInstance().isTownyWorld()

    • Returns true when a world has usingTowny=true.
  • Major Database overhaul, courtesy of ArticDive.

    • Make TownySQLSource implement TownyDatabaseHandler directly
    • Make TownyUniverse a singleton, since there is only ever 1 instance of the class.
    • Take TownyUniverse out of the objects package and put it on root, (rename to TownyAPI?? or take out API methods into a new class called TownyAPI, also a singleton.), Deprecate the old version and make it forward to the new TownyUniverse.
    • Remove all calls to our own deprecated methods.
    • Slightly optimize the calls to our internal API.
  • The FileMgmt has seen a slight touch-up courtesy of Articdive.

    • Might be a fix for some servers who've been unable to update beyond 0.94.0.0 without townblocks causing safemode.
  • The TownyLogger has been removed in favour of log4j.Logger, work done by Articdive.

  • The Towny project has now become Mavenized, courtesy of FlagCourier.

    • The previous build system used was Ant, which was in use from 2010-2019.
  • Update for signs and dyes, courtesy of TheFlagCourier.

  • New Feature: Embassy information on the /res screen, courtesy of SeruhioX.

    • "Embassies in {town(s)}" now shows in the /res screen for players that own embassies in other towns.

Language File Updates:

  • New Language File: chinese.yml courtesy of qsefthuopq.
  • New Language File: korean.yml translation by DayBreak365.
  • The german.yml has been updated by Sprugente.
  • Made war starts message, war stats screen, and war hud translatable.
  • The following things can now be translated:
    • The "Added " when you add someone to your friendslist.
    • The "Not Registered" message show when the NotRegisteredException exception is called from failed commands.
  • The getFormattedResidents() format which has 3 colours can now have their colours set.
    • These are commonly seen in the /res screen for the friends list; the townranks in the /town screen; the nationranks in the /nationscreen, and probably other places where to show a list of residents.
    • The first colour is the start of the line, the second colour is the [#] section, the third colour is the list of resident names.
  • And many more...

Fixes:

  • Attempt #2 at silencing the AssignPermissions() error seen when DungeonsXL moves offline players out of dungeon worlds.
  • Work around solution for crossbows and fireworks until we can get the shooter of the firework via the Bukkit API.
    • If either explosions or PVP is disallowed where the victim is located, the damage will be cancelled.
  • Fix messages showing when unclaiming an area where nothing can be unclaimed.
  • Fix MYSQL servers not loading due to missing DB code for saving and loading of RegenList and SnapshotList.
  • Fix null locationCanExplode error seen since fireworks got handled in 0.94.0.3.
  • Fix a missing permission check.
  • Fix for /nation status screen not properly showing nation spawn coordinates when nation is set to public.
  • Fix saving and loading of Cyrillic characters in Towns and Nations.
    • the regex in the config should probably have the following settings:
      • name_check_regex: ^[а-яА-Яa-zA-Z0-9._[]-]*$
      • string_check_regex: ^[а-яА-Яa-zA-Z0-9\s._[]#?!@$%^&*-,*(){}]*$
      • name_remove_regex: '[^а-яА-Яa-zA-Z0-9._\[\]-]'
  • Fix edge-case issue with health regen task and players who've had their health negatively modified.
  • Fix for mysql servers not getting the new adminenabledpvp town column.
  • Fix config not making all the values required to have a working town-upkeep-overclaimed-penalty.
  • Potentially fix falling towns' plotsnapshots causing an Null Error on Townblocks (Ticket #3398)
    • Had to revert a previous fix for Exception spam that involves the now-unused RemoveManyTownblocks.
  • Fix outlaws from spawning into public towns who consider them an outlaw.
  • Fix outposts not charging the outpost cost in the config.
  • Fix removeOutpost console spam on servers that aren't limiting outposts anyways.
  • Fix string regex not containing a space, causing town and nation boards to not allow spaces.
  • Fix missing isOpen in nation mysql schema.
  • Fix possible NPE in Sh...
Read more

0.95.0.0 for MC 1.14

14 Oct 19:21
Compare
Choose a tag to compare

Towny Advanced 0.95.0.0

Release contains:

  • Towny 0.95.0.0
  • TownyChat 0.57
  • TownyNameUpdater 4.0

REQUIRED CONFIG CHANGES:

  • REQUIRED CONFIG CHANGE: protection.item_use_ids
    • Add ",BLACK_DYE,BLUE_DYE,BROWN_DYE,CYAN_DYE,GRAY_DYE,GREEN_DYE,LIGHT_BLUE_DYE,LIGHT_GRAY_DYE,LIME_DYE,MAGENTA_DYE,ORANGE_DYE,PINK_DYE,PURPLE_DYE,RED_DYE,WHITE_DYE,YELLOW_DYE"
    • Stops players from using dyes on signs.
  • REQUIRED CONFIG CHANGE:
    • In THREE places of the config you must change the sign names. These places are:
      • new_world_settings.plot_management.block_delete.unclaim_delete
      • new_world_settings.plot_management.mayor_plotblock_delete.mayor_plot_delete
      • new_world_settings.plot_management.revert_on_unclaim.block_ignore
    • Change: SIGN_POST,WALL_SIGN
    • To: ACACIA_SIGN,BIRCH_SIGN,DARK_OAK_SIGN,JUNGLE_SIGN,OAK_SIGN,SPRUCE_SIGN,ACACIA_WALL_SIGN,BIRCH_WALL_SIGN,DARK_OAK_WALL_SIGN,JUNGLE_WALL_SIGN,OAK_WALL_SIGN,SPRUCE_WALL_SIGN
    • You will have to edit these sign names in your Towny\data\worlds\WORLDNAME.txt files as well.
  • REQUIRED CONFIG CHANGE: protections.switch_ids
    • Add: ",BARREL,LIGHT_GRAY_SHULKER_BOX"
  • REQUIRED CONFIG CHANGE: new_world_settings.plot_management.revert_on_unclaim.block_ignore set to:
    • GOLD_ORE,LAPIS_ORE,LAPIS_BLOCK,GOLD_BLOCK,IRON_ORE,IRON_BLOCK,MOSSY_COBBLESTONE,TORCH,SPAWNER,DIAMOND_ORE,DIAMOND_BLOCK,ACACIA_SIGN,BIRCH_SIGN,DARK_OAK_SIGN,JUNGLE_SIGN,OAK_SIGN,SPRUCE_SIGN,ACACIA_WALL_SIGN,BIRCH_WALL_SIGN,DARK_OAK_WALL_SIGN,JUNGLE_WALL_SIGN,OAK_WALL_SIGN,SPRUCE_WALL_SIGN,GLOWSTONE,EMERALD_ORE,EMERALD_BLOCK
    • All existing Towny\data\worlds\WORLDNAME.txt files should have their plotManagementIgnoreIds lines also changed to the above.

REQUIRED TOWNYPERMS CHANGE:

  • REQUIRED TOWNYPERMS.YML CHANGE:
    • Add towny.command.nation.join to the mayor rank.
    • Add towny.command.nation.townlist to the nomad rank.
    • Add towny.command.nation.allylist to the nomad rank.
    • Add towny.command.nation.enemylist to the nomad rank.

Added:

  • Make Towny more compatible with DungeonsXL's loading and unloading of worlds.
    • Prior to running this build any DXL worlds should be removed from the towny\data\worlds folder, and the towny\data\worlds.txt file.
    • Any DXL world that loads will have usingTowny=false, and not be saved by Towny.
  • Revert-on-unclaim feature rewrite for 1.14
    • This brings about the 4th version of the plot snapshot format used in the feature.
    • Should faithfully regenerate things to their pre-claimed state.
    • Still handles older version 3 snapshots but version 3 snapshots made on pre 1.13/1.14 builds will still not regenerate perfectly.
  • Add missing responses to successful uses of /ta town set.
  • Added confirmations to /ta town {townname} delete when used from the Console.
  • Added confirmations to /ta nation {nationname} delete when used from the Console.
  • Add clarity to config comments for the delete_old_residents option.
  • Add price increase percentage to /town buy bonus output.
  • Add decimals to price increase percentage for claiming townblocks seen in /towny prices.
  • Added townblocks and outpost claiming costs to the /towny prices screen. Shows cost increase when it is used.
  • Made the AdminEnabledPVP setting part of the saving and loading rather than being a temporary setting only accessible by other plugins.
  • Add protection to books sitting in lecterns. These books can only be taken if the player can also break the lectern itself.
  • Added PAPI Placeholders:
    - %townyadvanced_town% - displays town name (if they have one.)
    - %townyadvanced_town_formatted% - displays long-form town name (if they have one.)
    - %townyadvanced_nation% - displays nation name (if they have one.)
    - %townyadvanced_nation_formatted% - displays long-form nation name (if they have one.)
    - %townyadvanced_town_balance% - displays town bank value.
    - %townyadvanced_nation_balance% - displays nation bank value.
    - %townyadvanced_town_tag% - displays town tag (if they have one.)
    - %townyadvanced_town_tag_override% - displays town tag (if they have one,) or the full town name.
    - %townyadvanced_nation_tag% - displays nation tag (if they have one.)
    - %townyadvanced_nation_tag_override% - displays nation tag (if they have one,) or the full nation name.
    - %townyadvanced_towny_tag% - displays town and nation tags.
    - %townyadvanced_towny_tag_override% - displays town and nation tags if they exist, falling back to names if they don't.
    - %townyadvanced_towny_tag_formatted% - displays town and nation tags if they exist, falling back to long-form names if they don't.
    - %townyadvanced_title% - displays king-granted title.
    - %townyadvanced_surname% - displays king-granted surname.
    - %townyadvanced_towny_name_prefix% - displays mayor and king prefix.
    - %townyadvanced_towny_name_postfix% - displays mayor and king postfix.
    - %townyadvanced_towny_prefix% - displays title if it exists, falls back to mayor and king prefixes.
    - %townyadvanced_towny_postfix% - displays surname if it exists, falls back to mayor and king postfixes.
    - %townyadvanced_towny_colour% - used to show colours before nomads, residents, mayors and kings. (Set in the config.yml.)  
  • Change requirements for luring animals.

    • Old behaviour: Player had to be able to break dirt where the animal stood. Affected in towns and wilderness.
    • New behaviour: Player has to be able to break dirt where the animal stands. Affects only personally owned plots.
      • Town-owned plots are exempt. Wilderness is exempt.
  • Change upkeep messages for towns and nations to display fallen towns/nations in a much more condensed way.

  • Change town tax, plot tax, nation tax messages to display in a much more condensed way.

  • Removed some old BukkitTools.getMaterial(BlockID int) calls on the loading of worlds' ignoreID lists. These have been material lists for a long time, doubtful anyone is converting something that old anymore.

    • Long-term this gets us closer to removing the de.themoep.idconverter package.
    • Remaining spots include:
      • a deprecated permission node wilderness check.
      • a part of TownySettings that converts lists of blocksIDs to materials.
      • the PlotBlockData restoreNextBlock (which we have to keep around for a while longer.)
  • Removed underscores from showing in town and nations names in the following places: /t new, /t list, /n new, /n list, /n leave.

  • Remove a couple deprecated things from our VaultPermSource.

  • Remove old MCStats Metrics because their website no longer collects data anyways.

  • Remove deprecated war and perm hud code for undeprecated code.

  • API: Old API deprecated. See new API documentation: https://github.com/TownyAdvanced/Towny/wiki/TownyAPI

  • API: Added nation.getNumTownBlocks();

    • Returns the number of townblocks owned by all the nation's towns.
  • API: Added nation.getKing().

  • API: Added ShopPlotUtil for shop plugins to use.

    • Contains helpful, easy-to-use tests.
  • API: Added getPlayer() to the API's TownPreClaimEvent so that plugin which cancel Towny claims can more easily inform the player why their claim is cancelled.

    • Suggestion by NorbiPeti.
  • API: add TownyAPI.getInstance().isTownyWorld()

    • Returns true when a world has usingTowny=true.
  • Major Database overhaul, courtesy of ArticDive.

    • Make TownySQLSource implement TownyDatabaseHandler directly
    • Make TownyUniverse a singleton, since there is only ever 1 instance of the class.
    • Take TownyUniverse out of the objects package and put it on root, (rename to TownyAPI?? or take out API methods into a new class called TownyAPI, also a singleton.), Deprecate the old version and make it forward to the new TownyUniverse.
    • Remove all calls to our own deprecated methods.
    • Slightly optimize the calls to our internal API.
  • The FileMgmt has seen a slight touch-up courtesy of Articdive.

    • Might be a fix for some servers who've been unable to update beyond 0.94.0.0 without townblocks causing safemode.
  • The TownyLogger has been removed in favour of log4j.Logger, work done by Articdive.

  • The Towny project has now become Mavenized, courtesy of FlagCourier.

    • The previous build system used was Ant, which was in use from 2010-2019.
  • Update for signs and dyes, courtesy of TheFlagCourier.

  • New Feature: Embassy information on the /res screen, courtesy of SeruhioX.

    • "Embassies in {town(s)}" now shows in the /res screen for players that own embassies in other towns.

Language File Updates:

  • New Language File: chinese.yml courtesy of qsefthuopq.
  • New Language File: korean.yml translation by DayBreak365.
  • The german.yml has been updated by Sprugente.
  • Made war starts message, war stats screen, and war hud translatable.
  • The following things can now be translated:
    • The "Added " when you add someone to your friendslist.
    • The "Not Registered" message show when the NotRegisteredException exception is called from failed commands.
  • The getFormattedResidents() format which has 3 colours can now have their colours set.
    • These are commonly seen in the /res screen for the friends list; the townranks in the /town screen; the nationranks in the /nationscreen, and probably other places where to show a list of residents.
    • The first colour is the start of the line, the second colour is the [#] section, the third colour is the list of resident names.
  • And many more...

Fixes:

  • Attempt #2 at silencing the AssignPermissions() error seen when DungeonsXL moves offline players out of dungeon worlds.
  • Work around solution for crossbows and fireworks until we can get the shooter of the firework via the Bukkit API.
    • If ei...
Read more

0.94.0.18 for 1.14

13 Oct 20:08
Compare
Choose a tag to compare
0.94.0.18 for 1.14 Pre-release
Pre-release
  • REQUIRED TOWNYPERMS.YML CHANGE:
    • Add towny.command.nation.townlist to the nomad rank.
    • Add towny.command.nation.allylist to the nomad rank.
    • Add towny.command.nation.enemylist to the nomad rank.
  • PAPI Placeholder Support:
    • New config options:
      • filters_colour_chat.papi_chat_formatting.both
      • filters_colour_chat.papi_chat_formatting.town
      • filters_colour_chat.papi_chat_formatting.nation
      • filters_colour_chat.papi_chat_formatting.ranks.nomad
      • filters_colour_chat.papi_chat_formatting.ranks.resident
      • filters_colour_chat.papi_chat_formatting.ranks.mayor
      • filters_colour_chat.papi_chat_formatting.ranks.king
    • Available tags:
      • %townyadvanced_town% - displays town name (if they have one.)
      • %townyadvanced_town_formatted% - displays long-form town name (if they have one.)
      • %townyadvanced_nation% - displays nation name (if they have one.)
      • %townyadvanced_nation_formatted% - displays long-form nation name (if they have one.)
      • %townyadvanced_town_balance% - displays town bank value.
      • %townyadvanced_nation_balance% - displays nation bank value.
      • %townyadvanced_town_tag% - displays town tag (if they have one.)
      • %townyadvanced_town_tag_override% - displays town tag (if they have one,) or the full town name.
      • %townyadvanced_nation_tag% - displays nation tag (if they have one.)
      • %townyadvanced_nation_tag_override% - displays nation tag (if they have one,) or the full nation name.
      • %townyadvanced_towny_tag% - displays town and nation tags.
      • %townyadvanced_towny_tag_override% - displays town and nation tags if they exist, falling back to names if they don't.
      • %townyadvanced_towny_tag_formatted% - displays town and nation tags if they exist, falling back to long-form names if they don't.
      • %townyadvanced_title% - displays king-granted title.
      • %townyadvanced_surname% - displays king-granted surname.
      • %townyadvanced_towny_name_prefix% - displays mayor and king prefix.
      • %townyadvanced_towny_name_postfix% - displays mayor and king postfix.
      • %townyadvanced_towny_prefix% - displays title if it exists, falls back to mayor and king prefixes.
      • %townyadvanced_towny_postfix% - displays surname if it exists, falls back to mayor and king postfixes.
      • %townyadvanced_towny_colour% - used to show colours before nomads, residents, mayors and kings. (Set in the config.yml.)
Click Here for a full changelog

Towny Install Guide
Towny Permission Nodes
How Towny Works

0.94.0.17 for 1.14

10 Oct 12:04
Compare
Choose a tag to compare
0.94.0.17 for 1.14 Pre-release
Pre-release
  • Fix r's and f's in the plot perm hud being reversed.
  • Fix r's and f's being reversed in set perm command outputs.
  • New Config Option: jail.blacklisted_commands
    • Default: home,spawn,teleport,tp,tpa,tphere,tpahere,back,dback,ptp,jump,kill,warp,suicide
    • Commands which a jailed player cannot use.
  • Language files bumped to 0.55
Click Here for a full changelog

Towny Install Guide
Towny Permission Nodes
How Towny Works

0.94.0.16 for 1.14

08 Oct 20:27
Compare
Choose a tag to compare
0.94.0.16 for 1.14 Pre-release
Pre-release
  • Fix War events being fired async.
  • New Config Option: protection.mob_removal_skips_named_mobs
    • default: false
    • When set to true, mobs who've been named with a nametag will not be removed by the mob removal task.
  • Bump language files to 0.54
  • Made war starts message, war stats screen, and war hud translatable.
  • Fix world imports with MV.
  • Remove old MCStats Metrics because their website no longer collects data anyways.
Click Here for a full changelog

Towny Install Guide
Towny Permission Nodes
How Towny Works

0.94.0.15 for 1.14

05 Oct 23:03
59f3651
Compare
Choose a tag to compare
0.94.0.15 for 1.14 Pre-release
Pre-release
  • New Config Option: resident_settings.delete_old_residents.delete_only_townless
    • default: false
    • When true only residents who have no town will be deleted by the daily old-resident-purge.
  • Changed Command: /ta purge # {townless}
    • Using '/ta purge #ofDays townless' will now only purge old residents that are not part of any town.
  • REQUIRED CONFIG CHANGE:
    • Add LIGHT_GRAY_SHULKER_BOX, to your protection.switch_ids list.
Click Here for a full changelog

Towny Install Guide
Towny Permission Nodes
How Towny Works

0.94.0.14 for 1.14

02 Oct 13:32
Compare
Choose a tag to compare
0.94.0.14 for 1.14 Pre-release
Pre-release
  • Change requirements for luring animals.
    • Old behaviour: Player had to be able to break dirt where the animal stood. Affected in towns and wilderness.
    • New behaviour: Player has to be able to break dirt where the animal stands. Affects only personally owned plots.
      • Town-owned plots are exempt. Wilderness is exempt.
  • API: add TownyAPI.getInstance().isTownyWorld()
    • Returns true when a world has usingTowny=true.
  • Fix changelog not displaying on startup when Towny is updated.
  • Undo removal of another bit of deprecated Vault code in TownyEconomyHandler.
  • Add missing responses to successful uses of /ta town set.
  • Add clarity to config comments for the delete_old_residents option.
  • Fix yaml in norwegian.yml.
Click Here for a full changelog

Towny Install Guide
Towny Permission Nodes
How Towny Works

0.94.0.0

21 Jul 18:22
Compare
Choose a tag to compare

Towny Advanced 0.94.0.0 for Minecraft 1.13 servers. Note: you can use this on 1.14 servers just put BARREL in the switch_id list. A 1.14 version is forthcoming.

Contains:

  • Towny 0.94.0.0
  • TownyChat 0.55
  • TownyNameUpdater 2.0

New in Towny 0.94.0.0

Required Config changes for existing installs:
  • Change CLAY_BRICK to BRICK in the plugin.info_tool setting.
  • The protection.switch_ids list has changed a lot with the renaming of many materials. It is recommended you copy and paste the below line which is the new default setting for the switch list. You can then remove anything you do not want included as a switch.
    • switch_ids:
       JUKEBOX,NOTE_BLOCK,BEACON,CHEST,TRAPPED_CHEST,FURNACE,DISPENSER,HOPPER,DROPPER,LEVER,COMPARATOR,REPEATER,STONE_PRESSURE_PLATE,ACACIA_PRESSURE_PLATE,BIRCH_PRESSURE_PLATE,DARK_OAK_PRESSURE_PLATE,JUNGLE_PRESSURE_PLATE,OAK_PRESSURE_PLATE,SPRUCE_PRESSURE_PLATE,HEAVY_WEIGHTED_PRESSURE_PLATE,LIGHT_WEIGHTED_PRESSURE_PLATE,STONE_BUTTON,ACACIA_BUTTON,BIRCH_BUTTON,DARK_OAK_BUTTON,JUNGLE_BUTTON,OAK_BUTTON,SPRUCE_BUTTON,ACACIA_DOOR,BIRCH_DOOR,DARK_OAK_DOOR,JUNGLE_DOOR,OAK_DOOR,SPRUCE_DOOR,ACACIA_FENCE_GATE,BIRCH_FENCE_GATE,DARK_OAK_FENCE_GATE,OAK_FENCE_GATE,JUNGLE_FENCE_GATE,SPRUCE_FENCE_GATE,ACACIA_TRAPDOOR,BIRCH_TRAPDOOR,DARK_OAK_TRAPDOOR,JUNGLE_TRAPDOOR,OAK_TRAPDOOR,SPRUCE_TRAPDOOR,MINECART,COMMAND_BLOCK_MINECART,CHEST_MINECART,FURNACE_MINECART,HOPPER_MINECART,TNT_MINECART,SHULKER_BOX,WHITE_SHULKER_BOX,ORANGE_SHULKER_BOX,MAGENTA_SHULKER_BOX,LIGHT_BLUE_SHULKER_BOX,YELLOW_SHULKER_BOX,LIME_SHULKER_BOX,PINK_SHULKER_BOX,GRAY_SHULKER_BOX,CYAN_SHULKER_BOX,PURPLE_SHULKER_BOX,BLUE_SHULKER_BOX,BROWN_SHULKER_BOX,GREEN_SHULKER_BOX,RED_SHULKER_BOX,BLACK_SHULKER_BOX,CARROT_STICK,DAYLIGHT_DETECTOR,STONECUTTER,SMITHING_TABLE,FLETCHING_TABLE,SMOKER,LOOM,LECTERN,GRINDSTONE,COMPOSTER,CARTOGRAPHY_TABLE,BLAST_FURNACE,BELL,BARREL,DRAGON_EGG,ITEM_FRAME,POTTED_ACACIA_SAPLING,POTTED_ALLIUM,POTTED_AZURE_BLUET,POTTED_BAMBOO,POTTED_BIRCH_SAPLING,POTTED_BLUE_ORCHID,POTTED_BROWN_MUSHROOM,POTTED_CACTUS,POTTED_CORNFLOWER,POTTED_DANDELION,POTTED_DARK_OAK_SAPLING,POTTED_DEAD_BUSH,POTTED_FERN,POTTED_JUNGLE_SAPLING,POTTED_LILY_OF_THE_VALLEY,POTTED_OAK_SAPLING,POTTED_ORANGE_TULIP,POTTED_OXEYE_DAISY,POTTED_PINK_TULIP,POTTED_POPPY,POTTED_RED_MUSHROOM,POTTED_RED_TULIP,POTTED_SPRUCE_SAPLING,POTTED_WHITE_TULIP,POTTED_WITHER_ROSE
  • The protection.item_use_ids list has changed a lot with the renaming of many materials. It is recommended you copy and paste the below line which is the new default setting for the item_use list. You can then remove anything you do not want included as a blockable item.
    • item_use_ids:
       BONE_MEAL,FLINT_AND_STEEL,BUCKET,WATER_BUCKET,LAVA_BUCKET,MINECART,STORAGE_MINECART,INK_SACK,SHEARS,ENDER_PEARL,GLASS_BOTTLE,FIREBALL,ARMOR_STAND,SKULL_ITEM,BIRCH_BOAT,ACACIA_BOAT,DARK_OAK_BOAT,JUNGLE_BOAT,OAK_BOAT,SPRUCE_BOAT,END_CRYSTAL,POWERED_MINECART,COMMAND_MINECART,EXPLOSIVE_MINECART,HOPPER_MINECART,CHORUS_FRUIT
  • protection.town_mob_removal_entities
     "Monster,Flying,Slime,Shulker,SkeletonHorse,ZombieHorse"
  • protection.world_mob_removal_entities
     "Monster,Flying,Slime,Shulker,SkeletonHorse,ZombieHorse"
  • global_town_settings.farm_plot_allow_blocks
    BAMBOO,BAMBOO_SAPLING,JUNGLE_LOG,JUNGLE_SAPLING,JUNGLE_LEAVES,OAK_LOG,OAK_SAPLING,OAK_LEAVES,BIRCH_LOG,BIRCH_SAPLING,BIRCH_LEAVES,ACACIA_LOG,ACACIA_SAPLING,ACACIA_LEAVES,DARK_OAK_LOG,DARK_OAK_SAPLING,DARK_OAK_LEAVES,SPRUCE_LOG,SPRUCE_SAPLING,SPRUCE_LEAVES,BEETROOTS,COCOA,CHORUS_PLANT,CHORUS_FLOWER,SWEET_BERRY_BUSH,KELP,SEAGRASS,TALL_SEAGRASS,GRASS,TALL_GRASS,FERN,LARGE_FERN,CARROTS,WHEAT,POTATOES,PUMPKIN,PUMPKIN_STEM,ATTACHED_PUMPKIN_STEM,NETHER_WART,COCOA,VINE,MELON,MELON_STEM,ATTACHED_MELON_STEM,SUGAR_CANE,CACTUS,ALLIUM,AZURE_BLUET,BLUE_ORCHID,CORNFLOWER,DANDELION,LILAC,LILY_OF_THE_VALLEY,ORANGE_TULIP,OXEYE_DAISY,PEONY,PINK_TULIP,POPPY,RED_TULIP,ROSE_BUSH,SUNFLOWER,WHITE_TULIP,WITHER_ROSE
    • Not included in the default list: DIRT,GRASS_BLOCK,FARMLAND
    • These might be something you want to add, if you want players to be able to mail farmland/sculpt more than just plants.
  • filters_colour_chat.regex.string_check_regex
    ^[a-zA-Z0-9\\s._\\[\\]\\#\\?\\!\\@\\$\\%\\^\\&\\*\\-\\,\\*\\(\\)\\{\\}]*$
New Config Option:
  • global_nation_settings.max_towns_per_nation
    • default: 0
    • If higher than 0, it will limit how many towns can be joined into a nation.
    • Does not affect existing nations that are already over the limit.
New commands:
  • TownyAdmin Commands:
    • /ta nation {nationname} recheck, courtesy of KarlOfDuty.
      • used to manually recheck if a nation's towns are too far in cases where the nation capital has moved.
    • /ta resident {resident} unjail, courtesy of KarlOfDuty.
      • Admin command to unjail a resident.
Added:
  • Add TownyUniverse.getPlayerUUID(Resident) for getting the UUID of an online resident.
  • Added TheNewChat support, courtesy of creatorfromhell.
  • Added TownAddResidentRankEvent and TownRemoveResidentRankEvent events, courtesy of Artuto.
  • Added ignoreplots and constant plots to /res set mode ?
  • Make Netherrack ignitable in towns where firespread is turned off.
  • Make FARM plottypes follow plot perms to determine who can slaughter animals in them. Previously it only allowed town members to kill the animals.
  • More strings have been made translatable, courtesy of TheFlagCourier
    • 'Total TownBlocks: '
    • 'Processing Plot (Un)Claim...'
  • Towny events now support more helpful values for API users, courtesy of ArticDive.
  • Flagwar events are now cancellable via the API. Courtesy of Dave5080.
  • Handle playerfishevent bug where players were being fished.
  • Automatically remove deleted residents from town files and deleted towns from resident files, courtesy of KarlOfDuty.
  • Language files bumped to 0.49.
  • German.yml updated by Yasu-San & Sprungente.
Fixes:
  • Fix for Tridents being removed from existence when fired into non-PVP enabled areas.
  • Fix for NPE where Towny would try to jail a player for being killed by a townless player.
  • Fix for servers using CMI that cannot have jailed players sent to jail on respawn.
  • Fix for global_town_settings.keep_experience_on_death_in_town setting not appearing in configs.
  • Fix for claims still being charged despite using_economy: false.
  • Fix for ranks not being removed from offline players.
  • Fix plot perm line not being set properly on plots owned by someone who leaves town.
  • Fix typo in townyperms.yml
  • Fix edge-case scenario where using /ta set mayor can cause an NPC town to pay upkeep.
  • Fix Entity Info Tool displaying 4 outputs.
  • Fix for lack of feedback for admins when using /ta town {townname} kick {residents}
  • Fix for FARM plots protecting monsters.
  • Fix for offline players changing worlds causing an NPE when we try to assign them permissions.
  • Fix for explosion regeneration not preventing drops.
  • Fix blocking of villager baby spawning.
  • Fix for the fix for explosion regeneration not preventing drops.
  • Fix for adding or removing ranks returning Null.
  • Fix for obnoxious givebonus message showing at times it should not have appeared.
    • givebonus message version 2.0 is now in effect.
  • Fix farm plots not allowing for killing of allowed animals.
  • Fix for towny.admin's not having the ability to set plots notforsale.
  • Fix nation-disbanding-due-to-not-enough-residents not saving the town/nation properly.
  • Fix scenario where town and nation spawn costs were not what was set by the town/nation and only used the config's costs.
  • Fix for nationzones not respecting config settings.
  • Courtesy of Articdive:
    • Fix for long board messages losing their colouring.
    • Fix for regex not working.
    • Fixed Citizens NPCs being able to be invited.
    • Fixed Smoke border particles appearing to be on the wrong.
    • Fix permissions HUD from throwing an exception.
    • Fix the last of the async events.
  • Courtesy of KarlOfDuty:
    • Fix players being able to join open towns over their pop cap.
    • Fix typo.
    • Fixed an exploit where towns with no plots circumvented minimum claim distance settings.
    • Fix for safe mode when reading outdated outlaw list in towns.
    • Fix for /res spawn getting players out of jail, courtesy of KarlOfDuty.
  • Courtesy of creatorfromhell:
    • Fix revert-on-unclaim system to work with 1.13 and newer blockstates.
    • Fix async change required for 1.14
  • Courtesy of TheFlagCourier:
    • Fix a missing teleportcause.
    • Switch Towny over to using getItemInMainHand.
  • Courtesy of BarnabyD:
    • Fix mobremovaltimer task from being as laggy.
Removed:
  • REMOVE CONFIG OPTION: protection.regen_delay
    • Was added via one-...
Read more