Commit Graph

38 Commits

Author SHA1 Message Date
8ca7fa95c0 fix defaulting join-classpath to true for plugin deps 2023-06-08 06:50:41 -07:00
27998753e9 More work 2023-06-07 19:18:05 +02:00
1bda3d4d2a Start working on 1.20 2023-06-07 18:24:39 +02:00
1004620742 Paper Plugins Dependency Format Update (#9160)
* Rework dependency management (WIP)

* Revert "Rework dependency management (WIP)"

This reverts commit e046cd59c68743dc00303b1ab42317bf474abd6a.

* Correctly add soft dependencies to the dependency tree for classloading resolution

* Add support for new dependency config format

* Rebase

* swap load order meaning

* Dependencies should be required by default
2023-06-07 11:41:25 -04:00
c66a18ad54 [ci skip] Use a separate interface for bootstrapping (#9267) 2023-06-07 08:29:28 -07:00
1b571414da Updated Upstream (Bukkit/CraftBukkit)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

Bukkit Changes:
5dbedae1 PR-864: Fix Registry#match() failing namespaced inputs
49256865 PR-863: Fix boolean PersistentDataType
9f15450b SPIGOT-7195, SPIGOT-7197: Add DataPack API
ebef5b6a Disable InterfaceIsType Checkstyle check
01d577f5 Slight tweak to boolean PersistentDataType javadoc
d2b99e56 PR-857: Add boolean PersistentDataType

CraftBukkit Changes:
2270366cd PR-1196: Test Registry instances more thoroughly
863dacb7a PR-1191: Do not start on pre-release Java 17
1f2dd8e12 SPIGOT-7362: Properly handle null in CraftBlock#blockFaceToNotch()
dbc70bed5 SPIGOT-7195, SPIGOT-7197: Add DataPack API
2023-06-06 11:09:19 +02:00
a4b55ff96a Fix LegacyPluginLoader dependency registration (#9165) 2023-04-22 21:55:10 -04:00
2da0966452 Resolve Plugin Dependency Issues, Improve PluginLoading Compat, Small Loading Issues (#9129) 2023-04-22 13:44:40 -04:00
992e145a16 Undo making JavaPlugin#logger field public (#9125) 2023-04-19 12:46:09 -03:00
d8b12ddb4c Fix Inconsistencies with Paper Plugin Names (#9098) 2023-04-16 12:49:13 -04:00
5322e3cffb Revert "Resolve Plugin Dependency Issues, Improve PluginLoading Compat, Small Loading Issues (#9068)"
This reverts commit cfcfc9301c.
2023-04-10 11:25:04 +01:00
cfcfc9301c Resolve Plugin Dependency Issues, Improve PluginLoading Compat, Small Loading Issues (#9068) 2023-04-09 18:28:30 -04:00
bde53d9d44 Make debug dump file names consistent (#9075) 2023-03-31 13:17:57 +02:00
06eb9f83ec Fix PluginMeta#getDisplayName (#9038)
* fix plugin versioning

* fix properly

* fix version command

* ngl idk where my logic was behind this
2023-03-27 22:56:09 -04:00
4e30130da0 Expose Path to jar file in PluginProviderContext (#9030)
* Expose Path to jar file in PluginProviderContext

* rename accessor, reword jd
2023-03-25 03:30:48 -03:00
4015d08acf Use class loggers without the fqn for non-debug logging (#9012) 2023-03-20 01:23:52 -07:00
5f6566b549 Re-enable multi-release plugin JARs (#9001) 2023-03-19 11:50:13 -03:00
8640f5feff Update adventure to 4.13.0 2023-03-15 13:19:54 +01:00
15ade6f446 More patches 2023-03-14 19:05:23 +01:00
08ab8edb76 Start working on 1.19.4 2023-03-14 18:11:24 +01:00
627c3d4475 Properly handle load before plugins in legacy loading (#8962) 2023-03-12 11:00:02 -07:00
8d211062df Correctly Remove Classloaders, Avoid Loading Providers in /paper dumpplugins, Fix library lookup (#8938) 2023-03-06 19:20:11 -05:00
81f79b407d Log message if plugin bootstrap provided external plugin instead of throwing an exception (#8914) 2023-02-28 14:17:49 +02:00
2ad6c390e0 Close plugin jar file on classloader close and after retrieving name for updating (#8902) 2023-02-28 08:34:33 -03:00
eab0a0a28e Don't log or die on cyclic dependencies of Spigot plugins 2023-02-27 12:09:10 +01:00
5542f6997e Make PluginProviderContext#getLogger return ComponentLogger, remove PluginProviderContext#getSLF4JLogger (#8921) 2023-02-26 12:13:15 -07:00
47f0fe739b Properly re-add providers when reloading (#8881) 2023-02-23 12:58:50 -05:00
a59536946b Properly log any Throwable on plugin class creation (#8897) 2023-02-23 01:36:45 -08:00
4ad4252079 Do not send plugin headers when it is not required (#8889) 2023-02-23 00:59:42 +01:00
751beefa8e Close library classloader and improve PluginDescriptionFile (#8901) 2023-02-22 21:54:27 +01:00
eb56bf3058 Fix update folder logging error when no folder exists (#8891) 2023-02-22 12:17:58 -08:00
75e61d5bf2 Validate providers when populating load order tree (#8890) 2023-02-22 10:59:12 -05:00
ee1dffb8d5 Fix JavaPlugin static getPlugin methods (#8888) 2023-02-21 19:27:49 -08:00
08d77ce67a Redefine Cyclic Dependencies (#8873) 2023-02-20 20:09:38 -05:00
1c5cb2f43a Small paper plugin fixes (#8866)
Co-authored-by: Bjarne Koll <git@lynxplay.dev>
Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
2023-02-20 13:02:53 -05:00
0ce11aca74 Update circular dependencies warning, properly crash
Also fixes logging errors
2023-02-20 15:20:49 +01:00
b0ce047eae Fix plugin updater logic, allow null update directory (#8864) 2023-02-19 13:17:51 -05:00
6915dee3e3 Paper Plugins (#8108) 2023-02-19 09:57:10 -05:00