Answers for "spigot api how to change join message"

3

spigot custom join message

@EventHandler
public void onJoin(PlayerJoinEvent e) {
	e.setJoinMessage("Welcome, " + e.getPlayer().getDisplayName());
}
Posted by: Guest on May-14-2020
0

spigot disable join message

@EventHandler
public void onJoin(PlayerJoinEvent e) {
  e.setJoinMessage("");
}
Posted by: Guest on May-23-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language