Class MyPetGlobal.WebEditor

java.lang.Object
de.Keyle.MyPet.api.MyPetGlobal.WebEditor
Enclosing class:
MyPetGlobal

public static final class MyPetGlobal.WebEditor extends Object
Browser-based config editor (`/mypet editor`) — relay endpoints + on/off.
  • Field Details

    • ENABLED

      public static final ConfigKey<Boolean> ENABLED
      Whether /mypet editor may open the browser-based config editor.

      MyPet.WebEditor.Enabled -- default true.

    • BYTEBIN_URL

      public static final ConfigKey<String> BYTEBIN_URL
      The bytebin instance the editor uploads a config snapshot to.

      MyPet.WebEditor.BytebinUrl -- default "https://bytebin.mypet-plugin.com".

    • BYTESOCKS_URL

      public static final ConfigKey<String> BYTESOCKS_URL
      The bytesocks websocket endpoint the editor uses to send changes back.

      MyPet.WebEditor.BytesocksUrl -- default "wss://bytesocks.mypet-plugin.com".

    • EDITOR_URL

      public static final ConfigKey<String> EDITOR_URL
      The address of the editor front-end that opens in the player's browser.

      MyPet.WebEditor.EditorUrl -- default "https://editor.mypet-plugin.com".