1.09 Jul 7, 2023
Bug fixes
VERSION 1.09 CHANGELOGS:
 
BUG FIXES:
  • Fixed the plugin not giving protection.
  • Fixed the plugin giving the wrong message to attackers/victims.

1.08 Jun 24, 2023
1.20.1 Update
VERSION 1.08 CHANGELOGS:
 
BUG FIXES:
  • Fixed the plugin not gathering players'UUIDs on 1.20.1 and not showing boss bars.
 

1.07 Mar 10, 2023
Bug fix
VERSION 1.07 CHANGELOGS:
 
BUG FIXES:
  • Fixed the plugin not working as intended if the SiegeWar plugin wasn't on the server.
IMPORTANT:
  • If you are using your own language file, make sure to check for updates, you can find the updated language file here.
  • Make sure to update the config file as well, just in case it doesn't update correctly, you can find the updated config file here.
NOTE FOR DEVELOPERS:
  • I ended up moving the SiegeWar-related events to another class called TownyWildSiegeWarEventListener which prevents the plugin from not working if the SiegeWar plugin isn't on the server, the event is registered in the SiegeWar plugin check in the main class.
 

1.06 Feb 25, 2023
Bug fixes and Siege War support
VERSION 1.06 CHANGELOGS:
 
BUG FIXES:
  • Fixed protection_after_exiting_town_border and bossbar_enabled not working as intended.
  • Fixed the description message of /twp toggle.
  • Fixed a bug that caused non-disappearing boss bars when players deleted their town and made a new one while the countdown was running.
ADDITIONS:
  • Added Siege War support, when a town is getting attacked, the defenders will automatically get protection and all of the attacking town's residents will get their protection turned off (this setting is turned on by default but can be turned off).
  • Added a new config setting called siege_war_start_protection which gives protection to every resident in a defender's town when having an ongoing siege war.
IMPORTANT:
  • If you are using your own language file, make sure to check for updates, you can find the updated language file here.
  • Make sure to update the config file as well, just in case it doesn't update correctly, you can find the updated config file here.
 

1.05 Feb 18, 2023
Cleaned code and added a toggle command
VERSION 1.05 CHANGELOGS:
 
ADDITIONS:
  • Added a new toggle command (/twp toggle) to allow players to toggle off and on their PvP protection when exiting a town, you can give them the townywild.toggle permission to let them toggle their PvP protection.
IMPORTANT:
  • If you are using your own language file, make sure to update it, you can find the updated language file here.
 

1.04 Feb 9, 2023
Fixed boss bar bug when claiming
VERSION 1.04 CHANGELOGS:

BUG FIXES:
  • Fixed a bug where players would get a double boss bar if they went out of their town and claimed land before the countdown ended.
 

1.03 Feb 7, 2023
Double boss bar fix

VERSION 1.03 CHANGELOGS:

BUG FIXES:

  • Fixed a bug where players would get a double boss bar if they teleported to another town or a player in another town while being in their town.

1.02 Feb 6, 2023
Bug fix and world blacklist addition

VERSION 1.02 CHANGELOGS:

BUG FIXES:

  • Fixed a bug/exploit where unclaiming a chunk would not give protection to the player staying in that chunk.
ADDITIONS:
  • Added a new world blacklist that will not give protection to any players in the world they're in, you can check it out here!

1.01 Feb 5, 2023
Bug fixes

VERSION 1.01 CHANGELOGS:

BUG FIXES:

  • Fixed a bug where all players shared a same bossbar which made the bossbar's countdown unstable;
  • Fixed a bug that would cause a NullPointerException when entering a town after the bossbar's dissapeared;
  • Fixed a bug that would cause a StackOverflowError when booting up the server.

1.00 Feb 4, 2023