Last active
October 26, 2016 16:18
-
-
Save ase34/ad09a0b2b38c5321c4cf to your computer and use it in GitHub Desktop.
flyingblocksapi building instructions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/plugin/pom.xml b/plugin/pom.xml | |
| index fd10ce9..05146db 100644 | |
| --- a/plugin/pom.xml | |
| +++ b/plugin/pom.xml | |
| @@ -27,7 +27,7 @@ | |
| <optional>true</optional> | |
| <scope>compile</scope> | |
| </dependency> | |
| - <dependency> | |
| + <!-- <dependency> | |
| <groupId>de.ase34</groupId> | |
| <artifactId>flyingblocksapi-natives-v1_7_R1</artifactId> | |
| <version>v1_7_R1</version> | |
| @@ -54,7 +54,7 @@ | |
| <version>v1_7_R2</version> | |
| <optional>true</optional> | |
| <scope>compile</scope> | |
| - </dependency> | |
| + </dependency> --> | |
| <dependency> | |
| <groupId>de.ase34</groupId> | |
| <artifactId>flyingblocksapi-natives-v1_7_R4</artifactId> | |
| diff --git a/pom.xml b/pom.xml | |
| index 5210e42..235c090 100644 | |
| --- a/pom.xml | |
| +++ b/pom.xml | |
| @@ -11,11 +11,11 @@ | |
| <packaging>pom</packaging> | |
| <modules> | |
| <module>api</module> | |
| - <module>natives-v1_7_R1</module> | |
| + <!-- <module>natives-v1_7_R1</module> --> | |
| <module>plugin</module> | |
| - <module>natives-v1_6_R3</module> | |
| - <module>natives-v1_7_R2</module> | |
| - <module>natives-v1_7_R3</module> | |
| + <!-- <module>natives-v1_6_R3</module> --> | |
| + <!-- <module>natives-v1_7_R2</module> --> | |
| + <!-- <module>natives-v1_7_R3</module> --> | |
| <module>natives-v1_7_R4</module> | |
| </modules> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cd /tmp | |
| # Clone and install Bukkit | |
| git clone https://github.com/Xephi/Bukkit | |
| cd Bukkit | |
| mvn clean install | |
| cd .. | |
| # Clone and install CraftBukkit | |
| git clone https://github.com/Xephi/CraftBukkit | |
| cd CraftBukkit | |
| mvn clean install | |
| cd .. | |
| # Apply patch for flyingblocksapi to only enable v1_7_4 (1.7.10) support, then package | |
| git clone https://github.com/ase34/flyingblocksapi | |
| cd flyingblocksapi | |
| curl https://gist.githubusercontent.com/ase34/ad09a0b2b38c5321c4cf/raw/e23ce13fae4ddec7f906b85c63cc674e1f6319a0/enable-1_7_R3-only.patch | git apply | |
| mvn clean package | |
| cd .. | |
| # Make test server | |
| mkdir test-server | |
| cd test-server | |
| cp ../CraftBukkit/target/craftbukkit-1.7.10-R0.1-SNAPSHOT.jar . | |
| mkdir plugins | |
| cp ../flyingblocksapi/target/flyingblocksapi-0.2.1-SNAPSHOT.jar plugins/ | |
| # Starting server | |
| # java -jar craftbukkit-1.7.10-R0.1-SNAPSHOT.jar | |
| # eula agreement things and so on... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment