mc-server-wrapper icon indicating copy to clipboard operation
mc-server-wrapper copied to clipboard

Allow sending server commands from discord

Open Nathanwoodburn opened this issue 3 years ago • 1 comments

It would be great if I could send commands from discord. Stuff like adding a user to the whitelist. Not sure how difficult this would be tho.

Nathanwoodburn avatar Nov 09 '22 03:11 Nathanwoodburn

💯, I want this as well. Implementation is simple enough, just add a /mc slash command that forwards its input to the MC server stdin.

Most of the work would be implementing a clean system for the server owner to control who has access to running commands. Would probably want at least one of the following:

  • A way in the config to lock it to specific users based on user ID
  • A way in the config to lock it to specific role(s) based on role ID

Cldfire avatar Nov 24 '22 03:11 Cldfire