UPnP Port Forwarding (#489)

Co-authored-by: CyberFlame <cyberflameu@gmail.com>
Co-authored-by: granny <granny@pl3x.net>
This commit is contained in:
omega24
2021-10-02 18:53:46 -04:00
committed by GitHub
parent 2e68181235
commit 3e188aac86
2 changed files with 87 additions and 4 deletions

View File

@@ -5,7 +5,7 @@ Subject: [PATCH] Rebrand
diff --git a/build.gradle.kts b/build.gradle.kts
index c1e70d5f127804deabcf626b725390863e896d38..28566e02511fa5542aa1090a15d0ca00a3bef86c 100644
index c1e70d5f127804deabcf626b725390863e896d38..b89c6db4dccc275924c408633061361e36f9db0a 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -32,7 +32,7 @@ repositories {
@@ -17,15 +17,16 @@ index c1e70d5f127804deabcf626b725390863e896d38..28566e02511fa5542aa1090a15d0ca00
implementation("io.papermc.paper:paper-mojangapi:1.17.1-R0.1-SNAPSHOT") // Airplane
// Paper start
implementation("org.jline:jline-terminal-jansi:3.12.1")
@@ -64,6 +64,7 @@ dependencies {
@@ -64,6 +64,8 @@ dependencies {
implementation("co.aikar:cleaner:1.0-SNAPSHOT") // Paper
implementation("io.netty:netty-all:4.1.65.Final") // Paper
+ implementation("cat.inspiracio:rhino-js-engine:1.7.7.1") // Purpur
+ implementation("dev.omega24:upnp4j:1.0") // Purpur
implementation("org.quiltmc:tiny-mappings-parser:0.3.0") // Paper - needed to read mappings for stacktrace deobfuscation
implementation("com.velocitypowered:velocity-native:1.1.0-SNAPSHOT") // Paper
@@ -92,8 +93,7 @@ tasks.jar {
@@ -92,8 +94,7 @@ tasks.jar {
attributes(
"Main-Class" to "org.bukkit.craftbukkit.Main",
"Implementation-Title" to "CraftBukkit",
@@ -35,7 +36,7 @@ index c1e70d5f127804deabcf626b725390863e896d38..28566e02511fa5542aa1090a15d0ca00
"Implementation-Vendor" to date, // Paper
"Specification-Title" to "Bukkit",
"Specification-Version" to project.version,
@@ -234,7 +234,7 @@ tasks.test {
@@ -234,7 +235,7 @@ tasks.test {
fun TaskContainer.registerRunTask(
name: String, block: JavaExec.() -> Unit
): TaskProvider<JavaExec> = register<JavaExec>(name) {