Annotation Type Script


@Target(TYPE)
@Retention(RUNTIME)
public @interface Script
Script annotation for classes.
  • Optional Element Summary

    Optional Elements 
    Modifier and Type Optional Element Description
    String author
    Your name.
    String description
    A brief description of the script, what it does, where it's located, etc.
    int[] field
    The Map IDs of where this script is located.
    String[] name
    The name(s) of the script.
  • Element Details

    • name

      String[] name
      The name(s) of the script. These should match the .wz property of script names, like: Map.wz/Map/Map0/000010000.img/info/onUserEnter
      Default:
      {""}
    • author

      String author
      Your name. B-baka.
      Default:
      ""
    • description

      String description
      A brief description of the script, what it does, where it's located, etc.
      Default:
      ""
    • field

      int[] field
      The Map IDs of where this script is located. Some scripts can be located in multiple maps/fields.
      Default:
      {0}