Hello! Thank you for your plugin!
It would be nice, if you add limits for in-game teams. Something like:
It would be nice, if you add limits for in-game teams. Something like:
private object OnTeamInvite(BasePlayer inviter, BasePlayer target)
{
if (inviter.Team?.members?.Count >= Configuration.MaxPlayers)
{
SendReply(inviter, string.Format("Max players in group: {0}!", Configuration.MaxPlayers));
return false;
}
return null;
}Thanks in advance!