Release Version: Towny Advanced 0.92.0.0 [1.11-1.12.2]

Towny Advanced 0.92.0.0 for Minecraft 1.11-1.12 servers

Contains:

  • Towny 0.92.0.0
  • TownyChat 0.49
  • TownyNameUpdater 1.0
  • Questioner 0.6

New in Towny 0.92.0.0

Required Config changes for existing installs:

  • under town_mob_removal_entities: add SkeletonHorse,ZombieHorse,
    • they are not considered Monsters and if you want dont them spawning or walking into town they must be added to the config.
    • new installs will have them added by default.
  • under protection.switch_ids: add 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,SILVER_SHULKER_BOX,CYAN_SHULKER_BOX,PURPLE_SHULKER_BOX,BLUE_SHULKER_BOX,BROWN_SHULKER_BOX,GREEN_SHULKER_BOX,RED_SHULKER_BOX,BLACK_SHULKER_BOX
    • this will add shulker boxes under the protection of the switch flag.
    • new installs will have them added by default.
  • under protection.item_use_ids: add SKULL_ITEM
    • protects playerheads

New commands:

  • New Command: /town plots {townname}
    • Screen displays number of Town-owned plots, number of claimed/available claims.
    • Displays numbers of different plot types (ex: farms, jails)
    • Displays detailed stats on Embassies, Shops and Residential plots which includes:
      • Number owned by residents,
      • Number currently for sale,
      • Number in town,
      • Estimated revenue from different types of plot tax.
    • Optional {towname} to look up plot type information for other towns.
    • Command uses towny.command.town.plots permission node.
  • New Command: /town reslist {townname}
    • Previously you could only reslist your own town, now you can view the full resident list of any town.
  • New Command: /townyadmin set title [name] [title]
    • Ability for admins to edit titles’ of anyone on the server,
    • bypasses nation-requirement.
  • New Command: /townyadmin set surname [name] [surname]
    • Ability for admins to edit surnames’ of anyone on the server,
    • bypasses nation-requirement.
  • New Command: /townyadmin town [townname] rank [add/remove] [name] [rank]
    • Allows an admin to give a resident a rank.
    • Still requires the resident to be a member of town of course.
  • New Command: /town say [message]
    • Broadcasts message to your town, prefixed with the town name.
    • Requires permission node towny.command.town.say
  • New Command: /nation say [message]
    • Broadcasts message to your nation, prefixed with the nation name.
    • Requires permission node towny.command.nation.say
  • New Command: /town outlaw [add/remove] [name]
    • Requires permission node towny.command.town.outlaw
    • See Added section below for more information about outlaws.
  • New Command: /town outlawlist {town}
    • Requires no permission node to use.
    • View outlaws of your town, or for other towns when the optional {town} is added to the command.
  • New Command: /towny war participants {page #}
    • Shows a list of towns and their nation who are in war events,
    • List highlights enemies, allies and capital towns,
    • Accepts page numbers for long lists.
  • New Command: /town unclaim outpost, courtesy of Articdive
    • Used to manually unclaim outposts, will enable a mayor to remove glitched outposts that were not automatically removed (mysql outpost bug)
  • New command: /town outpost list, courtesy of Articdive.
    • Permission node towny.command.town.outpost.list (Inherited from the towny.town.spawn.town node, no added permission required.)
    • List out a town’s outposts, showing #, plot name (if it has one), world and coords.

Changes to Permission nodes:

  • None

New Permission Nodes:

  • New Permission Node: towny.command.town.plots
    • Used for /town plots {townname}
  • New Permission Node: towny.outlaw.jailer
    • Required to cause outlaws killed in your town to be sent to your jail.
    • Newly made Townyperms.yml files will have this node given to mayors, assistants and sheriffs by default.
      • Add this node to those ranks to properly make use of the isJailingAttackingOutlaws.
      • Add it to the default town rank if you want anyone in town to be able to jail outlaws killed in town.
  • New permission node: towny.command.town.othertown
    • Used to disallow players from checking towns they do not belong to, using /town {name}
    • Defaults to true.
  • New permission node: towny.command.resident.otherresident
    • Used to disallow players from checking other residents, using /res {name}
    • Defaults to true.
  • New permission node: towny.command.nation.othernation
    • Used to disallow players from checking nations they do not belong to, using /nation {name}
    • Defaults to true.
  • New permission node: towny.command.townyadmin.town.spawn – courtesy of Articdive
    • A child node of towny.admin
    • Give this to allow a mod or someone of high rank on the server to be able to teleport to any town’s spawn.
  • New permission node: towny.command.townyadmin.town.spawn.freecharge – courtesy of Articdive
    • A child node of towny.admin
    • Give this to make spawning to towns free for the person teleporting.

Config.yml Changes:

  • Config Change: war.event.allow_block_griefing is now false by default, this setting should not be used unless the server wants the most chaotic war possible.
  • New Config options: war.event.costs_townblocks,
    • default: false
    • Setting to true causes bonus townblocks to be traded between winning and losing towns during war. Used to be always on, not configurable. See config’s comments for more details.
  • New Config option: Notification.Using_Titles
    • Defaults to false
    • When set to true when players cross into a Town they will see one of the new subtitles added to MC recently, broadcasting the town name.
  • New Config Option: Minimum Town tax.
    • Found in the config at town.default_taxes.minimumtax
    • Default: 0.0
    • Sets the minimum tax required when mayors use the /t set taxes command. Affects both taxpercent/nontaxpercent situations.
    • Will not change any taxes already set by mayors.
  • New Config Option: plugin.database.sql.ssl
    • Defaults to false.
    • Adapts to Spigot’s recommendation that MySQL databases use SSL.
  • New Config Option: Nation’s require towns to be within X townblocks.
    • Found in the config at global_town_settings.nation_requires_proximity
    • Default: 0.0
    • If greater than zero, towns must have their homeblock within that many or less townblocks from the nation’s capital’s homeblock to join.
    • If greater than zero, towns must have their homeblocks in the same world as the nation to join.
    • Also checked when a town moves their homeblock.
  • New Config Option: town.max_claim_radius_value
    • default: 4
    • maximum number used in /town claim/unclaim # commands.
    • set to 0 to disable limiting of claim radius value check.
    • keep in mind that the default value of 4 is a radius, and it will allow claiming 9×9 (80 plots) at once.
  • New Config Option: global_town_settings.max_residents_per_town
    • default: 0
    • The maximum number of residents that can be joined to a town. Setting to 0 disables this feature.
    • Will not remove residents from towns that are already over the maximum. The town will not be able to add new residents until they go below the cap.
  • New Config Option: global_town_settings.outsiders_prevent_pvp_toggle – courtesy of Articdive
    • default: false
    • If set to true, Towny will prevent a town from toggling PVP while an outsider is within the town’s boundaries.
    • When active this feature can cause a bit of lag when the /t toggle pvp command is used, depending on how many players are online.
  • New Config Option: global_town_settings.display_board_onlogin – courtesy of Articdive
    • default: true
    • If Towny should show players the townboard when they login.
  • New Config Option: economy.daily_taxes.town_plotbased_upkeep_affected_by_town_level_modifier
    • default: false
    • If set to true, the plot-based-upkeep system will be modified by the Town Levels’ upkeep modifiers.
  • New Config Option: plugin.interfacing.using_questioner.cooldowntime
    • default: 0m
    • When set for more than 0m, the amount of time (in minutes) which must have passed between a player’s first log in and when they can be invited to a town.
  • New Config Option: global_town_settings.minimum_amount_of_residents_in_town_for_outpost – courtesy of Articdive
    • Default: 0
    • The amount of residents a town needs to claim an outpost.
    • Setting this value to 0, means a town can claim outposts no matter how many residents they have.

Added:

  • Event War Overhaul:
    • Fix defenders harming their own plots when plot-healing is not turned on.
    • Fix neutral/nationless players from interfering in war events.
    • Fix pvp to obey the towns_are_neutral flag in the war config.
    • Fix default spoils of war set in the config not populating into the towny-war-chest at the beginning of war.
    • Fix allies from causing harm to each other, requires friendly_fire to be false.
    • Fix griefing of non-town and neutral players during war.
    • Add support for Flag War’s Editable_materials list from Flag War to work in Event War. Leave allow_block_griefing false and instead use the WarzoneBlockPermissions section of the config, which will take precendence.
    • Add support for Flag War’s Switch support to Event War. Setting the Switch: true in the WarzoneBlockPermissions will cause switches to be used by players involved in the war.
    • Add support for Flag War’s Item_use support to Event War. Setting the item_use: true in the WarzoneBlockPermissions will cause item_use to be allowed for players involved in the war.
    • Add support for Flag War’s Fire option to Event War. Setting the fire: true in the WarzoneBlockPermissions will cause fires to spread in townblocks involved in the war.
    • Add support for Flag War’s Explosion option to Event War. Setting the explosion: true in the WarzoneBlockPermissions will cause explosions to happen in townblocks involved in the war.
    • Complete the regeneration of blocks from explosions feature first thought up by Shade (original author of Towny and creator of the Flag War system)
      • Blocks that are not part of the new explosion-ignore-list in the WarzoneBlockPermissions will explode if explosions are set to true, and will regenerate after the world’s regeneration time.
    • Jailed players who are trapped in a town jail which has been won during war will be unjailed.
    • Jailed players will be exempt of the WarzoneBlockPermissions EditableMaterials, Item_use and Switch options.
    • Jails will be gone through in order, if a jail has fallen during the war it will not be used any more to jail enemies.
    • Config Change: war.event.allow_block_griefing is now false by default, this setting should not be used unless the server wants the most chaotic war possible.
    • New Config options: war.event.costs_townblocks, set to false by default. Setting to true causes bonus townblocks to be traded between winning and losing towns during war. Used to be always on, not configurable. See config’s comments for more details.
    • Fix towns that have been knocked out of the war from being able to interfere in it any further.
    • Fix dead players being able to defend/attack plots.
    • Add information to explain if it is a homeblock that is under attack.
    • New Command: /towny war participants {page #}
    • Fix NPE caused by fire in the wilderness during wartime.
    • Fix handling of dispensers firing arrows during wartime.
      • Dispensers in neutral lands will not harm people during wartime.
  • Outlaw System
    • Uses the /town outlaw [add/remove] [name] command.
    • Requires permission node towny.command.town.outlaw
    • Outlaws can be any player.
    • They do not need to be a member of a nation or a town.
    • If you outlaw a member of your town, they are automatically kicked from the town.
    • Open towns can declare people outlaws to keep them from rejoining.
    • Players are given a message warning them when they enter a town where they are considered outlaws.
    • When you kill an outlaw in your town, they are sent to your jail if you have a jail
      • Requires jail.is_jailing_attacking_outlaws set to be true in your config.yml
      • Also requires the towny.outlaw.jailer permission node.
      • Outlaws can escape from jail in the usual ways:
        • Pay bail, escape into the wilderness, being let go via /t toggle jail command.
        • Outlaws are not freed by using /t leave.
  • Add new resident Mode “ignoreplots”
    • When toggled or set using ‘/res set mode ignoreplots’ or ‘/res toggle ignoreplots’ players will not see plot notifications in town.
    • This includes plot owners’ names, homeblock, outpost, forsale, plottypes and plotnames.
    • It does not include PVP notifications, town border notifications.
  • Add new resident Mode “constantplotborder”
    • When toggled or set using ‘/res set mode constantplotborder’ or ‘/res toggle constantplotborder’ the player will see plot borders appear every 5 seconds
  • Language files!
    • 55+ previously untranslateable messages now part of the language files.
    • Your language file should update by itself to version 0.36.
    • If it does not, delete your language file and Towny will add the newest version available.
    • FileMgmt.java now like utf-8 more than us-ascii. Language files with special non-english characters will be much happier.
    • Noiknez & TheCalypso updated the french.yml.
    • Spanish.yml updated to 0.33 by Beelzebu and SeDark.
    • Italian translation courtesy of Leomixer17.
    • Russian translation courtesy of Communar.
    • Norwegian translation courtesy of Nectuz & Walbern.
    • Improved german translation from Wolf2323.
  • Towny API additions:
    • Added DeletePlayerEvent courtesy of Articdive.
    • TownTagChangeEvent & NationTagChangeEvent courtesy of Articdive.
    • PlotChangeType & PlotChangeOwner Events courtesy of Articdive.
    • Towns and Nations now have UUIDs, courtesy of Articdive
    • PlayerEnterTownEvent & PlayerLeaveTownEvent courtesy of Articdive.
    • New API methods: resident.isAlliedWith(resident), town.isAlliedWith(town), nation.isAlliedWith(nation) courtesy of Articdive.
  • The /town list and /nation list commands will now paginate and accept page numbers, courtesy of WolfLeader116.
  • Removes the [PLAYER_COMMAND] spam from Towny commands from the log. Courtesy of BillyGalbreath.
  • Add note to players wanting to delete their town which clarifies that the money in their Town Bank will be removed.
  • Added newish doors and fence types to default switch list. (Why doesn’t anyone report something simple like this?)
  • Added new options to TownyMessaging to handle Minecraft’s Title and Subtitle messages.
  • Add support for town and nation names following the /t online and /n online commands.
    • Ex: Doing /t online townname will show visible residents who are currenly online.
  • Add error messages when a player doesn’t use ‘/town set perm’ or ‘/plot set perm’ correctly.
  • Add /plot set perm ?
  • Add more detail to messages shown in log when Towny enters safe mode.
  • Improve message sent to players who try to start new Towns while their economy plugin is non-functional.
  • Improve message at startup when vault is not found.
  • Updated SQL_Schema to handle newly added sql columns in a much better way, courtesy of Articdive.
  • Moved /res name, /t name, /n name commands to async tasks.
    • Should reduce lag on large servers, and servers using slow economy plugins.
  • Town and Nations now keep a track of when they were founded, courtesy of Articdive.
    • Towns and Nations created before this feature will show no founded dates in the /town and /nation screens.

Bug Fixes!

  • Disabled /plot command in worlds where Towny is disabled.
  • Handle CHORUS_FRUIT teleports and ties them to whether a player has permission to ITEM_USE on the plot they would teleport to.
  • Have removeTownblock fire an TownUnclaimEvent.
  • Fix mundane edge-case scenario where leaving a town that has no nation triggers an error.
  • Fix jailed players being able to use commands to get out of jail.
  • Fix revert on unclaim speed not being respected. This setting will now require you to set it in the config in the New World Settings section. It is sadly not something that can be configured per-world.
  • Fix deathpayments when Closed_Economy is enabled.
  • Fix problem with outposts being set-able in outposts not belonging to the person sending the command.
  • Fix Bug with Farm plots not handling switch permissions correctly.
  • Fix lighting portals in the wilderness when fire is disabled in that world’s wilderness.
  • Fix /t toggle jail command not behaving according to the Towny config ‘teleport_warmup_time’
  • Fix mayors of other towns not paying plottax in any town, (ie: in embassies in towns they don’t own.)
  • Fix players who are in Town or Nation chat when their town is removed ending up in chat limbo.
  • Purchasing townblocks using /t bonus buy will now round itself to solid numbers.
    • This fixes a bug when using an increasing price for buying bonus townblocks, which manifested in many decimal places being factored into the cost.
  • Fix NPE caused by fire in the wilderness.
  • Fix message not showing when a town is removed from a nation for not having enough residents.
  • Fix minimum # of residents required in a town to join a nation not being checked where it counts.
  • Fix rare occurance of newly made worlds having an SQL error.
  • Remove leading space on the “(PVP)” chunk notification, to match the the no-pvp-message. Thanks for pointing this out Locknlol
  • Fix for servers that do not allow wilderness full build/destroy permissions, where animals could not be killed in the wilderness with arrows.
  • Fix a typo in the CombatUtil, which clarifies which block’s destroy permissions we are testing to determine whether animals can be killed.
  • Change to permission calculation, should properly choose a player’s group based on weighted priorities included in some permission plugins such as LuckPerms.
  • Change our testing of whether Citizens2 is present to account for the plugin failing to enable.
  • Fix for mysql databases where the removal of a town’s only outpost would not be removed.
  • Fix an occaision where explosions in the wilderness can cause an NPE.
  • Fix ‘Format specifier “%s”‘ error seen when attempting to add a town to you nation that doesn’t have the config’s required_number_residents_join_nation.
  • Courtesy of Articdive: A fix for mysql database users and erroneous outpostspawns.
    • Databases will be checked for outposts listed in each town, outpostspawns in townblocks that are not claimed anymore by the town will be removed.
    • The underlying bug, one where isOutpost was not recording properly, has been fixed.
    • The check will only run once and then create an outpostschecked.txt file.
    • If you feel the need to run the check a second time, delete the outpostschecked.txt and start your server.
    • New Command: /town unclaim outpost, courtesy of Articdive
      • Used to manually unclaim outposts, will enable a mayor to remove glitched outposts that were not automatically removed (mysql outpost bug)
  • Fix /town mayor page erroneously showing /town jail as a command.
  • Fix for non-entity deaths not charging death costs.
  • Fix adding towns to your nation when the town is in another world, when nation-proximity is set to 0.
  • Fix rank issue for nations.
  • Fix bug in reverting double chests.
  • Fix bizarre bug with WildernessExplosionReverting causing cocoa beans to create blocks of dirt.
  • Partial fix for WildernessExplosionReverting duping items when they’re torches/levers/pressureplates/attachables.

TownyChat Changes:

  • Add support for new chat tags in TownyChat
    • Add new chatconfig tags {permuserprefix}, {permusersuffix}, used to show only user prefix and suffixes.
    • Add new chatconfig tags {permgroupprefix}, {permgroupsuffix}, used to show only group prefix and suffixes.

Click Here for a full changelog

Towny Install Guide
Towny Permission Nodes
How Towny Works