By default, servers connected under BungeeCord will not display the IP address of the player, but rather, the IP address of the BungeeCord server, since BungeeCord acts as a proxy and sits between the player and the server they are connected to.
For the server to correctly identify the player's IP address, IP forwarding needs to be enabled. You can follow these steps:
- In your BungeeCord server, navigate to Files > Config Files
- Select the option titled BungeeCord Config
- Locate the option ip_forward and set it to true
- Press Save and restart your server
If you see the error If you wish to use IP forwarding, please enable it in your BungeeCord config as well!
, this would suggest you are attempting to connect directly to the Spigot server instead of the BungeeCord proxy. You should always connect to your BungeeCord server IP. If you wish to connect to a server directly within your network, you can use the forced_hosts configuration option in your BungeeCord config.yml file.