Distant Horizon Bukkit Plugin Not loading up at all
A folder is created but it does nothing at all, no mentions of it in the console
26 Replies
Are you using the correct version?
on my client i am using 2.3.0
on 1.21 because it said 1.21.1 +1.21
[04:44:47] [Server thread/INFO]: Starting minecraft server version 1.21.1
server is 1.21.1
[04:45:03] [Server thread/ERROR]: Error occurred while enabling DHSupport v0.6.0 (Is it up to date?)
java.lang.NullPointerException: Cannot invoke "java.util.logging.Logger.warning(String)" because the return value of "no.jckf.dhsupport.bukkit.BukkitWorldInterface.getLogger()" is null
at no.jckf.dhsupport.bukkit.BukkitWorldInterface.<init>(BukkitWorldInterface.java:78) ~[?:?]
at no.jckf.dhsupport.bukkit.handler.WorldHandler.addWorldInterface(WorldHandler.java:45) ~[?:?]
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) ~[?:?]
at no.jckf.dhsupport.bukkit.handler.WorldHandler.<init>(WorldHandler.java:40) ~[?:?]
at no.jckf.dhsupport.bukkit.DhSupportBukkitPlugin.onEnable(DhSupportBukkitPlugin.java:68) ~[?:?]
i found that right now
here is the plugin version im using
@Jckf
Btw ping me when you guys reply , because I'm in so many servers I miss most messages because of that
It's trying to warn you that custom biomes are unsupported on your server, which probably means that you are running Spigot
I'll fix the logger error, but you should really be using Paper
@GMR
Alright
Wait so I should switch to paper?
The plugin (and server in general) will perform better with Paper
Do you have any particular reason to want to stick with Spigot?
We chose spigot because it didnt nerf Minecraft exploits
Aha
Well I'm at home now, so I'll fix it and release an update
Here's what's supposed to happen
GitLab
DHS 0.6.1 for DH 2.3.0 · Distant-Horizons-Team / Distant Horizons s...
This is the eighth pre-release/preview of the plugin. It is not recommended for big servers, but should work fine for small servers and for testing purposes.
Thabks
[01:55:55] [pool-10-thread-1/WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
[01:55:55] [pool-10-thread-1/WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
[01:55:55] [pool-10-thread-1/WARN]: at java.base/java.lang.Thread.run(Thread.java:1583)
[01:55:55] [pool-10-thread-1/WARN]: Caused by: java.lang.IllegalStateException: Asynchronous chunk load!
[01:55:55] [pool-10-thread-1/WARN]: at org.spigotmc.AsyncCatcher.catchOp(AsyncCatcher.java:14)
[01:55:55] [pool-10-thread-1/WARN]: at org.bukkit.craftbukkit.v1_21_R1.CraftWorld.loadChunk(CraftWorld.java:388)
[01:55:55] [pool-10-thread-1/WARN]: at org.bukkit.craftbukkit.v1_21_R1.CraftWorld.loadChunk(CraftWorld.java:266)
[01:55:55] [pool-10-thread-1/WARN]: at no.jckf.dhsupport.bukkit.BukkitWorldInterface.loadChunk(BukkitWorldInterface.java:186)
[01:55:55] [pool-10-thread-1/WARN]: at no.jckf.dhsupport.bukkit.BukkitWorldInterface.loadChunkAsync(BukkitWorldInterface.java:195)
[01:55:55] [pool-10-thread-1/WARN]: at no.jckf.dhsupport.core.DhSupport.lambda$getLod$7(DhSupport.java:280)
[01:55:55] [pool-10-thread-1/WARN]: at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1150)
[01:55:55] [pool-10-thread-1/WARN]: ... 6 more
is this normal?
it keeps spamming that in the console but im not sure if its good or bad
@Jckf
Not supposed to happen, but this is not the full trace so I can't see what's causing it. Please upload the whole log somewhere
Looks like it's complaining that the plugin tries to load chunks async though
Alright
No need. I found the issue. The code in this
if
statement must execute on the main thread
It detects if the server supports async chunk loading, and if not; does a sync load. But if the call came from some worker thread, then the load will be rejected by the server
I can't tell why getLod()
was called from a worker thread without the full stack trace, but should still be able to fix it
As a side note: I guess I have to start testing every release on Spigot, Paper, and Folia. They all do these things differently, so designing a system that can handle all scenarios is not necessarily straightforward.Al4 this happened in pap45
Paper
I switched over
Huh, really?
Yeah
I can try again
nevermind it works normally
but is there a way to make it all less laggy or is that part of the proccess?
and once its done loading the wolrd, will it be less laggy?
The generation process will consume a bit extra, but once it's done you shouldn't notice much unless your very bandwidth limited
Happy to hear that it's working btw. Was afraid I'd made another boo boo =P
lol
And I am VERY grateful for the plugin
🙏
Keep up the great work 😄
Absolutely :) Thanks for testing and reporting back. Let me know if you encounter any more issues 👍️
Alright