ServerNPC
Search…
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
1
/npc action (NPC NAME) add (TRUE/FALSE - CONSOLE) (PERMISSIONS OR NONE) (ACTION)
Copied!
On (ACTION) you can put these options. Without () please.
  • cmd:/say Hello
  • server:Survival
  • msg:&aHello %player%
  • wait:1000 (It is in MILISECONDS)
/npc action npc1 add false none cmd:/say Hello!
*You can add multiple actions :D*

Getting actions setted

1
/npc action (NPC NAME) list
Copied!
/npc action npc1 list

Removing Action

To remove the action added before, use the command below.
1
/npc action (NPC NAME) remove (ACTION ID)
Copied!
/npc action npc1 list
/npc action npc1 list