how to make a joining plugin in minecraft server 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());
}