Skip to content

Commit

Permalink
Bumped CommandAPI to version 9.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
byPixelTV committed May 4, 2024
1 parent fdf72d2 commit 01f2ec3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 13 deletions.
9 changes: 4 additions & 5 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
kotlin("jvm") version "1.9.23"
id("io.papermc.paperweight.userdev") version "1.5.12"
id("io.papermc.paperweight.userdev") version "1.7.0"
id("xyz.jpenilla.run-paper") version "1.1.0"
}

Expand All @@ -23,11 +23,11 @@ repositories {

dependencies {
paperweight.paperDevBundle("1.20.4-R0.1-SNAPSHOT")
implementation("dev.jorel", "commandapi-bukkit-shade", "9.3.0")
implementation("dev.jorel", "commandapi-bukkit-kotlin", "9.3.0")
implementation("dev.jorel", "commandapi-bukkit-shade", "9.4.0")
implementation("dev.jorel", "commandapi-bukkit-kotlin", "9.4.0")
implementation("net.axay:kspigot:1.20.3")

implementation("com.github.SkriptLang:Skript:2.8.4")
implementation("com.github.SkriptLang:Skript:2.8.5")


implementation("eu.cloudnetservice.cloudnet:syncproxy:4.0.0-RC10")
Expand All @@ -40,7 +40,6 @@ dependencies {
implementation("eu.cloudnetservice.cloudnet:platform-inject-support:4.0.0-RC10")
implementation("eu.cloudnetservice.cloudnet:common:4.0.0-RC10")
implementation("eu.cloudnetservice.cloudnet:node:4.0.0-RC10")
implementation("org.json:json:20240303")
}

sourceSets {
Expand Down
6 changes: 1 addition & 5 deletions src/main/kotlin/de/bypixeltv/skcloudnet/Main.kt
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,7 @@ class Main : KSpigot() {
val pluginManager = server.pluginManager
val cloudnetBridgePlugin = pluginManager.getPlugin("cloudnet-bridge")

if (cloudnetBridgePlugin == null) {
// The cloudnet-bridge plugin isn't installed
server.consoleSender.sendMessage(miniMessages.deserialize("<grey>[<aqua>SkCloudnet</aqua>]</grey> <color:#ff0000>Could not find CloudNet-Bridge, disabling!"))
pluginManager.disablePlugin(this)
}

}

override fun load() {
Expand Down
5 changes: 2 additions & 3 deletions src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@ description: "A Skript-Addon to interact with your CloudNet v4 instance."
website: "https://bypixeltv.me"

libraries:
- "dev.jorel:commandapi-bukkit-shade:9.3.0"
- "dev.jorel:commandapi-bukkit-kotlin:9.3.0"
- "dev.jorel:commandapi-bukkit-shade:9.4.0"
- "dev.jorel:commandapi-bukkit-kotlin:9.4.0"
- "net.axay:kspigot:1.20.3"
- "org.json:json:20240303"

depend: [Skript]
softdepend: [cloudnet-bridge]

0 comments on commit 01f2ec3

Please sign in to comment.