Commit Graph

62 Commits

Author SHA1 Message Date
4dd4fa6ad1 Merge branch 'kitchen-sink' into banning-update 2023-05-21 19:29:17 -05:00
997fa2a4a9 Update README.md 2023-05-21 19:05:43 -05:00
82c8aed5ba Merge pull request #5 from SimplexDevelopment/feat/economy-outline
Implement outline of the economy system
2023-05-21 18:53:30 -05:00
aadd5d57aa Fix transaction logger implementation & remove unnecessary StringBuilder append 2023-05-20 20:22:46 +01:00
036ddf3e04 Add mutable & immutable transaction interfaces and implementations, replacing copy() 2023-05-20 20:20:39 +01:00
95df78da6f Expose MutableAudienceForwarder in SimpleTransactionLogger
This will add the ability for us to add audiences to the MutableAudienceForwarder inside of SimpleTransactionLogger, which will make TransactionSpy much easier.
2023-05-20 06:37:12 +01:00
b98b0870b1 Finalize MutableAudienceForwarder instance inside of SimpleTransactionLogger 2023-05-20 06:36:16 +01:00
18353deb13 Remove unnecessary console sender audience from simple transaction logger 2023-05-20 06:35:58 +01:00
7817b0770c Refactor arithmetic operations in EconomicEntityData to be more in-line with Transaction 2023-05-20 06:11:24 +01:00
cb208c710f Refactor transaction balance methods to be more in-line with EconomicEntityData 2023-05-20 06:08:17 +01:00
a598434bf9 Refactor transaction results to be more consistent 2023-05-20 05:55:51 +01:00
0429604737 Add method for directly setting a transaction's balance 2023-05-20 05:55:26 +01:00
cd5c42801d Rename transaction-related references of transfer amount to balance
This is done for more consistency between methods.
2023-05-20 05:54:24 +01:00
cad1ab8ec7 Remove a few this references 2023-05-20 05:42:17 +01:00
f366a91b36 Add transaction logging classes 2023-05-20 05:36:43 +01:00
bdd8c1fb68 Atomicize balance field in SimpleUserData 2023-05-20 05:21:36 +01:00
0e31bea33f Add transactor & transaction result 2023-05-20 05:20:18 +01:00
57853a37c5 Add transaction freezing 2023-05-20 05:14:10 +01:00
8b692d1b11 Add financial transaction classes 2023-05-20 05:08:42 +01:00
2f18e4d8ef Add economic entity interfaces
I decided to add these interfaces, instead of just building upon the User & UserData interface, as support for commerce between clans & users might be something that we want to add in the future in Clans.
2023-05-20 05:08:23 +01:00
2fd2008f65 Make the FreedomLogger an Audience
This will allow for a FreedomLogger instance to be added to any collection of audiences.

This was written for usage in a future TransactionSpy implementation.
2023-05-20 05:08:19 +01:00
12cfdfe31d Add methods specifically for logging components to FreedomLogger
The new component-logging methods are ALL suffixed with "Component" to prevent type erasure conflicts with the other Supplier methods.

These methods were added for completeness for when I make the FreedomLogger an Audience.
2023-05-20 05:08:15 +01:00
55859b6b15 Add adventure utility class
This class is meant to track a global PlainTextComponentSerializer instance, so we don't have to call PlainTextComponentSerializer#plainText in every class that needs to serialize a Component into a String.

I implemented this so I can add component logging to FreedomLogger.
2023-05-20 05:08:11 +01:00
7756813d01 Add mutable audience forwarder class
This class allows for ForwardingAudience-esque behaviour, while being mutable. It is currently not thread safe.

It was implemented as we need a good way to implement a "TransactionSpy" (or "EconomySpy", maybe) in the future, once we finalize planned administrative functions.
2023-05-20 04:00:51 +01:00
288e32b47d fix import 2023-05-19 18:17:24 -05:00
8605120752 Remove ACF 2023-05-19 16:46:45 -05:00
47fcda6462 Updates 💯 2023-05-18 23:15:17 -05:00
1ecff910ec Update README.md 2023-05-18 02:50:33 -05:00
f1f13f0217 Update README.md 2023-05-18 02:36:33 -05:00
0fbc51cb42 Merge pull request #3 from SimplexDevelopment/feat/scissors-api
Use Scissors API instead of Paper API
2023-05-17 19:59:36 -05:00
e044434512 Use Scissors API instead of Paper API
This will allow us to use Scissors-exclusive events in the future
2023-05-18 01:25:44 +01:00
ca004a1b50 Merge pull request #2 from SimplexDevelopment/fix/gradlew
Mark gradlew wrapper as executable
2023-05-17 19:04:18 -05:00
ce48bd2ab8 Mark gradlew wrapper as executable 2023-05-18 01:03:15 +01:00
772b5149ae Update README.md 2023-05-17 17:07:08 -05:00
c80bbbc467 Update README.md 2023-05-17 16:08:58 -05:00
c8805bdf22 Update README.md 2023-05-17 16:05:37 -05:00
f18cd0ebb9 Update README.md 2023-05-17 16:04:23 -05:00
04da15ec52 Update README.md 2023-05-17 15:35:39 -05:00
e79bed62e2 Update README.md 2023-05-17 15:34:48 -05:00
eae6b410d5 Update README.md 2023-05-17 15:17:33 -05:00
42059009a0 Merge pull request #1 from SimplexDevelopment/Paldiu-patch-1
Update README.md
2023-05-17 15:15:03 -05:00
6f0ddb23f0 Update README.md 2023-05-17 15:14:43 -05:00
6f400e505c Upgrades 2023-05-15 01:30:37 -05:00
5a395554cf Update README.md 2023-05-14 00:32:10 -05:00
9ce6a1ccd5 Update README.md 2023-05-14 00:28:03 -05:00
8fb40119c7 Update README.md 2023-05-14 00:22:42 -05:00
86c1ed430a Update README.md 2023-05-14 00:05:12 -05:00
536d03ad0a Rename LICENSE to LICENSE.md 2023-05-13 22:36:55 -05:00
8f6ff0a773 Update README.md 2023-05-13 22:35:35 -05:00
4e4f982a1a Update README.md 2023-05-13 22:35:16 -05:00