Skip to content

SimpleMC/SimpleNPCs

Repository files navigation

SimpleNPCs

Simple "NPC" interaction plugin for binding commands to entities

Features

  • Simple, composable entity interactions via command binding
  • Anything that can be done via a command can be easily turned into an NPC interaction

Config Overview

# Timeout between binding command and NPC interaction
bindtimeout: PT10S # Accepts ISO-8601 duration format PnDTnHnMn.nS

For more information on the format, see java.time.Duration#parse

Commands

  • /bindnpc <command> [args...]
    • Bind the given command and args to the next entity you interact with (right click)
  • /unbindnpc
    • Unbind a command to the next entity you interact with
  • /cancelnpc
    • Force cancel an awaiting NPC bind/unbind (don't bind or unbind on your next entity interaction)

Permissions

  • simplenpc.*
    • "Wildcard" for all below permissions
  • simplenpc.bind
    • Allows binding NPC commands via bindnpc
  • simplenpc.unbind
    • Allows unbinding (deleting) NPC commands via unbindnpc
  • simplenpc.interact
    • Allows interaction with SimpleNPCs' NPCs