Skip to content

Add /ignore command#30

Open
mdcfe wants to merge 15 commits into
Crypnotic:masterfrom
N3FS:feature/ignores
Open

Add /ignore command#30
mdcfe wants to merge 15 commits into
Crypnotic:masterfrom
N3FS:feature/ignores

Conversation

@mdcfe
Copy link
Copy Markdown
Contributor

@mdcfe mdcfe commented Jun 30, 2019

Add a /ignore command which lets players mark other players as ignored. Running /ignore bob will toggle whether "bob" is ignored or not, but this can be overridden by adding true/false at the end. A list of ignored players is available through the API and by running /ignore with no arguments.

@mdcfe mdcfe changed the title Add /ignore command and prevent PMs to/from ignored players Add /ignore command Jun 30, 2019
@Crypnotic
Copy link
Copy Markdown
Owner

Make sure you're adding the message to the default locale

@mdcfe
Copy link
Copy Markdown
Contributor Author

mdcfe commented Jul 1, 2019

@Crypnotic I've updated the en_us locale file.

Comment thread src/main/resources/locales/en_US.conf Outdated
@LarsArtmann
Copy link
Copy Markdown
Contributor

@md678685 Where you call "ignore_ambiguous_player"? I can not transate it, good.

LarsArtmann pushed a commit to LarsArtmann/Neutron that referenced this pull request Jul 1, 2019
@mdcfe
Copy link
Copy Markdown
Contributor Author

mdcfe commented Jul 1, 2019

@LartyHD ignore_ambiguous_player is shown if there is more than one person whose name matches what the user typed after /ignore. For example, if you run /ignore bob when there are players called "bob1" and "bob2", it will send ignore_ambiguous_player instead of picking one of those players.

@Crypnotic Should the matchPlayer argument parsing be moved to CommandWrapper and used throughout all the commands?

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

Successfully merging this pull request may close these issues.

3 participants