Nertivia / issues

General issues for nertivia
0 stars 2 forks source link

Be able to prevent people to join servers before they join a server #70

Open athyk opened 3 years ago

athyk commented 3 years ago

Why: Certain servers may only want a certain user to join such as ones who have more than 30 days on the platform or certain name requirements or even have to exist in a preset database of allowed users.

Feature: New permission called defer connection, then a setting to toggle which bots can access that.

Broadcast the event to the bot, then require a callback of allowing or disallow. Then maybe allow the bot to show a waiting image using some sort of html template such as a video trailer or tutorial or lobby music.

Once the processing is finished then it will send a callback to the server with a yes or a no for that user. If one is not received within a minute or other specified time then disallow entry to the server.

Sort of like Fivem's https://docs.fivem.net/docs/scripting-reference/events/list/playerConnecting/