Skip to content
Success

Changes

Summary

  1. Towny Improvements (#394) (commit: dfb2e80) (details)
Commit dfb2e80fcdee02da2b58ee8fe66ad2411f63a4e8 by noreply
Towny Improvements (#394)

* Added LocationTag.is_nationzone
Added LocationTag.towny.is_pvp
Moved TownBlock check for LocationTag.towny.resident
Changed is_wilderness to check Location directly per API

* Changed LocationTag.has_town to use getTown

* Changed LocationTag.town to use getTown

* Removed incorrect note on LocationTag.towny_type - Where did SPLEEF come from?

* Deprecated TownTag.assistants
Added TownTag.get_rank[(rank)]
Added TownTag.outlaws

* Added NationTag.get_rank using logic of Nation.getAssistants() for consistency

* Fixed glaring mistake in TownyLocationProperties

* TownyLocationProperties fix for towny_type

* Fixed documentation on towny_type

* Removed NationTag.get_rank newlines

* Change get_rank to members_by_rank

* Change is_nationzone to is_nation_zone

* Fixed odd newline

* Rewrite TownyLocationProperties
Update TownyBridge to use new system
Change towny.is_pvp to towny_allows_pvp

* Deprecated NationTag.assistants
Added newlines

* get_rank -> members_by_rank changed in NationTag

* Added line to deprecated assistants meta

* Add towny_resident, deprecate towny.resident

* Remove incorrect optional param

* Update TownTag members_by_rank

* Update NationTag members_by_rank

* Fulfill attribute in towny.resident

* Add helper method for Outlaws, Assistants, Members_By_Rank in TownTag

* Update param method in NationTag
(commit: dfb2e80)
The file was modifiedsrc/main/java/com/denizenscript/depenizen/bukkit/properties/towny/TownyLocationProperties.java
The file was modifiedsrc/main/java/com/denizenscript/depenizen/bukkit/objects/towny/NationTag.java
The file was modifiedsrc/main/java/com/denizenscript/depenizen/bukkit/objects/towny/TownTag.java
The file was modifiedsrc/main/java/com/denizenscript/depenizen/bukkit/bridges/TownyBridge.java