mirror of
https://github.com/GeyserMC/Geyser.git
synced 2025-12-30 20:29:19 +00:00
Merge Floodgate changes
This commit is contained in:
@@ -96,6 +96,11 @@ public class GeyserBukkitConfiguration implements IGeyserConfiguration {
|
||||
return config.getBoolean("allow-third-party-capes", true);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getFloodgateKeyFile() {
|
||||
return config.getString("floodgate-key-file", "public-key.pem");
|
||||
}
|
||||
|
||||
@Override
|
||||
public IMetricsInfo getMetrics() {
|
||||
return metricsInfo;
|
||||
|
||||
@@ -97,6 +97,11 @@ public class GeyserBungeeConfiguration implements IGeyserConfiguration {
|
||||
return config.getBoolean("allow-third-party-capes", true);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getFloodgateKeyFile() {
|
||||
return config.getString("floodgate-key-file", "public-key.pem");
|
||||
}
|
||||
|
||||
@Override
|
||||
public BungeeMetricsInfo getMetrics() {
|
||||
return metricsInfo;
|
||||
|
||||
@@ -100,6 +100,11 @@ public class GeyserSpongeConfiguration implements IGeyserConfiguration {
|
||||
return node.getNode("allow-third-party-capes").getBoolean(true);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getFloodgateKeyFile() {
|
||||
return node.getNode("floodgate-key-file").getString("public-key.pem");
|
||||
}
|
||||
|
||||
@Override
|
||||
public SpongeMetricsInfo getMetrics() {
|
||||
return metricsInfo;
|
||||
|
||||
@@ -39,6 +39,9 @@ public class GeyserConfiguration implements IGeyserConfiguration {
|
||||
private BedrockConfiguration bedrock;
|
||||
private RemoteConfiguration remote;
|
||||
|
||||
@JsonProperty("floodgate-key-file")
|
||||
private String floodgateKeyFile;
|
||||
|
||||
private Map<String, UserAuthenticationInfo> userAuths;
|
||||
|
||||
@JsonProperty("ping-passthrough")
|
||||
|
||||
Reference in New Issue
Block a user