EssentialsX

EssentialsX

2M Downloads

Add /msgtoggle

FlippantCactus opened this issue ยท 16 comments

commented

Add /msgtoggle which mirrors /tptoggle but for /msg
2015-07-12_23-08-31
Was requested and I'd like to see it too :)

commented

I would like this one too! Great command for big servers!

commented

Might be a stupid question but what is this supposed to do?

commented

Disable the possibility to /msg you I guess, just like /tptoggle disables /tp and /tpa's.

commented

Jesus we need this, any member of staff will know the feeling of people /msg adminusername useless-time-wasting-message

We need this.

commented

Hm yes, sounds like a pretty nice feature :P

commented

Will definitely get added.

commented

Yay :)

commented

Let me know if this works.

commented

It gives me Unknown command...

commented

Try the next build

commented

You missed the message sent to player when doing command: when it's enabled you cannot send messages to player, and when it's disabled you can. Also when it should be disabled I can send messages and it's shown to me that I send them, but user doesn't receive them. Can you add that it sends message to user that they cannot send messages to that player?

commented

The command is sent to the player when running the command. I'm copying msg /ignore behavior for the player sending the message to the user that's ignoring. Generally people ignoring messages don't want people to know that they're ignoring messages.

commented

Ok, but fixed the first bug please.
First message sent to me when entering command for first time is: Receving messages enabled. (but they are disabled)
And when I type it again it shows me: Receving messages disabled. (but they are enabled).

commented

First bug fixed, was due to bad naming on my part.

commented

Essentials forgets you have messages toggled off when you log off, can it remain disabled permanently like /tptoggle does?

commented

@Mikgreg: Might want to just make a new issue in the tracker for that.