[T&N] Towns & Nations icon

[T&N] Towns & Nations -----

A role-playing Minecraft plugin for immersive town creation, alliances, and warfare




New :
- Squaremap integration

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
----------, Dec 18, 2024

New :
  • Base tax, property rent taxes and property buy taxes can now also be set manually in chat
  • Rent and buy rates can now be with digits. This may cause rates to be set to 100% automatically. You can change them in the budget tab
  • new placeholder : total possible claimed chunk for a town ( #placeholderapi )
  • `%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)
Plugin link : https://www.spigotmc.org/resources/t-n-towns-nations.114019/
Dynmap link : https://www.spigotmc.org/resources/towns-nations-dynmap.114450/
----------, Dec 12, 2024

New :

- 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
----------, Dec 4, 2024

New :

- 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
----------, Dec 4, 2024

New :
  • Spanish Translation (thanks to @ Eloy)
  • 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)
----------, Nov 30, 2024

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 upgrading 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

- Check why PROMOTE_RANK_PLAYER and DERANK_RANK_PLAYER are not used

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
----------, Nov 20, 2024

- 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)
----------, Nov 13, 2024

New :

- 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
- Specific chunk perms for players (allow a specific player to break blocs, use redstone...)
- 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)
----------, Nov 13, 2024

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
- Adding newsletter for vassal proposal (town only)
- Chinese translation
- Portuguese -Brasil

Bug fixes:

- Donation to a region will no longer display "successfully donated x to town"

Other:

- Removing 2 deprecated commands : `/tan acceptregion` and `/tan accept`
----------, Nov 5, 2024

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

- Newsletter will be deleted after a certain time set in the config.yml file

Bug fixes:
- Fixed upgrades.yml file always being replaced even with `autoUpdateLangFiles: false`
- Fixed 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

Other:
- Using an external economy system will no longer remove the use of some commands
- Option to change claimed chunk color is now always shown even if the dynmap plugin is not installed
----------, Oct 29, 2024

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 necessary 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 @micro_comrade
Bug fixes:

  • Fixed 3rd page of `/tan help` showing no commands
  • Fixed missing localisation on `/tan help`
  • Fixed 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 map`
  • Fixed "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
Other:
  • Rework of relation for a cleaner code when changing relation
  • Removing several static variables to improve reliability
----------, Oct 21, 2024

New :
  • Player cannot unclaim chunk if 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
  • New command completer now works with all argument (not only the first)
Bug fixes:
  • Correcly localised "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:
  • Adding territory color to war message
  • Rework of the player chat listener mechanic for a more object-oriented style
----------, Oct 8, 2024

V0.11.0
New :

  • New Config file
  • /tanadmin reload command
  • Configurable maximum distance for /pay
  • `/tan map` now point north
  • Player killed on enemy chunk score point (even if killed by mobs)
  • 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. This part will need to be deleted in every TAN - towns.yml file :
Code (YAML):
"permissions" : {
        "CHEST"
: "TOWN",
        "OPEN_DOOR"
: "TOWN",
        "BREAK_BLOCK"
: "TOWN",
        "PLACE_BLOCK"
: "TOWN",
        "ATTACK_PASSIVE_MOB"
: "TOWN",
        "USE_BUTTONS"
: "TOWN",
        "USE_REDSTONE"
: "TOWN",
        "USE_FURNACE"
: "TOWN",
        "INTERACT_ITEM_FRAME"
: "TOWN",
        "INTERACT_ARMOR_STAND"
: "TOWN",
        "DECORATIVE_BLOCK"
: "TOWN",
        "MUSIC_BLOCK"
: "TOWN",
        "LEAD"
: "TOWN",
        "SHEARS"
: "TOWN"
      },
----------, Oct 3, 2024

# V0.10.1
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 (only in v0.10.0)
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
----------, Sep 26, 2024

V0.10.0 War goal update
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
----------, Sep 22, 2024

New:
  • Created town will now have a random color instead of the same red color
  • Adding the ability for admins to use their own items to be sold
  • Adding the ability of hanging a property sign to a wall
----------, Aug 14, 2024

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 custom name for landmarks from the admin GUI
Bug fixes:
  • Player with no town can no longer bypass claims protection
  • Fixed old saves not taking into account region relation
  • Fixed landmarks not getting unclaimed if a town is disbanded
Others:
  • Better looking config.yml file, the configuration related code will soon be updated too
----------, Aug 11, 2024

New:
  • Critical decisions will how have a confirm panel
  • Town taxes can be set to 0
  • Region chat

Others:
  • Small rework of the custom chats
----------, Aug 8, 2024

New:
  • 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.
----------, Jul 31, 2024

v0.8.0
New:

  • 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

Others:
  • Removed old rank system update
  • Adding polymorphism to town and regions, allowing easier code, integration of kingdom in a future update and smoother interaction between regions and towns
  • Removed old rank transition
  • Newly created region will now have by default the capital icon
  • In order to transition into 0.8.0+, you need to delete `chunkSettings `from `Towns.json`
----------, Jul 20, 2024

v0.7.3
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
----------, Jun 18, 2024

v0.7.2
New:

  • 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 town for themselves from the `/tanadmin gui`
  • Player 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.

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
----------, May 28, 2024

New:
  • 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 (see here)
  • 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 unclaim` will now unclaim region chunks
  • Removing 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
----------, May 12, 2024

v0.7.0, the property update !

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.yml`
  • Admin 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 debug
  • Writing /tan will now display a list of every commands and a small description
  • Removed the `/tandebug townstat` command. The command was pretty useless since data is stored in files.
  • Removed the `/tandebug dropchance` command. This command was used when adding rare items.
  • Removed the `/tandebug update` command. Applying updates between version is automatic since v0.6.0
  • Removed the `/tandebug chunkpay` command. Every taxes are collected with `/tandebug skipday`
  • Removed the `/tandebug salarypay` command. Every taxes are collected with `/tandebug skipday`
  • Revisited color coding for region and (later) kingdoms names
----------, Apr 30, 2024

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
  • 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 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
----------, Apr 8, 2024

New:
  • Adding /tan autoclaim <town/region/stop> for auto claiming chunks when running around
  • Pl translation for base town upgrade
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
Others:
  • Removed the v0.3.0 -> v0.4.0 transition
----------, Mar 30, 2024

The "too many bugs" update

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
  • Added option to remove daily tax confirmation in console log
  • Added option to choose the hour and minute of the day where taxes are collected
----------, Mar 19, 2024

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 ⁠placeholderapi 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
----------, Mar 13, 2024

Small QOL update
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 tome before teleportation and disable teleportation due to movement and / or damage
  • Added PlaceholderAPI integration (see discord 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 contraints where not taken into account when creating or modifying a town/region/rank/description

Others:
  • Town rank are not longer selected by their name but by a new ID
----------, Mar 12, 2024

New:
- Regions are now live ! More interaction with them should be added soon
- Rework of the town treasury and better tax history

Bug fixes:
- Fixed a bug where pre v0.5.4 towns could not open the town treasury
- Fixed a bug where town that allows breaking blocks could break blocs on all other towns
- Fixed a bug where removing auto lang file update would not work
- Fixed a bug where chunk storage would not automatically save everry five minutes

Others:
- New and better chunk storage system. Old system should automatically update from 0.5.4 -> 0.6.0
- If using T&N - Dynmap, please also upgrade to new version
----------, Mar 6, 2024

New:
  • Adding town option to remove the spawn of some mobs inside the mobs
  • Adding unlock condition in the upgrade menu

Bug fixes:
  • Localisation fix (thanks to @Coke)
Others:
  • v0.2.0 balance system can no longer be changed to new 0.5.0 system. You now need to load a version beyond 0.5.0 and 0.5.3 in order to swap system without losing all of town's current balance
----------, Feb 10, 2024

New:
  • Adding new way of getting money from entity: Souls
  • Adding new villager: Wizard
  • Adding auto removal of old town transaction history. Can be modified or canceled in the config file
----------, Feb 8, 2024

Hotfix: fixed rare item villager trader opening vanilla villager trading pannel
----------, Feb 6, 2024

Towns and Nation v0.5.0 is out !

New:
  • Towns can now choose their chunk color on the dynmap plugin (you have to also update it)
  • New upgrade menu, fully customisable from the townUpgrade.yml config file (upgrade cost, position, rewards and number of levels).
  • Town spawn added (/tan setspawn, /tan spawn) That can be unlocked with the UNLOCK_TOWN_SPAWN = +1

Bug fixes
  • Fixed bad english loc

Others:
  • MySQL support had a lot of flaws and will be updated soon. This new update will dont work on cross server
----------, Feb 5, 2024

Towns & Nations v0.4.1 is (finally) out !

New:
  • Added SQL integration for cross server (Might have bugs) Asked on my discord

Bug fixes:
  • Fixed a bug where you could pay yourself money
  • Fixed a bug where paying money to someone with Vault did not remove the money from the sender
  • Fixed an illegal Collection to List casting causing the plugin to crash with older versions

Other:
  • Added in v0.4.1 more custom options for the mySQL database
----------, Jan 26, 2024

Towns & Nations v0.4.1 is (finally) out !

New:
  • Added SQL integration for cross server (Might have bugs) Asked on my discord

Bug fixes:
  • Fixed a bug where you could pay yourself money
  • Fixed a bug where paying money to someone with Vault did not remove the money from the sender

Other:
  • Added in v0.4.1 more custom options for the mySQL database







----------, Jan 26, 2024

Towns & Nations v0.3.1 is out !

New:
  • Added trample protection
  • Added end crystal protection
Bug fixes:
  • French loc in english fix
Other:
  • Colored username is now disabled by default because it replaced vanilla scoreboard. It can be activated from the config.yml
----------, Jan 15, 2024

New:
Bug fixes:
  • Fixed an issue where a player's color code wouldn't change when they joined a town for the first time
Other:
  • new API
----------, Jan 11, 2024

Towns and Nations has reached a level of developpement good enough to be called 0.2.0. This new version add more depth to the rank system, ambient sound to the plugin's most important events and bug fixes. I strongly advise anyone already using the plugin to update it.

New:
  • Sound for major events
  • Better rank system
  • Lower ranks can no longer modify higher ranks permissions and settings
Bug fixes:
  • Fixed a bug that did not initialise new player's data
Other:
  • Join my discord if you want to share feedback, it would be greatly appreciated !
----------, Jan 1, 2024

New:
  • New setup for rank management
  • Ranks can now have salaries. Salary history is not yet implemented
  • The economic spending icon is now working
Bug fixes:

  • Important: Fixed a bug where the config file were entirely reset at every server restart. Now it is only adding new config lines but only at the bottom of the file
  • Fixed a bug where anyone could kick player others than themselves and the leader from a town
  • Fixed a loc warning the player that it is impossible to change a town's name after creating it. It is now possible since v0.1.9
  • Fixed a loc bug where GUI_TOWN_MEMBERS_ROLE_MEMBER_LIST_INFO_DESC1 was not white but purple
Other:
  • Adding new "/tan admin command". Used to differenciate admin commands and debug commands. Both need the townandnation.admin authorisation
----------, Dec 28, 2023

New:
  • - 1st draft of a admin Gui to rename, delete, swap leader and change description of any towns
  • - Town can now be renamed for a fixed cost
  • - New version of the plugin won't need to manually fix when adding new params in the config file
  • - Adding Miscellaneous purchase history (only town renaming cost for now)

Bug fixes:
  • - fixed 2 localisation bug when player do not have permission of claiming and unclaiming chunk

Other:
  • - Increased code clarity in the Gui code
----------, Dec 26, 2023

New:
  • Adding the ability for admin to unclaim chunks
  • Adding the ability for admin to delete town (via /tandebug gui)
Bug fixes:
  • None
Other:
  • Better "delete town" method
----------, Dec 25, 2023

New:
  • Added German Lang
  • Added Chunk upkeep daily cost
Bug fixes:
  • Fixed a loc bug in the english lang (tax and chunk upkeep history)
  • Fixed a bug where item frames where not protected by the chunk protection
Other
  • Clearing unused code
----------, Dec 23, 2023

Several more bug fixes, all of the known bugs are now fixed
----------, Dec 21, 2023

Fixed a bug where tax won't be collected if a player was not connected at midnight

Added bstats
Added message to admins when the plugin gets a new version
----------, Dec 21, 2023

- Fixing a bug where if was impossible to disband a town after disconnecting
- Fixing a bug not allowing the selling of rare item to the right economy handler

Thanks to thoses who told me about the bugs !
----------, Dec 20, 2023

I forgot to add a dependency in my plugin. This new version will no longer have a problem with /gui
----------, Dec 18, 2023

Resource Information
Author:
----------
Total Downloads: 2,150
First Release: Dec 18, 2023
Last Update: Dec 18, 2024
Category: ---------------
All-Time Rating:
6 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings