Secure the servers behind a proxy

Block direct connections to your servers and put your plugins in the right place.

BungeeCord & Velocity Updated 1 min read

Behind a proxy, each server keeps its own public address. Because it is set to online-mode=false, a malicious player who reached it directly could connect under any username, including an admin’s.

The protections

Proxy Protection
Velocity Modern mode with a shared secret: Paper servers refuse any connection that does not come from the proxy. It is the simplest and safest protection.
BungeeCord No built-in secret: use a protection plugin such as “BungeeGuard” on the proxy and the servers, or move to Velocity.

Where to install your plugins

  • On the proxy: what concerns the whole network (login, global punishments, welcome message, anti-bot).
  • On each server: what affects the game (land protection, economy, jobs).
  • If in doubt, the plugin’s page says whether it is meant for Velocity/BungeeCord or for Paper/Spigot.

Plan a fallback lobby in the connection list (try or priorities): if a server restarts, players are sent there instead of being disconnected.

Need a hand?

The Koinswift team answers 7 days a week, by ticket from your client area or on Discord.