Dev Build: Towny Advanced 0.91.4.11 [1.11.2+]

Our new dev build for towny, 0.91.4.11, is now available for download on the Towny File-Repo.

Warning! This build is made for CB/Spigot servers running 1.11.2 and newer only!

This is a pretty sizeable update from the Previous Release Build. Please read the changelog carefully.

Included is the new Outlaw System, this is a bundle of long-requested features that will allow mayors to finally make enemies with anyone on the server, regardless of whether they are part of a nation or not. See the changelog for more details.

Also notable is the update to the Event War system. It not contains more of the features found in the un-supported Flag War as well has some new features never-supported by Flag War such as explosion roll-back and a real Prisoner-of-War system. Towny Event War has really matured and I believe it to be ready for the masses. Lots of previously un-included strings have been added to the language files, so we’ll need some translators for those.

Changes:

 
v0.91.4.11:
    - 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.
    - 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.
    - Bump language files to version 0.34
    - Fix error showing up from Citizens NPCs.
    - Italian translation courtesy of Leomixer17.
      - Bumped to 0.34.

Other recent changes since the last release build:

v0.91.4.3:
    - Have removeTownblock fire an TownUnclaimEvent.
    - Courtesy of WolfLeader116:
      - The /town list and /nation list commands will now paginate and accept page numbers. 
v0.91.4.4:
    - Courtesy of BillyGalbreath:
      - Removes the [PLAYER_COMMAND] spam from Towny commands from the log. Thanks Billy.
v0.91.4.5:
    - Fix mundane edge-case scenario where leaving a town that has no nation triggers an error.
    - Add note to players wanting to delete their town which clarifies that the money in their Town Bank will be removed.
v0.91.4.6:
    - 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.
      - So far only implemented during cases in war including: when your jailed, when your town or nation is eliminated from the war.
    - 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.
      - New configs will no longer have a delay option in the towny\data\worlds\worldname.txt file.
    - Fix deathpayments when Closed_Economy is enabled. 
    - Language files updated to version 0.30. All except English require translation of new strings.
      - If your language file does not update to 0.30 automatically and is not custom delete your file and Towny will give you the newest one available.
      - If you have translated the new language strings please send a Pull Request on the github.
    - 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. 
    - Fix problem with outposts being set-able in outposts not belonging to the person sending the command.
    - Update README.txt to be accurate and more informative.
    - 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.  
v0.91.4.7:
    - Added 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.
    - Language files updated to 0.31 (55 more messages now translatable)
      - If your language file does not update automatically and is not custom delete your file and Towny will give you the newest one available.
      - If you have translated the new language strings please send a Pull Request on the github.
      - If you can find more messages that aren't translateable please submit a github ticket!
    - 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 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.
    - Fix Bug with Farm plots not handling switch permissions correctly.
    - Add error messages when a player doesn't use '/town set perm' or '/plot set perm' correctly.
v0.91.4.8:
    - Fix lighting portals in the wilderness when fire is disabled in that world's wilderness.
    - 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. 
    - Fix /t toggle jail command not behaving according to the Towny config 'teleport_warmup_time'
      - This lead to mayors exploiting the teleport behaviour during raids, able to TP their residents to their jail when they were in danger of dying.
    - 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
      - 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.
        - 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.
    - 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 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.
    - Add /plot set perm ?
    - 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.
    - Merge Pull Request from SkeletonEye - Minor coding fixes.
    - Merge Pull Request from Noiknez - French.yml
    - French.yml updated to 0.32 by Noiknez.
    - 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.
    - 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.
    - 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.
    - New Config Option: plugin.database.sql.ssl
      - Defaults to false.
      - Adapts to Spigot's recommendation that MySQL databases use SSL.  
    - Language files updated to 0.32
      - If your language file does not update automatically and is not custom delete your file and Towny will give you the newest one available.
      - If you have translated the new language strings please send a Pull Request on the github.
      - If you can find more messages that aren't translateable please submit a github ticket!
    - Players are now given a message warning them when they enter a town where they are considered outlaws.
    - 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.
    - 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.
    - Fix rare occurance of newly made worlds having an SQL error.
    - Add support for new chat tags in TownyChat
    - Possible fix for outpost spawns not being removed from the database when outposts are unclaimed.
    - Add more detail to messages shown in log when Towny enters safe mode. 
v0.91.4.9:
    - Remove leading spaceon 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.
    - Bump language files to version 0.33   
    - New Config Optin: 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 9x9 (80 plots) at once.
    - Change to permission calculation, should properly choose a player's group based on weighted priorities included in some permission plugins such as LuckPerms.
    - Fix outlaws column not generating in mysql databases.
    - Change our testing of whether Citizens2 is present to account for the plugin failing to enable.
      - The failure to enable is from using an out of date Citizens on a new MC version.
      - Monsters would spawn in towns and the log would be flooded with errors. 
v0.91.4.10:
    - Spanish.yml updated to 0.33 by Beelzebu and SeDark.
      - All messages were translated to the latest version and some spelling errors were fixed.
    - 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.
    - 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.
    - Fix an occaision where explosions in the wilderness can cause an NPE.
    - 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
    - Fix safemode when an outlaw is added to a town.
    - Fix mayors being able to be made into Outlaws.
    - Fix an issue with plotManagementRevertSpeed on mysql databases.
    - Fix issue plaguing Mysql DB's in 0.91.4.9 where the console was spammed endlessly by revert speed default settings.
    - Fix issue with outposts not unclaim their outpostspawns.