[Fab] How to partially stop begging on your server!
Alright this is pretty straight forward so navigate to wServer/networking/handlers/PlayerTextHandler.cs
Now find the else statement that contains
Code:
if (client.Player.Muted)
{
client.Player.SendInfo("{\"key\":\"server.muted\"}");
return;
}
and just add this after it
Code:
if (packet.Tex*****ntains("need") && packet.Tex*****ntains("items") ||
packet.Tex*****ntains("free") && packet.Tex*****ntains("items") ||
packet.Tex*****ntains("give") && packet.Tex*****ntains("items"))
{
client.Player.SendError("Don't beg!");
return;
}
feel free to edit the if statement to your needs (: