The Sngine Live Addon connects your Sngine website to the self-hosted live server and adds the full live broadcasting experience inside Sngine.
This addon handles the Sngine-side flow: create live pages, watch pages, embedded live player, realtime comments, reactions, gifts, moderation, top supporters, recorded replay sync, and admin controls. It works with the Fluttercrafters live server and can also let the admin keep the legacy Agora mode enabled when needed.
Folder Structure
Install the Addon in Sngine
If you want the addon files through the same protected purchase-code flow, use the addon installer command below on your Sngine server.
wget -O install-sngine-live-addon.sh https://sngine-live.fluttercrafters.com/install-sngine-live-addon.sh
bash install-sngine-live-addon.sh \
--purchase-code=YOUR_PURCHASE_CODE \
--domain=app.example.com \
--target=/var/www/html
- Copy the
fluttercrafters-livestream/folder into the root of your Sngine website. - Import the SQL file:
fluttercrafters-livestream/install.sql. - Open the Sngine admin area and go to the Fluttercrafters Livestream card.
- Open
/fluttercrafters-livestream/adminor/fluttercrafters-livestream/admin.php. - Save the live server API URL, API key, API secret, and the runtime endpoints.
cp -R fluttercrafters-livestream /path/to/sngine-root/
# then import fluttercrafters-livestream/install.sql into your Sngine database
Database Tables Added by the Addon
Sngine Addon Admin Panel
The addon admin dashboard is organized for connection settings, gifts, logs, and editable quick links.
Provider Selection
The addon lets the admin decide which live provider users should see. This is controlled from the Sngine addon admin panel, not by end users.
- Fluttercrafters Live Pro: uses your self-hosted server, WebRTC, RTMP, recording, gifts, and the advanced live flow.
- Sngine Agora Live: keeps compatibility with the older Agora-based live mode if you still need it.
Audience Requirement Rules
You can define who is allowed to go live from the addon admin panel.
No minimum requirement: anyone eligible in Sngine can go live.Followers only: user must have at least the configured follower count.Friends only: user must have at least the configured friend count.Followers or friends: reaching either one is enough.Followers and friends: both thresholds must be reached.
The addon reads Sngine's own follower and friend system. Setting the threshold to 0 means that side of the rule is effectively not restricting anyone.
Live Features Inside Sngine
Gifts, Earnings, and Platform Profit
The addon includes a full live gift system with a catalog, price management, creator earnings, and platform commission.
- Gift catalog supports icon, image URL, sound URL, price, and sort order.
- Gift purchases can use wallet or points, depending on the admin setting.
- Creator earnings can go to wallet or monetization balance, depending on the chosen payout target.
- Platform commission percentage is stored and tracked per gift transaction.
- Logs record sender balance, receiver balance, commission, and net creator earning.