#Help with placeholder expansion
1 messages ยท Page 1 of 1 (latest)
at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$findExpansionInFile$6(LocalExpansionManager.java:383) ~[?:?]
at java.util.concurrent.CompletableFuture$AsyncSupply.run(Unknown Source) ~[?:1.8.0_261]
at java.util.concurrent.CompletableFuture$AsyncSupply.exec(Unknown Source) ~[?:1.8.0_261]
at java.util.concurrent.ForkJoinTask.doExec(Unknown Source) ~[?:1.8.0_261]
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(Unknown Source) ~[?:1.8.0_261]
at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source) ~[?:1.8.0_261]
at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source) ~[?:1.8.0_261]
Caused by: java.lang.SecurityException: sealing violation: package org.bukkit is sealed
at java.net.URLClassLoader.getAndVerifyPackage(Unknown Source) ~[?:1.8.0_261]
at java.net.URLClassLoader.definePackageInternal(Unknown Source) ~[?:1.8.0_261]
at java.net.URLClassLoader.defineClass(Unknown Source) ~[?:1.8.0_261]
at java.net.URLClassLoader.access$100(Unknown Source) ~[?:1.8.0_261]
at java.net.URLClassLoader$1.run(Unknown Source) ~[?:1.8.0_261]
at java.net.URLClassLoader$1.run(Unknown Source) ~[?:1.8.0_261]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_261]
at java.net.URLClassLoader.findClass(Unknown Source) ~[?:1.8.0_261]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_261]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_261]
at me.clip.placeholderapi.util.FileUtil.findClass(FileUtil.java:62) ~[?:?]
at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$findExpansionInFile$6(LocalExpansionManager.java:359) ~[?:?]
... 6 more```
I've tried there... not super responsive...
I was getting support from somebody else tho
they said that my Jar wasn't compiling correctly
but didn't know how to fox the problem
this is the jar here
Any ideas of how to fix this?
Have you encrypted your jar?
ok
actually you shaded everything and included the jars too
don't know what that mean sorry XD im super new to this
I assume thats bad tho aha
how do i fix?
you have to build your jar using only your source, no external libraries
don;t include anything else
ok
you don;t have a plugin.yml either. The one in yoru jar is from PalceholderAPI
all your jar shoudl contain is the com folder
to intillij
and I copied all the code over from ecplise
it was working with eclipse but stopped when i used intellij
I can;t help you with InteliJ I use Eclipse
ah dang ok
plugin.yml -> resource folder
sorry?
I didn't need a plugin.yml for when I was using eclipse but I need one now?
plugin.yml must be located in the resources directory
What's Minecraft version?
1.16
Download Minecraft Development plugin into IntelliJ
ok
ok all done
sweet
do i need to change any of these settings
also, I had to select paper, spigot, bukkit etc. anyway I can make it work for multiple of those things? @crude dust
it will work on each core if you don't use separate methods of each core
cool
Ok, and btw why
cause someone else who was helping suggested i use it
๐
i dont really know what it is
but it rings more a bell than maven aha
sorry so how do i include placeholderapi?
Check papi wiki
it just says add it as a dependancy
witch last time i included it the same way i did with spigot api
thru modules
however that didn't seem to work @crude dust
@errant matrix
Put this into your Gradle.build.
repositories {
maven {
url = 'https://repo.extendedclip.com/content/repositories/placeholderapi/'
}
}
dependencies {
compileOnly 'me.clip:placeholderapi:2.10.10'
in plugin.yml:
If your plugin requires PlaceholderAPI, to work, use this.
name: ExamplePlugin
version: 1.0
author: author
main: your.main.path.here
depend: [ PlaceholderAPI ]
This is used, if your plugin works without PlaceholderAPI.
name: ExamplePlugin
version: 1.0
author: author
main: your.main.path.here
softdepend: [ PlaceholderAPI ]
Remember, if you want to mention me, do it in a separate post (that is, when you edit a post and add a mention there, I don't get notified!)