You should read this instead now: https://api.geysermc.org/docs
gamertag = Xbox gamertag
xuid = Xbox XUID in decimal format
uuid = Java Edition UUID with or without dashes
username = An Xbox gamertag or Java Edition username
| Endpoint | GET |
| /* | |
| * Copyright (c) 2024 GeyserMC. http://geysermc.org | |
| * | |
| * Permission is hereby granted, free of charge, to any person obtaining a copy | |
| * of this software and associated documentation files (the "Software"), to deal | |
| * in the Software without restriction, including without limitation the rights | |
| * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| * copies of the Software, and to permit persons to whom the Software is | |
| * furnished to do so, subject to the following conditions: | |
| * |
| import org.spongepowered.gradle.vanilla.repository.MinecraftPlatform | |
| import java.nio.file.Files | |
| import java.nio.file.Path | |
| import java.util.zip.ZipFile | |
| plugins { | |
| java | |
| id("org.spongepowered.gradle.vanilla") version "0.2.1-SNAPSHOT" | |
| } |
| private static AnnotatedType elementType(final AnnotatedType containerType) { | |
| if (!(containerType instanceof AnnotatedParameterizedType)) { | |
| throw new IllegalArgumentException("raw types unsupported"); | |
| } | |
| return ((AnnotatedParameterizedType) containerType).getAnnotatedActualTypeArguments()[0]; | |
| } | |
| private static Type listType(AnnotatedType elementType) { | |
| return TypeFactory.parameterizedClass(List.class, elementType.getType()); | |
| } |
| task<Exec>("runGeyser") { | |
| println("current directory: ${File("").absoluteFile.name}") | |
| val geyser = "geyser/Geyser-Standalone.jar" | |
| val file = File(geyser) | |
| if (file.exists()) { | |
| val joiner = StringJoiner(" ") | |
| for (mapping in File("mappings").listFiles()!!) { | |
| val name = mapping.name |
| package dev.kejona.crossplatforms.serialize; | |
| import io.leangen.geantyref.GenericTypeReflector; | |
| import org.checkerframework.checker.nullness.qual.Nullable; | |
| import org.spongepowered.configurate.objectmapping.meta.Constraint; | |
| import org.spongepowered.configurate.objectmapping.meta.PostProcessor; | |
| import java.lang.annotation.Annotation; | |
| import java.lang.reflect.Type; |
| package dev.projectg.crossplatforms; | |
| import io.leangen.geantyref.TypeToken; | |
| import org.junit.jupiter.api.BeforeAll; | |
| import org.junit.jupiter.api.BeforeEach; | |
| import org.junit.jupiter.api.Test; | |
| import org.junit.jupiter.api.io.TempDir; | |
| import org.spongepowered.configurate.ConfigurateException; | |
| import org.spongepowered.configurate.ConfigurationNode; | |
| import org.spongepowered.configurate.serialize.SerializationException; |
You should read this instead now: https://api.geysermc.org/docs
gamertag = Xbox gamertag
xuid = Xbox XUID in decimal format
uuid = Java Edition UUID with or without dashes
username = An Xbox gamertag or Java Edition username
| Endpoint | GET |
| #!/bin/bash | |
| # April 2021 - Updates Geyser Standalone. | |
| # Dependencies: unzip, and curl or wget. | |
| # Run geyser after the update check (true). | |
| runGeyser='true' | |
| # Prompt to update (false). | |
| updatePrompt='false' | |
| # If you've renamed Geyser.jar to something else, you must update this value. | |
| localJar='Geyser.jar' |