docs: add placeholder hint in fn commands

This commit is contained in:
Oliver
2025-03-28 22:12:45 +01:00
parent 25f6e84172
commit 906eb4d79b

View File

@@ -190,6 +190,11 @@ Adds an action to the specified NPC's trigger.
- **Syntax**: `/npc action (npc) (trigger) add (actionType) [value]` - **Syntax**: `/npc action (npc) (trigger) add (actionType) [value]`
- **Permissions**: `fancynpcs.command.npc.action.add` - **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 ### Add action before
Adds an action before the specified index in the NPC's action list for the given trigger. Adds an action before the specified index in the NPC's action list for the given trigger.