Player Fail Move (Event) — SkBee

Addon: SkBee · Category: Event · Since: 3.11.0

Syntax

[on] player fail move

Description

Called when a player attempts to move, but is prevented from doing so by the server.

Event Values

  • event-boolean
  • event-failmovereason
  • event-location
  • event-player
  • event-world
  • future event-boolean
  • future event-location

Examples

on player fail move:
	set event-boolean to true
	set future event-boolean to false
	if event-failmovereason = clipped_into_block:
		push player up with speed 1

View source