🎶
🎶
🎶
🎶
ByteSkript Language Specification
GitHub
Search…
🎶
Introduction to ByteSkript
Language Syntax
Members
Entries
Sections
Effects
Expressions
Events
Loading Events
namespaces
Skript
Unsafe
Tutorials
Getting Started
Creating a Library
Contributing to ByteSkript
Interacting with Java
Creating Custom Syntax
Files
Action (ask)
Script (bsk)
Config (csk)
Powered By
GitBook
Events
Special program entry-points triggered when certain states are met.
The event system is used to run triggers when a certain program state is met.
Events are root-level
members
.
Events are triggered automatically by the Skript implementation or by libraries.
Language Rules
1.
Events should never contain inputs.
2.
Events should begin with
on
.
Compilation
Each event trigger will compiled to its own unique method. This allows a script to have multiple handlers for the same event.
Each trigger will be started as an entry-point on its own script thread.
All event triggers will receive the same
event
object and its values.
Previous
Literals
Next
Loading Events
Last modified
4mo ago
Copy link
Outline
Language Rules
Compilation