Christian Koop
0e8f52b1be
Implement workaround for migrated SQLite databases applying migrations
...
The migration version -1 is already written into the new database before the old one has been converted.
This causes the migration to be run on the converted database because in addition to the migrated
version (e.g. 8) the -1 is already written to the table.
And now you just need to be kind of lucky to not retrieve that wrong version.
Just a hacky workaround (I know)
2024-01-15 21:07:54 +01:00
Christian Koop
adcf8619ec
Slight refactoring of dependency/Dependency.java class
...
* Re-uses constructors to reduce duplicate code
* Makes sure the constructor with relocate-argument actually sets `this.relocate`
* Use `this.` for accessing class variables
2024-01-13 18:43:01 +01:00
Christian Koop
21bf900448
Make SongodaPlugin#getDependencies
non-abstract and return empty Set
...
Most plugins don't have additional dependencies so this should make migrating existing plugins a bit easier.
2024-01-13 18:40:22 +01:00
ceze88
d4de86f6a5
Fix asm version again
2024-01-13 18:25:45 +01:00
Christian Koop
2f1f814d43
Do not directly modify dependency Set provided by the plugin
...
Modifying the Set directory makes assumptions about the created Set.
About it's type/implementation (maybe it is immutable/read-only?) and about
it's usage/way-of-use that does not break the plugin by adding stuff a Set that might be used differently too etc.
2024-01-13 17:36:42 +01:00
ceze88
3f62b36b26
Fix asm dependency
2024-01-12 17:01:40 +01:00
ceze88
cd3acd87f5
Shade asm into the core, not all java versions contains it. Fix shading for reactivestreams.
2024-01-12 16:27:02 +01:00
ceze88
dcf9fa4a29
Fix shading for LibraryLoader
2024-01-11 11:44:33 +01:00
ceze88
0a76ad4943
Use jitpack for libraryloader
2024-01-07 14:59:13 +01:00
ceze88
bbb980655d
Add LibraryLoader repository
2024-01-07 14:26:14 +01:00
ceze88
16e419b537
Fix pom.xml
2024-01-04 12:44:54 +01:00
ceze88
ad7b703282
Implementing runtime lib loading
2024-01-01 15:04:23 +01:00
dependabot[bot]
02ad1645bf
Bump actions/upload-artifact from 3 to 4 ( #90 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
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>
2024-01-01 14:04:04 +01:00
dependabot[bot]
f893864fae
Bump github/codeql-action from 2 to 3 ( #89 )
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: github/codeql-action
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>
2024-01-01 14:03:49 +01:00
Christian Koop
56d46f4de0
chore: Updates XSeries to v9.8.0 for Spigot 1.20.4 compatibility
2023-12-12 14:27:33 +01:00
Christian Koop
12c22c29fc
Compile v1_20_R3 nms module with Spigot 1.20.4
2023-12-10 17:45:57 +01:00
Christian Koop
a17252b805
chore: Updates item-nbt-api
to v2.12.2 for Spigot 1.20.4 support
2023-12-10 17:08:52 +01:00
Christian Koop
3da2a106ff
feat: Implements v1_20_R3 nms module for Spigot 1.20.3 compatibility
2023-12-06 16:54:46 +01:00
ceze88
d69510cae7
Fix casting errors
2023-11-18 16:47:06 +01:00
dependabot[bot]
3d75eef3b4
Bump world.bentobox:bentobox from 1.15.5 to 1.24.1 ( #85 )
...
Bumps [world.bentobox:bentobox](https://github.com/BentoBoxWorld/BentoBox ) from 1.15.5 to 1.24.1.
- [Release notes](https://github.com/BentoBoxWorld/BentoBox/releases )
- [Commits](https://github.com/BentoBoxWorld/BentoBox/compare/1.15.5...1.24.1 )
---
updated-dependencies:
- dependency-name: world.bentobox:bentobox
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-11-07 00:10:27 +01:00
dependabot[bot]
21657902b3
Bump com.gmail.nossr50.mcMMO:mcMMO from 2.1.200 to 2.1.225 ( #82 )
...
Bumps [com.gmail.nossr50.mcMMO:mcMMO](https://github.com/mcMMO-Dev/mcMMO ) from 2.1.200 to 2.1.225.
- [Release notes](https://github.com/mcMMO-Dev/mcMMO/releases )
- [Changelog](https://github.com/mcMMO-Dev/mcMMO/blob/master/Changelog.txt )
- [Commits](https://github.com/mcMMO-Dev/mcMMO/commits )
---
updated-dependencies:
- dependency-name: com.gmail.nossr50.mcMMO:mcMMO
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-11-06 22:37:04 +01:00
dependabot[bot]
65b10fbba6
Bump org.apache.maven.plugins:maven-shade-plugin from 3.5.0 to 3.5.1 ( #80 )
...
Bumps [org.apache.maven.plugins:maven-shade-plugin](https://github.com/apache/maven-shade-plugin ) from 3.5.0 to 3.5.1.
- [Release notes](https://github.com/apache/maven-shade-plugin/releases )
- [Commits](https://github.com/apache/maven-shade-plugin/compare/maven-shade-plugin-3.5.0...maven-shade-plugin-3.5.1 )
---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-shade-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-11-06 22:14:30 +01:00
dependabot[bot]
73437503b2
Bump org.mariadb.jdbc:mariadb-java-client from 3.0.8 to 3.2.0 ( #63 )
...
Bumps [org.mariadb.jdbc:mariadb-java-client](https://github.com/mariadb-corporation/mariadb-connector-j ) from 3.0.8 to 3.2.0.
- [Release notes](https://github.com/mariadb-corporation/mariadb-connector-j/releases )
- [Changelog](https://github.com/mariadb-corporation/mariadb-connector-j/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mariadb-corporation/mariadb-connector-j/compare/3.0.8...3.2.0 )
---
updated-dependencies:
- dependency-name: org.mariadb.jdbc:mariadb-java-client
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-11-06 22:06:29 +01:00
dependabot[bot]
8956632232
Bump org.apache.maven.plugins:maven-failsafe-plugin from 3.1.2 to 3.2.1 ( #79 )
...
Bumps [org.apache.maven.plugins:maven-failsafe-plugin](https://github.com/apache/maven-surefire ) from 3.1.2 to 3.2.1.
- [Release notes](https://github.com/apache/maven-surefire/releases )
- [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.1.2...surefire-3.2.1 )
---
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-11-06 22:01:29 +01:00
dependabot[bot]
289a856a1a
Bump com.zaxxer:HikariCP from 5.0.1 to 5.1.0 ( #78 )
...
Bumps [com.zaxxer:HikariCP](https://github.com/brettwooldridge/HikariCP ) from 5.0.1 to 5.1.0.
- [Changelog](https://github.com/brettwooldridge/HikariCP/blob/dev/CHANGES )
- [Commits](https://github.com/brettwooldridge/HikariCP/compare/HikariCP-5.0.1...HikariCP-5.1.0 )
---
updated-dependencies:
- dependency-name: com.zaxxer:HikariCP
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-11-06 21:52:41 +01:00
dependabot[bot]
0b119cac91
Bump com.intellectualsites.bom:bom-1.18.x from 1.18 to 1.31 ( #77 )
...
Bumps [com.intellectualsites.bom:bom-1.18.x](https://github.com/IntellectualSites/bom ) from 1.18 to 1.31.
- [Release notes](https://github.com/IntellectualSites/bom/releases )
- [Commits](https://github.com/IntellectualSites/bom/compare/1.18...1.31 )
---
updated-dependencies:
- dependency-name: com.intellectualsites.bom:bom-1.18.x
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-11-06 21:18:21 +01:00
dependabot[bot]
4e05bc571a
Bump org.jacoco:jacoco-maven-plugin from 0.8.10 to 0.8.11 ( #76 )
...
Bumps [org.jacoco:jacoco-maven-plugin](https://github.com/jacoco/jacoco ) from 0.8.10 to 0.8.11.
- [Release notes](https://github.com/jacoco/jacoco/releases )
- [Commits](https://github.com/jacoco/jacoco/compare/v0.8.10...v0.8.11 )
---
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-11-06 20:50:31 +01:00
dependabot[bot]
636a281b07
Bump com.github.decentsoftware-eu:decentholograms from 2.8.3 to 2.8.4 ( #75 )
...
Bumps [com.github.decentsoftware-eu:decentholograms](https://github.com/DecentSoftware-eu/DecentHolograms ) from 2.8.3 to 2.8.4.
- [Release notes](https://github.com/DecentSoftware-eu/DecentHolograms/releases )
- [Commits](https://github.com/DecentSoftware-eu/DecentHolograms/compare/2.8.3...2.8.4 )
---
updated-dependencies:
- dependency-name: com.github.decentsoftware-eu:decentholograms
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-11-06 20:46:30 +01:00
dependabot[bot]
33fc21982b
Bump org.junit.jupiter:junit-jupiter from 5.10.0 to 5.10.1 ( #74 )
...
Bumps [org.junit.jupiter:junit-jupiter](https://github.com/junit-team/junit5 ) from 5.10.0 to 5.10.1.
- [Release notes](https://github.com/junit-team/junit5/releases )
- [Commits](https://github.com/junit-team/junit5/compare/r5.10.0...r5.10.1 )
---
updated-dependencies:
- dependency-name: org.junit.jupiter:junit-jupiter
dependency-type: direct:development
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-11-06 20:03:35 +01:00
dependabot[bot]
a808627d5f
Bump de.tr7zw:item-nbt-api from 2.12.0 to 2.12.1 ( #73 )
...
Bumps de.tr7zw:item-nbt-api from 2.12.0 to 2.12.1.
---
updated-dependencies:
- dependency-name: de.tr7zw:item-nbt-api
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-11-06 20:00:31 +01:00
ceze88
55a29c2af1
Fix converting errors for EpicFarming and EpicHoppers
2023-11-06 14:22:06 +01:00
ceze88
e642980c2c
Update XSeries
2023-11-06 14:21:29 +01:00
Christian Koop
c79b835e9a
feat: Adds convenience overload method SongodaPlugin#initDatabase
...
Takes DataMigration... instead of an List. Similar how it used to be in the old API.
Reduces visual clutter in plugin code in my opinion
2023-10-24 02:41:09 +02:00
Christian Koop
eaf96d51de
style: Fixes typo in comment
2023-10-24 01:29:40 +02:00
Christian Koop
2afdfaa082
fix: Replace wrong 'MySQL' in logged database warnings with correct db
2023-10-24 01:15:23 +02:00
Christian Koop
8cde264f75
style: optimize imports in database related classes
2023-10-24 01:12:54 +02:00
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