Name | player input |
Event Lines | player input |
Triggers | when a player sends updated keyboard/gamepad movement control input to the server. |
Generated Examples | after player input: |
Has Player | Always. - this adds switches 'flagged:<flag name>' + 'permission:<node>', in addition to the '<player>' link. |
Contexts | <context.backward> returns whether the player is providing backwards movement input (normally this means they are pressing S).
<context.forward> returns whether the player is providing forwards movement input (normally this means they are pressing W).
<context.left> returns whether the player is providing left movement input (normally this means they are pressing A).
<context.right> returns whether the player is providing right movement input (normally this means they are pressing D).
<context.jump> returns whether the player is providing jump input (normally this means they are pressing SPACEBAR).
<context.sneak> returns whether the player is providing sneak input (normally this means they are pressing SHIFT).
<context.sprint> returns whether the player is providing sprint input (normally this means they are pressing CONTROL).
|
Group | Player |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/events/player/PlayerInputScriptEvent.java#L15 |