Skip to main content

Modded Server Support

Gate provides excellent compatibility with modded Minecraft servers including Fabric and NeoForge. This guide will help you set up Gate to work seamlessly with your modded servers using Velocity modern forwarding.

Overview

Gate implements the same forwarding protocols as Velocity, providing comprehensive support for modded servers:

Forwarding Modes Supported

  • Velocity modern forwarding - Secure binary format with MAC authentication (Minecraft 1.13+)
  • Legacy BungeeCord forwarding - Compatible with older versions and servers
  • BungeeGuard forwarding - Enhanced security over legacy forwarding
  • No forwarding - Basic proxy functionality without player data forwarding
For complete details on player information forwarding, see the Velocity documentation.

Fabric Server Setup

Gate works with Fabric out of the box, but you should add support for player info forwarding and modded content compatibility.

Required Mods

FabricProxy-Lite (For Velocity Forwarding)

Always download the mod version that matches your Minecraft server version. Check the compatibility table on the mod page.
  • Purpose: Improves support for Minecraft features extended by mods (custom argument types, etc.)
  • Download: CrossStitch on Modrinth
  • Maintained by: Velocity project (official)

Configuration

1

Configure Fabric server

Edit server.properties:
2

Configure FabricProxy-Lite

Create or edit config/FabricProxy-Lite.toml:
If the config file doesn’t appear after restart, you can use environment variables:
3

Configure Gate

Edit your Gate config.yml:
4

Install mods and start

  1. Install FabricProxy-Lite and CrossStitch in the server’s mods/ folder
  2. Ensure Fabric API is installed (required dependency)
  3. Start Gate, then start your Fabric server
The secret in FabricProxy-Lite.toml must match the velocitySecret in Gate’s config.yml.

NeoForge Server Setup

Gate works with NeoForge servers using the Proxy-Compatible-Forge mod for Velocity modern forwarding.

Required Mods

Proxy-Compatible-Forge (For Velocity Forwarding)

Ensure you download the correct mod version for your NeoForge server version. Check the releases page for compatibility.

Configuration

1

Configure NeoForge server

Edit server.properties:
2

Configure Proxy-Compatible-Forge

Create or edit config/pcf-common.toml:
3

Configure Gate

Edit your Gate config.yml:
4

Install mod and start

  1. Install Proxy-Compatible-Forge in the server’s mods/ folder
  2. Start Gate, then start your NeoForge server

Multi-Server Setup

You can run both Fabric and NeoForge servers behind the same Gate proxy:
All servers in a network should use the same velocitySecret for consistency.

Comparison Table

Troubleshooting

Possible causes:
  • Server not running on configured port
  • Firewall blocking connections
  • Server startup errors
Solutions:
  1. Check server ports with netstat -tlnp | grep java
  2. Verify firewall allows connections: sudo ufw status
  3. Check server logs for startup errors
Symptoms:
  • “Failed to verify username” errors
  • Players kicked during login
  • UUID conflicts
Solutions:
  1. Secret mismatch - Ensure velocitySecret matches in both Gate and mod configs
  2. Online mode - Must be false on backend servers when using forwarding
  3. Mod compatibility - Verify the forwarding mod supports your server version
Incompatible Mods:
  • NeoVelocity 1.2.4 - Incompatible with NeoForge 21.8.x
  • NeoForwarding 1.3.0 - Only supports older NeoForge versions
Solution: Use Proxy-Compatible-Forge instead for modern NeoForge versions.

Security Considerations

When running modded servers:
  • Use Velocity forwarding when possible for better security than legacy forwarding
  • Configure firewalls to block direct access to backend servers (only allow from Gate IP)
  • Keep secrets private - Never commit velocitySecret to version control
  • Regular updates - Keep Gate and mods updated for security patches
Never use the same velocitySecret across different networks or environments (dev/prod).

Getting Help

If you encounter issues:
  1. Check the logs - Both Gate and server logs often contain helpful error messages
  2. Verify versions - Ensure compatibility between Gate, server version, and mods
  3. Community support - Join the Gate Discord for general questions
  4. Report bugs - For reproducible bugs with logs and steps, use Gate GitHub Issues
This guide covers the most common modded server setups. For specific mod compatibility questions, consult the mod’s documentation or community.