Denizen Script Events


Events are a way to listen to things that happened on your server and respond to them through a script. These usually pair with 'world' script containers.
Learn about how events work in The Beginner's Guide.


Showing 1 out of 395 events...
Nameplayer input
Event Lines player input
Triggerswhen a player sends updated keyboard/gamepad movement control input to the server.
Generated Examplesafter player input:
Has PlayerAlways. - 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).
GroupPlayer
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/events/player/PlayerInputScriptEvent.java#L15