-
Notifications
You must be signed in to change notification settings - Fork 148
Skript
Nathan Wolf edited this page Mar 6, 2018
·
7 revisions
Skript is a plugin that provides natural language scripting for Bukkit servers.
Magic provides events and effects that can be used in Skripts.
The cast event is triggered when a player or mob casts a spell. Examples:
on cast:
send "You cast a spell" to caster
damage targets by 20 hearts
on cast spell "missile":
send "You throw a Magic Missile" to caster
The cast effect can be used to force a player to cast a spell, or to cast a spell via the console. Examples:
on place of sand:
make player cast the spell "rubberize"
# Use some parameters
on step on glass:
make player cast the spell "fling" with "pdy 1 pdx 0 pdz 0 min_speed 5 max_speed 5"
on death:
cast "day"
- Home
- FAQ
- Support
- Progression
- Spell Points
- Crafting
- Basic Setup
- Customization
- Resource Pack
- Examples
- Messages and Languages
- Vanity Items
- NPCs
- Magic Blocks
- Magic Mobs
- Putting Images on Maps
- Using MySQL or SQLite
- Placeholders
- Skript
- Regions