A
Admincraft2mo ago
Eyvo

Insight alternative 1.21.4 Paper

Hi! Looking for an alternative to the Insight plugin on 1.21.4 paper. Insight sadly is broken for me, but I'd really like a way to limit redstone, armor stands and item frames. Not looking for way to make my server be able to handle these things fine. I want them limited. Any help is appreciated. :)
19 Replies
Snow Kit
Snow Kit2mo ago
what about if you use the build from the page (in the artifacts section) https://github.com/InsightsPlugin/Insights/actions/runs/12104980026
GitHub
Merge pull request #223 from Jsinco/main · InsightsPlugin/Insights@...
Insights - Super configurable (region) Limits + Asynchronous Scans [1.21] - Merge pull request #223 from Jsinco/main · InsightsPlugin/Insights@3dfa420
Snow Kit
Snow Kit2mo ago
(need to also be signed into github)
Eyvo
EyvoOP2mo ago
I did build it!
Snow Kit
Snow Kit2mo ago
that's a 1.21.3 build, but I think it should work on 1.21.4
Eyvo
EyvoOP2mo ago
But it's throwing out an error and somehow, with no matter what limit I put, doesn't let players place ANY of the limited item at all.
Snow Kit
Snow Kit2mo ago
what are the errors? I can check if I can fix them
Eyvo
EyvoOP2mo ago
Lemme recreate them real quick. Give me a minute <3 I think it's this?
[20:31:14 ERROR]: [Insights] Error occurred while scanning world @ -2, 0 (future errors with the same stacktrace are suppressed)
java.util.concurrent.CompletionException: java.lang.NoClassDefFoundError: org/bukkit/craftbukkit/v1_21_R2/CraftChunk
at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315) ~[?:?]
at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320) ~[?:?]
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1770) ~[?:?]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]
Caused by: java.lang.NoClassDefFoundError: org/bukkit/craftbukkit/v1_21_R2/CraftChunk
at Insights-6.19.3(1).jar/dev.frankheijden.insights.nms.current.InsightsNMSImpl.getLoadedChunkSections(InsightsNMSImpl.java:41) ~[Insights-6.19.3(1).jar:?]
at Insights-6.19.3(1).jar/dev.frankheijden.insights.api.concurrent.containers.LoadedChunkContainer.getChunkSections(LoadedChunkContainer.java:27) ~[Insights-6.19.3(1).jar:?]
at Insights-6.19.3(1).jar/dev.frankheijden.insights.api.concurrent.containers.ChunkContainer.get(ChunkContainer.java:92) ~[Insights-6.19.3(1).jar:?]
at Insights-6.19.3(1).jar/dev.frankheijden.insights.api.concurrent.containers.ChunkContainer.get(ChunkContainer.java:21) ~[Insights-6.19.3(1).jar:?]
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
... 3 more
Caused by: java.lang.ClassNotFoundException: org.bukkit.craftbukkit.v1_21_R2.CraftChunk
at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:197) ~[paper-api-1.21.4-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:164) ~[paper-api-1.21.4-R0.1-SNAPSHOT.jar:?]
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526) ~[?:?]
at Insights-6.19.3(1).jar/dev.frankheijden.insights.nms.current.InsightsNMSImpl.getLoadedChunkSections(InsightsNMSImpl.java:41) ~[Insights-6.19.3(1).jar:?]
at Insights-6.19.3(1).jar/dev.frankheijden.insights.api.concurrent.containers.LoadedChunkContainer.getChunkSections(LoadedChunkContainer.java:27) ~[Insights-6.19.3(1).jar:?]
at Insights-6.19.3(1).jar/dev.frankheijden.insights.api.concurrent.containers.ChunkContainer.get(ChunkContainer.java:92) ~[Insights-6.19.3(1).jar:?]
at Insights-6.19.3(1).jar/dev.frankheijden.insights.api.concurrent.containers.ChunkContainer.get(ChunkContainer.java:21) ~[Insights-6.19.3(1).jar:?]
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?
[20:31:14 ERROR]: [Insights] Error occurred while scanning world @ -2, 0 (future errors with the same stacktrace are suppressed)
java.util.concurrent.CompletionException: java.lang.NoClassDefFoundError: org/bukkit/craftbukkit/v1_21_R2/CraftChunk
at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315) ~[?:?]
at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320) ~[?:?]
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1770) ~[?:?]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]
Caused by: java.lang.NoClassDefFoundError: org/bukkit/craftbukkit/v1_21_R2/CraftChunk
at Insights-6.19.3(1).jar/dev.frankheijden.insights.nms.current.InsightsNMSImpl.getLoadedChunkSections(InsightsNMSImpl.java:41) ~[Insights-6.19.3(1).jar:?]
at Insights-6.19.3(1).jar/dev.frankheijden.insights.api.concurrent.containers.LoadedChunkContainer.getChunkSections(LoadedChunkContainer.java:27) ~[Insights-6.19.3(1).jar:?]
at Insights-6.19.3(1).jar/dev.frankheijden.insights.api.concurrent.containers.ChunkContainer.get(ChunkContainer.java:92) ~[Insights-6.19.3(1).jar:?]
at Insights-6.19.3(1).jar/dev.frankheijden.insights.api.concurrent.containers.ChunkContainer.get(ChunkContainer.java:21) ~[Insights-6.19.3(1).jar:?]
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
... 3 more
Caused by: java.lang.ClassNotFoundException: org.bukkit.craftbukkit.v1_21_R2.CraftChunk
at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:197) ~[paper-api-1.21.4-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:164) ~[paper-api-1.21.4-R0.1-SNAPSHOT.jar:?]
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526) ~[?:?]
at Insights-6.19.3(1).jar/dev.frankheijden.insights.nms.current.InsightsNMSImpl.getLoadedChunkSections(InsightsNMSImpl.java:41) ~[Insights-6.19.3(1).jar:?]
at Insights-6.19.3(1).jar/dev.frankheijden.insights.api.concurrent.containers.LoadedChunkContainer.getChunkSections(LoadedChunkContainer.java:27) ~[Insights-6.19.3(1).jar:?]
at Insights-6.19.3(1).jar/dev.frankheijden.insights.api.concurrent.containers.ChunkContainer.get(ChunkContainer.java:92) ~[Insights-6.19.3(1).jar:?]
at Insights-6.19.3(1).jar/dev.frankheijden.insights.api.concurrent.containers.ChunkContainer.get(ChunkContainer.java:21) ~[Insights-6.19.3(1).jar:?]
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?
Snow Kit
Snow Kit2mo ago
okay, give me 15 minutes
Eyvo
EyvoOP2mo ago
Thanks!
Snow Kit
Snow Kit2mo ago
want to clone this and try? git clone [email protected]:funniray/Insights.git -b 1.21.4 these are all the changes if you want to review them https://github.com/InsightsPlugin/Insights/compare/main...funniray:Insights:1.21.4 if commands are broken, lmk
Eyvo
EyvoOP2mo ago
Omg thank you so much! Testing it in a minute. You are so lovely for helping i can't even akjdhgksjdf It works! You saved me. Is there anything I can do for you in return?
Snow Kit
Snow Kit2mo ago
and the commands work fine?
Eyvo
EyvoOP2mo ago
Tested a few and had no issues
Snow Kit
Snow Kit2mo ago
nah, I'm good, just don't have anything better to do
Eyvo
EyvoOP2mo ago
You're a blessing. Thank you again. :kissies::kissies::kissies:
ProGamingDk
ProGamingDk2mo ago
is this due to the new reflection changes
Snow Kit
Snow Kit2mo ago
they directly use paperweight, but only for the most recent minecraft version
Cooleg
Cooleg2mo ago
this would be relocation change
Snow Kit
Snow Kit2mo ago
remapping changes happened in like 1.20.5 anyways, not even 1.21.3 or 1.21.4. The plugin would need it's reflection code changed if it wanted to support newer versions of paper (aside from the "latest" version, which doesn't use reflection at all)

Did you find this page helpful?