DiscordSRV

DiscordSRV

86.8k Downloads

Compatibility for /say and /broadcast

Ionaru opened this issue ยท 2 comments

commented

Like the title says, I'd like to see messages sent with /say and /broadcast to show up in Discord.

commented

Add this to <serverdir>/commands.yml:

  say:
  - 'minecraft:say $$1-'
  - 'discordsrv:discord bcast **Server**: *$$1-*'
  broadcast:
  - 'minecraft:say $$1-'
  - 'discordsrv:discord bcast **Server**: *$$1-*'

or if you want to use for example /broadcast from Essentials use:

  say:
  - 'essentials:broadcast $$1-'
  - 'discordsrv:discord bcast **Server**: *$$1-*'
  broadcast:
  - 'essentials:broadcast $$1-'
  - 'discordsrv:discord bcast **Server**: *$$1-*'
commented

Cool, thanks!