Skip to content

Commit

Permalink
Add more configuration options
Browse files Browse the repository at this point in the history
  • Loading branch information
Laica-Lunasys committed Jul 22, 2024
1 parent 6d0c54e commit 3652298
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions velocity/autoconfig.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,9 @@ echo "=> Rewrite settings..."
echo -ne "${VELOCITY_SECRET}" > /app/server/forwarding.secret

rewriteSettings "bind" "\"${BIND_ADDRESS:-0.0.0.0}:${PORT:-25565}\""
rewriteSettings "motd" "\"${MOTD:-A Velocity Server}\""
rewriteSettings "show-max-players" "${MAX_PLAYERS:-5000}"
rewriteSettings "online-mode" "${ONLINE_MODE:-true}"
rewriteSettings "prevent-client-proxy-connections" "${PREVENT_PROXY_CONNECTION:-true}"
rewriteSettings "player-info-forwarding-mode" "\"${PLAYER_INFO_FORWARDDING_MODE:-modern}\""
rewriteSettings "ping-passthrough" "\"${PING_PASSTHROUGH:-ALL}\""

0 comments on commit 3652298

Please sign in to comment.