Hi there,
I am working on to upgrade my skripts to able use the newest version of skript engine with plotsquared v7 but after the switch from the old addon to this one some things are stopped working for some reason and I'm not 100% sure why.
I started to adding debug messages in my skript to see which function started to fail and found out that it has to do that the skript does not see me as trusted on my own plot, it parse things finely but it still fails to detect me to see as trusted.
here some snippet:
command /checktrust: trigger: set {_plotID} to plot at location of player send "Plot ID: %{_plotID}%" to player if player is trusted in plot with id {_plotID}: send "&aYou are trusted in this plot!" to player else if owner of plot with id {_plotID} is player: send "you are the owner of this plot!" to player else: send "&cYou are NOT trusted in this plot." to player
basically if i only check if the player is trusted, with the old addon it will return correctly but currently it will go back to you are not trusted while that isn't valid.
Maybe I'm doing something wrong but not sure what.
Hi there,
I am working on to upgrade my skripts to able use the newest version of skript engine with plotsquared v7 but after the switch from the old addon to this one some things are stopped working for some reason and I'm not 100% sure why.
I started to adding debug messages in my skript to see which function started to fail and found out that it has to do that the skript does not see me as trusted on my own plot, it parse things finely but it still fails to detect me to see as trusted.
here some snippet:
command /checktrust: trigger: set {_plotID} to plot at location of player send "Plot ID: %{_plotID}%" to player if player is trusted in plot with id {_plotID}: send "&aYou are trusted in this plot!" to player else if owner of plot with id {_plotID} is player: send "you are the owner of this plot!" to player else: send "&cYou are NOT trusted in this plot." to playerbasically if i only check if the player is trusted, with the old addon it will return correctly but currently it will go back to you are not trusted while that isn't valid.
Maybe I'm doing something wrong but not sure what.