custom join message plugin 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());
}