how to send custom join message spigot development code example
Example: spigot custom join message
@EventHandler
public void onJoin(PlayerJoinEvent e) {
e.setJoinMessage("Welcome, " + e.getPlayer().getDisplayName());
}
@EventHandler
public void onJoin(PlayerJoinEvent e) {
e.setJoinMessage("Welcome, " + e.getPlayer().getDisplayName());
}