Sueta

NpcCommands | Supports 1.8.8-1.10.2 | Fully Customizable Mob

2.8

Create unlimited and fully customizable npc's that run commands through player interaction!

·Plugin

General Information
NpcCommands allows server owners to create cool npc characters that run any amount of commands. I've remade the plugin from scratch and added support for 1.8.8-1.10.2.

Commands

  • Reload config: /npc reload
  • Create an npc: /npc create <entity type> <id>
  • Delete an npc: /npc delete <id>
  • Give an npc a custom name(color codes supported): /npc setname <id> <name>...
  • Toggle an npc's invisibility: /npc toggleinvis <id>
  • Toggle glowing(1.9+): /npc toggleglowing <id>
  • Set an npc's data types: /npc setdata <id> [data]...
  • Teleport an npc to your location: /npc movehere <id>
  • Teleport to an npc: /npc tp <id>
  • List all created npc's: /npc list
  • Add a command to an npc: /npc addcmd <id> <command>
  • Remove a command from an npc: /npc removecmd <id> <command number>
  • Add a waypoint to an npc: /npc addwaypoint <id> [-r] [-s <speed>] [-y <yaw>] [-p <pitch]
  • Remove a waypoint from an npc: /npc removewaypoint <id> <waypoint number>
  • List an npc's info: /npc info <id>
  • To see all commands: /npc help
  • NOTE: When adding a command, do not use a "/". To use the player's name you can type this in the command: %player%
  • NOTE: When adding a command, put a “*” in front of it to run it as the player.
  • NOTE: When adding a waypoint, to set the location as the spawn location of that npc use -r. To change the ending yaw for the waypoint use -y <yaw value>. To change the ending pitch for the waypoint use -p <pitch value>. To change the walking speed for the waypoint use -s <speed value>.

Permissions

  • npc.create
  • npc.delete
  • npc.info
  • npc.setname
  • npc.movehere
  • npc.tp
  • npc.addcmd
  • npc.removecmd
  • npc.addwaypoint
  • npc.removewaypoint
  • npc.list
  • npc.toggleinvis
  • npc.toggleglowing
  • npc.setdata
  • npc.reload
  • npc.help

Compatibility

  • ChestCommands
  • DeluxeCommands
  • ViaVersion
  • Sending players across a BungeeCord network
  • WorldGuard *Note: You must set this to false in the WorldGuard config: mobs.block-plugin-spawning

Config
A handy list of all of the types of entities you can choose, the data types for each one, and some settings.

config.yml
# =====================
# ======Entity Types======
# =====================

# =1.8=
# Creeper
# Skeleton
# Spider
# Zombie
# Slime
# Ghast
# Zombie_Pigman
# Enderman
# Cave_Spider
# Silverfish
# Blaze
# Magma_Cube
# Ender_Dragon
# Wither
# Bat
# Witch
# Endermite
# Guardian
# Pig
# Sheep
# Cow
# Chicken
# Squid
# Wolf
# Mooshroom
# Snow_Golem
# Ocelot
# Iron_Golem
# Horse
# Rabbit
# Villager

# =1.9=
# Shulker

# =1.10=
# Polar_Bear

# =====================
# =====Data Types======
# =====================
# Blaze: Fire
# Creeper: Charged
# Enderman: Screaming
# Guardian: Elder
# Horse: Chested, Donkey, Mule, Skeleton, Undead, HorseWhite, HorseBrown, HorseDarkBrown, HorseBlack,
#        HorseGray, Creamy, Chestnut, Socks, WhitePatch, WhiteSpots, BlackSpots, HorseIron, HorseGold, HorseDiamond
# Magma_Cube/Slime: Small, Medium, Large
# Ocelot: OcelotBlack, OcelotRed, OcelotSiamese, OcelotWild
# Rabbit: RabbitBrown, RabbitWhite, RabbitBlack, RabbitBlackAndWhite, RabbitSaltAndPepper, RabbitTheKillerBunny, RabbitGold
# Sheep: Sheared
# Skeleton: Wither
# Wither: Shield
# Villager: Farmer, Librarian, Priest, Blacksmith, Butcher

# =Misc=
# These types are supported by multiple mobs.
# Baby: Zombie, Zombie_Pigman, Chicken, Horse, Mooshroom, Cow, Ocelot, Pig, Rabbit, Sheep, Villager
# Saddle: Horse, Pig
# Angry: Wolf, Zombie_Pigman
# Sitting: Wolf, Ocelot
# Villager: Zombie, Zombie_Pigman

# =Colors=
# Supported by Wolf & Sheep
# Colors: Black, Red, Green, Brown, Blue, Purple, Cyan, Silver, Gray, Pink, Lime, Yellow, LightBlue, Magenta, Orange, White

# =====================
# =======Config========
# =====================

# Delay in milliseconds before a player can successfully interact with an npc.
CommandRunDelay: 1000

# List of fake commands used by ChestCommands if it is on the server.
ChestCommandsList: []

# List of fake commands used by DeluxeCommands if it is on the server.
DeluxeCommandsList: [][/SIZE]

# Custom command that npc's will use to know when to send players to a bungee server.
BungeeSendToServerCommand: npcsend[/SIZE]


Dependencies

  • None!

More Information
By downloading this plugin you agree to the following:

  • You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).
  • You may not use this work for commercial purposes.
  • You may not alter, transform, or build upon this work.

Donate
If you like this plugin and want to support me please donate any amount using the button below!

Donators:

Similar projects

Plugin →