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 toggle for "chat" type. #110

Open
NoltoxGit opened this issue Aug 9, 2024 · 1 comment
Open

Add toggle for "chat" type. #110

NoltoxGit opened this issue Aug 9, 2024 · 1 comment
Assignees
Labels
feature New feature or request

Comments

@NoltoxGit
Copy link

Hello,
Is it possible to add a command for toggle staffchat mode please ?

For example i've this:

staff_chat:
  type: "chat"
  enabled: true
  name: "staffchat"
  aliases: [ "sc" ]
  permission: "leaf.staffchat"
  format: "&8[&#e64545&l{server_formatted}&8]&r &6<player>&r &7» &#73a1e6>%message%"
  receive_sound: "BLOCK_NOTE_BLOCK_XYLOPHONE"
  sound: "BLOCK_NOTE_BLOCK_XYLOPHONE"

And it's possible to add a /sctoggle command in this section which will have the option of forcing writing in this chat or not.

@NoltoxGit NoltoxGit added the feature New feature or request label Aug 9, 2024
@Smudgge
Copy link
Owner

Smudgge commented Aug 10, 2024

I have tried to do this before, but as of 1.20 ish velocity didn't let me remove/cancel message events.
However, I can have a look into again at some point 👍

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

No branches or pull requests

2 participants