| 开发者 | jauntymellifluous |
|---|---|
| 更新时间 | 2026年5月23日 19:22 |
| PHP版本: | 7.2 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
@username gets visually picked outwp_lobbychat* tables.
Try it live
See LobbyChat running in production at bejaunty.com/plugins/lobbychat.
Roadmap
LobbyChat is the free, standalone version. Premium add-ons with gaming-community features — looking-for-group buttons, platform tags, profile-card integration, and richer moderation tools — are in development. Updates and announcements at bejaunty.com.
Support development
LobbyChat is free and developed in spare time. If it helps your community, you can support development at wise.com/pay/me/asadk372. Every bit is appreciated. ♥
Usage
After activating, drop this shortcode into any page, post, or text widget:
[lobbychat]
Then visit Settings → LobbyChat to configure rate limits, blocklist, and other options. For the AI bot, see Settings → LobbyChat AI Bot.
Developer hooks
LobbyChat exposes several filters and actions for theme/plugin developers:
lobbychat_after_send — action, fires after a message is saved. do_action('lobbychat_after_send', $user_id, $message_id, $row) — the third arg is the database row object.lobbychat_profile_url — filter, override the URL linked from a username (default: WP author archive)lobbychat_allowed_reactions — filter, override the array of allowed reaction emojilobbychat_report_threshold — filter, change the auto-hide report threshold (default: 5)lobbychat folder to /wp-content/plugins/, or install the zip via Plugins → Add New → Upload.[lobbychat] on the page or in the widget area where you want the chat to appear.No. LobbyChat uses simple HTTP polling at a configurable interval (default 30 seconds). It runs entirely on your own WordPress install with no external dependencies.
Yes — guest posting is on by default. They just enter a display name. You can require login in Settings if you prefer.
Edit the user in Users → All Users, change their role (or add the role) to LobbyChat Moderator. Administrators are automatically moderators.
The bot is off by default. To turn it on, you provide your own Gemini API key (Google offers a free tier — see aistudio.google.com/apikey) and/or OpenAI key. The bot calls those APIs directly from your server using your key. We never see your messages or your key.
Yes if you want. Set Auto-delete old messages in Settings to a number of days (default 30, set to 0 to keep forever). Pinned messages are never auto-deleted.
Not in the current version. Messages are stored in a standard MySQL table (wp_lobbychat) so any standard WP backup or export tool will include them.
Yes — every color is set via CSS custom properties (--lobbychat-accent, --lobbychat-bg, etc.) on the wrapper. Override them in your theme's stylesheet.
Yes, the layout is fully responsive and supports fullscreen mode.
github.com/JauntyMYT/lobbychat) for a more stable canonical URL.assets/js/admin.js) loaded only on the bot settings page via admin_enqueue_scripts, per WordPress.org coding standards.LBC_* prefix to LOBBYCHAT_* to meet the 4+ character prefix requirement.<title> tags, and falls back to a bare link card if no metadata is available.content before property, mixed quote styles, and follows redirects.parse_url() with wp_parse_url(), mt_rand() with wp_rand(), date() with gmdate().wp_unslash() to all $_POST and $_SERVER reads before sanitization.get_messages() to avoid dynamic SQL fragments — now uses two clean prepared queries.load_plugin_textdomain() (WP.org auto-loads translations since WP 4.6).Domain Path header (no /languages/ folder needed for WP.org-hosted plugins).Tested up to: 6.9 to match current WordPress release.lobbychat_ prefix.tag column from the messages table schema (auto-migrates from 1.0.0).