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

Add blocked commands when muted #57

Closed
Eufranio opened this issue Mar 2, 2017 · 3 comments
Closed

Add blocked commands when muted #57

Eufranio opened this issue Mar 2, 2017 · 3 comments

Comments

@Eufranio
Copy link

Eufranio commented Mar 2, 2017

Some plugins have commands like /g and /l, where they can send messages in a specific channel. Would be nice if you add a config node that allow us to write the chat commands, so when a player gets muted, they wont be able to use the command.

How would that work?
In config, we put the commands that should be blocked on mute.
If a player is muted, he will not be able to run those commands. Instead, they would get the muted message.

@dutchy1001
Copy link
Contributor

There is already a section added for this in the config:

# This commands will be disabled for muted players
# A player woun't be able to bypass with eg "/minectaft:me"
MuteCommands:
- 'me'
- 'say'
- 'r'
- 'msg'

@DevLeoko
Copy link
Owner

Thanks for the great support @dutchy1001

@Eufranio if you don't reply to this issue within 48 hours it will be closed

@Eufranio
Copy link
Author

Oh, forgot about this, and it works, thanks!

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

No branches or pull requests

3 participants