Commit Graph

1324 Commits

Author SHA1 Message Date
Christian Koop
6abaeb4cf8
chore(deps): Updates XSeries to v9.10.0 2024-04-06 19:32:27 +02:00
Christian Koop
d955cc9059
feat!: Updates mcMMO to v2.2.004 and drop support for v2.1-ish
The `RandomChanceUtil` class got deleted and I don't see anything `SkillActivationType` related.
The mcMMO changelog and the commit deleting the class doesn't help me answear the question,
whether that is important or not.

Users will have to update their mcMMO installation - But I think we don't want to support any non-supported
version of all the hooked plugins anyway
2024-04-06 19:32:27 +02:00
ceze88
99e5bfeeba Update UltimateStacker API 2024-04-06 13:08:24 +02:00
Brianna O'Keefe
60e7e57cdb version 3.0.5 2024-04-05 22:39:49 -05:00
Brianna O'Keefe
e96e946b28 Head type util 2024-04-05 22:38:12 -05:00
Christian Koop
d3f9f4c226
feat:Some compatibility with paper builds without CraftBukkit relocation
To be fully compatible, the `ClassMapping` and `MethodMapping` classes should finally be removed
and their usages updated.

Announced in https://forums.papermc.io/threads/important-dev-psa-future-removal-of-cb-package-relocation.1106/
2024-03-29 15:32:39 +01:00
Christian Koop
6a0a8203dc
fix: DiagCommand's compatibility with Paper builds without CB relocation 2024-03-29 15:28:41 +01:00
Christian Koop
4f262ea641
chore(deps): Update item-nbt-api to v2.12.3 2024-03-29 15:26:37 +01:00
Christian Koop
2d0b43394b
fix: Mark WildStacker dependency as provided to not shade it 2024-03-28 15:00:22 +01:00
Christian Koop
3591bfe1a4
hotfix: Copy over old normalization logic for Hologram hooks for ceze 2024-03-28 10:49:42 +01:00
Brianna O'Keefe
5379537f7c version 3.0.4 2024-03-27 13:13:01 -05:00
Brianna O'Keefe
7fccbc7f2a Updated to work with the latest version of WildStacker. 2024-03-27 13:12:30 -05:00
Christian Koop
e4b5464130
chore: Delete deprecated CompatibleSound class
This class apparently also triggers some virus scanners (false positives obviously):
https://www.virustotal.com/gui/file/d4a32b05727863aaf87da3b0e70a2760031385f68f15fdb1246738898e468926
2024-03-27 09:34:46 +01:00
Christian Koop
f0d8aaffc7
chore!: Delete deprecated NmsManager class
Acording to the GitHub search this class is still used in some projects but there was enough
time to switch over to the Nms class + it's very easy to upgrade the usages to the new Nms class
2024-03-26 22:33:40 +01:00
Christian Koop
dce7adf81f
refactor: Refactors a couple of classes by applying our code style 2024-03-26 22:32:40 +01:00
Christian Koop
8c06a740d5
fix: Remove unused boolean variable related to the old license system 2024-03-26 22:18:19 +01:00
Christian Koop
c241224b64
chore!: Delete deprecated RotationUtils class
Judging by the GitHub search none of the plugins is using it anymore
2024-03-26 22:18:13 +01:00
Christian Koop
2add5b642f
refactor(test): Refactor DatabaseTest 2024-03-26 21:24:22 +01:00
Christian Koop
2e891f736e
chore: Update .editorconfig 2024-03-26 21:24:22 +01:00
Christian Koop
519194e414
refactor: Optimize imports in all classes 2024-03-26 21:00:36 +01:00
Christian Koop
c68c419f4f
feat: Remove Craftaro as an alias for the Songoda-Command 2024-03-26 20:55:10 +01:00
Christian Koop
69c4628c63
text: Update references to Craftaro with Songoda in strings 2024-03-26 20:54:03 +01:00
Christian Koop
9b9c8fb087
feat: Remove Craftaro's plugin license check
In a way, this can be considered an performance improvement
2024-03-26 20:53:08 +01:00
Christian Koop
156aa628af
docs: Update files to reflect repository rename to 'SongodaCore' 2024-03-26 20:41:28 +01:00
Christian Koop
67ff01ae0a
docs: Removes Craftaro+-URL from FUNDING.yml 2024-03-26 20:39:35 +01:00
Christian Koop
51b720225d
chore(deps): Updates SpraxDev/Action-SpigotMC from v4 to v5 2024-03-26 20:39:34 +01:00
Brianna O'Keefe
a507cffbca Float support for StoredData. 2024-03-23 18:56:58 -05:00
Brianna OKeefe
e7340bbc89 version 3.0.3 2024-03-21 17:09:19 -05:00
Brianna OKeefe
5d9afba0b2 Monitored Threads. 2024-03-21 17:09:07 -05:00
Brianna OKeefe
60931f0ba3 Furnace gui type. 2024-03-21 17:08:56 -05:00
Brianna OKeefe
fc232fa8b1 New data system. 2024-03-21 17:08:38 -05:00
Christian Koop
8e644a4be9
build: Updates craftaro repository to songoda 2024-03-18 19:13:52 +01:00
Christian Koop
374856719c
fix: Fixes NoSuchMethodException in NMS-Spawners for new 1.20.4 builds
Affects EpicAnchors/EpicSpawners
2024-03-18 19:06:14 +01:00
Brianna O'Keefe
9f6f8fb660 version 3.0.1 2024-03-12 14:19:08 -05:00
Brianna O'Keefe
ef36c58e0b TaskScheduler 2024-03-12 14:18:45 -05:00
Christian Koop
87db6cc5b7
ci: Fix potentially problematic increment_version value 2024-02-26 12:04:49 +01:00
Christian Koop
796d71fb9c
perf: Lazily pre-populates cache for CompatibleMaterial#getFurnaceResult
The previous implementation would not cache the result for Materials without a furnace result.
So it would always check all recepies before return null.

