mirror of
https://github.com/FancyInnovations/FancyPlugins.git
synced 2025-12-06 07:43:36 +00:00
docs: add action system documentation
This commit is contained in:
@@ -183,6 +183,10 @@ Teleports you to the specified NPC.
|
||||
|
||||
## Manage interactions
|
||||
|
||||
!!!
|
||||
Learn more about actions and triggers in the [Action System](../tutorials/action-system.md) tutorial.
|
||||
!!!
|
||||
|
||||
### Add action
|
||||
|
||||
Adds an action to the specified NPC's trigger.
|
||||
@@ -190,11 +194,6 @@ Adds an action to the specified NPC's trigger.
|
||||
- **Syntax**: `/npc action (npc) (trigger) add (actionType) [value]`
|
||||
- **Permissions**: `fancynpcs.command.npc.action.add`
|
||||
|
||||
!!!
|
||||
You can use any placeholder by PlaceholderAPI in the action value.
|
||||
The `{player}` placeholder can be used in `console_command` actions without needing PlaceholderAPI.
|
||||
!!!
|
||||
|
||||
### Add action before
|
||||
|
||||
Adds an action before the specified index in the NPC's action list for the given trigger.
|
||||
|
||||
Reference in New Issue
Block a user