Closed ZaksenCode closed 2 years ago
Can you provide your pom.xml/build.gradle(.kts)?
plugins {
id 'java'
id "com.github.johnrengelman.shadow" version "7.1.1"
}
shadowJar {
relocate("dev.triumphteam.gui", "zaksen.cave.guis.gui")
}
group = 'zaksen.cave'
version = '0.1'
repositories {
mavenCentral()
maven {
name = 'spigotmc-repo'
url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/'
}
maven {
name = 'sonatype'
url = 'https://oss.sonatype.org/content/groups/public/'
}
}
dependencies {
compileOnly 'org.spigotmc:spigot-api:1.18.2-R0.1-SNAPSHOT'
implementation "dev.triumphteam:triumph-gui:3.1.2"
}
def targetJavaVersion = 17
java {
def javaVersion = JavaVersion.toVersion(targetJavaVersion)
sourceCompatibility = javaVersion
targetCompatibility = javaVersion
if (JavaVersion.current() < javaVersion) {
toolchain.languageVersion = JavaLanguageVersion.of(targetJavaVersion)
}
}
tasks.withType(JavaCompile).configureEach {
if (targetJavaVersion >= 10 || JavaVersion.current().isJava10Compatible()) {
options.release = targetJavaVersion
}
}
processResources {
def props = [version: version]
inputs.properties props
filteringCharset 'UTF-8'
filesMatching('plugin.yml') {
expand props
}
}
Since you are using spigot you have 2 options. Either manually include kyori or use paper rather then spigot
how i can include kyori? i doesn't want use paper, because i need bungeecord
Can you provide us the full error? @FCKJohni adventure is provided by triumph-gui
Can you provide us the full error? @FCKJohni adventure is provided by triumph-gui
Isn't it just compileOnly?
Can you provide us the full error? @FCKJohni adventure is provided by triumph-gui
server doesn't crush, but console send this
Can you provide us the full error? @FCKJohni adventure is provided by triumph-gui
Isn't it just compileOnly?
No
The issue here is how you're building the project, you need to build with the shadowJar
task.
I also suggest you relocate adventure as well, use net.kyori
to zaksen.cave.kyori
or something like that.
And as for the paper comment, you can use Bungeecord with Paper as well.
The issue here is how you're building the project, you need to build with the
shadowJar
task. I also suggest you relocate adventure as well, usenet.kyori
tozaksen.cave.kyori
or something like that.And as for the paper comment, you can use Bungeecord with Paper as well.
oh yes? hmm
something like this?
oh, that work! thanks!
what is that problem? i'am import that, but console send me this, when i try to open gui
version is 1.18.2