Whitelist discord for RedM by Nolosha for vorp
Configuration
Config your discord on config.js
- ClientId : “Your client id”
- ClientSecret : “Your secret key”
- Token : "Your token discord
- Guild : “Your Server ID discord”
- Roles : Roles allowed
Requirements
Nothing.
Installation
- How to install (Remember to download the lastest releases)
- Download files
- Copy and paste vorp_whitelist folder to resources/
- Add ensure vorp_whitelist to your server.cfg file
https://github.com/VORPCORE/vorp_whitelist
3 Likes
I dont help a dog. Learn to phrase and ask politely
Hello virgile! Nice Work!
Basically everything works, but I still have a small problem:
https://cdn.discordapp.com/attachments/743183598307246101/912663457160134656/unknown.png
how can i fix that?
The following error is what is given when we are trying to connect and it can not get the Discord ID!
[ script:vorp_core] Loading player Larry. [script:vorp_whitelis] Hash a732f20cd4ea22498bd2750e89558a9ad4404f0eff339b539fdf13dd34d9bad5 - Registering player steam:11000010ba86be8 with discord null [ script:ghmattimysql] SCRIPT ERROR in promise (unhandled): Error: vorp_whitelist was unable to execute a query! [ script:ghmattimysql] Column 'discord_id' cannot be null [ script:ghmattimysql] INSERT INTO steam_discord(
steam_id,
discord_id) VALUES ('steam:11000010ba86be8', NULL) [ script:ghmattimysql] > query_default (@ghmattimysql/dist/server/build.js:16103) [ script:ghmattimysql] > processTicksAndRejections (node:internal/process/task_queues:96) [ script:ghmattimysql]
I delete this to repository vorp.
I make new script soon.
1 Like