Documentation
¶
Overview ¶
Package pin downloads one checksummed Geyser standalone jar.
Index ¶
Constants ¶
View Source
const ( // URL is Geyser standalone 2.12.0 build 1265. The entrypoint must not // follow a floating "latest" URL (MINE-187). URL = "https://download.geysermc.org/v2/projects/geyser/versions/2.12.0/builds/1265/downloads/standalone" SHA256 = "3e235b5112110665a53ed3b42c0b8d514021c50184c01380aa5b01d52ee1f636" MaxBytes = 80 << 20 )
Variables ¶
View Source
var ( FloodgateURL = "https://download.geysermc.org/v2/projects/floodgate/versions/2.2.5/builds/141/downloads/spigot" FloodgateSHA256 = "21570aff9ce17d6983928e8552777760e1ede5050026b04c686b0ae112e6fd7e" FloodgateMaxBytes = int64(20 << 20) )
Floodgate Spigot 2.2.5 build 141. Vars so tests can point Fetch at a local server. Production values stay pinned (MINE-195).
Functions ¶
func Fetch ¶
Fetch writes rawURL to dest when the body matches wantSHA and every redirect stays on download.geysermc.org.
func InstallFloodgate ¶
InstallFloodgate downloads the pinned Floodgate Spigot jar into pluginsDir when that directory exists and the jar is not already there.
func RemoteAuthType ¶
RemoteAuthType defaults to floodgate. Offline auth lets a Bedrock client claim any Java name, so it stays off unless allowOffline is true.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.