Commit Graph

  • 39d5a2b936 Point submodules at canonical Gitea repositories master NotAlexNoyle 2026-11-01 12:45:10 -05:00
  • f5587fbf8c Update canonical Gitea link NotAlexNoyle 2026-10-29 09:17:08 -04:00
  • 8eea39c0ae Exclude CODEOWNERS from language statistics NotAlexNoyle 2026-10-28 15:32:10 -04:00
  • 56837f5075 Add CODEOWNERS (one staff approval) NotAlexNoyle 2026-10-28 15:32:10 -04:00
  • 28054962e3 New audit NotAlexNoyle 2026-10-20 09:57:13 -04:00
  • 3df19f6367 Update Utilities-OG API NotAlexNoyle 2026-10-17 15:16:09 -04:00
  • 0c3dba005e Update Utilities-OG API NotAlexNoyle 2026-10-14 13:21:09 -04:00
  • 7883828115 Merge pull request #51 from SKBotNL/master NotAlexNoyle 2026-09-19 16:16:20 -04:00
  • 35feaf6925 Cancel and join coroutines before shutting down Redis and the BalanceManager SKBotNL 2026-09-19 17:20:59 +02:00
  • aba9961d7c Fix currency items disappearing on pick up when inventory is almost full SKBotNL 2026-09-19 17:20:08 +02:00
  • 2e64c211c9 Ignore cancelled events for a few event handlers SKBotNL 2026-09-19 17:19:03 +02:00
  • 9835d793ef Add tests for command permission checks SKBotNL 2026-09-19 17:05:33 +02:00
  • 1ec66cc043 Merge pull request #50 from SKBotNL/master NotAlexNoyle 2026-09-19 01:07:16 -04:00
  • b65077adc6 Lock entire inventory for everything when the transaction lock is applied SKBotNL 2026-09-19 00:18:34 +02:00
  • c1452b7960 Add admin permission check in /diamondbankreload SKBotNL 2026-09-19 00:12:34 +02:00
  • fc6ea8180b Fix renamed Shards duplication by only checking for the key SKBotNL 2026-09-19 00:08:24 +02:00
  • 0f2c29acde Merge pull request #49 from SKBotNL/master NotAlexNoyle 2026-09-17 17:42:52 -04:00
  • bb29c4b0cd Make PostgreSQL maxActiveConnections configurable SKBotNL 2026-09-17 23:42:09 +02:00
  • 9950dcda18 Merge pull request #48 from SKBotNL/master NotAlexNoyle 2026-09-17 17:33:57 -04:00
  • 37bd40a423 Check that sender isn't equal to receiver in playerPayPlayer SKBotNL 2026-09-17 23:31:01 +02:00
  • f62c6901f6 Set maxActiveConnections for PostgreSQL to 6 SKBotNL 2026-09-17 23:27:03 +02:00
  • 85d104269f Prevent deadlock in internalAddToPlayerShards by introducing internalGetShardTypeShards SKBotNL 2026-09-17 23:25:12 +02:00
  • 232e663387 wait -> block in Javadoc of API functions SKBotNL 2026-09-17 22:05:29 +02:00
  • cbf6a93921 Fix player being seen as invalid during first session SKBotNL 2026-09-17 22:03:32 +02:00
  • be66beeabb Don't count currency in shulker boxes until logic to actually handle them is added SKBotNL 2026-09-17 21:48:09 +02:00
  • efec3643ca Fix incorrect count of currency in InventorySnapshotUtils by using PlayerInventoryExtensions' implementations instead SKBotNL 2026-09-17 21:46:40 +02:00
  • 84ed433d59 Merge pull request #47 from SKBotNL/master NotAlexNoyle 2026-09-17 14:14:06 -04:00
  • 586f05236b Support the offhand slot for transactions SKBotNL 2026-09-17 16:43:42 +02:00
  • c2ccd0e08a Clean up BukkitMock SKBotNL 2026-09-16 22:18:22 +02:00
  • 5db91f6c47 Update Utilities-OG SKBotNL 2026-09-16 18:52:12 +02:00
  • d46e12f49c Validate player in addToPlayerBankShards and subtractFromPlayerBankShards SKBotNL 2026-09-16 18:07:53 +02:00
  • aec94d3106 Only fall back to getOfflinePlayer when necessary SKBotNL 2026-09-16 18:02:29 +02:00
  • 75b10d97c4 Add offline player support SKBotNL 2026-09-16 17:05:46 +02:00
  • 72d876ec28 Add Utilities-OG dependency SKBotNL 2026-09-16 16:49:09 +02:00
  • 85723e3f50 Check if baltop offset is not negative SKBotNL 2026-07-29 12:24:05 +02:00
  • 5c3e8f0e5d Return InsufficientFundsException as a failure instead of throwing SKBotNL 2026-07-29 12:23:32 +02:00
  • 497cd0596d Call correct getShardTypeShards function in internalAddToPlayerShards SKBotNL 2026-07-29 12:13:27 +02:00
  • 16195540fd Merge pull request #46 from SKBotNL/master NotAlexNoyle 2026-07-28 23:41:28 -04:00
  • 1349976c36 Make sendUpdate dispatch listeners in order SKBotNL 2026-07-28 17:36:45 +02:00
  • c0c19fa427 Require sender and receiver to not be equal in transferBankShards and add tests SKBotNL 2026-07-28 17:28:03 +02:00
  • 157c28a6ed Make Kotlin playerPayPlayer API return SenderNotOnlineException instead of PlayerNotOnlineException SKBotNL 2026-07-28 17:26:02 +02:00
  • 54c6d4f55d Require shard arguments for transferBankShards to not be negative and add tests SKBotNL 2026-07-28 17:17:35 +02:00
  • 28754aebf9 Replace manual inventory locking functions using withLock(Suspend) {} SKBotNL 2026-07-28 17:06:55 +02:00
  • ba1a01877f Clean up test in CachingBalanceManagerTest.kt SKBotNL 2026-07-28 15:56:43 +02:00
  • 3433dd81b8 Bugfix for transferBankShards and update pay tests SKBotNL 2026-07-28 15:48:47 +02:00
  • 8a58cb6b9d Move exceptions in setPlayerShards into the transaction block SKBotNL 2026-07-28 15:07:47 +02:00
  • ba728b0cb0 Make bank shard transfer one transaction SKBotNL 2026-07-28 14:49:16 +02:00
  • 9f5153a043 Prevent deadlock in listener SKBotNL 2026-07-28 13:00:39 +02:00
  • 53dc0b80e6 Handle InsufficientBalanceException in API SKBotNL 2026-07-28 12:37:15 +02:00
  • 7c8e78967c Log instead of throw in handleError SKBotNL 2026-07-28 12:31:16 +02:00
  • 2064c957bc Merge pull request #45 from SKBotNL/master NotAlexNoyle 2026-07-27 18:27:43 -04:00
  • 20fbedddee Handle PlayerRespawnEvent instead of PlayerDeathEvent + fixes/clean up for other handlers SKBotNL 2026-07-28 00:24:13 +02:00
  • 30ca388017 Merge pull request #44 from SKBotNL/master NotAlexNoyle 2026-07-27 10:34:43 -04:00
  • 1d89159cce Don't expose fields that should be private and remove redundant modifier from DiamondBankOG SKBotNL 2026-07-27 16:33:14 +02:00
  • 95f58e0d44 Merge pull request #43 from SKBotNL/master NotAlexNoyle 2026-07-27 10:19:49 -04:00
  • cc334fcb4a Recount inventory and ender chest shards on main thread in onPlayerJoin SKBotNL 2026-07-27 16:17:42 +02:00
  • 28d23e2d22 Recount inventory and ender chest shards on death SKBotNL 2026-07-27 16:17:15 +02:00
  • 76f791397c Recount inventory and ender chest shards on quit SKBotNL 2026-07-27 16:05:47 +02:00
  • 998690c164 Disallow negative shard input values for the API SKBotNL 2026-07-27 15:59:58 +02:00
  • d648a5791e Remove unnecessary DelicateCoroutinesApi OptIn SKBotNL 2026-07-27 15:43:51 +02:00
  • 30854e5a3e CachingBalanceManager lock improvements SKBotNL 2026-07-27 15:41:35 +02:00
  • a4cd78c97d Check for insufficient balance in CachingBalanceManager.kt and add test SKBotNL 2026-07-27 14:27:29 +02:00
  • d753b86cda Merge pull request #42 from SKBotNL/master NotAlexNoyle 2026-07-26 17:47:52 -04:00
  • 3c5e90b207 Fix not cached case for addToBankShards by not over complicating SKBotNL 2026-07-26 23:45:52 +02:00
  • 291f8cac57 Merge pull request #41 from SKBotNL/master NotAlexNoyle 2026-07-21 08:46:46 -04:00
  • 15459d1c03 Merge branch 'true-og:master' into master Sven 2026-07-21 12:48:21 +02:00
  • 4bd63785e6 Some caching bugs fixed using the added tests for CachingBalanceManager.kt SKBotNL 2026-07-21 12:47:40 +02:00
  • 6ea73e720b Use assertAll for Cache tests with multiple assertions SKBotNL 2026-07-21 12:13:03 +02:00
  • 30c5b0d5cc Merge pull request #40 from SKBotNL/master NotAlexNoyle 2026-07-20 16:11:06 -04:00
  • 15f3afac1c Fix logic issues in Cache.kt and add tests to hopefully avoid issues in the future SKBotNL 2026-07-20 22:07:36 +02:00
  • 9bef243cce Move balance matching check after cache decrement SKBotNL 2026-07-20 20:16:35 +02:00
  • ddd98df0a7 Merge pull request #39 from SKBotNL/master NotAlexNoyle 2026-04-06 16:00:38 -04:00
  • e9f5bda55f Small cleanup SKBotNL 2026-04-06 21:58:52 +02:00
  • 8620b5c39d Restructure SKBotNL 2026-04-06 21:52:08 +02:00
  • 7048176471 Use database from config Sven 2026-04-06 18:36:11 +02:00
  • 7d10264fb2 Update dependencies SKBotNL 2026-04-06 14:14:57 +02:00
  • c881ca1990 Make passwords optional SKBotNL 2026-04-06 14:11:57 +02:00
  • 408c94f71d Split URL config value for PostgreSQL and Redis into specific config values SKBotNL 2026-04-06 13:12:25 +02:00
  • 01df53ede5 Make the config only expose getters SKBotNL 2026-04-06 12:08:54 +02:00
  • 0740a88a64 Input sanitization for password in postgres url NotAlexNoyle 2026-04-05 23:55:49 -04:00
  • 62cf3bbe37 Merge pull request #38 from SKBotNL/master NotAlexNoyle 2026-04-05 15:00:09 -04:00
  • 025cbf610c Use handleError instead of manually setting economyDisabled in onPlayerJoin SKBotNL 2026-04-05 20:58:38 +02:00
  • b16163ff81 Remove unnecessary MiniMessage tags and more double spaces SKBotNL 2026-04-05 19:51:35 +02:00
  • c5e90083d3 Remove double spaces in some messages SKBotNL 2026-04-05 19:28:50 +02:00
  • d41d9ae0b2 Merge pull request #37 from SKBotNL/master NotAlexNoyle 2026-04-05 13:17:42 -04:00
  • ce23593145 Merge branch 'true-og:master' into master Sven 2026-04-05 19:16:47 +02:00
  • 195529edd6 Improve README Sven 2026-04-05 19:16:35 +02:00
  • 899d697157 Merge pull request #36 from SKBotNL/master NotAlexNoyle 2026-04-05 13:12:09 -04:00
  • 75a30a820d Merge branch 'master' into master Sven 2026-04-05 19:02:23 +02:00
  • e7cb147af8 Remove now unused Postgres table and log limit config options SKBotNL 2026-04-05 19:00:50 +02:00
  • ecd6dcc861 Update config.yml for new SubstAgent and per-database users NotAlexNoyle 2026-04-05 11:10:16 -04:00
  • 65d5100486 Merge pull request #35 from SKBotNL/master NotAlexNoyle 2026-04-04 12:22:37 -04:00
  • 3a7b21441b Add automatically calculated "total" field to PlayerShards SKBotNL 2026-04-04 17:20:09 +02:00
  • d95ded2cd2 Merge branch 'true-og:master' into master Sven 2026-04-04 17:15:30 +02:00
  • b5b88ecd13 Use Flyway for database migrations SKBotNL 2026-04-04 17:14:56 +02:00
  • 3a337569a0 Merge pull request #34 from SKBotNL/master NotAlexNoyle 2026-04-04 09:53:03 -04:00
  • a694c26afb Merge branch 'true-og:master' into master Sven 2026-04-04 15:50:14 +02:00
  • 8ca71054cb Add toggle debug command for cache monitoring SKBotNL 2026-04-04 15:49:56 +02:00
  • 8fbdfe24ff Remove unused command SKBotNL 2026-04-04 15:41:17 +02:00
  • 1d59444452 Merge pull request #33 from SKBotNL/master NotAlexNoyle 2026-04-04 08:56:49 -04:00