TriggerReactor

TriggerReactor

24.6k Downloads

Sign Trigger

wysohn opened this issue ยท 0 comments

commented

make a new Trigger called Sign Trigger

Let admins to register the format that they want

/trg sign[s] <trigger name> create line1:line2:line3:line4

line1:line2:line3:line4 will represent the each lines of sign

Upon registering Sign Trigger, TR will simply use the input as the key for the Map

Then, when a player interact with sign, read lines of the sign and combine it to the format of line1:line2:line3:line4

If such Sign Trigger exists, that Trigger will be executed.

appropriate variables should be set as well

possible list of variables:

  • player
  • clicktype

Also, breaking the sign should delete the Trigger