3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-09-28 06:01:10 +02:00

Move platforms for isolation

Dieser Commit ist enthalten in:
Tim203 2024-02-18 19:03:14 +01:00
Ursprung f1f30e5d19
Commit bc301fba60
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
56 geänderte Dateien mit 28 neuen und 8 gelöschten Zeilen

Datei anzeigen

@ -144,6 +144,16 @@ public class GeyserBungeePingPassthrough implements IGeyserPingPassthrough, List
return false; return false;
} }
@Override
public boolean isTransferred() {
return false;
}
@Override
public CompletableFuture<byte[]> retrieveCookie(String s) {
return null;
}
@Override @Override
public InetSocketAddress getAddress() { public InetSocketAddress getAddress() {
return remote; return remote;

Datei anzeigen

@ -21,9 +21,12 @@ java {
val platforms = setOf( val platforms = setOf(
projects.fabric, projects.fabric,
projects.bungeecord, projects.bungeecord,
projects.bungeecordBase,
projects.spigot, projects.spigot,
projects.spigotBase,
projects.standalone, projects.standalone,
projects.velocity projects.velocity,
projects.velocityBase
).map { it.dependencyProject } ).map { it.dependencyProject }
subprojects { subprojects {

Datei anzeigen

@ -59,16 +59,23 @@ rootProject.name = "geyser-parent"
include(":ap") include(":ap")
include(":api") include(":api")
include(":bungeecord")
include(":fabric") include(":fabric")
include(":spigot")
include(":standalone") include(":standalone")
include(":velocity")
include(":core") include(":core")
// Specify project dirs // Specify project dirs
project(":bungeecord").projectDir = file("bootstrap/bungeecord")
project(":fabric").projectDir = file("bootstrap/fabric")
project(":spigot").projectDir = file("bootstrap/spigot")
project(":standalone").projectDir = file("bootstrap/standalone") project(":standalone").projectDir = file("bootstrap/standalone")
project(":velocity").projectDir = file("bootstrap/velocity")
//todo see what's possible with fabric
project(":fabric").projectDir = file("bootstrap/fabric")
arrayOf("bungeecord", "spigot", "velocity").forEach { platform ->
arrayOf("base", "isolated").forEach {
var id = ":$platform-$it"
// isolated is the new default
if (id.endsWith("-isolated")) id = ":$platform"
include(id)
project(id).projectDir = file("bootstrap/$platform/$it")
}
}