Skip to content

SimpleMC/SimpleNPCs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5806400 · Mar 18, 2022

History

6 Commits
Mar 18, 2022
Mar 18, 2022
Mar 18, 2022
Feb 15, 2020
Mar 18, 2022
Feb 15, 2020
Mar 18, 2022
Mar 18, 2022
Feb 15, 2020
Mar 18, 2022
Mar 18, 2022
Feb 16, 2020

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