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

Update to 0.100.0.12 #2

Merged
merged 9 commits into from
Dec 22, 2023
Merged

Update to 0.100.0.12 #2

merged 9 commits into from
Dec 22, 2023

Conversation

CorruptedGreed
Copy link
Member

No description provided.

LlmDl and others added 9 commits December 21, 2023 12:12
….3 (#7124)

Bumps [org.apache.maven.plugins:maven-surefire-plugin](https://github.com/apache/maven-surefire) from 3.2.2 to 3.2.3.
- [Release notes](https://github.com/apache/maven-surefire/releases)
- [Commits](apache/maven-surefire@surefire-3.2.2...surefire-3.2.3)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-surefire-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
)

Bumps [com.github.seeseemelk:MockBukkit-v1.20](https://github.com/MockBukkit/MockBukkit) from 3.56.0 to 3.58.0.
- [Commits](MockBukkit/MockBukkit@v3.56.0...v3.58.0)

---
updated-dependencies:
- dependency-name: com.github.seeseemelk:MockBukkit-v1.20
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
… present on the server. (#7127)

* Make Towny more resiliant to errors which come from having no Economy
present on the server.

Alter ConfirmationTransaction to no longer take in an Account in the
constructor, instead it takes in a TownyObject, which will resolve an
account. This prevents errors when non-Economy-enabled servers attempt
to create a Confirmation with a cost set on it.

Make TownyEconomyHandler#getFormattedBalance able to handle returning a
formatted balance when the Economy is not active.

Add prettyMoney method to BaseCommand, use it throughout the command
classes to make things look cleaner.

* Swap TownyObject for EconomyHandler
3.2.3.
  - Bump com.github.seeseemelk:MockBukkit-v1.20 from 3.56.0 to 3.58.0.
  - Make Towny more resiliant to errors which come from having no
Economy present on the server.
…oining the nation via invite or join. (#7129)

* Add the ability for nations to sanction towns, preventing them from
joining the nation via invite or join.

Closes #6544.

* Forgot a lang string.

* Add admin command

* Can't forget about the name blacklist!

* Fix lang strings, add ability to /n sanctiontown list [nation], add
events.
joining the nation via invite or join.
    - Using /n sanctiontown ... kings can add/remove and list their
sanctioned towns.
    - Closes #6544.
  - New Command: /nation sanctiontown
    - add [townname] - Adds a town to the sanctioned town list.
    - remove [townname] - Removes a town from the sanctioned town list.
    - list - Lists your nation's sanctioned towns.
    - list [nationname] - Lists the sanctioned towns of other nations.
  - New Command: /ta nation [nationname] sanctiontown
    - add [townname] - Adds a town to the sanctioned town list.
    - remove [townname] - Removes a town from the sanctioned town list.
    - list - Lists the nation's sanctioned towns.
  - New Permission Node: towny.command.nation.sanctiontown
    - Allows adding/removing sanctioned towns, a child node of
towny.command.nation.*.
    - No townyperms.yml change is required.
  - New Permission Node: towny.command.townyadmin.nation.sanctiontown
    - Allows admins to add/remove sanctioned towns from a given nation,
a child node of towny.command.townyadmin.nation.*.
    - No townyperms.yml change is required.
  - API: Added NationSanctionTownAddEvent
    - A cancellable event which is fired before a town becomes
sanctioned.
  - API: Added NationSanctionTownRemoveEvent
    - A cancellable event which is fired before a town becomes
unsanctioned.
@CorruptedGreed CorruptedGreed merged commit 29196bc into EarthMC:fork Dec 22, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants