Fax-Core Whitelist- By FAXES

About
This is a revolutionary white-list script that allows admins to change the white-list level in-game, having a live white-list system. Eg; Have the server set to anyone can join an admin joins and can make it Member 3 Authorization. This white-list is designed to work with Fax-Core’s permission system.

In the Download

__resource.lua
server.lua


Requirements
Fax-Core

Downloads:


Installation
Place in your resources folder, just like any other resource. Follow the (future) below video for setup.

Credits
@dibzer for testing

If you have any issues or comments please put them below. :coconut:

10 Likes

nicely done and to be clear this is an add on for fax core and sorry just saw it great work if no one else says it you always have some of the best work keep it up

yes its an addon for Fax-Core

Pictures of what its like





1 Like

Loved watching you make this! Changing the game :fire:

2 Likes

Fuck yes Mate. Fuck yes.

1 Like

Is there a way to set a whitelist slot setup? For example… 10 public slots, and 22 whitelist?

+1 :tada:


1 Like

Possible alot more work though

How difficult would that be? To just set like… x Whitelist slots.

I can add a reserved slots thing into this?

That would work, the reserved slots could be used for whitelist right? Because it would reserve them for people with whitelist/reserve slot access? And then set the number of public to whatever isn’t reserved?

1 Like

Hey, I’m having a weird issue. While being a guest I’m still able to join even if i have the server set to Member1 or even Owner. I know for a fact that i am a guest because when i join the buttom left says so. Any Help?

Try going over your Fax-Core installation and whitelist one. Make sure you don’t have 2 whitelists.

Just did, even reinstalled the whole thing. Still doing it.

SetGameType("Server Restriction : Guest")
print('Fax-Core Whitelist Has Loaded!')

-- If you want to change this so only certain ranks can join when the server starts simply change it to one of the following
-- owner, snradmin, admin, mem3, mem2, mem1, guest
-- Also dont forget to change line 7
FCWhiteLvl = "mem1"

Maybe I’m supposed to put something else for FCWhiteLvl? And it says “dont forget to change line 7” but line 7 is empty?

You can change mem1 to “guest”

But I want the server to be whitelisted.

im having this error every time i dont know why

Error resuming coroutine: citizen:/scripting/lua/scheduler.lua:720: An error happened while calling export IsRolePresent of resource discord_perms (citizen:/scripting/lua/scheduler.lua:88: @discord_perms/server.lua:77: attempt to concatenate a nil value (field 'data')
stack traceback:
        @discord_perms/server.lua:77: in function 'IsRolePresent'
        citizen:/scripting/lua/scheduler.lua:341: in function <citizen:/scripting/lua/scheduler.lua:340>
        [C]: in function 'xpcall'
        citizen:/scripting/lua/scheduler.lua:340: in function <citizen:/scripting/lua/scheduler.lua:339>), see above for details
stack traceback:
        [C]: in function 'error'
        citizen:/scripting/lua/scheduler.lua:720: in method 'IsRolePresent'
        @DiscordWhitelist/server.lua:29: in upvalue 'handler'
        citizen:/scripting/lua/scheduler.lua:169: in function <citizen:/scripting/lua/scheduler.lua:168>

Not even this resource :man_shrugging:

Does someone have this working and be willing to share on how they got it working pls