[Release] Ace Perms Whitelist - Ace Permission Based Whitelist [fax-acewhite] [1.0]

Ace Whitelist - By FAXES

About
Ace Whitelist is a Ace permission based whitelist script for your server. I have seen some inside bigger resources like vBasic made by @Vespura . This script is just a standalone. It’s extremely basic but should serve helpful.

In the Download

__resource.lua
server.lua
WLperms.cfg


Requirements
None. This is a standalone script.

Downloads:


Installation
Place in your resources folder, just like any other resource.

Credits
@xander1998 for initial help with deferrals a while back. Thanks to @dibzer for community script testing this

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

7 Likes

Github is empty

20 char

1 Like

:fire: :fire: :fire:
Another killer script! Thank you for letting us test these out first <3

1 Like

It’s up now! :slight_smile:

Why are you setting the game type every time any resource starts…? Seems really inefficient to me considering a lot of servers use > 150 resources…

-- Main Code
AddEventHandler('onResourceStart', function()
	Citizen.Wait(150)
    SetGameType(gametypemsg)
end)

You probably want to make sure this only happens whenever the current resource gets started.

-- Main Code
AddEventHandler('onResourceStart', function(resourceName)
     if resourceName == GetCurrentResourceName() then
	    Citizen.Wait(150)
        SetGameType(gametypemsg)
    end
end)

Just increase the delay if you want to make sure this gets called after all resources have started, or use another delayed event. Which I’d have to look up to see which one that is.

This script doesn’t read my stream hex

And it’s another amazing script from Faxes. I know i’m late af but I only needed it now xD. Thanks for it!

No Probs :smiley:

im having the issue of when i put one person in the perms it allows everyone to get in?

That should not be the case. Have you edited it?

I added my steam hexidecimal in the .cfg file. It isn’t letting me in. Any ideas?

Keeps saying:
Server restrication is set to Registerered Members and above.

Am i doing something wrong ?

Inside the map “Whitelist” are the next files:
__resource.lua
server.lua
WLperms.cfg

In the WLperms my identifier.steam.

Do you have exec WLperms.cfg in your server.cfg ?

1 Like

Yes, i’m sorry. I deleted the WLperms and just added the 2 lines in my server.cfg.
I was about to edit my post, when i saw your message.

Got it working.

1 Like

HEY! I did’nt buy GTAV through steam so i dont know how to get whitelisted can you heklp me?

Use a Discord ACE Perms.

change steam:HEX to

discord:DISCORD_USER_ID