admin
PATRON
- Katılım
- 23 Eki 2022
- Mesajlar
- 14,634
- Çözümler
- 15
- Tepkime puanı
- 19,180
- Puanları
- 113
- Yaş
- 29
- Web sitesi
- farming-simulator.r10dev.net
What is Zdiscord?
Zdiscord is a standalone Discord bot resource designed specifically for FiveM servers. Built with discord.js, it enables server administrators to manage whitelisting, moderation, and utilities directly from Discord without launching FiveM. The bot operates entirely within your FiveM server—no external hosting required—making it an ideal solution for QBCore and standalone servers alike.
Key Features
- Standalone FiveM resource with zero external dependencies
- Slash commands with built-in help and autocomplete suggestions
- Comprehensive moderation tools including kick, ban, and player inspection
- Native QBCore integration with dedicated command support
- Modular command architecture for easy customization and expansion
- Automatic Ace permission granting system
- Bi-directional staff chat for seamless communication
- Configurable via convars or direct config file editing
- Useful exports for advanced integrations
System Requirements
Before installation, ensure your environment meets these specifications:
- FiveM artifacts build 4890 or higher (v7.3.0 and above)
- cfx-server-data resource in your resources directory
- Optional: screenshot-basic resource for screenshot functionality
Step-by-Step Installation Guide
Step 1: Create a Discord Bot Application
Navigate to the Discord Developer Portal and create a new application. Convert it to a bot and copy your bot token—you'll need this for configuration.
Step 2: Enable Required Intents
This is critical: enable both Privileged Gateway Intents on your bot's settings page. Without these intents, your bot will not function properly.
Step 3: Invite Your Bot to Your Server
Use the OAuth2 URL generator to create an invite link. Grant the bot permissions for managing messages, reading message history, and managing roles. Even if your bot is already in the server, re-invite it to ensure slash command scope is properly configured.
Step 4: Install the Resource
Download the zdiscord resource from the GitHub repository and place it in your resources directory. Ensure the folder is named exactly
Kod:
zdiscord Step 5: Configure Server Files
In your
Kod:
server.cfg Kod:
ensure zdiscord
add_ace resource.zdiscord command allow
add_ace group.zdiscordstaff zdiscord.staffchat allow Place these directives after qb-core and any convars you've configured.
Step 6: Configure config.js
Edit
Kod:
config.js Common Troubleshooting
Bot Not Responding to Commands
Verify that you've enabled both Privileged Gateway Intents and that your bot token is correct in config.js.
Permission Errors
Ensure cfx-server-data is present in your resources and that ACE permissions are properly configured in server.cfg.
Outdated Artifact Error
Update your FiveM server to build 4890 or newer. Older artifacts require the v4 eris branch instead.
Best Practices
- Store sensitive tokens in environment variables rather than committing them to config files
- Use convars for environment-specific settings across development and production
- Regularly test slash commands in a development Discord server before deployment
- Monitor bot performance and check logs for unexpected errors
- Keep the resource updated by monitoring the GitHub repository for new releases
Getting Started with Customization
Zdiscord's modular command system allows easy expansion. Create new command files following the existing pattern, and the bot will automatically load them. The comprehensive export system enables integration with other resources for advanced functionality.
For complete documentation, examples, and advanced configurations, visit the official GitHub repository at
İçeriği görüntülemek için Giriş yapın veya Kayıt olun.
.
Related Topics
- TSS Items for FiveM Servers: Complete Guide to Items, Icons, and Setup
- Illenium Appearance for FiveM: Complete Setup Guide for QB-Core and ESX
- QBCore FiveM RP Framework: Complete Setup and Configuration Guide
- Silkroad Online vSRO Çoklu Client Proxy Sistemi – JavaScript Bot Kaynak Kodu
- MU Online Discord Bot – Python ile Top 50 Ranking ve PK Sistemi
Reklam Ver