Class SandboxWaiver

java.lang.Object
de.luckymcdev.foundryengine.script.common.sandbox.SandboxWaiver

public final class SandboxWaiver extends Object
The user's consent to turn the sandbox off. Backed by a marker file (same location as before, existing consents stay valid).
  • Method Details

    • isAccepted

      public static boolean isAccepted()
    • markAccepted

      public static void markAccepted() throws IOException
      Throws:
      IOException
    • revoke

      public static void revoke() throws IOException
      Takes effect immediately for bundles compiled afterwards.
      Throws:
      IOException