forked from GeyserMC/Geyser
* Fix ping passthrough on BungeeCord * Initial implementation of direct ping passthrough * Finished implementation of direct ping passthrough * Remove test for something else entirely * Fix standalone * Add config option for ping passthrough interval * Use GeyserPingInfo to reduce methods * Add querying; modify ping passthrough * Add separate config options for passthrough MOTD and player counts * Convert all plugin bootstraps to use internal ping events to that other plugins can handle ping modifications * Small changes * Fix invalid packet spawm * Add legacy ping passthrough option * Fix BungeeCord * Proper UUID for BungeeCord, thanks @theminecoder * Update config version and messages * Merge master... again * Add missing javadocs and minor changes Co-authored-by: James Harrison <james@fasttortoise.co.uk> Co-authored-by: theminecoder <theminecoder.dev@gmail.com> Co-authored-by: Redned <redned235@gmail.com>
107 lines
4.5 KiB
YAML
107 lines
4.5 KiB
YAML
# --------------------------------
|
|
# Geyser Configuration File
|
|
#
|
|
# A bridge between Minecraft: Bedrock Edition and Minecraft: Java Edition.
|
|
#
|
|
# GitHub: https://github.com/GeyserMC/Geyser
|
|
# Discord: https://discord.geysermc.org/
|
|
# --------------------------------
|
|
|
|
bedrock:
|
|
# The IP address that will listen for connections
|
|
address: 0.0.0.0
|
|
# The port that will listen for connections
|
|
port: 19132
|
|
# The MOTD that will be broadcasted to Minecraft: Bedrock Edition clients. Irrelevant if "passthrough-motd" is set to true
|
|
motd1: "GeyserMC"
|
|
motd2: "Another GeyserMC forced host."
|
|
remote:
|
|
# The IP address of the remote (Java Edition) server
|
|
address: 127.0.0.1
|
|
# The port of the remote (Java Edition) server
|
|
port: 25565
|
|
# Authentication type. Can be offline, online, or floodgate (see https://github.com/GeyserMC/Geyser/wiki/Floodgate).
|
|
auth-type: online
|
|
|
|
# Floodgate uses encryption to ensure use from authorised sources.
|
|
# This should point to the public key generated by Floodgate (Bungee or CraftBukkit)
|
|
# You can ignore this when not using Floodgate.
|
|
floodgate-key-file: public-key.pem
|
|
|
|
## the Xbox/MCPE username is the key for the Java server auth-info
|
|
## this allows automatic configuration/login to the remote Java server
|
|
## if you are brave/stupid enough to put your Mojang account info into
|
|
## a config file
|
|
#userAuths:
|
|
# bluerkelp2: # MCPE/Xbox username
|
|
# email: not_really_my_email_address_mr_minecrafter53267@gmail.com # Mojang account email address
|
|
# password: "this isn't really my password"
|
|
#
|
|
# herpderp40300499303040503030300500293858393589:
|
|
# email: herpderp@derpherp.com
|
|
# password: dooooo
|
|
|
|
# Bedrock clients can freeze when opening up the command prompt for the first time if given a lot of commands.
|
|
# Disabling this will prevent command suggestions from being sent and solve freezing for Bedrock clients.
|
|
command-suggestions: true
|
|
|
|
# The following two options enable "ping passthrough" - the MOTD and/or player count gets retrieved from the Java server.
|
|
# Relay the MOTD from the remote server to Bedrock players.
|
|
passthrough-motd: false
|
|
# Relay the player count and max players from the remote server to Bedrock players.
|
|
passthrough-player-counts: false
|
|
# Enable LEGACY ping passthrough. There is no need to enable this unless your MOTD or player count does not appear properly.
|
|
# This option does nothing on standalone.
|
|
legacy-ping-passthrough: false
|
|
# How often to ping the remote server, in seconds. Only relevant for standalone or legacy ping passthrough.
|
|
# Increase if you are getting BrokenPipe errors.
|
|
ping-passthrough-interval: 3
|
|
|
|
# Maximum amount of players that can connect
|
|
max-players: 100
|
|
|
|
# If debug messages should be sent through console
|
|
debug-mode: false
|
|
|
|
# Thread pool size
|
|
general-thread-pool: 32
|
|
|
|
# Allow third party capes to be visible. Currently allowing:
|
|
# OptiFine capes, LabyMod capes, 5Zig capes and MinecraftCapes
|
|
allow-third-party-capes: true
|
|
|
|
# Allow third party deadmau5 ears to be visible. Currently allowing:
|
|
# MinecraftCapes
|
|
allow-third-party-ears: false
|
|
|
|
# The default locale if we dont have the one the client requested
|
|
default-locale: en_us
|
|
|
|
# Configures if chunk caching should be enabled or not. This keeps an individual
|
|
# record of each block the client loads in. While this feature does allow for a few
|
|
# things such as block break animations to show up in creative mode and among others,
|
|
# it is HIGHLY recommended you disable this on a production environment as it can eat
|
|
# up a lot of RAM. However, when using the Bukkit version of Geyser, support for features
|
|
# or implementations this allows is automatically enabled without the additional caching as
|
|
# Geyser has direct access to the server itself.
|
|
cache-chunks: false
|
|
|
|
# Bedrock prevents building and displaying blocks above Y127 in the Nether -
|
|
# enabling this config option works around that by changing the Nether dimension ID
|
|
# to the End ID. The main downside to this is that the sky will resemble that of
|
|
# the end sky in the nether, but ultimately it's the only way for this feature to work.
|
|
above-bedrock-nether-building: false
|
|
|
|
# bStats is a stat tracker that is entirely anonymous and tracks only basic information
|
|
# about Geyser, such as how many people are online, how many servers are using Geyser,
|
|
# what OS is being used, etc. You can learn more about bStats here: https://bstats.org/.
|
|
# https://bstats.org/plugin/server-implementation/GeyserMC
|
|
metrics:
|
|
# If metrics should be enabled
|
|
enabled: true
|
|
# UUID of server, don't change!
|
|
uuid: generateduuid
|
|
|
|
# DO NOT TOUCH!
|
|
config-version: 3
|