SamsCreations
SamsCreations

The setup runs as one server. If you put it behind a proxy, a few settings have to change so players keep their skins, ranks and UUIDs.

  1. In server.properties, set online-mode=false.
  2. In config/paper-global.yml, under proxies.velocity, set enabled: true and put the forwarding secret from Velocity's forwarding.secret file into secret.
  3. In Velocity's velocity.toml, set player-info-forwarding-mode = "modern".
  4. Restart both.

Firewall

With online-mode=false anyone who can reach the server directly can join with any name. Make sure the server's port is only reachable from your proxy.

More than one server

If you add other servers to the network and want ranks, money or votes shared, point LuckPerms (plugins/LuckPerms/config.yml), EssentialsX economy and VotingPlugin at the same MySQL database on every server. For a single server behind a proxy you don't need this.