Rework how connections work to remove the use for the transfer packets and multiple ports (#30)

* Move to a more linear connection flow and remove the need for a second port

* Update configs

* Remove un-used remote address config options

* Update docker file

* Start internal Geyser on boot

* Fix srv resolving

* Fix inventory data when loading into the server
This commit is contained in:
rtm516 2021-06-16 12:18:07 +01:00 committed by GitHub
commit eeadde0550
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 178 additions and 278 deletions

View file

@ -2,5 +2,4 @@ FROM openjdk:8-jre-slim
RUN mkdir /gsc
WORKDIR /gsc
EXPOSE 19132/udp
EXPOSE 19133/udp
CMD ["java", "-Xms1G", "-jar", "GeyserConnect.jar"]

View file

@ -6,5 +6,5 @@ This contains the docker image and a basic way of running GeyserConnect
2. Build the docker file using `docker build -t geyser-connect .`
3. Start geyser using this:
```
docker run --name "geyser-c" -d --restart always -p 19132:19132/udp -p 19133:19133/udp -v $(pwd)/data:/gsc geyser-connect
docker run --name "geyser-c" -d --restart always -p 19132:19132/udp -v $(pwd)/data:/gsc geyser-connect
```