A minimal BeamMP client mod that shows a welcome popup with a Discord button automatically when a player joins the server.
- Welcome popup appears automatically on join
- Discord button opens your invite link directly in the browser
- No server-side component required
- Place the contents of this mod into your client zip
- Open
ui/modules/apps/ServerWelcome/app.jsand set your Discord invite link:var DISCORD_URL = 'https://discord.gg/XXXXXXX';
YourMod.zip
βββ lua/ge/extensions/
β βββ serverWelcome.lua # GE extension β applies the UI layout on world load
βββ scripts/
β βββ serverWelcome/
β βββ modScript.lua # Loads the GE extension
βββ ui/modules/apps/ServerWelcome/
β βββ app.html
β βββ app.js # β set DISCORD_URL here
β βββ app.css
β βββ app.json
βββ settings/ui_apps/layouts/default/
βββ Welcome.uilayout.json # Registers the app in the UI layout β do not remove
The Unlicense (public domain)
