Class SendToServerAction

java.lang.Object
de.oliver.fancynpcs.api.actions.NpcAction
de.oliver.fancynpcs.api.actions.types.SendToServerAction

public class SendToServerAction extends NpcAction
The SendToServerAction class is a subclass of NpcAction that represents an action to send data to the server using BungeeCord messaging.
  • Constructor Details

    • SendToServerAction

      public SendToServerAction()
  • Method Details

    • execute

      public void execute(@NotNull @NotNull ActionExecutionContext context, String value)
      Executes the action associated with this NpcAction.
      Specified by:
      execute in class NpcAction
      Parameters:
      context - The context in which the action is being executed.
      value - The value associated with the action.