Actions
How to use ServerNPC with commands or actions.
Getting started with Actions
The first thing you need to know is that there are multiple actions. Such as.
Send player to server
Execute command
Send private message to player
I hear recommendations..
Add new actions
For example, add the commnad "/say hello" to the npc
On (ACTION) you can put these options. Without ()
please.
SPIGOT_CMD:/say Hello
BUNGEE_SEND:Survival
PLAYER_MSG:&aHello %player%
WAIT:1000 (It is in MILISECONDS)
PLAYER_SOUND:ENTITY_VILLAGER_YES
BUNGEE_CMD:Survival (Needs BungeeCord Addon)
Getting actions setted
Removing Action
To remove the action added before, use the command below.
Last updated