mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-22 12:05:51 -04:00
Global chat message when new player joins
(Thanks VenkSociety!)
This commit is contained in:
parent
58c1ae0649
commit
e0befbca37
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user