Compare commits

...

6 Commits

Author SHA1 Message Date
James E. A b1cb2b5f07
Merge 8d2db2e4e2 into 8addcadb71 2024-05-05 10:36:08 +01:00
AJ Ferguson 8addcadb71
Bump MCPL to increase NBT max depth (#4639) 2024-05-05 02:24:28 -04:00
Camotoy 5770c96f48
Indicate support for 1.20.81 2024-05-05 01:29:37 -04:00
AJ Ferguson b8fe71a8bc
Bump MCPL to fix ClientboundExplodePacket (#4635) 2024-05-04 01:06:59 -04:00
James Edington 8d2db2e4e2 Syntax tweak 2021-02-21 18:50:29 -06:00
James Edington d2c2dd54e4 Add Dockerfile for standalone use
Example usage:
	docker build -t geyser -f standalone.Dockerfile https://github.com/GeyserMC/Geyser.git
	docker run -p 19132:19132/udp -v `pwd`/geyser:/var/lib/geyser geyser
2021-01-27 16:14:44 -07:00
5 changed files with 30 additions and 4 deletions

2
.dockerignore Normal file
View File

@ -0,0 +1,2 @@
.dockerignore
*Dockerfile

View File

@ -14,7 +14,7 @@ The ultimate goal of this project is to allow Minecraft: Bedrock Edition users t
Special thanks to the DragonProxy project for being a trailblazer in protocol translation and for all the team members who have joined us here!
### Currently supporting Minecraft Bedrock 1.20.40 - 1.20.80 and Minecraft Java 1.20.5/1.20.6
### Currently supporting Minecraft Bedrock 1.20.40 - 1.20.80/81 and Minecraft Java 1.20.5/1.20.6
## Setting Up
Take a look [here](https://wiki.geysermc.org/geyser/setup/) for how to set up Geyser.

View File

@ -50,7 +50,9 @@ public final class GameProtocol {
* Default Bedrock codec that should act as a fallback. Should represent the latest available
* release of the game that Geyser supports.
*/
public static final BedrockCodec DEFAULT_BEDROCK_CODEC = CodecProcessor.processCodec(Bedrock_v671.CODEC);
public static final BedrockCodec DEFAULT_BEDROCK_CODEC = CodecProcessor.processCodec(Bedrock_v671.CODEC.toBuilder()
.minecraftVersion("1.20.81")
.build());
/**
* A list of all supported Bedrock versions that can join Geyser
@ -77,7 +79,7 @@ public final class GameProtocol {
.minecraftVersion("1.20.70/1.20.73")
.build()));
SUPPORTED_BEDROCK_CODECS.add(CodecProcessor.processCodec(DEFAULT_BEDROCK_CODEC.toBuilder()
.minecraftVersion("1.20.80")
.minecraftVersion("1.20.80/1.20.81")
.build()));
}

View File

@ -15,7 +15,7 @@ protocol-connection = "3.0.0.Beta1-20240411.165033-128"
raknet = "1.0.0.CR3-20240416.144209-1"
blockstateupdater="1.20.80-20240411.142413-1"
mcauthlib = "d9d773e"
mcprotocollib = "9b96ebda" # Revert from jitpack after release
mcprotocollib = "1234962" # Revert from jitpack after release
adventure = "4.14.0"
adventure-platform = "4.3.0"
junit = "5.9.2"

22
standalone.Dockerfile Normal file
View File

@ -0,0 +1,22 @@
FROM maven:3.6-jdk-11 as build
COPY . .
RUN git submodule update --init --recursive &&\
mvn clean install
FROM adoptopenjdk/openjdk11:alpine-jre
COPY --from=build ./bootstrap/standalone/target /opt/Geyser
ARG UID=1000
ARG GID=1000
RUN adduser --system --shell /bin/false -u $UID -g $GID --home /opt/Geyser geyser
RUN mkdir -v /var/lib/geyser && chown -v -R ${UID}:0 /var/lib/geyser
VOLUME /var/lib/geyser
USER geyser
WORKDIR /var/lib/geyser
EXPOSE 19132/udp
CMD ["java", "-jar", "/opt/Geyser/Geyser.jar"]