@Target(TYPE) @Retention(RUNTIME) public @interface Script
Script annotation for classes.
-
Element Details
-
name
String[] nameThe 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 authorYour name. B-baka.- Default:
- ""
-
description
String descriptionA brief description of the script, what it does, where it's located, etc.- Default:
- ""
-
field
int[] fieldThe Map IDs of where this script is located. Some scripts can be located in multiple maps/fields.- Default:
- {0}
-