Differences
This shows you the differences between two versions of the page.
— |
conditions:haspermission [2019/07/01 01:37] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | <WRAP infobox right> | ||
+ | <WRAP infoboxheader>Haspermission</WRAP> | ||
+ | <WRAP infoboxtable> | ||
+ | ^Type| Entity| | ||
+ | ^Aliases| permission| | ||
+ | ^Added In| 4.0| | ||
+ | ^Author| Joikd| | ||
+ | </WRAP> | ||
+ | </WRAP> | ||
+ | ====== Condition: Haspermission ====== | ||
+ | |||
+ | Tests if the target player has a permission | ||
+ | |||
+ | ===== Attributes ===== | ||
+ | ^Attribute ^Aliases ^Description ^ | ||
+ | | permission | p | The permission to check for | | ||
+ | \\ | ||
+ | |||
+ | ===== Examples ===== | ||
+ | |||
+ | <code> | ||
+ | Conditions: | ||
+ | - haspermission{} true | ||
+ | </code> | ||
+ | |||
+ | |||