Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Player Tracker Plugin - Exclude "__MACHINA__" and/or Team "NEUTRAL" #1322

Open
jmansson19 opened this issue Jun 3, 2023 · 1 comment
Open

Comments

@jmansson19
Copy link

jmansson19 commented Jun 3, 2023

There is no reason to track the "player" named "__MACHINA__" in the NEUTRAL team. It just causes mess on the map.

The "quick and dirty" solution would be to change this:

  case 'PLAYER':
         plrname = markup[1].plain;

into this:

  case 'PLAYER':
    if(markup[1].team === "RESISTANCE" || markup[1].team === "ENLIGHTENED") {
      plrname = markup[1].plain;
    } 

But there is probably a better way solving it...

@Suburbanno
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants