-
-
Notifications
You must be signed in to change notification settings - Fork 33
Sign Edit Event
wagyourtail edited this page Aug 1, 2020
·
1 revision
this event is fired before the SignEditScreen
is opened.
This event passes some arguments to javascript which can be accessed by the ArrayList<String, Object> called args. a list of these properties is:
-
lines:
List<String>
of lines (uselines.set(index, string)
to set the value of a line) - x: x coord.
- y: y coord.
- z: z coord.
-
close: set to
true
if theSignEditScreen
shouldn't be opened after your script sets the sign's lines.