Class PlayerCommandAsOpAction
java.lang.Object
de.oliver.fancynpcs.api.actions.NpcAction
de.oliver.fancynpcs.api.actions.types.PlayerCommandAsOpAction
Deprecated.
PlayerCommandAsOpAction is a npc action that allows a player to execute a command as an operator when triggered by an NPC interaction.
-
Nested Class Summary
Nested classes/interfaces inherited from class NpcAction
NpcAction.NpcActionData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(@NotNull ActionExecutionContext context, String value) Deprecated.Executes a player command as an operator when triggered by an NPC interaction.Methods inherited from class NpcAction
getName, requiresValue
-
Constructor Details
-
PlayerCommandAsOpAction
public PlayerCommandAsOpAction()Deprecated.
-
-
Method Details