/scriptevent
Command
Causes an event to fire within script with the specified message ID and payload. This can be used to connect scripting with any location where commands are used.
Permission Level | Game Directors |
---|---|
Requires Cheats? | Yes |
Usage
Send script event message
/scriptevent <messageId: string> <message: message>
Passes a message with the specified ID and payload.
Arguments
message
: message Data component of the message to send. This is custom and dependent on the kinds of behavior packs and content you may have installed within the world.messageId
: string Identifier of the message to send. This is custom and dependent on the kinds of behavior packs and content you may have installed within the world.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for