Versions
Get information on old version and new features
Versions 0.16
0.16.7 - War rework and bug fixes
New :
Region color at creation is now similar of the the capital color
If a chunk is occupied by a foreign power, it cannot be unclaimed by the rightful owner
Admin gui can now force the surrender of one side
Disable ability to move town capital while at war
New command
/tan bordersto show/hide territory boundaries3 Particles type depending on the player relation with the territory (Ally, Neutral and Hostile)
Remove force showing borders of defensive territory in wars
New additions to wars
Diplomacy
Declaring a war is now done in the War menu (rather than in Diplomacy -> Hostile)
Territory can only declare wars if relations enables wars (as of today, only hostile)
When declaring a war, all territory in alliances with the defender will join the war and set their relations to hostile to the attacker.
Add confirmation menu when declaring war showing all territory joining defender
It is no longer possible to surrender from the planned attack menu
Wars
Add option to rename wars
Planned attack no longer have name + deleted menu
Switch territory participation in war from planned attack to war menu.
When a planned attack is set, all territory at war will join.
Option to requires admin approval to start a war. If set to true, planned attacks cannot be started until an admin approve.
Option to force surrender if % of total claims are captured (default : 70%).
Option to add a % of surrender process if capital is captured (default 20%)
Option to remove planned attack.
During assault
Both side can now capture chunks chunks
Options to specify what permission a player get in a chunk at war if held by an ally or an enemy. When a chunk is captured, permission switch.
Bug fixes :
Fix renting property save into BDD
Fix mob ban constants
Fix missing "EMPTY" lang line
Fix bug asking regions to respect TerritoryClaimBufferZone with their own towns
Fix unclaim messages not showing to players
Fix region chunk not being deleted if no longer linked to a fort
Fix "Liberate" wargoal "CANNOT_BE_USED" message
Fix reversed "Fort captured" / "Chunk captured" values in attack debrief
Fix wither grief not being registered
Fix attacker side of a war always counted as the "initiator" of all planned attack, thus blocking the defending side from attacking
Fix countdown until attack not restarting after server restart
Fix error if several war fights for the same chunk
Fix defensive side not able to cancel its own planned attacks
Fix attacks created by defensive side not being able to capture chunks of attacking side
0.16.6 - War newsletter (+ discordSrv 0.2.0)
New :
New newsletters :
War starts
Attack declared
War ends
Set attack to "cancelled" if server was offline during the whole attack
Bug fixes :
Added missing lang files for attacks
Fix attack not starting if the server start between attack start and end
Fixed daily transactions (taxes & salaries) not being capped in number of lines
Fix casualties not being counted during an attack
Fix ability modify an attack after it has started (and being able to cancel it)
Others
Merge of
TownsAndNations-APIrepo intoTownsAndNations. This will speed up the developpement of a better APImerge
canPlayerDoInternalof TownData and RegionDataRemove support from 0.15.1 old territory icon transition
DiscordSrv - 0.2.0
Option to change broadcast channel
New notifications :
war declared
war end
attack start
attack ended (+results)
Links : https://modrinth.com/plugin/towns-nations https://modrinth.com/plugin/towns-and-nations-discordsrv
0.16.5 - New war & upgrades config, more placeholders
New :
More options to ressources in upgrades :
⚠️ Old ressource config will no longer be read ⚠️
Option for quantity for each level
Option for custom name (optional)
Option for custom model data (optional)
War option to :
block days of the week from attacks
manage chunks capture time
manage forts capture time
enable/disable full claiming of all chunks in the radius of a captured fort (not protected by other forts)
Custom amount of tag letter
Added scope in the attack menu :
All attacks/Future attacks onlyNew placeholders :
%player_location_property_exist%TRUE or FALSE%tan_player_location_property_name%"no property found" or property name%tan_player_location_property_is_owner%"no property found" or TRUE or FALSE%tan_player_location_chunk_type_name%Wilderness, Landmark Town or Region%tan_player_location_chunk_name%Wilderness, landmark name or territory colored name%tan_player_location_pvp_enabled%TRUE/FALSE
Bug fixes :
Fix missing player applications in the town application menu
Fix daily task not triggering
Fix property name and desc max size being set to 0 due to a Spherelib problem
Fix "AdminApproval" config file being override due to a Spherelib problem
Fix "add specific player" for permissions menu not opening
Others
Replace all wrongly used List to Set
Town and Region max level are now located in "upgrade.yml" config file
0.16.4 - New upgrades
New :
New upgrade : chunk maintenance cost
Removed
TownChunkUpkeepCostconfigRemoved
RegionChunkUpkeepCostconfigAdded custom icon support for chunk permissions
Allows ranks for chunk permissions (Territory and Properties) **Old permissions will be reset ⚠️ **
Show number of players and ranks allowed in permission menu
More admin control over land permission :
Set default value (registered only, town, region, foreign...)
Lock permission (can't be changed by players)
"Conquer" war goals can now be used to unclaim chunks fail
Update internal API to manage Property owner (public or private)
Bug fixes :
Fix
Admin manage playermenu using admin's town instead of target player's townFix bug that caused private property money check not using Vault integrated system
Fix
Dateon Attack newsletter showing "ENGLISH"Fix
Manage authorizationbutton in property menu displayingManage authorized playersFix double
Click to...in Manage players permissionsFix
From rented propertiesbudget line wrong gainsFix custom town colored name not showing on papi %tan_player_town_colored_name%
Fix chunk cost unused constants
Towns and Nations - maps 0.15.0
Fix public properties crashing all maps plugins when generating description
Fix forts and Capital if in a deleted world
Fix id not supporting spaces in squaremap
0.16.3 - More admin support & better transaction history
New :
Admin can access transaction history from all players and territory
Admin can set money from players directly from the GUI
New transaction history : Chunk upkeep
Transaction now shows date and are sorted by dates
Add
nbDaysBeforeTransactionDeletionin config to delete old transactionsTaxes and salaries transaction are merged by date if viewed by a territory for a better readability
Attacks already ended now shows the result of the attack (number of forts and chunks captured, number of deaths on each side, if it has been cancelled...)
New placeholder :
%tan_player_town_colored_name%%tan_player_{player}_town_colored_name%
Biome check is now at the highest point of the middle chunk instead of y = 64 and added option to check the entire chunk
Bug fixes :
Fix "admin browse towns/regions" menus not showing
Fix attack menu not showing if a war was stopped
Fix bug when surrendering in a war with already existing attacks
Fix Territory Tax Transaction using a wrong ID
Fix
/tannot performing/tan helpby default unlike other commandsFix player check for blacklist commands during attacks being reversed
Add default Enum constructor to avoid missing enum in specific version
Others :
Attacks are no longer stored in a separated file from Wars
Delete Old HeadUtil code used for displaying heads before the menu update
pre 0.16.0 Level to new level system is no longer supported
0.16.2 - Quality of life and bugs fixes
New :
Territory can no longer be deleted if at war to avoid errors
All admins menu use the new menu style
Month name are now localized with java Locale (English, French, Germany, Italy, korea, japanese and chinesse simpl & trad)
Revamp general settings attacks and rank menu
Region can now use the mob ban menu
Mob ban menu now shows the
Unlock mob banrequirementAdd a description to confirmation menu when kicking a vassal
2 new rank permissions :
Manage landmarks (Claim and unclaimed landmarks)
Collect landmarks loot
Bug fixes :
Fix color on newsletter scope (all scopes had the "selected" color)
Fix
Admin war menuback arrow redirecting toAdmin landmarks menuinstead ofmain menuFix
admin manage town menuredirecting toplayer main menuinstead of theadmin main menuAdd missing return option when setting up a landmark
Fix "Rename rank" not releasing the chat listener
Fix "Click to proceed" message being wrongly added to icons without actions
Fix attack time displaying an incorrect date in attack icons
Fix Selecting attack start time authorized slots being reversed
Fix attack menu returning to main menu instead of war menu
Add colored chuker box to chest protection
Others :
Menu headers no longer no longer needs a
Stringbut aFilledLangorLangto avoid duplication of calls to the player languageAbstractTransaction now uses a Set to avoid doublons
0.16.1 - Trade history rework
New
Every monetary transaction is now stored. (player, territory, upgrades...)
Reworked transaction history menu for territory
Added transaction history for players
List of all stored transaction :
Player to player money transfer (from /tan pay)
Donate to treasury
Retrieve from treasury
Taxes (Player -> Town and Town -> Region)
Salary
Creating property
Selling property
Renting property
Upgrade cost
If a territory or a player does not have enough money to pay taxes, it will be taxed on what he still have (life is tough)
"Change scope" button visual rework
Optimized Newsletters ("mark all as read" no longer lag the server for 5 seconds)
"Town" chunk permission has been renamed "Self" to avoid confusion
Bug fixes :
Check description, name and rank name max size maxSize
Fix ability to withdraw negative amount of money from a town
Fix property buy cost being multiplied twice in the owner display
Fix "Alliance" chunk permission being written "Region"
Others :
townMaxRank is now territoryMaxRank. Custom value will be reset
0.16.0 - Upgrade rework
New
New upgrade GUI
Region now have upgrades
Prerequisites centralization :
Prerequisites now use the same style in all menus and upgrades
Upgrades can cost items alongside money
New rewards :
Claim rights on specific biome (or all)
Unlimited number of chunks ∞
Unlimited number of members ∞
Unlimited number of private properties ∞
Unlimited number of landmarks ∞
Adding new upgrades in the future will be easier
Reload now works on upgrades
Upgrade wiki updated (player & admin pages)
Building wiki created (Forts and properties)
Bug fixes :
Fix missing permission check when :
replacing town icon (custom head only)
claiming a landmark
Choosing a town tag
Open / Close application
Fix error when kicking a disconnected player from his town.
Fix claim success message being sent twice
Fix wrong error message when a player try to unclaim a region chunk without permission
Fix message "contested" not being shown when a chunk was contested during an attack
Others :
Chunk claim cost is no longer set in the
config.ymlfile but in theupgrades.ymlfiles
Versions 0.15
0.15.6 - Truce period and Public properties
Config updates :
warBoundaryRadius: the radius (in block)warBoundaryParticle: the type of particles used for war boundariespropertyBoundaryParticles: the type of particles used for display properties
New placeholders :
player_town_tagplayer_colored_town_tagMore information over relations in the relation GUI
Added a truce period to all positive relations. If enabled, relation cannot switch to anything below neutral for X days after relation has been removed. It can be disabled by setting it to 0.
Towns can create properties. Ranks with "manage property" permission can modify settings. Money from rent and sell will go to the town treasury.
Bug fixes :
Fixed several cascading bugs causing each minute of a war to last 50 seconds
Fix missing info message when registering the number of chunk to conquer with the conquer war goal and the option to change town tag
Fix wrong config file being loaded between Spherelib's **ConfigUtil ** class due to SphereLib common storage. Bug is still present in some upgrades and database related configs and will soon be addressed.
Fixed personal and "ALL" authorization returning false if the authorized player had no towns.
Others :
By default, all available chunk protection are enabled
0.15.5 - API update for maps plugins
New
Added new API endpoints :
TanProperty#getDescription
TanTown#getCapitalLocation
Bug fixes :
Fixing all langs error of 0.15.4 update
Towns and Nations - Maps v0.14.0
New :
Add placeholder %LANDMARK_NAME% for landmark icons
Add Capital icon :blue_flag:
Adding private properties. (3D on Bluemap, 2D on Dynmap and Squaremap)
Bug fixes :
Fixing infinite polygon bug on dynmap plugin
Others :
Now using SphereLib's new config file updater
Old config might broke. Delete the plugin folder to enable new version
0.15.4 - Quality of life and bug fix
New :
Add balance check when selecting "create a fort" button.
Add minimum distance between 2 towns to disable settling too close to another existing town
TerritoryClaimBufferZoneAdded 2 new events to newsletter : Landmark claimed & Landmark lost
Bug fixes :
Fix minimum version check for SphereLib not being set to
0.5.2Fix message
PLAYER_NOT_LEADER_OF_REGIONtoPLAYER_NO_PERMISSIONwhen player does not have permission to claim region chunk only. Remanent from before the introduction of roles in regions.Fix
RegionAllowNonAdjacentChunksnot being usedFix missing lang :
GUI_SETTINGS_CHANGE_TERRITORY_NAMEFix missing placeholders on landmark rewards in admin menu
Others :
Centralised code for towns and region claiming
All messages localised (better Lang#get)
0.15.3 - Relation content
New :
Towns can set a tax "per block" when creating a property.
Treasury menu is now localized
More flexibility over Relations. Each relation can be customized by admins over :
can PvP
Blocked commands (eg
/pay %PLAYER%will block /pay with every player with a specific relation)Can walk on territory
A property owner can authorize renter to invite friends in his property
Bug fixes :
Fix right click listener listening to left clicks
Fix "War begin in 1 minute" and "War start" not being localized
Fix missing role check when changing territory name, description and capital position
Fix "Town" name used in region settings menu
Fix max property size constant not read
Fix double money character being used on
/tan payFix reversed role when declaring an attack
Others :
Removed option
enablePvpWhenRelationIs. It has been replaced byrelationConstantsImproved code for Chat and Right click listeners SUCCESS -> remove player FAILURE -> keep player + send cancel message CONTINUE -> keep player
Common message when a chat listener is used (stop using GUI_SETTINGS_CHANGE_TOWN_MESSAGE_IN_CHAT)
Claimed chunk storage is stored now stored with the other data files.
Change path of Archive file
Better handling if a crash happens during loading
0.15.2 - Town capital
New :
Ukranian translation by @dol4iua
Partial Catalan translation by @powerpolrr
Experimental "Offline mode" aimed to avoid calling mojang's api when not needed (onlineMode : false)
Added model data support for guis (menu.yml)
If
landmarkEncircleToCapture : trueand conditions are no longer met, landmarks will automatically be unclaimed.Added capital chunk
First chunk of each town is now considered a "capital".
The capital cannot be unclaimed but can be freely changed by leaders.
If
TownAllowNonAdjacentChunks : false, all chunks will need to be linked to the capital. Otherwise they will be unclaim.
If
Forts.useAsOutpost: true, forts can be created on wilderness chunks to act as outposts.new Placeholders :
tan_player_{player name}_town_name-> Name of the town of a specific playertan_player_{player name}_town_tag-> Tag of the town of a specific playertan_player_{player name}_region_name-> Name of the region of a specific player
Only chunk at the boundary of a territory will be deleted when the upkeep is not paid. This will limit border gore
Added option to run a single command or one command per concerned player when a war start and end
Bug fixes :
Fix reversed pagination buttons on new pagination system
Fix "Surrender" mechanic using looser side's wargoals
Fix fort constants not being read
Fix town tag not correctly applying when a player joins a town
Fix missing "change town tag" button
Others :
Towns and Nations is now compiled in java 21.
Ended support for 1.19
Added MockBukkit for better tests
Owned landmarks ids are no longer stored with territory data. This will remove potential bugs while unclaiming landmarks
PlaceholderAPI integration has been reworked to reduce complexity and execution time
0.15.1 - Quality of life and bug fix
New :
Command blacklist during attacks.
Full item support for territory icons (banner with pattern, enchanted items...).
Claimed chunks will now be protected from mob grief if enabled in general chunk settings.
Bug fixes :
Fixed color in REGION_DIPLOMATIC_INVITATION_RECEIVED_1.
Fixed newsletter deletion not deleting specific newsletter data.
Fixed
MaximumChunkConquerconfig not being used.Fixed
RegionAllowNonAdjacentChunksnot being used.Fixed deleting forts not updating the save file.
Fixed GUI_TOWN_ATTACK_NO_CLAIMED_CHUNK not being translated.
Fixed error if
/json/folderwas not created when a war is created.Fixed region leader being able to exclude his own town.
Fixed
NO_ICONicon type not being implementedFixed pagination navigation in several town menus
Others :
Deprecated TownData and RegionData merged in TerritoryData have been deleted
Only one "Conquer" war goal can be added per war.
Better Json Storage. Data have been moved to
storage/jsonPlanned attack menu has been switched to the new menu system.
Reworked internal code for the three war phase (War -> Planned Attack -> Attack) for a better code.
Region capital" has been removed to only keep region leader.
Excluding a town from a region is now done by a right click with confirmation
0.15.0 - War update
New Defensive Building: Fort
All legacy Strongholds will be deleted.
The "Building" menu has been created. It is possible to build forts from there. Other buildings will be added in the future.
Fort protects the surrounding chunks from enemy capture during wars.
Capturing a Fort requires holding the Fort Flag for a certain amount of time.
Fort protection and capture radius can be set by admins
War Goals
Multiple war goals can now be set to a single attack.
Attack Phase
Attackers can now capture individual enemy chunks by holding them for a short duration.
Attackers can capture forts to disable their protection radius. The protection will then work for the attackers
Map plugin update :
A new "Fort" icon will be added to the interactive tanmap GUI to easily identify these strategic points.
Removed unwanted log text
Bluemap and Dynmap now have custom icons (:fort: :trader: )
Bug fixes
Fixed memory leak with newsletter DB connection
Fixed property sign and support not being breakable even after property is deleted
Fixed attack starting even if it has been cancelled before
Fixed Relation proposal and relation accepted newsletter not being registered
Fixed reverse wording "has worsen/has improved"
Fixed "Relation proposal" newsletter not showing to the proposed side if set to "concerned only"
Fixed "add relation" menu iterator
Fixed Worldguard interactions (will probably be changed in the near future)
Others
Selecting blocks when creating a property will now only work while no item is held
Creating a property is now localized in the player language.
Better security check to avoid error with missing region
Versions 0.14
v0.14.8 - More API content
New :
Event system is added into the API.
All Events previously triggered for the newsletter can now be used by external plugins to interact with TAN
Newsletters now shows the date of the event
Old newsletter will be deleted after a certain number of days set by admins (base : 30 days)
Removed the fixed 7 days limit to newsletters
Added confirm message when
/tanadmin skipdayis calledOption to disable individuals protection entirely from the plugin
Bug fixes
Fixing wrong lang line used on "rename town" button
Fixing ChangeTownNameCost and ChangeRegionNameCost variable not being used
Fixing "null" displayed on all upgrades
v0.14.7 - Extended landmarks claiming permission
New :
Auto center in the main menu if kingdoms or regions are disabled.
Option to allow claim landmarks only if territory is adjacent.
Option to set a price to claiming landmarks.
Added confirm menu when claiming landmark.
Property permission
This is the same system as chunk permission. Allow players or specific roles precise actions. For now, only the player's town is taken into account. A new system will handle both region and town relation in the next update.
Bug fixes
Fix new war period not being modifiable
Fix missing lang files
Others
Due to the change of how properties chunk permission are handled, all trusted players will be lost and will need to be added again.
v0.14.6 - Timezones and MySQL support
New
API update (canPlayerDoAction() and doesPlayerHavePermission())
Worldguard support (overriding TAN's claims)
MySQL support
Added server time zone and player time zone. This will be used in further updates (Upgrades, war, votes...)
Authorized attacks periods. Admin can now define when attacks can be waged
Bug fixes
Fixing dynamic lang file. It can now be freely edited.
Fixed a bug with ghost town causing an error on dynmaps plugins
v0.14.5 - Better menus
New :
Vietnamese update by @minhboang11.tuan
Menu rework for cleaner code and a better user experience
It is now possible to modify icons used in all menus
This will allow in the future for a full command support of the plugin
Towns have less power over player properties : They can no longer edit the name, the description, prices and sell/rent it. They can still delete it and kick renter.
Properties can now have an icon like towns or ranks
Deleting properties now have a confirm screen, like towns
Some menus have not been update yet. They will be for future reworks
Properties taxes have been changed : They now add up to the base price.
Bug fixes
Fixed "territory vassal proposal" newsletter not loading properly
Fixed ghost town not being able to display their icon
Fixed wrong permission check used to kick a player from a town
Fixed player being able to place and loose items in menus
Fixed TRUE/FALSE placeholder displaying wrong text
Disbanding a town will no longer keep its ID stored if it was part of a region
Fixed
/tanadmin unclaimcommand not showing
Other
AutoUpdateLangFile: true/falsehas been deleted. The new config system will automatically add specific missing lines without overriding everything else
v0.14.4 - Notification system
New
Add separate wilderness rule for every world
Reload command take into account lang files
Option to enable logs on private text in the console
Part of Italian translation by @imseo_
Territory welcome message :
Option to display towns and regions from the color of the town/region
Entering a territory claimed chunk will now also display the description of the town
Option to only keep the old notification without town description
New notification system
Admins can set who will get notifications:
No one
Concerned only
All players
Notifications concerned :
Town created
Player applied to join a town
Player joined a town
Town deleted
Town join a region
Town left a region
Diplomacy proposal
Diplomacy proposal accepted
Attack declared
Attack won/lost
Attack avoided (one side backed down)
/tan mapAdded dot to point out player location (no directional arrow since emojis don't have a common size in Minecraft 😒 )
Chunk coordinates now display normal coordinates instead of chunks one (×16)
Removed map rotation by default. It can be brought back from the config file if anyone missed being lost.
Bug fixes
Fixed region leader being able to quit his town if he was not the town leader.
Fixed "Mark all as read" button
Fixed first line of text of
/tan mapbeing clickable
Other
Town and Region balance are deprecated and will be removed in 0.15.0 to centralize money storage to the parent class
Better handling on getRelationWithPlayer()
Newsletters are now stored on database (SQLite by default). Another step to allow full database support.
v0.14.3 - Quality of life
New :
Turkish translation by @cemaligueler
German translation by @son3k96
Added "No one" permission for claims. allowing territory to only add trusted members for actions
It is no longer possible to name a region the same name as a town
/tanadmin sudo <player>can now be executed from all commands senders.new "Mark all as read" button in the newsletter
Added option to remove pvp between territories with a certain relation (alliance, non-aggression...)
Bug fixes
Fixed region not storing new players into the default role, leading to the ability to delete this role if a new default role has been set and players are still in.
Fixed missing ranks when switching from old versions (0.14.0 & 0.14.1) by @starkdev
** Other**
It is no longer possible to name a region the same name as a town. This will allow each name is only assigned to one territory and help chat commands and Placeholder API
Removed legacy teleportationData code.
v0.14.2 - Quality of life and unitary tests
New :
Chat listener event will reopen GUI if a player was using it before
Add option to remove economy icon
Bug fixes
Fixing tax history showing "player do not have enough money" when taxes are at 0
Fixing townUpgrade file not being modifiable (SphereLib update)
Fixing Fixing wrong back arrow in ChunkSettings
Adding missing GUI_BROWSE_TERRITORY_ICON
Adding missing payment when a town is claiming chunks
Fixing /tan sudo not working if player was using himself as the 2nd argument
Facing east, south and west now correctly shows with
/tan map
Other :
Adding 50+ Unit test to reduce bug introductions between major versions
PlayerHeadIconclass is no longer extendingCustomIcon. They now implement theICustomIconinterface. Some icons could be lost.getBenefitsnow send back 0 if no upgrade was found in parametersRemoved compatibility for old color code. Some color may be lost while updating
Removed option to allow name duplicates for towns and regions. This will enable a faster and cleaner placeholder API in a future update
SphereLib v0.4.3 is required !
Fixed cardinal point for
/tan mapTowns and Nations will no longer work if SphereLib is below the minimum version required
Link : https://modrinth.com/plugin/towns-nations Link : https://modrinth.com/plugin/spherelib
v0.14.1 - Small patch
Bug fixes
Fixing TanUpgrades being reset when updated
Fixing new towns being created without ranks
Fixing "cancel" word being always active
Fixing a bug when disbanding a town with 2+ players on it
v0.14.0 - Dev Update
New :
Chat scope name is now localised in language
New placeholders :
%tan_chat_mode%: get the chat mode of the player%tan_chat_mode_{playerName}%: get the chat mode of a specific player
Wiki has been updated #📜・wiki
A developper API has been created : https://central.sonatype.com/artifact/io.github.leralix/tan-api
Installation guide can be found on github readme and the #📜・wiki .
new
/tanserver landmarkSetStoredLimit <id> <value>to change the maximum number of days a single landmark can store resourcesnew
/tanserver landmarkUpdate <id?>to add one day to a landmark resource storage/tanadmin sendReportcommand now include a copy of the config file and a list of all plugins installed on the serverusing /tan map will now show a ✖ if the chunk cannot be claimed due to blacklist
Bug fixes
Fixed a bug that did not properly delete all properties of a town if it was deleted
Fixed a bug that duplicated [TAN] placeholder in messages broadcasted to an entire territory
Other :
Several old attributes stored in
TownDataare now stored in theTerritoryDataclass. Old attributes are kept until 0.15.0 to allow a smooth transition to the new model
Versions 0.13
v0.13.3 - Thai language
New :
Plugin is now available on Modrinth ! (https://modrinth.com/plugin/towns-nations) This will be used to better handle dual version since the paper split from spigot in 1.21.4
New language : Thai.
Russian, French and Czech lang update.
Bug fixes :
Fixing lang bug causing an infinite loop. Critical bug
Fixing missing color on "browse territories".
Fixing missing lines that were not translated if player chose another language than the server defined one.
v0.13.2 - Multilanguage
New :
Multilanguage support for menus
Bug fixes :
Fixing town spawn being able to be set everywhere
Cancel word correctly work when creating property
Adding missing translation in other language since v0.13.0
Fixing wrong message when adding a player to a property
Fixing typo on
PLAYER_RIGHT_CLICK_2_POINTS_TO_CREATE_PROPERTYFixing a bug causing the entire config file to reset
Other :
Lang duplicates will no longer be stored in the jar, saving 0.4 Mo of storage
v0.13.1 - War goal on landmarks
New :
Added permission on all commands.
Added server command to open main menu (
/tanserver gui <player name>)Option to ban world completely
War goal to capture landmark
Bug fixes :
Fix territory being able to change relation with their overlord, their vassals and themselves.
Reload now correctly handles chunck blacklist.
Fixing several critical bugs related to leaving a region. (Need to check in game all possibility to join/leave a region !!)
Fixing a bug enabling upgrade even when prerequisites where not met
Fixing a bug disabling the ability to use the admin gui
v0.13.0 - Plugin split
New :
Vault is now a **mandatory **dependency
It is still possible to use Towns and Nations as vault's economy.
To continue using rare ressources of v1.12.5 exotic trade plugin must be added.
Several non-player related command can now be done via all command sender (eg. console or commands blocks)
/tan mapwill now face the direction the player is facing ( N/S/E/W )Added "General chunk settings" menu. This will allow territory to set :
Enable/Disable PVP
Enable/Disable Explosion
Enable/Disable fire griefing
Admins can limit towns access to this from the config file (force during war, never allow, always allow...)
Old versions
v0.12.5
New :
Added several permissions :
tan.base| root of player commands and actionstan.base.towntan.base.town.create| allow the player to create townstan.base.town.join| allow the player to join towns (/tan invite and application)tan.base.town.quit| allow the player to quit townstan.base.town.disband| allow the player to disband towns
tan.base.regiontan.base.region.create| allow the player to create regionstan.base.town.disband| allow the player to disband regions
tan.admin| root of admin commandstan.server| root of server commands
Add unclaim via
/tan mapAdd placeholder :
%tan_player_{username}_have_town%=> TRUE/FALSE if player have a town
Better update of the config file when updating the plugin
Bug fixes :
Fixed a bug caused if an external economy plugin was not returning a currency symbol. It will now be replaced by default with $
Fixed a bug in the latest update that disable territory leader to be able to manage every permission on every role
v0.12.4 - Better support
New :
Added
/tandebug sendReportto help for troubleshootingRemoving auto name register to take into account changing names. Now every day all username will be deleted from storage and loaded back if called at least once the next day
Chunk permission for regions
New sound when registering message in chat
Bug fixes :
It is no longer possible to set a negative value to a property, causing the renter to get paid by the owner
Rare items can properly be obtained if a player have right to break bloc in another territory (property, alliance or specific)
Fixed java version on squaremap and dynmap causing errors if the server was still running with java 17
Fixed a bug that denies chunk permission to a player even if his region was on an alliance with another territory
Fixed a bug that allow town to have air as their icon, causing the icon to become non-existent
Other :
Added sound to old rank menu
v0.12.3 - Strongholds
New :
It is now possible to use "Cancel" to cancel the creation of a property
Added fire griefing protection
Every territory now have a Stronghold chunk
During a war, capturing and holding a Stronghold will give point to controlling side
This will add a capture the flag mechanic to wars and avoid defending side winning a war by simply not fighting
New placeholders:
%tan_territory_with_name_{town name}_exist%=> TRUE/FALSE (all)%tan_territory_with_id_{ID}_exist%=> TRUE/FALSE (all)%tan_territory_with_name_{town name}_leader_name%=> name of leader of the territory (all)%tan_territory_with_id_{ID}_leader_name%=> name of leader of the territory (all)%tan_server_get_first_territory_id_with_name_{name of the territory}%=> the ID of the territory (useful for server run command)
New command list : tanserver (used for server run command)
/tanserver createtown <player username> <town name >automatically create a town and set the player as leader/tanserver apply <town ID> <player username>automatically apply a player to a town/tanserver quittown <player username>automatically make a player quit his town/tanserver disbandtown <player username>automatically disband the town of the player
Bug fixes :
Fixed reverse tnt and fire griefing
Fixed tanmap-dynmap bug not updating chunks
Fixed Town not being able to have their claim conquered after a war
Fixed bug that allows region capital to be disbanded, causing the region to become corrupted
Fixed all block propagation being cancelled when fire griefing was disabled
New :
It is now possible to use "Cancel" to cancel the creation of a property
Added fire griefing protection
Every territory now have a Stronghold chunk
During a war, capturing and holding a Stronghold will give point to controlling side
This will add a capture the flag mechanic to wars and avoid defending side winning a war by simply not fighting
New placeholders:
%tan_territory_with_name_{town name}_exist%=> TRUE/FALSE (all)%tan_territory_with_id_{ID}_exist%=> TRUE/FALSE (all)%tan_territory_with_name_{town name}_leader_name%=> name of leader of the territory (all)%tan_territory_with_id_{ID}_leader_name%=> name of leader of the territory (all)%tan_server_get_first_territory_id_with_name_{name of the territory}%=> the ID of the territory (useful for server run command)
New command list : tanserver (used for server run command)
/tanserver createtown <player username> <town name >automatically create a town and set the player as leader/tanserver apply <town ID> <player username>automatically apply a player to a town/tanserver quittown <player username>automatically make a player quit his town/tanserver disbandtown <player username>automatically disband the town of the player
Bug fixes :
Fixed reverse tnt and fire griefing
Fixed tanmap-dynmap bug not updating chunks
Fixed Town not being able to have their claim conquered after a war
Fixed bug that allows region capital to be disbanded, causing the region to become corrupted
Fixed all block propagation being cancelled when fire griefing was disabled
v0.12.0 - Squaremap integration
New :
Squaremap integration (link : https://www.spigotmc.org/resources/towns-and-nations-squaremap.121378/)
Bug fixes:
Lang : "using X as economy" now works properly
Fixed several money action that did not properly worked with an external economy system
Fixed player balance going into negative when not having the money for their rent. They are now automatically evicted and the property is for rent again
Fixed a bug that disable player of a territory from interacting with it if the chunkSetting was set to alliance
v0.11.9 - Digit economy
New :
Base tax, property rent taxes and property buy taxes can now also be set manually in chat (right click)
Rent and buy rates can now have digits. This may cause rates to be set to 100% during the update.
New placeholders ( #📜・wiki ):
%tan_player_town_chunk_quantity%is now called%player_town_chunk_actual_quantity%%tan_player_town_chunk_max_quantity%for total possible claims%tan_player_town_chunk_remaining_quantity%for remaining claims
Territory administrator can now select the head of anyone in the territory to be the custom head of the town
Bug fixes:
Fixed digits for player taxes
Fixed property buy taxes showing in daily balance
Fixed property rent taxes being wrongly multiplied by 100x when showing daily balance
Fixed bug that allows player to set a negative amount of taxes
Fixed missing lang file for allowing outside players to access town claims
Fixed player head as town icon not loading the leader's skin
Other:
More data centralisation into the TerritoryData class (this may cause unwanted bugs)
New update for towns & nations - dynmap (v0.9.0)
v0.11.8 - Properties taxes
New :
Czech translation by @arocles
Custom items can be set to rank icons
Town taxes on private property rents
Town taxes on private property selling
Bug fixes:
fixed Upgrade.yml lang file not being displayed in simplified chinese
Fixed player tax history not being reachable and several wrong localisation
Removed unwanted console logs from last update
Hotfix of an error that occurred if a player cannot access the scoreboard manager when creating a town. The scoreboard will not be created to avoid an error in the thread.
Fixed a bug that uses town money when donation or retrieving money from a region
v0.11.7 - Quality of life
New :
Spanish Translation (thanks to @eloy999tc )
Sort players and ranks by level and alphabetically in the members menu
A territory that cannot provide enough money to pay for its claimed chunk will see a portion of their chunk unclaim every night. This can be configured in the config file. Property that partially stand on an unclaim chunk will be deleted.
Removing region ranks permission that are town related (invite player, kick player, ...)
Set or remove overlord from towns in the admin GUI
Specific chunk perms for players (allow a specific player to break blocs, use redstone...)
Shulkerbox are now protected under "open chest" chunk permission
Bug fixes:
Fixed {MONEY_CHAR} bug on several lang lines
Fixed missing territory balance line in the treasury GUI
Other:
With floating number being implemented, chunk upkeep cost is not for 1 chunk in the config file instead of 10
Removing PROMOTE_RANK_PLAYER and DERANK_RANK_PLAYER rank permission because they are not useful
New version of TaN - dynmap (0.8.0) to handle changes in some of the API methods name
v0.11.6 - Better economy menu
New :
Money icon (✦) can now be customised from the config file. if an external economy plugin is used, the external icon will be used
Centralised economy tab for all territories (towns and regions)
Small graphical rework
Rework transaction history (Now stored in database for a faster load rate)
Letter "K" and "M" will be used for thousands and millions when money is displayed in large quantity
Bug fixes:
Fixed a bug that cause town leader not being able to bypass rank level
Fixed a bug that swap decreasing and increasing rank
Fixed a string in the russian translation that caused a bug on the entire russian file
Fixed donation history not being registered
Time before clearing salary in config file is no longer missing
Fixed a bug that prevented positive relation to be set back to neutral ("remove" button)
Fixed wrong song displayed when accepting a diplomatic invitation
If teleportation while moving is allowed, information message will no longer say to not move
Other:
Removing 20 unused strings in every lang files
{MONEY_CHAR} can now be used as a placeholder to get the selected money chararcter in the lang.yml file
v0.11.5
Ranks have been added to region
Small graphic rework of rank to match other menu
Rank default icon is now a helmet of different material depending on the rank level
Economy can now have digits (number of digits are configurable in the config.yml, default is 2)
Adding storage of custom value for town icon, adding the ability of using custom texture pack items
Explosion can now be disabled in region and/or in town chunks
Rank level can now be increase and decresed. This avoid an exploit that a lower level rank could increase another rank to any rank
It is no longer possible to assign a role to a player with a superior role
Bug fixes:
Fixed a bug that automatically reset the default rank to the first one created by default
Deleting a town will now properly delete all associated property
Fixed a bug that enable inferior ranks to modify a superior rank
Other:
Specific territory rank is now displayed below the territory menu instead that in the player menu
New dynmap version is needed (0.7.0)
v0.11.4 - Vassal menu
New :
Vassal menu (manage your vassals and/or interact with your overlord)
For suzerain:
List of vassals (invite/remove)
For vassal :
Declare Independence
Accept a territory as suzerain
Send money to the suzerain
Newsletter will now expire after a given time that can be configured in the config file
Adding newsletter for vassal proposal (town only)
Traditional Chinese translation (thanks to coolchenggecorperation )
Portuguese (Brasil) translation (thanks to whattahell )
Bug fixes:
Donation to a region will no longer display "successfully donated x to town"
Other:
Removing 2 deprecated commands :
/tan acceptregionand/tan accept
v0.11.3 - Newsletter
New :
Retro-compatibility extended to v0.7.0+
New newsletter for new relation invitation
Every player connecting to the server will be reminded of their unread notifications
Right click to mark notification as "read". They will not show as new anymore
Claim blacklist in the config.yml file
Bug fixes:
Fixed upgrades.yml file always being replaced even with
autoUpdateLangFiles: falseFixed a bug since confirm pannel that disable the ability to kick players from a town
Fix /tanadmin addmoney and /tanadmin setmoney not working properly when an exernal economy plugin was installed
Plugin version check is fixed. It will only display when the plugin is not up to date
v0.11.2 - Diplomatic rework
New :
JSON file will no longer have to be manually updated for some specific updates .
New check system between tan and his dependency (dynmap). This will allow to correctly handle version without causing a big java error in the console. Dynmap will need to be updated to v.0.6.0
Diplomatic rework pt 2 :
Region relation is now called Overlord (laying the groundwork for Kingdoms)
**Subject **is a new relation, shown to overlords for their subjects
It is now possible to change relation with another territory directly from the add [+] button. Removing [-] is only needed when changing back to neutral.
New "Pending Diplomacy" button to handle diplomatic demands from other territory. This allows everyone with the "manage diplomacy" permission to manage new diplomatic message.
Added territory newsletter
For player application (town only)
Russian translation by pablodurov
Bug fixes:
Fixed 3rd page of
/tan helpshowing no commandsFixed missing localisation on
/tan helpFixed Region relation only showing Neutral
Old salary history is now successfully deleted if enabled in the config file
Custom chunk color button is now displaying for region even if the dynmap extension is not enabled since that chunk color is also displayed with
/tan mapFixed "town administrator" permission showing as "manage properties" instead
Fixed purple "-" in the member list of a rank
"Town administrator" role can now change icon of ranks
Fixed bug from v0.11.1 that crash the plugin if vault was not installed
v0.11.1 - Quality of life
New :
Player cannot unclaim chunk if a property is on them
Towns and nations can now be used as an economy System by Vault. Automatically set to yes by default
Adding war panel to region. They can now join attacks
Adding ability to rename attacks by the main attacker
Better and faster command manager
Rework /tan help, /tanadmin help and /tandebug help for more visibility
The new command completer now works with all argument (not only the first)
Bug fixes:
Correcly localized "neutral" relation
Town can no longer change relation with their overlord and vice versa.
Upgrading the town do no longer reset the scrolling of the level gui
Other:
Rework of the player chat listener mechanic for a more object-oriented style
v0.11.0 - Quality of life
New :
New Config file
/tanadmin reload command
Configurable maximum distance for /pay
/tan mapnow point northPlayer killed on enemy chunk now always score point
Add option to disable player from interacting with blocs in the wilderness
Adding option where wars need admin approval
Bug fixes:
Fixed one console debug log that was forgotten before 0.10.1 update
Fixed color display on the /tan map
Fixed error message text if player interact with region without permission
Other:
Lang code are back to 2 letters instead of 3.
Due to a rework of the wilderness chunk, updating the plugin to this version will require a small update in the values.
v0.10.1 - Claiming from /map
New :
1.20.4+ head support, plugin is now 1.21 compatible
close inventory of players using a gui when their town/ region is deleted to avoid interacting with a newly deleted town
/tan map rework. Player can now claim from the map
Bug fixes:
Fixed a bug when deleting a town that hold a relation with a foreign territory (0.10.0 only)
Other:
Claim code rework that allows for easier updates in the future and a O(1) complexity time
Due to a color rework, dynmap plugin also needs to be updated to v0.5.0
v0.10.0 - War update pt 2
New :
Add war goals
Conquer : conquer a certain amount of chunks from the ennemy territory
Liberate : liberate a town from an enemy region
Subjugate : subjugate a town and add it to your region
Added 4 new claimed chunks options : place and destroy boat, place and destroy minecart, gather berries and use bonemeals
Territories can now join war on each side before the war start
Korean translation by @don_key_don
Added filters to territory browsing (towns, regions or both)
Bug fixes:
Fixed cancelling an attack not removing the information from involved towns thus causing a null pointer exception
Fixed deleting a region not removing relation with other territories
Fixed a bug that tell every defender they have won even though they have lost the attack
Anyone can no longer change the leader of their region
Fixed "cancel" String not using proper localisation
Fixed region claims that could override every other claimed chunk
Other:
Disbanding a region does no longer refund the money to the capital city
Futher integration of towns and region into the same entity for a cleaner code. A new version of towns and nations dynmap is needed (v0.4.0)
Better code for town and region suppression
v0.9.2 - More configs
New:
Player with right permission can now withdraw money from a town
Admin can now select if the /tan spawn cooldown command is cancelled if player move his head
Add the ability for admins to set custom name for landmarks from the admin GUI
Bug fixes:
Player with no town can no longer bypass claims protection CRITICAL
Fixed old saves not taking into account region relation
Fixed landmarks not getting unclaimed if a town is disbanded
v0.9.0 - War rework pt 1
War relation has been renamed to "hostile"
Hostile territories can declare attacks on ennemy territories.
After the countdown is finished, the attacking team can bypass the chunk protection of the ennemy team
The first team to score enough point win the war
Several other small updates will arrive to increase the complexity of the mechanic
Bug fixes:
Fixed critical error when deleting town
Fixed Placeholder API not working since v0.7.0+
Fixed console print when searching for placeholder
Fixed error not checking if the server allows for non adjacent town claim
Fixed localisation when trying to leave a region when the town does not have one
Others:
Placeholder API keyword has been switched from T&N to tan because the character "&" is used by placeholderAPI
Instead of big updates, the development will now deliver small updates and consolidate already existing features.
v0.8.0 - Landmarks and region diplomacy
Region leader can now be anyone, not only a leader of a town
Region are now fully integrated into diplomacy
Landmarks
Landmarks are special chunks that produce resources with time for the town that hold them.
Landmarks can be generated by admin from the admin gui
Bug fixes:
Fixed new player data storage not properly archived
Fixed a bug where player without town could try to create a region, ending in an error
Dynmap: Fix new towns not showing up until restart
Town budget estimation now takes into account region tax
Fixed missing condition when deleting a region. Now only authorized people can delete it
v0.7.3 - More permissions
New:
Added "Town administrator" permission. This permission enables players to change town name, town icon, chunk color, town tag, and town spawn.
Added customisable max size for property
Creating a sign for a new property will now create a sign even if a block is there
Adding pagination for regions and admin GUI
Other player can be invited in a property
Bug fixes:
Fix player name showing up instead of target player when deleting a property
Fix player's nation showing up when another player disban his town
Fix admins town crashing the dynmap plugin
Message sent when selecting a bloc outside town claimed chunk to create a property is now properly localized
Fix diplomacy tab not showing up when one ghost town exist
Others:
Plugin has switch tag from [T&N] to [TaN]
Better player class storage. Old data will be saved
Centralization of every iteration/pagination menus
v0.7.2 - /tanadmin commands
Adding the ability to enable or disable the version check.
Max upgraded upgrades will no longer show next level cost and rewards
Admins can create empty towns from
/tanadmin guiPlayer that were not online during the start of an assault will now be able to take part in the assault
Bug fixes:
Fixed a bug that caused a failure in strings in v0.7.1 .
Fixed a bug since 0.7.0 that remove the ability for player in assault to lift chunk protection
Leaving a town while in an assault will now properly remove the player from the assault authorization
Fixed a bug where selling a property did would send a wrong message to the ex-owner.
Fixed listener not removing player after interacting with the name or description of a property.
Fixed a bug in the dynmap plugin causing the map to not update correctly
Others:
Creating Javadoc and rewriting all utilities classes for better space and time complexity
Better handling of the version check via GitHub.
Archived file will now be stored by name YYYY-MM-DD instead of DD-MM-YYYY for better visibility
Old chunk transition is no longer available (v0.5.4 -> v0.6.0+)
Reworked the teleportation related code for future content on multiple teleportation location
v0.7.1 - /map command
Adding rare fish drop
Entering claimed chunk will now display the text on the action bar
Player can no longer buy property in enemy towns (embargo or war)
Added API for dynmap 0.2.0
Massive dynmap update
Creating a region now register the date of creation
Bug fixes:
Unclaiming an admin chunk will no longer display the number of claimed chunk of the region before the claiming
/tanadmin unclaimwill now unclaim region chunksRemoving the drop of a single rare item is now possible by removing all line of code of a section
Others:
The date of creation of town will switch to a new system and will be reset
Loading a wrong lang file will now automatically load the english file
v0.7.0 - Private properties
New:
Player can now sub claim property in their town
A player have exclusive access on their property
A player can rent or sell a property to another player from the same or another town
Added "Can create property" rank permission
Added MAX_PROPERTY option to the upgrade panel
Added notary upgrade to the basic
towns-upgrades.ymlAdmin can now remove and add players to town from the admin gui
Towns can now create a 3 letter tag
Administrator can now add town tag before player's name
Plugin sounds can now be customised in config.yml
Added localisation for the "cancel" word
Bug fixes:
Old town that got upgraded to v0.6.4+ will get assigned a random rank as default to avoid bug
Fixed a bug where a player leaving a town will keep his town rank
Fixed a bug where a town did not have default rank ID
Fixed a bug where the default rank could be deleted
Fixed a bug where claiming a region chunk would claim a town chunk
Administration upgrade is no longer replaced by barracks
Iron bars in the level gui where not localised before. "LEVEL_LOCKED" string has now been added to the plugin.
Creating a town will now correctly remove the player to every town application
Others:
Missing lang file will now display
"Message not found for <LANG_ENTRY> in this language file.". Easier for debugwriting /tan will now display a list of every commands and a small description
Removed the
/tandebug townstatcommand. The command was pretty useless since data is stored in files.Removed the
/tandebug dropchancecommand. This command was used when adding rare items.Removed the
/tandebug updatecommand. Applying updates between version is automatic since v0.6.0Removed the
/tandebug chunkpayand/tandebug salarypaycommands. Every taxes are collected with/tandebug skipdayRevisited color code for region and (later) kingdoms names
v0.6.4
New:
Norwegian translation by koffein
Added option to choose the hour and minute of the day where taxes are collected
Added option to remove daily tax confirmation in console log
Added 50+ new entities in the creature gui (you might need to modify
config.yml)Added pagination for Town GUI
Better town UI (working to create a proper identity for the plugin)
2 Towns can no longer have the same name
Town leader can now kick player from every rank
Bug fixes:
Config town chunk cost is now working
Fixed a dupe glitch that was already fixed before v0.6.2
Inviting a player into a town will now correctly assign him the rank ID
Fixed debug message being send in the console when deleting a town
Fixed new rank renaming code
Return button in the browse region GUI will no longer show an incorrect menu of the player have a region
v0.6.3
New:
Adding /tan autoclaim <town/region/stop> for auto claiming chunks when running around
Pl translation for base town upgrade thanks @szkogis
Bug fixes:
Old chunk transition will now only happen once
Opening the region gui will no longer delete all chunks (worst bug of my life)
Player without town breaking a block in a claimed town will no longer trigger an error
Player not online won't receive a message telling that the assault is over
Own player town will no longer be displayed in the diplomacy tab Regional capital will no longer be displayed when trying to change capital
Option to allow non adjacent claim for town is now working properly
v0.6.2
New:
Added a /tan sell command for people who does not want to interact with villager. Command can be disabled from the config.yml file
Added a optional history file to manage action on the plugin (admin giving money, town and region creation...)
Members of a town cannot send money on another town on embargo
Polish translation (thanks to @szkogis)
Bug fixes:
Region chunk now work as intended. Every region member can interact on regional claims
Town that modified icon no longer shows item name instead of town name
Fixed wrong name displayed when notifying a new player join a town
Others: -Added option to not use history file
v0.6.1
New:
When entering a custom value in the chat (donation, town/region name & description), you can cancel the listener while typing "cancel"
Town spawn are more configurable: custom waiting time before teleportation and disable teleportation due to movement and / or damage
Added PlaceholderAPI integration (see Placeholders (Placeholder API)for more info)
Added the ability for admins to bypass every chunk protection with /tanadmin sudo (will not be stored between restarts !)
Bug fixes:
Leaving a town while an assault is declared on another town will no longer keep those player tagged in war
Fixed a bug where length constraints where not taken into account when creating or modifying a town/region/rank/description
Last updated