We now just populate the whole cache instead of populating each Material<->Result combination one-by-one.
We are already iterating all the recepies anyways and EpicFurnaces should be the only plugin to use this method.
So there's actually not even a memory-consumtion trade-off right now because over time it would be
like this anyway – Just with worse performance
2024-02-25 18:01:29 +01:00
Christian Koop
0592bf4abf
Fix DependencyLoader if the ClassLoader is URLClassLoader 2024-02-21 21:54:42 +01:00
ceze88
8289dae0f8 Fix DependencyLoader if ClassLoader is a AppClassLoader 2024-02-20 11:44:59 +01:00
ceze88
b2e842c805 Revert "Remove unnecessary cast"
This reverts commit bc1b613983.
2024-02-20 11:18:58 +01:00
ceze88
bc1b613983 Remove unnecessary cast 2024-02-19 11:23:46 +01:00
Christian Koop
4b738fdf78
fix: Prevent data loss on server shutdown in DataManager
We should wait for the async pool to cleanly exit and finish all running tasks.
30 seconds is a lot but we don't want any data loss – If 30 seconds are exceeded there might just be something
fundamentally broken in the (plugin) implementation (or a huge bulk action?)
2024-02-10 19:26:44 +01:00
ceze88
c59884b87c Update Adveture releated methods
- Fix incompatible types when setting item name and lore.
- Fix replaceLegacy method replacing characters that should not be replaced.
- Add methods to convert shaded Adventure library to the non shaded form if the server is above 1.18.2
2024-02-09 12:32:33 +01:00
ceze88
cc59a825be Fix dependency loading, use a ClassLoader instance which shared among all the plugins 2024-02-07 14:46:51 +01:00
Christian Koop
66a2abda32
feat: Adds support for CMI and Sainttx's Holograms plugin in new hooks 2024-02-02 23:12:08 +01:00
Christian Koop
c9a93d3a08
fix: Relocation path for reactivestreams contains . instead of ; 2024-02-02 23:09:43 +01:00
Christian Koop
fcb613e3d6
refactor: Slight refactoring of DependencyLoader class
I am too scared on touching too much logic and breaking something as I didn't work on this class
or with that library much yet.

So I'm just refactoring it a bit not changing a lot of logic
2024-02-02 18:54:34 +01:00
Christian Koop
193af915e9
Don't catch and log exceptions in DependencyLoader
This way whatever uses the DependencyLoader actually knows if something fails and can react to it
instead of just the JVM erroring because something is unexpectedly missing in the class path
2024-02-02 18:26:26 +01:00
Christian Koop
c027ab8b4c
fix: Diag-Command throws exception because of invalid String#format
The dependencyVersion accidentally got put as an arg into Player#sendMessage instead of the String#format
2024-02-02 18:16:40 +01:00
Christian Koop
f7e46be0d9
Make DependencyLoader implementations non-static and use #getDataFolder
The data directory location for plugins might be configured to another path, so instead we the
plugin's *DataFolder* as a basis for our Core's data directory
2024-02-02 18:16:40 +01:00