• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

[SOLVED] New/modified Enum AccountTypes

Status
Not open for further replies.

allelujah

Emulation Addict
Okay, so I'm fairly new to this.

Would I need to run any queries for this update to my core?

enum AccountTypes
{
SEC_PLAYER = 0,
SEC_VIP = 1,
SEC_MODERATOR = 2,
SEC_GAMEMASTER = 3,
SEC_ADMINISTRATOR = 4,
SEC_DEVELOPER = 5,
SEC_OWNER = 6,
SEC_CONSOLE = 7 // must be always last in list, accounts must have less security level always also
};
 

Tommy

Founder
Only two places you can put it: account_access and rbac_default_permissions. Overall, it all comes down to RBAC regardless.
 

allelujah

Emulation Addict
Thanks, I figured it out.

I just had to create
Role: Sel Level Owner
Role: Owner Commands

And for the following custom ranks.

Then of course I had to populate the linked permissions.

Again, Thanks.

If anyone needs help with this feel free to pm me.
 
Status
Not open for further replies.
Top