Updated Permissions (markdown)

bloodmc 2022-05-07 13:21:45 -04:00
parent 5144f5e933
commit 321d28d596

@ -22,7 +22,7 @@ See https://luckperms.net/wiki/Default-Groups
:warning: Replace `minecraft` with LuckPerms DB name and `griefdefender` with GD DB name
```sql
SELECT A.id, A.name, A.permission, A.value, A.server, A.world, A.expiry, A.contexts FROM minecraft.luckperms_group_permissions A, griefdefender.gd_claim_data B WHERE A.contexts LIKE CONCAT('%', BIN_TO_UUID(B.claim_uuid), '%') AND B.claim_type = 'admin'
SELECT A.* FROM minecraft.luckperms_group_permissions A, griefdefender.gd_claim_data B WHERE A.contexts LIKE CONCAT('%', BIN_TO_UUID(B.claim_uuid), '%') AND B.claim_type = 'admin'
UNION
SELECT * FROM minecraft.luckperms_group_permissions WHERE contexts LIKE CONCAT('%gd_claim_default":"admin"%')
```