Skip to content

[Feature Suggestion] TogglePM #19

@kchaney1508

Description

@kchaney1508

Scope: include an additional command, "/togglepm" or similar (i.e., '/togglechat', '/togglemsgs', etc), to disable that specific users incoming and outgoing chat messages, including PMs and/or public chat.

Why: personally, I see this feature being useful for SMP communities where players don't want to communicate with each other.

[Example] Permission nodes & commands:

/togglepm; fairychat.command.togglepm - stop incoming/outgoing private messages from the player
/togglechat; fairychat.command.togglechat - stop incoming/outgoing public messages from the player
na; fairychat.bypass.togglepm - bypass a players togglepm status
na; fairychat.bypass.togglechat - bypass a players togglechat status

[Example] Chat messages:

Personal ifToggled
youCantMessagePublic: <red>This message cannot be delivered while your chat is disabled.<red>
youCantMessagePrivate: <red>This message cannot be delivered while your PMs are disabled.<red>

Public ifToggled
youCantDeliverPlayer: <red>You cannot message this player while their PMs are disabled.</red>
youCantMentionPlayer: <red>The player you mentioned has their public chat disabled.</red>

Notes:

  • I can see bypass.togglepm/togglechat being abused by server staff. This issue can be mitigated easily by denying the staff's permission nodes (if OP) or removing them entirely. Otherwise, suggesting a config option to opt-out of this permission node being enabled at all (enabled by default, of course).
  • I also see that staff aren't fit to manually enforce the players command choice (i.e., staff cannot force disable or enable someone elses PM/chat toggle choice).
  • @userName might also want a message if that player has their chat disabled - example above. Unsure if that's worth it, though?

Thanks you for this plugin. It's easy to understand, optimized and a straight arrow. God bless the developer.

Reply here if you need any other suggestions. Don't not have Discord, but my Guilded is https://www.guilded.gg/u/KC1508.

Regards,
KC1508

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions