DiscordSRV

DiscordSRV

86.8k Downloads

Add the use of / in chat console.

Deeptanil opened this issue ยท 14 comments

commented

Why?

Cuz y not, jk.
Because it's just convenient.

What and How?

Add use of / in chat Channel.

Are there alternatives?

No.

Checks

  • I have used the search at least once to check if my idea has already been suggested and perhaps already implemented.

Anything else

Nothing else.

commented

Do you mean having Minecraft commands as slash commands?

commented

I mean,
In the "console chat" in discord, we do not need to use "/". I'm suggesting that / and without / to be compatible in console chat channel.

commented

Why would that be useful?

commented

Convince... Also just sometimes when I forget that / isn't needed... I gotta retype or copy it.
So just convince.

commented

While I'm not for silently ignoring leading slashes (some commands specifically need them) we could add a mode that more closely mirrors the behavior of most online consoles.

If a slash isn't used, it can just be interpreted as a say command. Otherwise, if there are slashes, run it as a command as normal.

commented

Or we could have both....
If console recived a message and doesn't have /, use that as a command.
If console does recive with /, run the command too.

This also makes WorldEdit commands easier, but that's not why I asked for it. It's pretty okay like this... But just convience..

commented

Also is it difficult to make slash commands? Is it possible to make slash commands for the custom commands we make? If no I won't open a suggestion for it... And tbh it's not needed. The plugin already is doing rely well and feature packed :D

commented

I would personally not make the messages not starting with / not work as commands, this is how the actual console works after all. Additionally I think using / might be cumbersome to use because of Discord slash commands. Although I'm not completely against adding this, will need some thought though

commented

Or we could have both....

If console recived a message and doesn't have /, use that as a command.

If console does recive with /, run the command too.

This also makes WorldEdit commands easier, but that's not why I asked for it. It's pretty okay like this... But just convience..

What you're suggesting with making world edit commands "easier" isn't true. Doing what you're suggesting would mean either

  • running everything with and without a leading slash, leading to duplicates
  • requiring three slashes to run a WorldEdit command, i.e. ///command
commented

Yes, I think I understand these complications, the more I think of it... Let it be as it is xD

commented

I have already been thinking of ways to utilize slash commands for running Minecraft commands, however the 100 + 100 (server + global) limit somewhat limits it in that you wouldn't be able to have all Minecraft commands as their slash commands.

Edit: not on any feature request, but one could be opened

commented

No no no I don't mean minecraft commands! That's gotta be the server ops brain xD
I'm talking about the custom commands... The "DiscordCannedResponses"

Also a bug?
Screenshot_20210930-220807_Chrome

commented

Doesn't show the img (bottom of the screenshot)

Gtg now, continue this tmr! Thanks

commented

#384 / yeah canned responses will probably be converted entirely to slash commands or at minimum have the option to be slash commands in the future

The Spigot page is due to be completely redone at somepoint, but thanks for letting us know