1.8.8 check whitelist on other server

Discussion in 'Spigot Plugin Development' started by Kamilpro04, Jan 26, 2020.

  1. Hello, how to check if another server has a whitelist (for example, with a sockets, but not by entering and downloading the kick message)?
     
  2. You said the answer yourself. You'd need a plugin on the target server that would relay that whitelist data through some sort of socket. You could expose some sort of REST API or maybe use WebSockets (albeit a bit overkill.)

    Be aware that if you use plugin messaging channels for this in the case of a BungeeCord setup, the target server needs to have at least one player online to piggyback the connection off of. If you don't run the other server though, attempting to join and seeing if you get kicked is the only way.