Skip to content

Commit

Permalink
- Account and Transaction changes.
Browse files Browse the repository at this point in the history
    - A non-insignificant change was been made under the hood which
could affect plugins using Towny's various Transaction Events.
    - The end result is that classes have been re-located to a new
com.palmergames.bukkit.towny.object.economy.transaction pacakge.
    - This has resulted in a more robust system:
      - Transactions are better able to represent when money moves
between your server's Towny objects.
      - Transaction events are now thrown much more often, allowing
plugins to track transactions more accurately.
      - Accounts now backed by an EconomyHandler (think Resident, Town,
Nation,) instead of a name, which should ease the transition to using
UUIDs.
      - The TownyServerAccount is now a proper EconomyHandler, reducing
jank in the code that is used in the Closed Economy feature.
    - If a plugin you use has broken, the author needs only change their
imports section, switching to the re-located Transaction,
TransactionType classes.
    - Plugins under the umbrella of the TownyAdvanced organization which
are known to have broken include EventWar, FlagWar.
      - Do not update your Towny if you use either of these plugins
until you see they have had a compatibility update.
  • Loading branch information
LlmDl committed Jul 12, 2024
1 parent 46ee594 commit ccc6438
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Towny/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<artifactId>towny</artifactId>
<packaging>jar</packaging>
<version>0.100.3.6</version>
<version>0.100.3.7</version>

<licenses>
<license>
Expand Down
14 changes: 13 additions & 1 deletion Towny/src/main/resources/ChangeLog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9887,4 +9887,16 @@ v0.92.0.11:
- towny.command.plot.district.add: true
- towny.command.plot.district.remove: true
- towny.command.plot.district.delete: true
- towny.command.plot.district.rename: true
- towny.command.plot.district.rename: true
0.100.3.7:
- Account and Transaction changes.
- A non-insignificant change was been made under the hood which could affect plugins using Towny's various Transaction Events.
- The end result is that classes have been re-located to a new com.palmergames.bukkit.towny.object.economy.transaction pacakge.
- This has resulted in a more robust system:
- Transactions are better able to represent when money moves between your server's Towny objects.
- Transaction events are now thrown much more often, allowing plugins to track transactions more accurately.
- Accounts now backed by an EconomyHandler (think Resident, Town, Nation,) instead of a name, which should ease the transition to using UUIDs.
- The TownyServerAccount is now a proper EconomyHandler, reducing jank in the code that is used in the Closed Economy feature.
- If a plugin you use has broken, the author needs only change their imports section, switching to the re-located Transaction, TransactionType classes.
- Plugins under the umbrella of the TownyAdvanced organization which are known to have broken include EventWar, FlagWar.
- Do not update your Towny if you use either of these plugins until you see they have had a compatibility update.

0 comments on commit ccc6438

Please sign in to comment.