-
Notifications
You must be signed in to change notification settings - Fork 0
onPlayerInput
KabanFriends edited this page Jan 11, 2024
·
3 revisions
A function that is called when a player uses the /input <text>
command or says $<text>
in chat.
The event
object contains following fields:
player
: Player
- The Player that triggered this event.
- The inputted text of this event.
- The inputted text, split at
- Player input:
/input hello world
- args:
["hello", "world"]
- Player input: