Skip to content

Commit

Permalink
chore: update velocity, increase compression
Browse files Browse the repository at this point in the history
  • Loading branch information
ZakShearman committed Sep 7, 2024
1 parent 76bd0c3 commit 5fc8ae7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM --platform=$TARGETPLATFORM azul/zulu-openjdk:21-jre
RUN apt-get update && apt-get install -y wget

# We manually set the Velocity version to avoid bugs
ENV VELOCITY_JAR_URL "https://api.papermc.io/v2/projects/velocity/versions/3.3.0-SNAPSHOT/builds/398/downloads/velocity-3.3.0-SNAPSHOT-398.jar"
ENV VELOCITY_JAR_URL "https://api.papermc.io/v2/projects/velocity/versions/3.3.0-SNAPSHOT/builds/428/downloads/velocity-3.3.0-SNAPSHOT-428.jar"
#ENV VIA_VERSION_JAR_URL "https://github.com/ViaVersion/ViaVersion/releases/download/4.9.2/ViaVersion-4.9.2.jar"

RUN mkdir /app
Expand Down
4 changes: 2 additions & 2 deletions run/velocity.toml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ compression-threshold = 256

# How much compression should be done (from 0-9). The default is -1, which uses the
# default level of 6.
compression-level = 4
compression-level = 6

# How fast (in milliseconds) are clients allowed to connect after the last connection? By
# default, this is three seconds. Disable this by setting this to 0.
Expand All @@ -109,7 +109,7 @@ haproxy-protocol = false
tcp-fast-open = true

# Enables BungeeCord plugin messaging channel support on Velocity.
bungee-plugin-message-channel = true
bungee-plugin-message-channel = false

# Shows ping requests to the proxy from clients.
show-ping-requests = false
Expand Down

0 comments on commit 5fc8ae7

Please sign in to comment.