forked from GeyserMC/Geyser
99e72f35b3
* send resource packs A lot of this code is nukkit-credits in the classes * send resource packs A lot of this code is nukkit-credits in the classes * Remove unnecessary code/debugs * use separately generated hashes * Updated mappings and added .mcpack support * "packs" directory auto-create (#484) * "packs" directory auto-create * cleaned indentation in ResourcePack.java * Cleaned ResourcePack.java * Another cleanup I hate editor on github. * Yet another * Another indentation cleanup * Fix resource pack loading (cherry picked from commitf93b07491e
) * Move back to internal sha256 hashing (cherry picked from commit812a3d82b2
) * Add resource pack loading back after merge * Add comments, config option and removed unused files * Fix packs folder location and cleanup code * Move to better options for the client * Fix typos in comments * Fix pack loading * Try to make it compile * Final touches? * Add Javadoc for MathUtils#constrain Co-authored-by: EOT3000 <43685885+EOT3000@users.noreply.github.com> Co-authored-by: Vesek <61123478+Vesek@users.noreply.github.com> Co-authored-by: Heath123 <heath.mitchell27@gmail.com> Co-authored-by: Camotoy <20743703+DoctorMacc@users.noreply.github.com>
146 lines
6.8 KiB
YAML
146 lines
6.8 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.
|
|
# There is no reason to change this unless you want to limit what IPs can connect to your server.
|
|
address: 0.0.0.0
|
|
# The port that will listen for connections
|
|
port: 19132
|
|
# Some hosting services change your Java port everytime you start the server and require the same port to be used for Bedrock.
|
|
# This option makes the Bedrock port the same as the Java port every time you start the server.
|
|
# This option is for the plugin version only.
|
|
clone-remote-port: false
|
|
# The MOTD that will be broadcasted to Minecraft: Bedrock Edition clients. This is irrelevant if "passthrough-motd" is set to true
|
|
motd1: "GeyserMC"
|
|
motd2: "Another GeyserMC forced host."
|
|
# 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"
|
|
remote:
|
|
# The IP address of the remote (Java Edition) server
|
|
# If it is "auto", for standalone version the remote address will be set to 127.0.0.1,
|
|
# for plugin versions, Geyser will attempt to find the best address to connect to.
|
|
address: auto
|
|
# The port of the remote (Java Edition) server
|
|
# For plugin versions, if address has been set to "auto", the port will also follow the server's listening port.
|
|
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 three options enable "ping passthrough" - the MOTD, player count and/or protocol name gets retrieved from the Java server.
|
|
# Relay the MOTD from the remote server to Bedrock players.
|
|
passthrough-motd: false
|
|
# Relay the protocol name (e.g. BungeeCord [X.X], Paper 1.X) - only really useful when using a custom protocol name!
|
|
# This will also show up on sites like MCSrvStatus. <mcsrvstat.us>
|
|
passthrough-protocol-name: 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
|
|
|
|
# Allow a fake cooldown indicator to be sent. Bedrock players do not see a cooldown as they still use 1.8 combat
|
|
show-cooldown: true
|
|
|
|
# The default locale if we dont have the one the client requested. Uncomment to not use the default system language.
|
|
# 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 Spigot 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
|
|
|
|
# Specify how many days images will be cached to disk to save downloading them from the internet.
|
|
# A value of 0 is disabled. (Default: 0)
|
|
cache-images: 0
|
|
|
|
# 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
|
|
|
|
# Force clients to load all resource packs if there are any.
|
|
# If set to false it allows the user to disconnect from the server if they don't
|
|
# want to download the resource packs
|
|
force-resource-packs: true
|
|
|
|
# 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
|
|
|
|
# ADVANCED OPTIONS - DO NOT TOUCH UNLESS YOU KNOW WHAT YOU ARE DOING!
|
|
|
|
# Geyser updates the Scoreboard after every Scoreboard packet, but when Geyser tries to handle
|
|
# a lot of scoreboard packets per second can cause serious lag.
|
|
# This option allows you to specify after how many Scoreboard packets per seconds
|
|
# the Scoreboard updates will be limited to four updates per second.
|
|
scoreboard-packet-threshold: 20
|
|
|
|
# Allow connections from ProxyPass and Waterdog.
|
|
# See https://www.spigotmc.org/wiki/firewall-guide/ for assistance - use UDP instead of TCP.
|
|
enable-proxy-connections: false
|
|
|
|
# The internet supports a maximum MTU of 1492 but could cause issues with packet fragmentation.
|
|
# 1400 is the default.
|
|
# mtu: 1400
|
|
|
|
config-version: 4
|