#Trigger method for any command?(user inputted)
1 messages · Page 1 of 1 (latest)
You have the text box - you write the code for how it's handled. It's probably harder to make it not use your code?
specifically I mean if another mod was using the command /mocap blank blank, is there a way to like read commands inputted into chat to check for it
if you're doing it on the client you can use net.fabricmc.fabric.api.client.message.v1.ClientSendMessageEvents and the command event (not sure if this is the exact name, i forgot it so asked chatgpt for it but its definitely something similar as ive used it before)
I'm still not sure what's trying to be accomplished here
i think they are trying to execute code when commands not from their mod are ran?
Again, not exactly sure
@plucky scroll
exactly that yes
then you can do this
okok thank youuu 🙏