Customized mapping of commands to Discord triggers #5019
Unanswered
snurre0
asked this question in
Ideas and Feature Suggestions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
For the Discord plugin, I have the following feature suggestion:
Custom mapping of minecraft commands, to discord triggers, via config. (if it's even possible to do via config only?)
Meaning that you will be able to create new discord triggers with the name of your choice, choose what minecraft command those triggers will run, and set permissions for each trigger to discord users/roles.
I'm not sure what the best config approch will be, but imagine something like this:
custom-commands:
mspt:
command: paper:mspt
enabled: true
hide-command: true
allowed-roles:
- "role1"
- "role2"
jail:
command: essentials:jail %1- (or however you define "all args")
enabled: true
hide-command: false
allowed-roles:
- "role2"
- "role3"
Could also have an "include-arguments: true" option for each command, instead of adding arguments to the command. Or just have all arguments always being passed along with all commands.
This would be a really nice feature for a public smb where a staff team have different roles with different permissions in-game.
/SnuRRe
Beta Was this translation helpful? Give feedback.
All reactions