StashWarning works great but seems to fires even when players are members of a team and
"Ignore players in the same team": true,is set in the config
"Ignore players in the same team": true,is set in the config
Team system has been redone several times since this was implemented. There is likely a hook that needs to be changed to get this working again like it used to.
This is the section that talks about this flag if any dev wants to take a stab at this?
private bool IsTeamMember(BasePlayer player, StashContainer stash)
{
if ((bool)Config[IGNORE_SAME_TEAM]) return false;
RelationshipManager.PlayerTeam team = RelationshipManager.Instance.FindTeam(player.currentTeam);
return team != null && team.members.Where(member => member != player.userID).Any(member => stash.OwnerID == member);
} Hello,
I'm sorry to be the one pointing that out, but it seems we have a language issue here.
I think "Ignore players in the same team" means ""Ignore the fact that the player that found the stash is in the same team as the owner"
In your configuration, put :
"Ignore players in the same team": false,
And have a try,