diff --git a/.vscode/settings.json b/.vscode/settings.json index 1d13fa7..3964542 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -5,8 +5,10 @@ "java.configuration.updateBuildConfiguration": "automatic", "cSpell.words": [ "Gamerules", + "Minecraft", "Mojang", "cliffbreak", + "mkdir", "teamcolors", "unban", "varo" diff --git a/README.md b/README.md index 18aa3f7..26bd83a 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,27 @@ First clone this repository to your local machine by using git clone https://git.cliffbreak.de/Cliffbreak/Varo.git ``` +Create a new directory named `tmp-build` outside of the project directory (or it will break the VSCode Language Server) + +``` +mkdir ~/tmp-build && cd ~/tmp-build +``` + +Download the latest version of Spigot BuildTools +``` +wget https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar +``` + +Run BuildTools +``` +java -jar BuildTools.jar --rev latest +``` + +After that you can safely remove the `tmp-build` directory +``` +rm -rf ~/tmp-build +``` + ## Configure Visual Studio Code If you haven't a instance of Visual Studio Code up and running download the latest version [here](https://code.visualstudio.com/download). Install the recommended extensions by opening the Extensions-Tab (Ctrl+Shift+X). diff --git a/varo/pom.xml b/varo/pom.xml index 040131e..0f3b947 100644 --- a/varo/pom.xml +++ b/varo/pom.xml @@ -18,28 +18,30 @@ 1.8 - + papermc https://papermc.io/repo/repository/maven-public/ - + com.destroystokyo.paper paper-api 1.15.2-R0.1-SNAPSHOT provided + + + org.spigotmc + spigot + 1.15.2-R0.1-SNAPSHOT + provided + ${project.basedir}/src/main/java