ND Framework Configuration Guide
--------------------------------------------
1️⃣ How Do I change the discord icon
--------------------------------------------
Step 1
Previously have made a bot/Make a new one
https://discord.com/developers/applications
Step 2
Navigate to `ND_Core/config_client.lua`
```lua
-- Discord Rich presence
enableRichPresence = true,
updateIntervall = 60, -- how many seconds of delay until it updates status.
appId = 858146067018416128, --Change this
largeLogo = "andyyy",--Change this
smallLogo = "andyyy",--Change this
firstButtonName = "DISCORD",
firstButtonLink = "https://discord.gg/Z9Mxu72zZ6",
secondButtonName = "TEBEX",
secondButtonLink = "https://andyyy.tebex.io/category/fivem-scripts"
```
--------------------------------------------
2️⃣ How Do I change the Character Selection BG
--------------------------------------------
Step 1
Navigate to ND_Characters/config.lua
```lua
-- set your backgrounds, if you have more than 1 then it will randomly change everytime you open the ui.
backgrounds = {
"https://i.imgur.com/E51ckFx.png", -- Credits: Fuzzman270#0270
"https://i.imgur.com/SeZD7TP.png", -- Credits: Fuzzman270#0270
"https://i.imgur.com/ZWKfYD9.png" -- Credits: 2XRondo#6374
```
--------------------------------------------
3️⃣ How Do I set groups to roles
--------------------------------------------
Step 1
Download and configure permission like
https://github.com/JaredScar/Badger_Discord_API
https://docs.badger.store/fivem-discord-scripts/badger_discord_api/installation-script
Step 2
Enable Developer Mode on Discord
https://discord.com/developers/docs/game-sdk/store#:~:text=Open%20up%20the%20Discord%20app,and%20enter%20your%20application%20ID
Step 3
Go to your Discord Server and navigate to roles
Right Click and `Copy ID` for the role you wish to use.
Step 4
Replace The ID value for your roles in
`ND_Characters/config.lua`
If you wish it to be OPEN set Value to 0
--------------------------------------------
4️⃣ How Do I Get Banking and ATM's
--------------------------------------------
Step 1
Download this
https://github.com/ND-Framework/ND_Banking
Step 2
add ensure ND_ATMs ensure ND_Banks to your server.cfg
If you still have not found a answer please open a <#996251010072846377> with the following template.
--------------------------------------------
5️⃣ How to change NDCharacter Logo
--------------------------------------------
Step 1
Navigate to
`/ND_Characters/source/ui/index.html`
Step 2
Edit
```html
<section id="overlay">
<div id="logoContainer">
<img src="https://i.imgur.com/02A5Cgl.png" id="logo">
</div>
```
--------------------------------------------
6️⃣ How to update Discord Bot Token
6️⃣ How to update Discord Bot Token
--------------------------------------------
Step 1
Create a Discord account If you don't have a Discord account already, create one at https://discord.com/register.
Step 2
Create a new Discord application Go to the Discord Developer Portal at https://discord.com/developers/applications and log in with your Discord account. Click the "New Application" button, give your application a name, and click "Create".
Step 3
Create a bot for your application Once your application is created, click on the "Bot" tab in the left sidebar, and then click "Add Bot". Give your bot a name, profile picture, and description if you like, and click "Save Changes".
Step 4
Obtain your bot token On the same page as step 3, you'll see a section called "Token". Click the "Copy" button to copy your bot's token to your clipboard. Do NOT share this token with anyone else, as it gives access to your bot's actions on your Discord server.
Step 5
Invite your bot to your Discord server To invite your bot to your Discord server, go back to the "OAuth2" tab in the left sidebar of the Developer Portal. Under the "Scopes" section, check the "bot" checkbox, and then under "Bot Permissions", select the permissions you want your bot to have. Then, copy the URL in the "Scopes" section and paste it into your browser. You'll be prompted to select a server to invite your bot to.
Step 6
Naviagte to your ND_Core Resource in your FiveM server resources, then go to config_server.lua and edit the following.
discordServerToken = "OTAwODg1MDMxMDQ2Nzc0ODQ1.GU1TSC.Ed8D2_wcU-UQ1vZhe1khahgV8J3hLahOp4N1D8",-- discord bot token for permissions
guildId = "872496972454592523", -- discord guild id
Step 1
Create a Discord account If you don't have a Discord account already, create one at https://discord.com/register.
Step 2
Create a new Discord application Go to the Discord Developer Portal at https://discord.com/developers/applications and log in with your Discord account. Click the "New Application" button, give your application a name, and click "Create".
Step 3
Create a bot for your application Once your application is created, click on the "Bot" tab in the left sidebar, and then click "Add Bot". Give your bot a name, profile picture, and description if you like, and click "Save Changes".
Step 4
Obtain your bot token On the same page as step 3, you'll see a section called "Token". Click the "Copy" button to copy your bot's token to your clipboard. Do NOT share this token with anyone else, as it gives access to your bot's actions on your Discord server.
Step 5
Invite your bot to your Discord server To invite your bot to your Discord server, go back to the "OAuth2" tab in the left sidebar of the Developer Portal. Under the "Scopes" section, check the "bot" checkbox, and then under "Bot Permissions", select the permissions you want your bot to have. Then, copy the URL in the "Scopes" section and paste it into your browser. You'll be prompted to select a server to invite your bot to.
Step 6
Naviagte to your ND_Core Resource in your FiveM server resources, then go to config_server.lua and edit the following.
discordServerToken = "OTAwODg1MDMxMDQ2Nzc0ODQ1.GU1TSC.Ed8D2_wcU-UQ1vZhe1khahgV8J3hLahOp4N1D8",-- discord bot token for permissions
guildId = "872496972454592523", -- discord guild id
Comments
Post a Comment