This version adds a new format for doing conditions, and also makes conditions way more powerful:
Code (YAML):
if:
playerHasPermission
:
"myPermission"
targetHasPermission
:
"myPermission"
if:
playerHasPermission
:
"anotherPermission"
targetHasPermission
:
"anotherPermission"
combine
: AND
combine
: OR
action
: sendMessage
message
:
"Either the you or the target has the permission 'cui.action.myPermission', or, you both have the permission 'cui.action.anotherPermission'. Conditions are fun!"
Of course, you can still use the old version of conditions, if you'd like.