Skip to content

Commit

Permalink
Display your current out/in message in /help log[out/in]message
Browse files Browse the repository at this point in the history
  • Loading branch information
Goodlyay committed Jul 24, 2024
1 parent a509d65 commit 9dec181
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions MCGalaxy/Commands/Chat/CmdLoginMessage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ protected override void SetPlayerData(Player p, string target, string msg) {
public override void Help(Player p) {
p.Message("&T/LoginMessage [player] [message]");
p.Message("&HSets the login message shown for that player.");
p.Message("&HYour login message is currently: &S{0}", PlayerInfo.GetLoginMessage(p));
}
}
}
1 change: 1 addition & 0 deletions MCGalaxy/Commands/Chat/CmdLogoutMessage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ protected override void SetPlayerData(Player p, string target, string msg) {
public override void Help(Player p) {
p.Message("&T/LogoutMessage [player] [message]");
p.Message("&HSets the logout message shown for that player.");
p.Message("&HYour logout message is currently: &S{0}", PlayerInfo.GetLogoutMessage(p));
}
}
}

0 comments on commit 9dec181

Please sign in to comment.