441 Commits
Author SHA1 Message Date
NotAlexNoyle 39d5a2b936 Point submodules at canonical Gitea repositories 2026-11-01 12:45:10 -05:00
NotAlexNoyle f5587fbf8c Update canonical Gitea link 2026-10-29 09:17:08 -04:00
NotAlexNoyle 8eea39c0ae Exclude CODEOWNERS from language statistics 2026-10-28 15:32:10 -04:00
NotAlexNoyle 56837f5075 Add CODEOWNERS (one staff approval) 2026-10-28 15:32:10 -04:00
NotAlexNoyle 28054962e3 New audit 2026-10-20 09:57:13 -04:00
NotAlexNoyle 3df19f6367 Update Utilities-OG API 2026-10-17 15:16:09 -04:00
NotAlexNoyle 0c3dba005e Update Utilities-OG API 2026-10-14 13:21:09 -04:00
NotAlexNoyle 7883828115 Merge pull request #51 from SKBotNL/master
Fix currency items disappearing on pick up when inventory is almost full and reorder functions called in onDisable
2026-09-19 16:16:20 -04:00
SKBotNL 35feaf6925 Cancel and join coroutines before shutting down Redis and the BalanceManager 2026-09-19 17:20:59 +02:00
SKBotNL aba9961d7c Fix currency items disappearing on pick up when inventory is almost full 2026-09-19 17:20:08 +02:00
SKBotNL 2e64c211c9 Ignore cancelled events for a few event handlers 2026-09-19 17:19:03 +02:00
SKBotNL 9835d793ef Add tests for command permission checks 2026-09-19 17:05:33 +02:00
NotAlexNoyle 1ec66cc043 Merge pull request #50 from SKBotNL/master
Multiple high-priority fixes
2026-09-19 01:07:16 -04:00
SKBotNL b65077adc6 Lock entire inventory for everything when the transaction lock is applied 2026-09-19 00:18:34 +02:00
SKBotNL c1452b7960 Add admin permission check in /diamondbankreload 2026-09-19 00:12:34 +02:00
SKBotNL fc6ea8180b Fix renamed Shards duplication by only checking for the key 2026-09-19 00:08:24 +02:00
NotAlexNoyle 0f2c29acde Merge pull request #49 from SKBotNL/master
Make PostgreSQL maxActiveConnections configurable
2026-09-17 17:42:52 -04:00
SKBotNL bb29c4b0cd Make PostgreSQL maxActiveConnections configurable 2026-09-17 23:42:09 +02:00
NotAlexNoyle 9950dcda18 Merge pull request #48 from SKBotNL/master
Fix issues found in review
2026-09-17 17:33:57 -04:00
SKBotNL 37bd40a423 Check that sender isn't equal to receiver in playerPayPlayer 2026-09-17 23:31:01 +02:00
SKBotNL f62c6901f6 Set maxActiveConnections for PostgreSQL to 6 2026-09-17 23:27:03 +02:00
SKBotNL 85d104269f Prevent deadlock in internalAddToPlayerShards by introducing internalGetShardTypeShards 2026-09-17 23:25:12 +02:00
SKBotNL 232e663387 wait -> block in Javadoc of API functions 2026-09-17 22:05:29 +02:00
SKBotNL cbf6a93921 Fix player being seen as invalid during first session 2026-09-17 22:03:32 +02:00
SKBotNL be66beeabb Don't count currency in shulker boxes until logic to actually handle them is added 2026-09-17 21:48:09 +02:00
SKBotNL efec3643ca Fix incorrect count of currency in InventorySnapshotUtils by using PlayerInventoryExtensions' implementations instead 2026-09-17 21:46:40 +02:00
NotAlexNoyle 84ed433d59 Merge pull request #47 from SKBotNL/master
Add offline player support, offhand support and some other stuff I didn't PR
2026-09-17 14:14:06 -04:00
SKBotNL 586f05236b Support the offhand slot for transactions
Also fixes armor and offhand items being lost when restoring an inventory snapshot to an offline player
2026-09-17 16:43:42 +02:00
SKBotNL c2ccd0e08a Clean up BukkitMock 2026-09-16 22:18:22 +02:00
SKBotNL 5db91f6c47 Update Utilities-OG 2026-09-16 18:52:12 +02:00
SKBotNL d46e12f49c Validate player in addToPlayerBankShards and subtractFromPlayerBankShards 2026-09-16 18:07:53 +02:00
SKBotNL aec94d3106 Only fall back to getOfflinePlayer when necessary 2026-09-16 18:02:29 +02:00
SKBotNL 75b10d97c4 Add offline player support
Using the new Utilities-OG player data API for TrueOG Purpur server jars
2026-09-16 17:05:46 +02:00
SKBotNL 72d876ec28 Add Utilities-OG dependency 2026-09-16 16:49:09 +02:00
SKBotNL 85723e3f50 Check if baltop offset is not negative 2026-07-29 12:24:05 +02:00
SKBotNL 5c3e8f0e5d Return InsufficientFundsException as a failure instead of throwing 2026-07-29 12:23:32 +02:00
SKBotNL 497cd0596d Call correct getShardTypeShards function in internalAddToPlayerShards 2026-07-29 12:13:27 +02:00
NotAlexNoyle 16195540fd Merge pull request #46 from SKBotNL/master
A lot of improvements
2026-07-28 23:41:28 -04:00
SKBotNL 1349976c36 Make sendUpdate dispatch listeners in order
Assisted-by: Claude:claude-sonnet-5
2026-07-28 17:36:45 +02:00
SKBotNL c0c19fa427 Require sender and receiver to not be equal in transferBankShards and add tests 2026-07-28 17:28:03 +02:00
SKBotNL 157c28a6ed Make Kotlin playerPayPlayer API return SenderNotOnlineException instead of PlayerNotOnlineException 2026-07-28 17:26:02 +02:00
SKBotNL 54c6d4f55d Require shard arguments for transferBankShards to not be negative and add tests
Assisted-by: Claude:claude-sonnet-5
2026-07-28 17:17:35 +02:00
SKBotNL 28754aebf9 Replace manual inventory locking functions using withLock(Suspend) {} 2026-07-28 17:06:55 +02:00
SKBotNL ba1a01877f Clean up test in CachingBalanceManagerTest.kt 2026-07-28 15:56:43 +02:00
SKBotNL 3433dd81b8 Bugfix for transferBankShards and update pay tests 2026-07-28 15:48:47 +02:00
SKBotNL 8a58cb6b9d Move exceptions in setPlayerShards into the transaction block 2026-07-28 15:07:47 +02:00
SKBotNL ba728b0cb0 Make bank shard transfer one transaction 2026-07-28 14:49:16 +02:00
SKBotNL 9f5153a043 Prevent deadlock in listener 2026-07-28 13:00:39 +02:00
SKBotNL 53dc0b80e6 Handle InsufficientBalanceException in API 2026-07-28 12:37:15 +02:00
SKBotNL 7c8e78967c Log instead of throw in handleError 2026-07-28 12:31:16 +02:00