🔥Update to latest paper version

🔨Add possibility to kick an offline or online player from the game.
🍗Add Saturation effect.
🎙️Change VoiceChat to Simple Voice Chat.
😨Werewolf one shot player now.
This commit is contained in:
2025-11-11 13:29:46 +01:00
parent 9ab31b2fe1
commit 2c533c443e
12 changed files with 103 additions and 73 deletions

View File

@@ -1,13 +1,19 @@
plugins {
kotlin("jvm") version "2.2.0-Beta1"
id("com.gradleup.shadow") version "8.3.0"
id("xyz.jpenilla.run-paper") version "2.3.1"
id("io.papermc.paperweight.userdev") version "2.0.0-beta.16"
id("com.gradleup.shadow") version "9.2.2"
id("xyz.jpenilla.run-paper") version "3.0.2"
id("io.papermc.paperweight.userdev") version "2.0.0-beta.19"
}
group = "fr.azur"
version = "1.0-SNAPSHOT"
val minecraftVersion: String by project
val paperVersion: String by project
val skinRestorerVersion: String by project
val voiceChatVersion: String by project
val voiceChatApiVersion: String by project
repositories {
mavenCentral()
gradlePluginPortal()
@@ -20,16 +26,17 @@ repositories {
maven("https://repo.codemc.org/repository/maven-public/") {
name = "codemc"
}
maven("https://repo.plasmoverse.com/releases")
maven("https://repo.plasmoverse.com/snapshots")
maven("https://maven.maxhenkel.de/repository/public") {
name = "svc"
}
}
dependencies {
paperweight.paperDevBundle("1.21.4-R0.1-SNAPSHOT")
paperweight.paperDevBundle("$minecraftVersion-$paperVersion")
compileOnly("net.skinsrestorer:skinsrestorer-api:15.6.3")
compileOnly("su.plo.voice.api:server:2.1.4")
implementation("net.skinsrestorer:skinsrestorer-api:$skinRestorerVersion")
implementation("de.maxhenkel.voicechat:voicechat-api:$voiceChatApiVersion")
implementation(kotlin("stdlib-jdk8"))
}
@@ -42,10 +49,10 @@ kotlin {
tasks {
runServer {
downloadPlugins {
modrinth("plasmo-voice", "spigot-2.1.4")
modrinth("skinsrestorer", "15.6.3")
modrinth("plasmo-voice", "bukkit-$voiceChatVersion")
modrinth("skinsrestorer", skinRestorerVersion)
}
minecraftVersion("1.21.4")
minecraftVersion(minecraftVersion)
}
build {
dependsOn("shadowJar")