Conditionals
Using conditionals in the GPT Assistant Minecraft plugin can drastically improve the functionality of your server by creating intuitive responses to players' queries.
1. The Equality Operator "==":
(%vault_eco_balance% == 0) ? 'You have no money' : 'You have money'2. The Identity/Strict Equality Operator "===":
('%luckperms_primary_group_name%' === 'vip') ? 'You are a VIP' : 'You are not a VIP'3. The Greater Than Operator ">":
(%player_ping% > 250) ? 'High ping' : 'Low ping'4. The Less Than Operator "<":
5. The Greater Than or Equal To Operator ">=":
6. The Less Than or Equal To Operator "<=":
7. The Not Equal Operator "!=":
8. The Logical And Operator "&&":
9. The Logical Or Operator "||":
10. Using Single Quotes "'":
11. Using Double Quotes "":
12. Plus Operator "+":
Last updated