Configuration

Live and social

Live streams, gifts and PK battles, plus the social apps and Flame dating settings.

Files: configs/config_live.lua and configs/config_social.lua. What players see is on Live and Social.

#Config.Live

Live streams run over the video relay. The streamer's phone sends one picture per viewer, so the viewer cap is what limits the streamer's upload (MaxViewers x MaxBitrate kbit/s). Live needs video calls to be available.

Setting Type Default What it does
Live.Enabled boolean true Live streams on or off
Live.MaxViewers number 6 Viewers per stream
Live.MaxStreams number 10 Streams at the same time
Live.MaxBitrate number 1000 kbit/s the streamer sends to each viewer through the relay. The picture size and frame rate are Config.Video.Size and Fps
Live.Voice boolean true Everyone on screen is heard by everyone in the room, wherever they are; viewers are heard by nobody. pma-voice and mumble-voip. false: only players standing near a speaker hear them
Live.MaxGuests number 3 Seats beside the streamer, 0 to 3. 0 switches guests off
Live.SeatBitrate number 500 While more than one person is on screen, each of them sends this many kbit/s per receiver instead of MaxBitrate
Live.Categories string list irl, music, driving, racing, gaming, news Stream categories
Live.GiftCut number 0.2 The platform's share of every gift, removed from the economy. The streamer gets the rest
Live.GiftComboSeconds number 4 The same gift again within this many seconds keeps the sender's combo going
Live.InviteMax number 8 Viewers and the streamer can invite contacts by message; at most this many numbers per invite
Live.NotifyFollowers boolean true Followers with the bell on get a notification when the channel goes live
Live.NotifyNewFollower boolean true The streamer gets a notification for a new follower. During a stream it shows in the stream's chat instead
Live.HandleChangeDays number 7 The first username is free to pick; after that it can be changed once every this many days. 0: any time

Guests are viewers the streamer brings on screen. Every person on screen sends their own picture to everyone else in the room, so each seat multiplies the upload.

A channel gets the verified badge through the SetLiveVerified export: Other server exports.

#PK battles

A streamer challenges another stream. For the length of the battle the two rooms see and hear each other; gifts and likes score points for the room they are sent in. During a battle each streamer also sends to the other room's viewers.

Setting Default What it does
Live.Pk.Enabled true PK battles on or off
Live.Pk.Seconds 300 Length of a battle
Live.Pk.ResultSeconds 60 How long the result stays up. A rematch can be agreed meanwhile
Live.Pk.GiftPoints 10 Points per unit of money of a gift
Live.Pk.LikePoints 1 Points per like
Live.Pk.RushSeconds 30 The last seconds, in which everything counts more
Live.Pk.RushMultiplier 2 Multiplier during the rush

#Gifts

Live.Gifts is a list of { id, price, tier }. Gifts are paid from the viewer's bank. tier decides how the gift shows: 1 floats by, 2 is a banner, 3 and 4 are full-screen. Twelve gifts ship, from pig to yacht. Change the list and prices to fit your economy.

#Config.Social

Setting Type Default What it does
Social.VerifiedPrice number 10000 Price of the verified badge for VerifyDays days
Social.GoldPrice number 10000 Price of Flame Gold for Dating.GoldDays days
Social.PostMaxLength number 280 Characters per post
Social.BioMaxLength number 80 Characters per bio
Social.AccountsPerPlayer number 3 Accounts one character can create in each account app: Chirp, Pixl, Flame, Clips, Ask and Snap
Social.SwipeLimit number 50 Fallback only: used as Flame's daily swipe limit when Dating.SwipeLimit is left out
Social.StoryHours number 24 Hours a Pixl story stays up
Social.VerifyMode string 'purchase' How accounts get the verified badge: 'admin' (only admins), 'purchase', 'followers' (automatic at VerifyFollowers) or 'purchase_or_followers'
Social.VerifyFollowers number 500 Follower threshold
Social.VerifyDays number 30 Days a purchased badge lasts
Social.PinnedVideos number 3 Clips: how many of their own videos an account can pin to the top of its profile. 0 turns pinning off

The verification settings can be changed on the admin tablet while the server runs.

Default images for new accounts are in config_server.lua.

#Config.Dating

Flame. Gold costs Config.Social.GoldPrice and lasts GoldDays. It removes the daily swipe limit, raises the super likes per day to GoldSuperLikes, shows who liked you and allows undo at any time.

Setting Type Default What it does
Dating.SwipeLimit number 50 Swipes per real day without Gold
Dating.SuperLikesPerDay number 1 Super likes per day without Gold
Dating.GoldSuperLikes number 5 Super likes per day with Gold
Dating.GoldDays number 30 Gold duration
Dating.UndoSeconds number 10 Without Gold the last swipe can be undone for this many seconds
Dating.MaxPhotos number 6 Photos on a profile
Dating.MaxInterests number 5 Interests on a profile
Dating.SwipeDays number 30 Swipes older than this many days are deleted, so those people show up in Discover again. Used when Retention.swipes is not set
Dating.Interests string list 16 ids Interest ids. Labels are in the locale under flame.interests