ServerNPC
Buy it
  • πŸ˜ƒHome
  • Getting Started
  • πŸ—ΊοΈGUIDE
    • Creation
    • Actions
      • Labymod Emotes
    • Magic Wand
  • βš™οΈCOMMANDS
    • Actions
    • Permissions
  • 🌐Holograms
    • Holograms Installation
      • DecentHolograms
      • TrHolograms
    • Holograms Usage
  • πŸ‘¨β€πŸ’»Developers
    • Repositories
Powered by GitBook
On this page
  • Getting started with Actions
  • Add new actions
  • Getting actions setted
  • Removing Action

Was this helpful?

Edit on GitHub
  1. GUIDE

Actions

How to use ServerNPC with commands or actions.

PreviousCreationNextLabymod Emotes

Last updated 1 year ago

Was this helpful?

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

/npc action add (NPC NAME) (TRUE/FALSE - CONSOLE) (PERMISSIONS OR NONE) (ACTION)

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 )

  • PLAYER_SOUND:ENTITY_VILLAGER_YES

  • BUNGEE_CMD:Survival ()

Getting actions setted

/npc action list (NPC NAME)

Removing Action

To remove the action added before, use the command below.

/npc action remove (NPC NAME) (ACTION ID)
πŸ—ΊοΈ
MILISECONDS
Needs BungeeCord Addon
/npc action npc1 add false none cmd:/say Hello!
*You can add multiple actions :D*
/npc action npc1 list
/npc action npc1 list
/npc action npc1 list