Skip to content

Commit

Permalink
Update playerCommand syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
OliverSchlueter committed Feb 16, 2024
1 parent c0457bb commit 0fbc0fc
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Writerside/topics/FN-Commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,12 @@ Placeholders:

## playerCommand

Description: Changes the command that the player executes when interacting with the npc<br/>
Syntax: ``/Npc playerCommand (npc name) ('none' | message ...)``<br/>
Description: Changes the commands that the player executes when interacting with the npc<br/>
Syntax: ``/Npc playerCommand (npc name) add (playerCommand)`` - adds a new command<br/>
Syntax: ``/Npc playerCommand (npc name) set (index) (playerCommand)`` - sets a command at an index<br/>
Syntax: ``/Npc playerCommand (npc name) remove (index)`` - removes a command at an index<br/>
Syntax: ``/Npc playerCommand (npc name) clear`` - removes all commands<br/>
list<br/>
Permission: ``FancyNpcs.npc.playerCommand`` or ``FancyNpcs.npc.*``<br/>
Placeholders:

Expand Down

0 comments on commit 0fbc0fc

Please sign in to comment.