diff --git a/.gitignore b/.gitignore index 18e2a4b..63cd2d5 100644 --- a/.gitignore +++ b/.gitignore @@ -161,4 +161,5 @@ Icon .AppleDesktop Network Trash Folder Temporary Items -.apdisk \ No newline at end of file +.apdisk +**/run \ No newline at end of file diff --git a/core/build.gradle.kts b/core/build.gradle.kts index d8b91e6..0b8dfbb 100644 --- a/core/build.gradle.kts +++ b/core/build.gradle.kts @@ -2,6 +2,7 @@ import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar plugins { id("com.gradleup.shadow") version "9.0.0-beta4" + id("xyz.jpenilla.run-paper") version "2.3.1" } var relocationBase = "com.github.md5sha256.addictiveexperience.shaded" @@ -123,4 +124,18 @@ tasks { useJUnitPlatform() } + runServer { + // Configure the Minecraft version for our task. + // This is the only required configuration besides applying the plugin. + // Your plugin's jar (or shadowJar if present) will be used automatically. + minecraftVersion("1.21.1") + downloadPlugins { + // Essentials + url("https://ci.ender.zone/job/EssentialsX/lastSuccessfulBuild/artifact/jars/EssentialsX-2.21.0-dev+151-f2af952.jar") + // Vault + github("MilkBowl", "Vault", "1.7.3", "Vault.jar") + } + } + + } \ No newline at end of file