fix join message
This commit is contained in:
parent
07d82b8206
commit
6843901ef3
@ -440,6 +440,9 @@ public class GameHostManager implements Listener
|
||||
@EventHandler
|
||||
public void playerJoin(PlayerJoinEvent event)
|
||||
{
|
||||
if (!isPrivateServer())
|
||||
return;
|
||||
|
||||
String serverName = Manager.GetPlugin().getConfig().getString("serverstatus.name");
|
||||
UtilPlayer.message(event.getPlayer(), ChatColor.BOLD + "Welcome to Mineplex Private Servers!");
|
||||
UtilPlayer.message(event.getPlayer(), C.Bold + "Friends can connect with " + C.cGreen + C.Bold + "/server " + serverName);
|
||||
|
Loading…
Reference in New Issue
Block a user