Permissions
#4
(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;
Reply
Thanks given by:


Messages In This Thread
Permissions - by Bobstergaming - 11-14-2015, 11:37 PM
RE: Permissions - by NiLSPACE - 11-15-2015, 04:49 AM
RE: Permissions - by Zee1234 - 11-16-2015, 12:40 PM
RE: Permissions - by sphinxc0re - 11-16-2015, 02:05 AM



Users browsing this thread: 2 Guest(s)