FREE (1 Reviews) OpenPBBG/Gangster Legends
🔐 Discord Authentication Module for GLv2
Upgrade your login system with smooth, secure, and modern Discord authentication—fully built for GLv2. Perfect for any mafia, crime, or community game that wants to connect directly to Discord with minimal setup.
💬 Seamless Discord Login
Allow your players to log in using their Discord account with just one click. No more password headaches—just fast, safe access through OAuth2.
🎉 New Features & Enhancements
🔗 Discord Authentication Enhancements
Username & Avatar Support: Integrated retrieval of Discord user's username, and avatar.
🤖 Discord Bot Integration
Bot Configuration Panel: New admin interface to enable/disable the bot, set the bot token, and assign a target channel for announcements.
Bot Message Trigger: When a user successfully registers via Discord, the bot sends a notification message to the specified server channel.
Secure Token Handling: Bot token and channel ID are stored and managed via the existing settings system for secure and centralized management.
🧾 Admin Panel Update
Updated the Discord Authentication admin form with:
Bot toggle switch (Enabled/Disabled)
Input fields for Bot Token and Channel ID
Revised instructional note for creating a Discord Bot via the Discord Developer Portal
Chris Day
Amazing work, will use this in most projects i work on going forward! Only one slight change i would make would be to have custom CSS for the button to style it like discord, you can use the global CSS loader for the styles or even use inline css.