Commit Graph

39 Commits

Author SHA1 Message Date
jglrxavpok
eadd4a2b39 Automatically unload GlobalEventHandler callbacks 2021-02-03 17:11:06 +01:00
jglrxavpok
2b5d67a3ca Don't crash the server if Mixin can't be loaded due to identical file names inside the JAR file.
But please spam the console.
2021-02-02 14:49:19 +01:00
jglrxavpok
9b9565dbbd Early loading of Mixin and code modifiers
+ System property to disable early loading if necessary
2021-02-02 12:44:57 +01:00
Tyan
855c8af455 Added ExceptionManager for custom exception handling 2021-01-20 11:43:45 +01:00
Alexander
8f130b5dd9 Fix missing field bug 2021-01-15 21:25:16 +00:00
themode
fcc5bc4381 Improve bootstrap warning 2021-01-12 04:22:24 +01:00
themode
f4818d46fb Cleanup extension code and added an option to disable extension loading on startup 2020-12-26 11:55:22 +01:00
themode
22cd7a28a7 Removed some string concatenation in logger 2020-12-14 05:42:22 +01:00
Felix Cravic
5e85c0117a Cleanup 2020-12-12 06:13:50 +01:00
Felix Cravic
ddf8cc383d Fixed concurrent exception when shutting down the extension manager 2020-12-03 17:54:23 +01:00
Felix Cravic
6f8cbeb73b Unload extensions when shutting down the server 2020-12-03 17:35:04 +01:00
jglrxavpok
142b6a69a5 Post-merge fixes 2020-11-18 09:24:59 +01:00
jglrxavpok
0a4bb5ab08 Merge branch 'extensions-v2'
# Conflicts:
#	src/main/java/net/minestom/server/extensions/Extension.java
#	src/main/java/net/minestom/server/extensions/ExtensionManager.java
#	src/main/java/net/minestom/server/extras/selfmodification/MinestomRootClassLoader.java
2020-11-18 09:13:30 +01:00
themode
3db53a798f Removed lombok dependency 2020-11-16 03:10:51 +01:00
themode
8c8ba37947 Added auto suggestion in the reload command 2020-11-06 23:35:31 +01:00
jglrxavpok
69f424eb6a Improve load command safety 2020-11-06 16:10:44 +01:00
jglrxavpok
d83bec4732 Let users change extension jar after unload, then load it again 2020-11-06 16:03:08 +01:00
jglrxavpok
925f5fa614 Reloading extensions 2020-11-03 21:26:46 +01:00
jglrxavpok
25cde2cde7 Mixin modifications between extensions is now possible 2020-11-03 10:26:31 +01:00
themode
6d29f955e4 More comments for the command API, Arguments methods are NotNull since id should not be decided at runtime 2020-10-30 18:43:14 +01:00
jglrxavpok
47eb0084eb Start of tree-based classloading 2020-10-28 16:24:29 +01:00
themode
bd620a2241 Remove unnecessary packet copy + more annotations 2020-10-26 16:08:59 +01:00
jglrxavpok
35f7b27135 Comment to remember to fix extension dependency resolution in case we keep separate classloaders for extensions 2020-10-25 20:32:50 +01:00
jglrxavpok
66e85f166e Fix load order 2020-10-25 20:27:34 +01:00
jglrxavpok
6df285723a Load extension dependencies 2020-10-25 19:58:19 +01:00
jglrxavpok
e474640687 Update discovered extension status when an extension-dependency is not found 2020-10-25 18:03:28 +01:00
Articdive
0167a8f9ef
Add extension intra-dependency (hopefully) 2020-10-25 16:45:28 +01:00
Articdive
5217964259
Cleanup and improve extension changes. 2020-10-25 10:41:51 +01:00
jglrxavpok
535e8946b6 Extensions can declare Maven dependencies which will be auto-downloaded 2020-10-24 22:57:38 +02:00
Articdive
6bb7186b3f
Cleanup and ensure extensions have valid names. 2020-10-24 10:45:27 +02:00
themode
19ab2cbd50 Comments for MinecraftServer 2020-10-17 16:54:35 +02:00
themode
c130fb6144 Added getter for ExtensionManager 2020-10-17 16:30:37 +02:00
Eoghanmc22
7ccd40d0f7 Fix Check 2020-09-14 18:29:07 -04:00
Eoghanmc22
8bbd62a3ed Fix NPE in extension loader 2020-09-14 18:17:15 -04:00
Articdive
b675104d74
Improve Extension Logging & Description 2020-09-12 08:56:01 +02:00
jglrxavpok
c3c2b0a34c Loading mixins from extensions 2020-08-23 23:27:53 +02:00
jglrxavpok
223af361d8 Code modifiers and test extension 2020-08-21 01:32:59 +02:00
jglrxavpok
164719090a (WIP) Support for runtime code modification 2020-08-20 02:06:58 +02:00
Articdive
846b668c1b
Rename plugins to Extensions and add basic support. 2020-08-18 14:18:12 +02:00