Sueta

NPC ACTION

1.0

Adding commands to NPCs easily!

·Plugin

Description:
NPC Action allows you to add an unlimited amount of commands to NPCs easily.

How to install:

  1. Make sure you have installed the plugins listed below
  2. Put npcaction.sk into plugins/Skript/scripts/
  3. Restart your server


Config:

You can change the needed permission to add commands to an NPC by editing the npcaction.sk file.

permission: skript.perm.mod
prefix: &b[NPC-ACTION]&7

Permissions:

  • skript.perm.mod - Needed to use all /npca commands (you can change permission name in the .sk-file


Commands:


/npca

Shows the help

/npca add

Add console command to targeted NPC
You can use these variables in the commands which will be automatically replaced:

  • %player% - the player right-clicking the NPC


/npca clear

Remove all commands from targeted NPC

/npca list

List all commands of targeted NPC

/npca listall

List all NPC IDs with commands attached

Dependencies:
You need the following plugins installed on your server:

  • Skript (tested with: v2.2-dev20)
  • skRayFall (tested with skRayFall v1.9.5)
  • Citizens (tested with: latest dev build)

Similar projects

Plugin →