• Thanks 1

Discord Discord User Authentication 1.0.0

   (0 reviews)

1 Screenshot

So when I have the registration bot active. I have to make another bot for this code separately? I did not get how it works and how the mod is activated on wow server startup, Is that held as a custom loa script? 


Link to comment
Share on other sites
On 10/20/2023 at 10:22 AM, darthy said:

So when I have the registration bot active. I have to make another bot for this code separately? I did not get how it works and how the mod is activated on wow server startup, Is that held as a custom loa script? 

You actually don't need the registration bot necessarily, so instructions are provided on how to make one here if you are not using the registration bot.

 

You can use the same discord application, bot, etc for both registration and this DUA feature.

 

The script is fired on -

Server Startup - The LUA script fires up the python script that is the discord bot/API, the bot then searches all of the discord users for the relevant roles, then stores them in a file "DUA_DB.DUA".

Player Login - The LUA script fires on player login, which fires a python script, the python script then searches the DUA_DB file for the relevant user and their roles. The results are stored in a temporary file in the bin directory (where temp files automatically go) named "(ACCOUNT_NAME).DUA".

Login pt2 - After a couple of seconds, the LUA script fires again and parses the "(ACCOUNT_NAME).DUA" file. If no relevant roles, kick and message.

 

Hopefully that clears some confusion, let me know if you have more questions.


Link to comment
Share on other sites




User Feedback