Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates Dynmap-Towny to work with Towny's new API (0.94.0.2+) #23

Open
wants to merge 92 commits into
base: master
Choose a base branch
from

Conversation

LlmDl
Copy link

@LlmDl LlmDl commented Jul 30, 2019

Until this is accepted, you can find the build here: https://github.com/TownyAdvanced/Dynmap-Towny/releases/tag/0.73

hankjordan and others added 30 commits April 21, 2019 18:24
- Update to 0.75
- plugin.yml: Update api-version to 1.14
- README Update:
  - Redone 'Supported Versions' and 'Building from Source'
- POM Update:
  - "Fixed" POM model from using tabs to using 4 spaces (IDE automated, I'm too lazy to revert this...
  - Fixed GitHub Packages repository, github-Towny
  - Updated Dependencies
    - Towny to 0.95.2.10
    - TownyChat to 0.65
    - Bukkit API to 1.14.4-R0.1-SNAPSHOT
    - DynmapAPI to 2.5 (from 2.2) (Should technically be 3.0-SNAPSHOT, but the maven for it is out of date)
  - Added Repository to dynamically grab the Bukkit API instead of manually downloading.
New PlaceHolders:
- %residentcount% - Number of residents in a town.
- %board% - The board of a town.
- %tax% - Town tax
- %bank% - Amount of money in a town bank.

In addition the dependencies were updated to the latest stable versions.
New PlaceHolders:
- %founded% - The founded date of the town.
* Added intellij files to gitignore

* added feature for dynamic nation colours

- With this feature, a nation can choose IN-GAME what their dynmap
colours will be
- This is done by placing one or both of the following tags on the
nation board:
map_border_style=45345,435.0,45235  # this sets....colour, opacity, weight
map_fill_style=234234,3242.0     # this sets....colour, opacity

TESTING
- It would be great if somebody interested in this feature could test it.
- I don't currently have the experience with dynmap to quickly set it up locally

* - added another intellij file to gitignore
- Updated the towny jar to the 1.13 compatibility one
- Updated some other versioning in pom file  (to suit 1.13 compatibility)
- Also fixed a pre-existing compile type error for 'lossy conversion'
- Updated pom - set towny to latest version

* Dynamic colors - a few updates for usability

* dynamic nation colours-fxd bug with color parsing

* dnc - bugfix

* dnc - fix bug with colour specification

* dnc - added user case inconsitency support

- Added code to deal with users putting in upper/lowercase for the
keyword

* dnc - slight performance improvement

* setup nation colour to be read from dedicated field in nation object

* Added a dynmap config for this feature - on/off
* If feature is on, nation colors are read from the nation object as indicated
  If feature is off, nation colors are read using the existing pattern
* Also updated pom for continued usability
  - set townychat 68 to be in pom
    because that is the version which is currently offered in the github
    package along with the latest towny release 0.96.1.0.
  - set towny jar to be system in pom like the other deps,
    because otherwise towny jar updates were not getting picked up.

* dynamic-nation-colours - code review updates

* dynamic nation colours - updated towny version
- updated towny version to the earliest one which supports the colours
feature

Co-authored-by: goosius <>
Co-authored-by: goosius1 <[email protected]>
Co-authored-by: [email protected] <[email protected]>
- Added bank caching.
  - Should make it easier on servers in general but especially physical economies which have to evaluate block inventories to return town bank balances.
Update required Towny version.
Fix townblock fetching for latest update.
LlmDl and others added 30 commits November 1, 2021 07:03
…lours

Fix TownBlockType colouring no longer applying when town or nation colours are being used.
…aceholder

Fix %residentdisplaynames% placeholder not using ", " in the list.
* Add TownRenderEvent

Exposes the AreaMarker for a Town, allowing other plugins to alter it
any way they want.

Closes TownyAdvanced/Towny#6309

* Basically just cleaning up things, updating things to newer Towny/Java.
This event is called when Dynmap-Towny decides which marker icon to select for a town.
Add outposticon to config.yml, regenerate your config if you don't want
to add `outposticon: "tower"` to the regionstyle section.

Outposts will now show on the dynmap with their own icon.

Closes TownyAdvanced/Towny#5831
* Commit savagery on a scale never seen before.

* Remove the old config.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

9 participants