Changes
Page history
Create Skills/Triggers/onSpawnOrLoad
authored
Oct 25, 2024
by
Lxlp
Hide whitespace changes
Inline
Side-by-side
Skills/Triggers/onSpawnOrLoad.md
0 → 100644
View page @
dd86884c
## Description
Executes the skill when either
[
~onSpawn
](
/Skills/Triggers/onSpawn
)
or
[
~onLoad
](
/Skills/Triggers/onLoad
)
would trigger.
## Examples
```
yml
EXAMPLE_MOB
:
Type
:
VILLAGER
Skills
:
# sends a message to all the players in the world
# when the mob spawns or when the mob is loaded after a server restart
-
message{m=SPAWNED! Or was i loaded?} @World ~onSpawnOrLoad
```
\ No newline at end of file