Skip to content

Skript Events

Jay edited this page Aug 8, 2025 · 1 revision

Group Events

on spawned group registered:

on spawned group unregisted:

on pre spawned group spawned:
    # Customize the group spawn settings of the involved group before its spawned
    set group spawn settings to {_settings}

on spawned group spawned:

# Called when a chunk detect a group in an unloaded chunk (config option)
on chunk register spawned group:

on packet group sent:
    #Get the players who were sent the involved group
    set {_players::*} to event-players

on packet group hidden:
    #Get the players who were sent the involved group
    set {_players::*} to event-players

on entity ride spawned group:

on spawned group ride entity:

Interaction Events

on pre interaction click:
    # If the click type is a right click
    if event-iClickType is iClickType_right:

on interaction click:
    # If the click type is a left click
    if event-iClickType is iClickType_left:
    
    #Get the interaction commands (not strings, but the interaction command type)
    set {_commands::*} to event-interactioncommands

Animation Events

For animations played with packets, do "on packet" instead of "on"

on animation start:

# This is not called for LOOPING animations
on animation end:

# Called when an animation loop starts
on animation loop start:

on animation frame start:

on animation frame end:

DisplayEntityUtils Wiki

Overview

General Help / Examples

Display Groups

Interaction Entities

Animations

Animation Effects (w/ Frame Points)

DisplayControllers (Mounting, Custom Entities & Equipment)

Skript Help / Examples

API Help / Examples

Old Help / Examples

Clone this wiki locally