Christian Koop
2f6d21c969
fix: Don't catch exceptions when initializing the database
...
Catching the exception here circumvents the error handing in `SongodaPlugin#onEnable()`.
+ catching the errors without throwing a new one leads to plugins continuing their initialization
before being disabled.
Poluting the server log with additional exceptions and everything because something is broken but surpressed
2023-10-24 01:03:09 +02:00
Christian Koop
4816438f93
Don't run database migrations on plugin enable with issues connecting
...
Migrations rely on `this.databaseConnector` being set which might be true if something fails
2023-10-23 19:06:08 +02:00
Christian Koop
0bbc5afd2f
chore: Updates item-nbt-api
to support Spigot 1.20.2
2023-10-19 17:14:16 +02:00
Christian Koop
e6b2e12eb3
chore: Updates XSeries
to support Spigot 1.20.2
2023-10-19 17:14:08 +02:00
Christian Koop
e3d7b0d5af
refactor: CompatibleMaterial#getFurnaceResult(XMaterial)
2023-10-17 17:25:12 +02:00
Christian Koop
5fedd0a2b5
feat: Adds support for Spigot 1.20.2 (v1_20_R2)
...
#70
2023-10-17 17:20:44 +02:00
ceze88
fc4c915791
FIx caching wrong item
2023-10-17 14:22:21 +02:00
dependabot[bot]
2edafb6bbf
Bump org.apache.maven.plugins:maven-surefire-plugin from 3.1.0 to 3.1.2 ( #66 )
...
Bumps [org.apache.maven.plugins:maven-surefire-plugin](https://github.com/apache/maven-surefire ) from 3.1.0 to 3.1.2.
- [Release notes](https://github.com/apache/maven-surefire/releases )
- [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.1.0...surefire-3.1.2 )
---
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>
2023-10-07 17:21:05 +02:00
ceze88
40992836b2
Add caching for recipes to improve performance
2023-10-05 11:11:41 +02:00
dependabot[bot]
20a10c3551
Bump actions/checkout from 3 to 4 ( #69 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-01 22:15:43 +02:00
dependabot[bot]
52514acc8f
Bump org.jacoco:jacoco-maven-plugin from 0.8.8 to 0.8.10 ( #64 )
...
Bumps [org.jacoco:jacoco-maven-plugin](https://github.com/jacoco/jacoco ) from 0.8.8 to 0.8.10.
- [Release notes](https://github.com/jacoco/jacoco/releases )
- [Commits](https://github.com/jacoco/jacoco/compare/v0.8.8...v0.8.10 )
---
updated-dependencies:
- dependency-name: org.jacoco:jacoco-maven-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>
2023-09-29 12:37:22 +02:00
dependabot[bot]
3ab9c17699
Bump org.apache.maven.plugins:maven-failsafe-plugin ( #65 )
...
Bumps [org.apache.maven.plugins:maven-failsafe-plugin](https://github.com/apache/maven-surefire ) from 3.0.0-M6 to 3.1.2.
- [Release notes](https://github.com/apache/maven-surefire/releases )
- [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.0.0-M6...surefire-3.1.2 )
---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-failsafe-plugin
dependency-type: direct:production
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>
2023-09-29 12:36:59 +02:00
ceze88
204677c3a9
Fix issue checking if the migration table exists or not
2023-09-04 20:02:53 +02:00
Christian Koop
10f0d28673
Updates UltimateClaims dependency to latest snapshot
2023-08-25 10:32:30 +02:00
dependabot[bot]
5345452f2a
Bump net.tnemc:Reserve from 0.1.3.0 to 0.1.5.4 ( #62 )
...
Bumps net.tnemc:Reserve from 0.1.3.0 to 0.1.5.4.
---
updated-dependencies:
- dependency-name: net.tnemc:Reserve
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>
2023-08-20 09:19:22 +02:00
dependabot[bot]
14f668062f
Bump org.junit.jupiter:junit-jupiter from 5.9.1 to 5.10.0 ( #59 )
...
Bumps [org.junit.jupiter:junit-jupiter](https://github.com/junit-team/junit5 ) from 5.9.1 to 5.10.0.
- [Release notes](https://github.com/junit-team/junit5/releases )
- [Commits](https://github.com/junit-team/junit5/compare/r5.9.1...r5.10.0 )
---
updated-dependencies:
- dependency-name: org.junit.jupiter:junit-jupiter
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>
2023-08-20 09:19:09 +02:00
dependabot[bot]
779cc5b30c
Bump net.md-5:specialsource-maven-plugin from 1.2.4 to 1.2.5 ( #61 )
...
Bumps [net.md-5:specialsource-maven-plugin](https://github.com/agaricusb/SpecialSourceMP ) from 1.2.4 to 1.2.5.
- [Commits](https://github.com/agaricusb/SpecialSourceMP/commits/specialsource-maven-plugin-1.2.5 )
---
updated-dependencies:
- dependency-name: net.md-5:specialsource-maven-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>
2023-08-20 09:18:50 +02:00
Christian Koop
8c22f5d141
Make CompatibleMaterial#getMaterial(String) with null and empty values
...
XMaterial throws an Exception if provided with `null` or `""`.
We make sure that an empty Optional is returned instead. Mainly for backwards compatibility reasons.
2023-08-16 17:54:37 +02:00
Christian Koop
ebd83688d3
Updates UltimateClaims dependency to v2.0.0-b2-SNAPSHOT
2023-08-15 22:33:20 +02:00
ceze88
012a0d173c
Fix issues if there were too many migrations to run. Escape SQL values
2023-08-02 18:31:04 +02:00
ceze88
8920e7e2f9
Update UltimateClaims hook
2023-08-02 18:30:12 +02:00
ceze88
fdf79eeee3
New delete methods, start auto increment from one for databases
2023-07-25 19:54:05 +02:00
ceze88
54ef2c0b29
Fixes getNextId method for empty databases. Adds some new saving methods. TODO: clean up this class
2023-07-24 12:23:10 +02:00
ceze88
9d94232ab5
Fixes NPE when the entity is not stacked
2023-07-24 11:58:39 +02:00
ceze88
3ff333d1b4
Adds loadBatch with conditions and delete with custom uuid column
2023-07-20 16:35:15 +02:00
ceze88
abd51e0e82
Fix item stacking when using large numbers
2023-07-17 12:20:48 +02:00
ceze88
98e03a2861
Fix drop issues in some cases where mobs don't drop loot
2023-07-16 20:29:00 +02:00
ceze88
8a31f3e0c2
Update method for the latest api method
2023-07-16 19:41:30 +02:00
ceze88
4955954bd6
Fix package name
2023-07-16 17:59:24 +02:00
dependabot[bot]
f24f250d36
Bump decentholograms from 2.2.5 to 2.8.3 ( #58 )
...
Bumps [decentholograms](https://github.com/DecentSoftware-eu/DecentHolograms ) from 2.2.5 to 2.8.3.
- [Release notes](https://github.com/DecentSoftware-eu/DecentHolograms/releases )
- [Commits](https://github.com/DecentSoftware-eu/DecentHolograms/compare/2.2.5...2.8.3 )
---
updated-dependencies:
- dependency-name: com.github.decentsoftware-eu:decentholograms
dependency-type: direct:production
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>
2023-07-01 17:39:25 +02:00
dependabot[bot]
885c64435d
Bump inject-maven-plugin from 1.3 to 1.4 ( #56 )
...
Bumps [inject-maven-plugin](https://github.com/marcelmay/inject-maven-plugin ) from 1.3 to 1.4.
- [Release notes](https://github.com/marcelmay/inject-maven-plugin/releases )
- [Commits](https://github.com/marcelmay/inject-maven-plugin/compare/inject-maven-plugin-1.3...inject-maven-plugin-1.4 )
---
updated-dependencies:
- dependency-name: de.m3y.maven:inject-maven-plugin
dependency-type: direct:production
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>
2023-07-01 17:38:41 +02:00
dependabot[bot]
4cf7834fff
Bump annotations from 23.1.0 to 24.0.1 ( #57 )
...
Bumps [annotations](https://github.com/JetBrains/java-annotations ) from 23.1.0 to 24.0.1.
- [Release notes](https://github.com/JetBrains/java-annotations/releases )
- [Changelog](https://github.com/JetBrains/java-annotations/blob/master/CHANGELOG.md )
- [Commits](https://github.com/JetBrains/java-annotations/compare/23.1.0...24.0.1 )
---
updated-dependencies:
- dependency-name: org.jetbrains:annotations
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-01 17:38:20 +02:00
Christian Koop
d28a961216
Re-implement CompatibleMaterial#getEggType
2023-07-01 13:51:24 +02:00
Christian Koop
3575bd25b9
Use non-shaded class name when loading the H2 driver
2023-07-01 13:39:44 +02:00
Christian Koop
199840f845
Minor code style fixes/refactoring in H2Connector
2023-07-01 13:39:44 +02:00
Christian Koop
fafc4baaa3
Fixes username and password in H2Connector being mixed up
2023-07-01 13:39:44 +02:00
ceze88
2962a5cef8
Improve data loading to make it easier for plugins to create new data instances when deserialized
2023-07-01 09:54:09 +02:00
Christian Koop
1b2b2a41a3
Updates UltimateStacker-API dependency to use the new name+version
2023-06-30 22:53:43 +02:00
Christian Koop
8c80d86cc5
pom.xml: Adds some empty lines for clarification/grouping of shade arti.
2023-06-30 16:38:40 +02:00
Christian Koop
77f1e54479
pom.xml: Re-add legacy/outdated songoda public repository mirror
...
Introduced in d6f2daaeb6
The ID matched maven mirror configurations on my machine and GitHub Actions.
2023-06-30 16:37:57 +02:00
Christian Koop
d6f2daaeb6
pom.xml: Fixes Songoda/Craftaro repository ID and URL
2023-06-30 16:19:22 +02:00
Christian Koop
f8ffd4b7cb
pom.xml: Removes PaperMC repository
2023-06-30 16:18:58 +02:00
Christian Koop
b8c14253ad
Fix version for UltimateStackerAPI dependency from 1.0
to 1.0.0
2023-06-30 16:17:56 +02:00
Christian Koop
2aa367c8e3
Merge branch 'feature/new-improved-database-system' into development
2023-06-29 17:14:28 +02:00
ceze88
84c7d1da4b
Fix database converter, fix uuid data support. Adds test for database
2023-06-29 16:04:12 +02:00
Christian Koop
9ac1da984d
Renamed method argument l
to location
in LocationUtils#isInArea
2023-06-29 09:37:42 +02:00
Christian Koop
0d1bd6075d
Re-implement CompatibleMaterial#isBrewingStandIngredient
2023-06-29 09:22:59 +02:00
Christian Koop
132ea8d871
Re-code CompatibleMaterial#getBurnResult to be version-independant
...
It now is version, server-implementation independant and supports recipes from other plugins ^^
2023-06-29 09:20:34 +02:00
ceze88
5d0b0409da
Updates jooq to latest java 8 and hikaricp
2023-06-28 12:13:39 +02:00
ceze88
5d9cab5613
Merge branch 'development' into feature/new-improved-database-system
...
# Conflicts:
# Core/pom.xml
# Core/src/main/java/com/craftaro/core/SongodaPlugin.java
2023-06-28 11:58:09 +02:00