NoPlayerMessage message = new NoPlayerMessage("Come back later!", ChatColor.Yellow); Server.SetNoPlayerMessage(message);
NoPlayerMessage message = new NoPlayerMessage(); message.Text = "No one is currently playing :("; message.Color = ChatColor.Red; Server.SetNoPlayerMessage(message);This code will set the message displayed when there are no players online to "No one is currently playing :(", and color it red. To use fCraft Player NoPlayerMessage, you need to import the fCraft library, which is available on NuGet at https://www.nuget.org/packages/fCraft/.