Skip to content

Discord Welcome Lightbox

A FiveM resource that displays a welcome screen on player join, showing Discord connection status, user roles, and provides a Discord invite link. Supports multiple Discord servers with role grouping and customizable UI.

Night Discord Welcome is a FiveM resource that displays a welcome screen on player join, showing Discord connection status, user roles, and provides a Discord invite link. Supports multiple Discord servers with role grouping and customizable UI.

  • Automatic Discord Verification - Checks Discord connection on player spawn
  • Real-Time Role Display - Shows all player Discord roles organized by server
  • Multi-Guild Support - Support for multiple Discord servers with custom colors
  • Guild Grouping - Roles organized by Discord server with colored headers
  • One-Click Copy - Easy Discord invite link copying with visual feedback
  • User ID Copy - Click-to-copy Discord User ID with hover highlights
  • Connection Status - Visual indicators for connected/not connected states
  • Customizable UI - Fully translatable with custom colors and themes
  • Logo Display - Showcase partner/sponsor logos in the welcome screen
  • Manual Command - Check Discord roles anytime with /discordroles
  • Tooltip Notifications - Visual feedback for copy actions
  • Modern Design - Glass-morphism effects with smooth animations
  • Multi-Language Support - Easy translation system for all text
  • Standalone: Works independently without any framework
  • ESX: Works alongside ESX framework, no integrations
  • QBCore: Works alongside QBCore framework, no integrations
  • OneSync Legacy: Fully tested and compatible
  • OneSync Infinity: Fully tested and compatible
  • night_discordapi - Required Discord API integration resource
  • FiveM Server - Requires FiveM server environment
  • Discord Bot - Discord bot must be configured in night_discordapi
  1. Install night_discordapi - Ensure Discord API resource is installed and configured
  2. Configure Discord Bot - Set up Discord bot in night_discordapi configuration
  3. Verify Discord API - Test that Discord API is working correctly
  1. Download from CFX Portal Assets after purchasing
  2. Extract the package to your local machine
  3. Verify files - Ensure all folders (client, config, html, server) are present
  1. Set FTP to binary mode - Critical for proper file transfer
  2. Upload ‘night_discord_welcome’ folder to your server’s resources directory
  3. Verify upload - Check that all files transferred correctly
  1. Add to server.cfg:
ensure night_discordapi
ensure night_discord_welcome
  1. Ensure proper order - night_discordapi must load before night_discord_welcome
  2. Start your server and verify both resources load without errors
  3. Check console for successful startup messages
File Purpose
night_discord_welcome/config.lua Main configuration settings
night_discord_welcome/html/style.css UI styling and themes
  1. Open VS Code and navigate to config.lua
  2. Read thoroughly - each setting has explanatory comments
  3. Configure Discord guild names - Must match night_discordapi config
  4. Set Discord invite link - Provide your Discord server invite URL
  5. Customize translations - Edit text strings for your language
  6. Configure guild colors - Set colors for role grouping headers
  7. Add sponsor logos - Configure partner/sponsor logo displays
  8. Test frequently - use F8 console for error checking
Config.DiscordGuildNames = {
["GUILD_ID_1"] = "Your Server Name",
["GUILD_ID_2"] = "Partner Server Name",
}
Config.DiscordInviteLink = "https://discord.gg/yourinvitecode"
Config.GuildColors = {
["GUILD_ID_1"] = "#FF5733",
["GUILD_ID_2"] = "#33FF57",
}
Config.Command = "discordroles" -- Command to manually check roles
  • Automatic Display - Welcome screen appears automatically on player spawn
  • Discord Verification - Checks player’s Discord connection status
  • Role Retrieval - Fetches all player roles from configured Discord servers
  • Status Indicators - Shows visual connection status (connected/not connected)
  • Multi-Guild Support - Displays roles from multiple Discord servers
  • Guild Grouping - Roles organized by Discord server with colored headers
  • Real-Time Updates - Shows current role assignments
  • Visual Organization - Clean, organized display of all roles
  • Invite Link Copy - One-click copy with visual feedback
  • User ID Copy - Click-to-copy Discord User ID with hover effects
  • Tooltip Notifications - Visual feedback for all copy actions
  • Manual Command - /discordroles command to check roles anytime
  • Logo Display - Showcase partner/sponsor logos
  • Theme Customization - Custom colors and styling options
  • Multi-Language - Full translation support
  • Glass-morphism Design - Modern UI with smooth animations
  • Color Themes - Customize colors for guild headers and UI elements
  • Logo Placement - Configure partner/sponsor logo display
  • Layout Options - Adjust welcome screen layout and positioning
  • Animation Settings - Control UI animations and transitions
  • Full Translation Support - All text strings are translatable
  • Easy Language Switching - Simple configuration for different languages
  • Custom Text - Modify all text strings to match server branding
  • Guild Names - Customize display names for Discord servers
  • Guild Colors - Assign colors to each Discord server
  • Role Organization - Roles automatically grouped by server
Command Description
/discordroles Manually check Discord roles and display welcome screen

Edit config.lua to change command:

Config.Command = "discordroles" -- Change to your preferred command name
  • Check F8 Console - Look for any error messages
  • Verify Configuration - Ensure all config settings are correct
  • Test Discord API - Verify night_discordapi is working independently
  • Check Resource Order - Ensure night_discordapi loads before night_discord_welcome
  • Match Guild IDs - Ensure Discord guild IDs match between night_discordapi and night_discord_welcome configs
  • Test Invite Link - Verify Discord invite link is working and not expired
  • Organize Guilds - Use descriptive guild names for better organization
  • Set Appropriate Colors - Choose guild colors that match your server branding
  • Clear Instructions - Provide players with information about Discord connection requirements
  • Welcome Message - Customize welcome screen text to match server style
  • Logo Placement - Use sponsor/partner logos appropriately without overwhelming the UI
  • Translation Quality - Ensure translations are accurate and match server terminology
  • Resource Order - Always load night_discordapi before night_discord_welcome
  • Configuration Efficiency - Only configure guilds and roles you actually use
  • Update Regularly - Keep both night_discordapi and night_discord_welcome updated
  • Monitor Performance - Check server console for any performance warnings

Read through the instructions again if you have not managed to install the resource. Can’t get it to work still? Create a ticket through our dedicated support system in Discord:

Nights Software Discord