#detect server message
59 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
the script im using only works on player messages
What mod are you using for this again?
im trying to make my own https://crowdcontrol.live type thing
While he figures this out, I noticed that dcintegration has some kind of command generator. I assume you can add discord -> minecraft comands (for example, theres this link https://erdbeerbaerlp.de/dcintegration-commands/). In theory, you could then make your own commands in kubejs, and have discord call them
okay ill look around
that seems great for it
yea you might have to proxy via command or some sort
thankfully streamer.bot makes webhooks to my stream realy easy
there's net.minecraftforge.event.CommandEvent 
There's also stuff like this, register a command and tell it what code it executes (https://kubejs.com/wiki/tutorials/chat, command example)
Register the command here, and use webhook to register what discord command relates to what MC command
yea i'm looking in detecting the command (if it's using server /say or whatever)
but i realized that can't be cancelled
i misread
this could technically work then https://lexxie.dev/forge/1.20.1/net/minecraftforge/event/CommandEvent.html
declaration: package: net.minecraftforge.event, class: CommandEvent
But this is probably the most powerful way, although requires some effort
This is if you want to avoid webhook stuff as much as possible 😅
webhook is only from mc > discord
the mod is an actual discord bot that listens in a channel and sends a command in-game
now thats just being pedantic
fabric
also i know how to reg commands
yea Holla you're free to assist with the command thing lol
and yea i barely read the tags. i saw version but didn't pay attention to the other tag being FABRIC
lol
.
no longer knows how to reg commands
@untold mist how different is fabric to forge (in terms of command registry)? I dont know much about it
same i never used fabric a day in my life
i know it's different but don't know how different
quite different (although idk about commands spesificaly havent tried on forge)
why when i look up fabric 1.20.1 javadocs, the first thing i see is yarn? wtf is yarn?
why no work