Class PrompterInstruction

java.lang.Object
ua.mcchickenstudio.opencreative.coding.prompters.PrompterInstruction

public final class PrompterInstruction extends Object
  • Constructor Details

    • PrompterInstruction

      public PrompterInstruction(@NotNull @NotNull String playerName, @NotNull @NotNull String playerUUID, @NotNull @NotNull String request, int maxActions)
  • Method Details

    • get

      @NotNull public @NotNull String get()
      Returns instruction, that can be used for sending to prompter.

      It contains information about:

      • player name, uuid
      • server version
      • limits of executors and actions
      • details about some events and actions.
      • list of all events, actions, conditions, placeholders, game values
      • examples of code
      • examples of saving values
      Returns:
      instruction text.