#detect server message

59 messages · Page 1 of 1 (latest)

mellow girder
#

Im trying to run script when a spesific chat message comes through via a discord link

dull tinselBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

mellow girder
#

the script im using only works on player messages

untold mist
#

hmm

#

not seeing a kubejs nor forge event for server chat

snow oxide
#

What mod are you using for this again?

mellow girder
mellow girder
snow oxide
mellow girder
#

that seems great for it

untold mist
#

yea you might have to proxy via command or some sort

mellow girder
#

thankfully streamer.bot makes webhooks to my stream realy easy

untold mist
#

there's net.minecraftforge.event.CommandEvent hmmm

snow oxide
#

Register the command here, and use webhook to register what discord command relates to what MC command

untold mist
#

yea i'm looking in detecting the command (if it's using server /say or whatever)

#

but i realized that can't be cancelled

snow oxide
#

Seems like it is?

#

Don't see why a command wouldn't be cancellable

untold mist
#

i misread

snow oxide
snow oxide
untold mist
#

webhook is only from mc > discord

#

the mod is an actual discord bot that listens in a channel and sends a command in-game

snow oxide
#

now thats just being pedantic

mellow girder
#

also i know how to reg commands

untold mist
#

FABRIC?

#

oh no, can't do

mellow girder
#

lol

#

read tags

untold mist
#

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

mellow girder
snow oxide
#

oh

#

beat me to it

mellow girder
#

lol

#

i is confused by this mod 😭

#

the commands dont show up =(

snow oxide
#

no longer knows how to reg commands

mellow girder
#

discord commands

#

not a kjs thing sadly

snow oxide
#

@untold mist how different is fabric to forge (in terms of command registry)? I dont know much about it

untold mist
#

same i never used fabric a day in my life

#

i know it's different but don't know how different

mellow girder
#

quite different (although idk about commands spesificaly havent tried on forge)

untold mist
#

why when i look up fabric 1.20.1 javadocs, the first thing i see is yarn? wtf is yarn?

mellow girder
#

pain why no work

#

even the one defaulted in with the mod dont work

#

WHY

#

im gona try what i probably should have started with

restarting the server

#

F||UC||K

#

i hate that i didnt do dat sooner