From e0befbca3706782817bfd1b216f83a01ecb3d6ab Mon Sep 17 00:00:00 2001 From: Goodlyay Date: Tue, 16 Jan 2018 19:42:57 -0800 Subject: [PATCH] Global chat message when new player joins (Thanks VenkSociety!) --- MCGalaxy/Player/Player.Login.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/MCGalaxy/Player/Player.Login.cs b/MCGalaxy/Player/Player.Login.cs index 5037da749..d73c48f82 100644 --- a/MCGalaxy/Player/Player.Login.cs +++ b/MCGalaxy/Player/Player.Login.cs @@ -221,6 +221,7 @@ namespace MCGalaxy { DataTable data = Database.Backend.GetRows("Players", "*", "WHERE Name=@0", name); if (data.Rows.Count == 0) { PlayerData.Create(this); + Chat.MessageGlobal(ColoredName + " %Shas connected for the first time!", false); SendMessage("Welcome " + ColoredName + "%S! This is your first visit."); } else { PlayerData.Load(data, this);