Releases: TownyAdvanced/Towny
Releases · TownyAdvanced/Towny
0.95.1.7 for 1.14
- API: TownPreAddResidentEvent & NationPreAddTownEvent, courtesy of Siris with PR #3507
- Can be used by other plugins to cancel residents/towns from joining towns/nations.
- Works for /t join and /n join as well as /t add and /n add commands.
- REQUIRED TOWNYPERMS.YML CHANGE: add towny.command.nation.leave to the mayor group.
- Closes ticket #3511
- Language files bumped to 0.64.
- Fix lack of feedback when adding a nation enemy that doesn't exist.
- Closes ticket #3512
- API: New events courtesy of Siris with PR #3510
- TownyTransactionEvent: Monitor all economy transactions.
- TownyPreTransactionEvent : Cancellable event on all economy transactions.
- NationTransactionEvent: Monitor all nation deposits/withdrawls.
- NationPreTransactionEvent: Cancellable event on all nation deposits/withdrawls.
- TownTransactionEvent: Monitor all town deposits/withdrawls.
- TownPreTransactionEvent: Cancellable event on all town deposits/withdrawls.
- PlotPreClearEvent: Cancellable event used to stop clearing of a plot.
- PreDeleteTownEvent: Cancellable event used to stop a town from being deleted.
- PreDeleteNationEvent: Cancellable event used to stop a nation from being deleted.
- Closes ticket #3322
- Made it so that towns cannot unclaim their homeblocks, they must move them to another townblock first.
- /t unclaim all still allows a town to fully-unclaim, but the first townblock they claim will become the homeblock.
- Fixed an NPE on the townscreen for towns which have no homeblock.
- korean.yml updated by wolfwork with PR #3513
If you want to support the developer consider becoming a sponsor.
0.95.1.6 for 1.14
- Language files bumped to 0.63.
- Fix cosmetics of setting a plot not for sale appearing to display as an error.
- Closes ticket #3503.
- Added SpawnUtil with PR #3505.
- Using /res spawn will now charge the town's spawn cost instead of the config's.
- This could mean a slight price-break.
- Fix sending nomad outlaws to jail when killed.
- Closes ticket #3506.
If you want to support the developer consider becoming a sponsor.
0.95.1.5 for MC 1.14
- New Feature: Cooldown timers for toggling PVP and using res/town spawn commands.
- New Config Option: global_town_settings.spawn_cooldown_time
- default '30'
- Number of seconds that must pass before a player can use /n spawn, /t spawn or /res spawn.
- New Config Option: global_town_settings.pvp_cooldown_time
- default '30'
- Number of seconds that must pass before pvp can be toggled by a town using /t toggle pvp.
- Also applies to residents of the town using /res toggle pvp, as well as plots having their PVP toggled using /plot toggle pvp.
- /ta town {town} toggle pvp bypasses cooldowntimer.
- Language files bumped to 0.62.
If you want to support the developer consider becoming a sponsor.
0.95.1.4 for 1.14
- Fixed Flag War - Courtesy of the CivWars team [Emperor-Koala, FlagCourier] with PR #3499
- Language files bumped to 0.61.
- Flag War: Added safeguards to prevent defenders from playing dirty - see next three config options.
- New Config Option: war.enemy.prevent_interaction_while_flagged
- Default: true
- Prevents players in towns from withdrawing from the bank, leaving the town/nation, and unclaiming land while an enemy war flag is in play.
- New Config Option: war.enemy.prevent_nation_interaction_while_flagged
- Default: true
- Same as above, applies to national level and extends to all towns in a nation.
- New Config Option: war.enemy.time_to_wait_after_flagged
- Default: 600000 (ms)
- Time after a flag has expired or been defended until players can perform special interactions.
- New Config Option: war.enemy.prevent_interaction_while_flagged
- New Feature: nation zones show notifications when you enter into them.
- Closes ticket #3406
- New Config Option: global_nation_settings.nationzone.show_notifications
- Default: false
- When set to true, players will receive a notification when they enter into a nationzone.
- Set to false by default because, like the nationzone feature, it will generate more load on servers.
If you want to support the developer consider becoming a sponsor.
0.95.1.3 for 1.14
- Fix bstats nation_zones_enabled always returning false.
- New Config Option: new_world_settings.pvp.war_allowed
- Default: true
- If set to false the world will not be included in war events.
- Note that like all other new_world_settings this is only the default setting applied to newly added worlds.
- The actual value is stored per-world.
- Closes ticket #1188
- New Command: /tw toggle warallowed
- toggles whether Event War affects the world.
- Language files bumped to 0.60.
- Added placeholders:
- %townyadvanced_daily_town_upkeep% - Shows town's upkeep cost.
- %townyadvanced_daily_nation_upkeep% - Shows nation's upkeep cost.
- Closes ticket #3496
- TOWNYPERMS.YML REQUIRED CHANGE:
- add towny.command.towny.war.hud to your nomad rank.
- Make the start of the War Event smarter.
- Townblocks in worlds which are not warallowed will no longer be included.
- Towns with no homeblock will no longer be included.
- Towns which have their homeblock in a world which is not warallowed will no longer be included.
- Nations which do not have any qualifying towns will not be included.
- Nations which do not have their capital city involved will not be included.
- War will not start if there is less than 2 nations participating.
- War requires at least one enemy-enemy relationship between nations to start.
If you want to support the developer consider becoming a sponsor.
0.95.1.0 for 1.13.2
Towny Advanced 0.95.1.0 for 1.13.2
Release contains:
- Towny 0.95.1.0 for 1.13.2
- TownyChat 0.62
- TownyNameUpdater 4.0
REQUIRED CHANGES:
- REQUIRED TOWNYPERMS.YML CHANGES:
- add towny.command.nation.deposit.other to the king and nation assistant ranks.
- add towny.chat.alliance to your default nation group.
- REQUIRED CONFIG CHANGE: filters_colour_chat.regex.name_remove_regex
- Change to
'[^a-zA-Z0-9\&._\[\]-]'
- This allows colours to be used in the title/surname options.
- The default config will have the &, if you don't want colour codes used in titles/surnames you can skip this.
- Closes ticket #3172
- Change to
Added:
- 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
- On player-owned plots the perm line now has Town added to it.
- 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
- New Feature: Town and TownBlock Metadata, courtesy of Siris in PR #3482
- Plugins or townyadmins can now place metadata onto Towns and TownBlocks.
- Metadata keys must already be registered by a plugin.
- These metadata will be saved and loaded to/from the Towny database by Towny.
- Details here.
- Swap out HashTables for ConcurrentHashMaps, courtesy of Silverwolfg11 in PR #3488
- Should increase performance.
- Used by admins to manipulate metadata
- Added ability to have Event War actually transfer conquered townblocks over to the winning town permanently.
- Does not transfer townblocks which did not have their HP drop to 0.
- This means rushing to a town's homeblock will only net you the townblocks you won on the way, and not the entire town.
- Make /t rank add|remove {name} {rank} not care about case sensitivity.
- Closes ticket #3445
- Added ability to set costs for all plot types using /plot set {type}.
- Money charged goes to the Server Account.
- Add language chart to bStats.
- Closes ticket #3472
- Make /res screen display title and surname if they are present, falling back to the king/mayor prefix/postfix.
- Added /town list ? & /nation list ? pages
- German.yml updated by enterih.
- Add permission plugin information to Towny startup's Using section.
- Make changelog on updates more readable from the console, hello.
- Add Villagers to list of things we protect from damage.
- You can now charge separate bail amounts for Mayors and Kings.
New Commands:
- /plot set outpost
- Used on an already claimed plot to turn it into an outpost.
- Requires towny.command.town.claim.outpost permission node.
- Charges the town the same amount to claim an outpost.
- Closes ticket #2912
- /town set title {resident} {title} & /town set surname {resident} {title}
- Exactly like the King ability to set titles and surnames.
- This is being made available to mayors so that mayors can better role play their own townmembers.
- Permission nodes: towny.command.town.set.title & towny.command.town.set.surname are child nodes of towny.command.town.set.*
- Closes ticket #3439
- /n deposit {amount} {townname}
- Requires towny.command.nation.deposit.other
- Lets a nation member deposit money into a town bank of a town that is part of their nation.
- Closes ticket #1953
- /ta mysqldump
- When your config has save & load set to mysql you can use this command to dump the mysql database to flatfile.
- Closes ticket #2628
- /ta database [save|load]
- Saves or loads the database.
- Closes ticket #2070
- /ta town [townname] meta, courtesy of Siris.
- Used to view a town's metadata.
- /ta town [townname] meta set [key] [value], courtesy of Siris
- Sets a metadata value
- Used by admins to manipulate metadata
- /ta town [townname] meta [add|remove] [key], courtesy of Siris
- Adds or removes a metadata
- Used by admins to manipulate metadata
- /ta plot meta, courtesy of Siris.
- Used to view a townblock's metadata.
- /ta plot meta set [key] [value], courtesy of Siris
- Sets a metadata value
- Used by admins to manipulate metadata
- /ta plot meta [add|remove] [key], courtesy of Siris
- Adds or removes a metadata
Changed Commands:
- /towny prices
- Now displays costs of setting plot types.
- /town toggle jail [jailnumber] [resident] (days)
- Town mayors may now jail for an optional amount of days.
- On Towny newdays (when taxes/upkeep are collected) jailed players who have a day amount set will have their day amount lowered by one.
- Players who have served their sentence will be unjailed.
- When the days amount is not used the player will be jailed indefinetly as usual.
- Remaining days are shown on a player's /res screen.
- Closes ticket #3232
Config Changes:
- Change to default config: war.disallow_one_way_alliance
- Now defaults to true.
- One-way alliances are discouraged, and eventually may be done away with entirely in order to better facilitate new features and war updates.
New Config Options:
- 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
- invite_system.maximum_distance_from_town_spawn
- Default: 0
- When set above 0, the maximum distance a player can be from a town's spawn in order to receive an invite.
- Use this setting to require players to be near or inside a town before they can be invited.
- Closes ticket #3089
- jail.bail.bail_amount_mayor
- Default: 10
- Amount that bail costs for Town mayors.
- jail.bail.bail_amount_king
- Default: 10
- Amount that bail costs for Nation kings.
- global_town_settings.display_xyz_instead_of_towny_coords
- default: false
- If set to true, the /town screen will display the xyz coordinate for a town's spawn rather than the homeblock's Towny coords.
- Closes ticket #3347
- war.event.winner_takes_ownership_of_townblocks
- Default: false
- If set to true when a town drops an enemy townblock's HP to 0, the attacking town takes full control of the townblock.
- One available (bonus) claim is given to the victorious town, one available (bonus) claim is removed from the losing town.
- Closes ticket #3470
- global_town_settings.display_town_list_randomly
- Default: false
- If set to true the /town list command will list randomly, rather than by whichever comparator is used, hiding resident counts.
- Closes ticket #3456
- 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.
- New Config Options:
- economy.plot_type_costs.set_commercial
- economy.plot_type_costs.set_arena
- economy.plot_type_costs.set_embassy
- economy.plot_type_costs.set_wilds
- economy.plot_type_costs.set_inn
- economy.plot_type_costs.set_jail
- economy.plot_type_costs.set_farm
- economy.plot_type_costs.set_bank
- All default to a cost of 0.
- Set cost higher to charge person for changing their plot to the desired type.
New Permission Nodes:
- towny.command.nation.deposit.other
- Allows a nation member to deposit money into the townbank of a nation member.
- Is NOT a child node of towny.command.nation.deposit or towny.command.nation.*
- towny.command.town.set.title
- Child node of towny.command.town.set.*
- towny.command.town.set.surname
- Child node of towny.command.town.set.*
API:
- new event added - NewDayEvent
- has gettable lists of fallen towns and nations, total town and nation upkeeps collect...
0.95.1.2 for 1.14
- Fix server_type never returning Spigot.
- Changed from using the Bukkit API to the Spigot API.
- New feature: when your server is running not-craftbukkit (spigot, paper etc) the plot notifications will appear in the Action Bar line.
- Closes ticket #2929
- REQUIRED CONFIG.YML CHANGE:
- Add ",BREWING_STAND" to the end of the protection.switch_ids to protect Brewing Stands.
If you want to support the developer consider becoming a sponsor.
0.95.1.1 for 1.14
- Add server_type to bstats metrics, will show us what % uses Craftbukkit, Spigot & Paper.
- Add nation_zones_enabled & database_type to bstats.
If you want to support the developer consider becoming a sponsor.
0.95.1.0 for 1.14
Towny Advanced 0.95.1.0
Release contains:
- Towny 0.95.1.0
- TownyChat 0.62
- TownyNameUpdater 4.0
REQUIRED CHANGES:
- REQUIRED TOWNYPERMS.YML CHANGES:
- add towny.command.nation.deposit.other to the king and nation assistant ranks.
- add towny.chat.alliance to your default nation group.
- REQUIRED CONFIG CHANGE: filters_colour_chat.regex.name_remove_regex
- Change to
'[^a-zA-Z0-9\&._\[\]-]'
- This allows colours to be used in the title/surname options.
- The default config will have the &, if you don't want colour codes used in titles/surnames you can skip this.
- Closes ticket #3172
- Change to
Added:
- 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
- On player-owned plots the perm line now has Town added to it.
- 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
- New Feature: Town and TownBlock Metadata, courtesy of Siris in PR #3482
- Plugins or townyadmins can now place metadata onto Towns and TownBlocks.
- Metadata keys must already be registered by a plugin.
- These metadata will be saved and loaded to/from the Towny database by Towny.
- Details here.
- Swap out HashTables for ConcurrentHashMaps, courtesy of Silverwolfg11 in PR #3488
- Should increase performance.
- Used by admins to manipulate metadata
- Added ability to have Event War actually transfer conquered townblocks over to the winning town permanently.
- Does not transfer townblocks which did not have their HP drop to 0.
- This means rushing to a town's homeblock will only net you the townblocks you won on the way, and not the entire town.
- Make /t rank add|remove {name} {rank} not care about case sensitivity.
- Closes ticket #3445
- Added ability to set costs for all plot types using /plot set {type}.
- Money charged goes to the Server Account.
- Add language chart to bStats.
- Closes ticket #3472
- Make /res screen display title and surname if they are present, falling back to the king/mayor prefix/postfix.
- Added /town list ? & /nation list ? pages
- German.yml updated by enterih.
- Add permission plugin information to Towny startup's Using section.
- Make changelog on updates more readable from the console, hello.
- Add Villagers to list of things we protect from damage.
- You can now charge separate bail amounts for Mayors and Kings.
New Commands:
- /plot set outpost
- Used on an already claimed plot to turn it into an outpost.
- Requires towny.command.town.claim.outpost permission node.
- Charges the town the same amount to claim an outpost.
- Closes ticket #2912
- /town set title {resident} {title} & /town set surname {resident} {title}
- Exactly like the King ability to set titles and surnames.
- This is being made available to mayors so that mayors can better role play their own townmembers.
- Permission nodes: towny.command.town.set.title & towny.command.town.set.surname are child nodes of towny.command.town.set.*
- Closes ticket #3439
- /n deposit {amount} {townname}
- Requires towny.command.nation.deposit.other
- Lets a nation member deposit money into a town bank of a town that is part of their nation.
- Closes ticket #1953
- /ta mysqldump
- When your config has save & load set to mysql you can use this command to dump the mysql database to flatfile.
- Closes ticket #2628
- /ta database [save|load]
- Saves or loads the database.
- Closes ticket #2070
- /ta town [townname] meta, courtesy of Siris.
- Used to view a town's metadata.
- /ta town [townname] meta set [key] [value], courtesy of Siris
- Sets a metadata value
- Used by admins to manipulate metadata
- /ta town [townname] meta [add|remove] [key], courtesy of Siris
- Adds or removes a metadata
- Used by admins to manipulate metadata
- /ta plot meta, courtesy of Siris.
- Used to view a townblock's metadata.
- /ta plot meta set [key] [value], courtesy of Siris
- Sets a metadata value
- Used by admins to manipulate metadata
- /ta plot meta [add|remove] [key], courtesy of Siris
- Adds or removes a metadata
Changed Commands:
- /towny prices
- Now displays costs of setting plot types.
- /town toggle jail [jailnumber] [resident] (days)
- Town mayors may now jail for an optional amount of days.
- On Towny newdays (when taxes/upkeep are collected) jailed players who have a day amount set will have their day amount lowered by one.
- Players who have served their sentence will be unjailed.
- When the days amount is not used the player will be jailed indefinetly as usual.
- Remaining days are shown on a player's /res screen.
- Closes ticket #3232
Config Changes:
- Change to default config: war.disallow_one_way_alliance
- Now defaults to true.
- One-way alliances are discouraged, and eventually may be done away with entirely in order to better facilitate new features and war updates.
New Config Options:
- 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
- invite_system.maximum_distance_from_town_spawn
- Default: 0
- When set above 0, the maximum distance a player can be from a town's spawn in order to receive an invite.
- Use this setting to require players to be near or inside a town before they can be invited.
- Closes ticket #3089
- jail.bail.bail_amount_mayor
- Default: 10
- Amount that bail costs for Town mayors.
- jail.bail.bail_amount_king
- Default: 10
- Amount that bail costs for Nation kings.
- global_town_settings.display_xyz_instead_of_towny_coords
- default: false
- If set to true, the /town screen will display the xyz coordinate for a town's spawn rather than the homeblock's Towny coords.
- Closes ticket #3347
- war.event.winner_takes_ownership_of_townblocks
- Default: false
- If set to true when a town drops an enemy townblock's HP to 0, the attacking town takes full control of the townblock.
- One available (bonus) claim is given to the victorious town, one available (bonus) claim is removed from the losing town.
- Closes ticket #3470
- global_town_settings.display_town_list_randomly
- Default: false
- If set to true the /town list command will list randomly, rather than by whichever comparator is used, hiding resident counts.
- Closes ticket #3456
- 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.
- New Config Options:
- economy.plot_type_costs.set_commercial
- economy.plot_type_costs.set_arena
- economy.plot_type_costs.set_embassy
- economy.plot_type_costs.set_wilds
- economy.plot_type_costs.set_inn
- economy.plot_type_costs.set_jail
- economy.plot_type_costs.set_farm
- economy.plot_type_costs.set_bank
- All default to a cost of 0.
- Set cost higher to charge person for changing their plot to the desired type.
New Permission Nodes:
- towny.command.nation.deposit.other
- Allows a nation member to deposit money into the townbank of a nation member.
- Is NOT a child node of towny.command.nation.deposit or towny.command.nation.*
- towny.command.town.set.title
- Child node of towny.command.town.set.*
- towny.command.town.set.surname
- Child node of towny.command.town.set.*
API:
- new event added - NewDayEvent
- has gettable lists of fallen towns and nations, total town and nation upkeeps collected, time at which the ...
0.95.0.6 for 1.14
- German.yml updated by enterih.
- Fix outlaw not getting removed if hermit, courtesy of benjads.
- Fix loading of mysql databases' townblocks and the new metadata.