Skip to content

KillaNAdev/auth-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Whitelist Bot

License: CC BY-NC-SA 4.0  

The old discord bot. I made to work with the auth system I was using.

I have zero intentions to keep this updated and working.


Install

https://nodejs.org/en/ (Make sure this is installed)
Make sure to setup a mysql database and add run the sql file.
Then you would want to setup the site first this is how it makes a post request I would also install pm2 to keep this running then for the discord bot your gonna wanna do npm i to install it config the bot token then start it.

How to use?

PerformHttpRequest("http://iphere/sfihsafouihsdf", function(result, data)
    if (data:gsub("%\"", "") == "ERR_404_DIR_INVALID") then 
        print("^2License Activated!")
        Citizen.CreateThread(function()
          -- script here
     
        else
            print("^1License Deactivated ^0")
        end
        end)

Don't be a leach. Please give me a star or follow.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published