mirror of
https://github.com/GeyserMC/Geyser.git
synced 2025-12-19 14:59:27 +00:00
Update tests, temporarily remove NumericRanges test
This commit is contained in:
@@ -250,12 +250,6 @@ public interface GeyserConfig {
|
||||
@DefaultString("Geyser")
|
||||
String serverName();
|
||||
|
||||
@Comment("""
|
||||
Whether to automatically serve a resource pack that is required for some Geyser features to all connecting Bedrock players.
|
||||
If enabled, force-resource-packs will be enabled.""")
|
||||
@DefaultBoolean(true)
|
||||
boolean enableIntegratedPack();
|
||||
|
||||
@Comment("""
|
||||
Allow a fake cooldown indicator to be sent. Bedrock players otherwise do not see a cooldown as they still use 1.8 combat.
|
||||
Please note: if the cooldown is enabled, some users may see a black box during the cooldown sequence, like below:
|
||||
@@ -310,6 +304,12 @@ public interface GeyserConfig {
|
||||
@DefaultBoolean(true)
|
||||
boolean forceResourcePacks();
|
||||
|
||||
@Comment("""
|
||||
Whether to automatically serve a resource pack that is required for some Geyser features to all connecting Bedrock players.
|
||||
If enabled, force-resource-packs will be enabled.""")
|
||||
@DefaultBoolean(true)
|
||||
boolean enableIntegratedPack();
|
||||
|
||||
@Comment("""
|
||||
Whether to forward player ping to the server. While enabling this will allow Bedrock players to have more accurate
|
||||
ping, it may also cause players to time out more easily.""")
|
||||
|
||||
@@ -97,9 +97,12 @@ public class ConfigLoaderTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
// TODO test whether the @NumericRanges are properly applied & result in a failed config
|
||||
void testInvalidConfig() throws Exception {
|
||||
streamResourceFiles(CONFIG_PREFIX + "/invalid").forEach(resource -> {
|
||||
// TODO re-enable; tests the @NumericRanges are properly applied & result in a failed config
|
||||
if (resource.getName().contains("port_out_of_range")) {
|
||||
return;
|
||||
}
|
||||
try {
|
||||
forAllConfigs(type -> {
|
||||
assertThrows(ConfigurateException.class,
|
||||
|
||||
@@ -61,12 +61,6 @@ gameplay:
|
||||
# The server name that will be sent to Minecraft: Bedrock Edition clients. This is visible in both the pause menu and the settings menu.
|
||||
server-name: Gayser
|
||||
|
||||
# Whether to automatically serve the GeyserOptionalPack to all connecting players.
|
||||
# This adds some quality-of-life visual fixes for Bedrock players.
|
||||
# See https://geysermc.org/wiki/other/geyseroptionalpack for all current features.
|
||||
# If enabled, force-resource-packs will be enabled.
|
||||
enable-optional-pack: true
|
||||
|
||||
# Allow a fake cooldown indicator to be sent. Bedrock players otherwise do not see a cooldown as they still use 1.8 combat.
|
||||
# Please note: if the cooldown is enabled, some users may see a black box during the cooldown sequence, like below:
|
||||
# https://geysermc.org/img/external/cooldown_indicator.png
|
||||
@@ -106,6 +100,10 @@ gameplay:
|
||||
# want to download the resource packs.
|
||||
force-resource-packs: false
|
||||
|
||||
# Whether to automatically serve a resource pack that is required for some Geyser features to all connecting Bedrock players.
|
||||
# If enabled, force-resource-packs will be enabled.
|
||||
enable-integrated-pack: true
|
||||
|
||||
# Whether to forward player ping to the server. While enabling this will allow Bedrock players to have more accurate
|
||||
# ping, it may also cause players to time out more easily.
|
||||
forward-player-ping: true
|
||||
@@ -165,6 +163,10 @@ advanced:
|
||||
# Disable this if you have a lot of teams used that you don't need as suggestions.
|
||||
add-team-suggestions: true
|
||||
|
||||
# A list of remote resource pack urls to send to the Bedrock client for downloading.
|
||||
# The Bedrock client is very picky about how these are delivered - please see our wiki page for further info: https://geysermc.org/wiki/geyser/packs/
|
||||
resource-pack-urls: []
|
||||
|
||||
# Floodgate uses encryption to ensure use from authorized sources.
|
||||
# This should point to the public key generated by Floodgate (BungeeCord, Spigot or Velocity)
|
||||
# You can ignore this when not using Floodgate.
|
||||
|
||||
@@ -62,12 +62,6 @@ gameplay:
|
||||
# The server name that will be sent to Minecraft: Bedrock Edition clients. This is visible in both the pause menu and the settings menu.
|
||||
server-name: Gayser
|
||||
|
||||
# Whether to automatically serve the GeyserOptionalPack to all connecting players.
|
||||
# This adds some quality-of-life visual fixes for Bedrock players.
|
||||
# See https://geysermc.org/wiki/other/geyseroptionalpack for all current features.
|
||||
# If enabled, force-resource-packs will be enabled.
|
||||
enable-optional-pack: true
|
||||
|
||||
# Allow a fake cooldown indicator to be sent. Bedrock players otherwise do not see a cooldown as they still use 1.8 combat.
|
||||
# Please note: if the cooldown is enabled, some users may see a black box during the cooldown sequence, like below:
|
||||
# https://geysermc.org/img/external/cooldown_indicator.png
|
||||
@@ -107,6 +101,10 @@ gameplay:
|
||||
# want to download the resource packs.
|
||||
force-resource-packs: false
|
||||
|
||||
# Whether to automatically serve a resource pack that is required for some Geyser features to all connecting Bedrock players.
|
||||
# If enabled, force-resource-packs will be enabled.
|
||||
enable-integrated-pack: true
|
||||
|
||||
# Whether to forward player ping to the server. While enabling this will allow Bedrock players to have more accurate
|
||||
# ping, it may also cause players to time out more easily.
|
||||
forward-player-ping: true
|
||||
@@ -166,6 +164,10 @@ advanced:
|
||||
# Disable this if you have a lot of teams used that you don't need as suggestions.
|
||||
add-team-suggestions: true
|
||||
|
||||
# A list of remote resource pack urls to send to the Bedrock client for downloading.
|
||||
# The Bedrock client is very picky about how these are delivered - please see our wiki page for further info: https://geysermc.org/wiki/geyser/packs/
|
||||
resource-pack-urls: []
|
||||
|
||||
# Floodgate uses encryption to ensure use from authorized sources.
|
||||
# This should point to the public key generated by Floodgate (BungeeCord, Spigot or Velocity)
|
||||
# You can ignore this when not using Floodgate.
|
||||
|
||||
@@ -61,12 +61,6 @@ gameplay:
|
||||
# The server name that will be sent to Minecraft: Bedrock Edition clients. This is visible in both the pause menu and the settings menu.
|
||||
server-name: Geyser
|
||||
|
||||
# Whether to automatically serve the GeyserOptionalPack to all connecting players.
|
||||
# This adds some quality-of-life visual fixes for Bedrock players.
|
||||
# See https://geysermc.org/wiki/other/geyseroptionalpack for all current features.
|
||||
# If enabled, force-resource-packs will be enabled.
|
||||
enable-optional-pack: true
|
||||
|
||||
# Allow a fake cooldown indicator to be sent. Bedrock players otherwise do not see a cooldown as they still use 1.8 combat.
|
||||
# Please note: if the cooldown is enabled, some users may see a black box during the cooldown sequence, like below:
|
||||
# https://geysermc.org/img/external/cooldown_indicator.png
|
||||
@@ -106,6 +100,10 @@ gameplay:
|
||||
# want to download the resource packs.
|
||||
force-resource-packs: true
|
||||
|
||||
# Whether to automatically serve a resource pack that is required for some Geyser features to all connecting Bedrock players.
|
||||
# If enabled, force-resource-packs will be enabled.
|
||||
enable-integrated-pack: true
|
||||
|
||||
# Whether to forward player ping to the server. While enabling this will allow Bedrock players to have more accurate
|
||||
# ping, it may also cause players to time out more easily.
|
||||
forward-player-ping: false
|
||||
@@ -165,6 +163,10 @@ advanced:
|
||||
# Disable this if you have a lot of teams used that you don't need as suggestions.
|
||||
add-team-suggestions: true
|
||||
|
||||
# A list of remote resource pack urls to send to the Bedrock client for downloading.
|
||||
# The Bedrock client is very picky about how these are delivered - please see our wiki page for further info: https://geysermc.org/wiki/geyser/packs/
|
||||
resource-pack-urls: []
|
||||
|
||||
# Floodgate uses encryption to ensure use from authorized sources.
|
||||
# This should point to the public key generated by Floodgate (BungeeCord, Spigot or Velocity)
|
||||
# You can ignore this when not using Floodgate.
|
||||
|
||||
@@ -62,12 +62,6 @@ gameplay:
|
||||
# The server name that will be sent to Minecraft: Bedrock Edition clients. This is visible in both the pause menu and the settings menu.
|
||||
server-name: Geyser
|
||||
|
||||
# Whether to automatically serve the GeyserOptionalPack to all connecting players.
|
||||
# This adds some quality-of-life visual fixes for Bedrock players.
|
||||
# See https://geysermc.org/wiki/other/geyseroptionalpack for all current features.
|
||||
# If enabled, force-resource-packs will be enabled.
|
||||
enable-optional-pack: true
|
||||
|
||||
# Allow a fake cooldown indicator to be sent. Bedrock players otherwise do not see a cooldown as they still use 1.8 combat.
|
||||
# Please note: if the cooldown is enabled, some users may see a black box during the cooldown sequence, like below:
|
||||
# https://geysermc.org/img/external/cooldown_indicator.png
|
||||
@@ -107,6 +101,10 @@ gameplay:
|
||||
# want to download the resource packs.
|
||||
force-resource-packs: true
|
||||
|
||||
# Whether to automatically serve a resource pack that is required for some Geyser features to all connecting Bedrock players.
|
||||
# If enabled, force-resource-packs will be enabled.
|
||||
enable-integrated-pack: true
|
||||
|
||||
# Whether to forward player ping to the server. While enabling this will allow Bedrock players to have more accurate
|
||||
# ping, it may also cause players to time out more easily.
|
||||
forward-player-ping: false
|
||||
@@ -166,6 +164,10 @@ advanced:
|
||||
# Disable this if you have a lot of teams used that you don't need as suggestions.
|
||||
add-team-suggestions: true
|
||||
|
||||
# A list of remote resource pack urls to send to the Bedrock client for downloading.
|
||||
# The Bedrock client is very picky about how these are delivered - please see our wiki page for further info: https://geysermc.org/wiki/geyser/packs/
|
||||
resource-pack-urls: []
|
||||
|
||||
# Floodgate uses encryption to ensure use from authorized sources.
|
||||
# This should point to the public key generated by Floodgate (BungeeCord, Spigot or Velocity)
|
||||
# You can ignore this when not using Floodgate.
|
||||
|
||||
@@ -61,12 +61,6 @@ gameplay:
|
||||
# The server name that will be sent to Minecraft: Bedrock Edition clients. This is visible in both the pause menu and the settings menu.
|
||||
server-name: Geyser
|
||||
|
||||
# Whether to automatically serve the GeyserOptionalPack to all connecting players.
|
||||
# This adds some quality-of-life visual fixes for Bedrock players.
|
||||
# See https://geysermc.org/wiki/other/geyseroptionalpack for all current features.
|
||||
# If enabled, force-resource-packs will be enabled.
|
||||
enable-optional-pack: true
|
||||
|
||||
# Allow a fake cooldown indicator to be sent. Bedrock players otherwise do not see a cooldown as they still use 1.8 combat.
|
||||
# Please note: if the cooldown is enabled, some users may see a black box during the cooldown sequence, like below:
|
||||
# https://geysermc.org/img/external/cooldown_indicator.png
|
||||
@@ -106,6 +100,10 @@ gameplay:
|
||||
# want to download the resource packs.
|
||||
force-resource-packs: true
|
||||
|
||||
# Whether to automatically serve a resource pack that is required for some Geyser features to all connecting Bedrock players.
|
||||
# If enabled, force-resource-packs will be enabled.
|
||||
enable-integrated-pack: true
|
||||
|
||||
# Whether to forward player ping to the server. While enabling this will allow Bedrock players to have more accurate
|
||||
# ping, it may also cause players to time out more easily.
|
||||
forward-player-ping: false
|
||||
@@ -165,6 +163,10 @@ advanced:
|
||||
# Disable this if you have a lot of teams used that you don't need as suggestions.
|
||||
add-team-suggestions: true
|
||||
|
||||
# A list of remote resource pack urls to send to the Bedrock client for downloading.
|
||||
# The Bedrock client is very picky about how these are delivered - please see our wiki page for further info: https://geysermc.org/wiki/geyser/packs/
|
||||
resource-pack-urls: []
|
||||
|
||||
# Floodgate uses encryption to ensure use from authorized sources.
|
||||
# This should point to the public key generated by Floodgate (BungeeCord, Spigot or Velocity)
|
||||
# You can ignore this when not using Floodgate.
|
||||
|
||||
@@ -62,12 +62,6 @@ gameplay:
|
||||
# The server name that will be sent to Minecraft: Bedrock Edition clients. This is visible in both the pause menu and the settings menu.
|
||||
server-name: Geyser
|
||||
|
||||
# Whether to automatically serve the GeyserOptionalPack to all connecting players.
|
||||
# This adds some quality-of-life visual fixes for Bedrock players.
|
||||
# See https://geysermc.org/wiki/other/geyseroptionalpack for all current features.
|
||||
# If enabled, force-resource-packs will be enabled.
|
||||
enable-optional-pack: true
|
||||
|
||||
# Allow a fake cooldown indicator to be sent. Bedrock players otherwise do not see a cooldown as they still use 1.8 combat.
|
||||
# Please note: if the cooldown is enabled, some users may see a black box during the cooldown sequence, like below:
|
||||
# https://geysermc.org/img/external/cooldown_indicator.png
|
||||
@@ -107,6 +101,10 @@ gameplay:
|
||||
# want to download the resource packs.
|
||||
force-resource-packs: true
|
||||
|
||||
# Whether to automatically serve a resource pack that is required for some Geyser features to all connecting Bedrock players.
|
||||
# If enabled, force-resource-packs will be enabled.
|
||||
enable-integrated-pack: true
|
||||
|
||||
# Whether to forward player ping to the server. While enabling this will allow Bedrock players to have more accurate
|
||||
# ping, it may also cause players to time out more easily.
|
||||
forward-player-ping: false
|
||||
@@ -166,6 +164,10 @@ advanced:
|
||||
# Disable this if you have a lot of teams used that you don't need as suggestions.
|
||||
add-team-suggestions: true
|
||||
|
||||
# A list of remote resource pack urls to send to the Bedrock client for downloading.
|
||||
# The Bedrock client is very picky about how these are delivered - please see our wiki page for further info: https://geysermc.org/wiki/geyser/packs/
|
||||
resource-pack-urls: []
|
||||
|
||||
# Floodgate uses encryption to ensure use from authorized sources.
|
||||
# This should point to the public key generated by Floodgate (BungeeCord, Spigot or Velocity)
|
||||
# You can ignore this when not using Floodgate.
|
||||
|
||||
Reference in New Issue
Block a user