fix join message

This commit is contained in:
Shaun Bennett 2014-12-23 02:02:59 -06:00
parent 07d82b8206
commit 6843901ef3

View File

@ -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);