11-16-2015, 12:40 PM
(11-15-2015, 04:49 AM)NiLSPACE Wrote: The SQLTable for it would probably look somewhat like this:
UUID | Permission
Wouldn't it make more sense to have 2 tables, one for player reference (assuming you don't have this already) and one permissions? Something like
ID | UUID | Playername
and
ID | UserID | Permission | Things That Can Be Expanded Later Like Per World
then the SQL would be like
Code:
SELECT playerperms.Permission,playerperms.Things FROM playerperms INNER JOIN playerIDs ON playerperms.UserID = playerIDs.ID;