-
Notifications
You must be signed in to change notification settings - Fork 21
Livecountsedit V7 Save Format
Livecountsedit v7 save format
Save version | Livecountsedit version(s) |
---|---|
1 |
v7.0.0 |
2 |
v7.0.1-2 |
3 |
v7.0.3-8 |
4 |
v7.0.9 |
5 |
v7.0.10-12 |
6 |
v7.1.0-2 |
7 |
v7.1.3+ |
Save Type | Counter |
---|---|
1 |
Livecountsedit theme |
2 |
Livecounts.net theme |
boolean - Default false
- Introduced in save version 1
Allows the use of HTML tags in places like the username and footer. This can only be enabled by importing a private save with this set to true
. Please use this responsibly.
object - Introduced in save version 2
The API settings.
number - Default 60
- Introduced in save version 2
The amount of time between API checks in seconds. The minimum is 1
and the maximum is (2^31 - 1)/1000
.
number - Default 10
- Introduced in save version 2
The "overestimation leeway" in percent: If the abbreviated version of the current count is higher than what is given by the API, the count is dropped back down to (100 - leeway)
percent of the way between the current API count and the next possible API count rounded down. For example, with count=124M or higher,api=123M,leeway=10 the counter drops to 123.9M. An exception is with leeway=0, which drops the counter to next possible API count - 1
or 123,999,999 in this example. Of course, the minimum value for this setting is 0
and the maximum 100
.
number - Introduced in save version 2
The interval ID of the API updater, or 0
if there is none. Has no effect when imported.
boolean - Default false
- Introduced in save version 2
Whether or not YouTube API updates are enabled. Always false
in public saves due to the API key being removed.
string - Introduced in save version 2
The YouTube Data API v3 key. Do NOT share it with anyone! Always empty in public saves.
string - Introduced in save version 2
The YouTube channel ID of the channel whose subscriber counter is being tracked.
array - Introduced in save version 1
boolean - Introduced in save version 7
Only has an effect on the Livecountsedit themed counter. If true, the settings are hidden and the counter expands to fill the width of the screen.
number - Introduced in save version 1
The Unix timestamp in milliseconds of when the save was last saved.
boolean - Default false
- Introduced in save version 1
Whether or not everything is paused.
boolean - Introduced in save version 2
Whether or not this save is a private save. This must be true to enable allowHTML
and to import data such as API keys.
string - Default livecountsedit
- Introduced in save version 6
Always "livecountsedit" for Livecountsedit. Has no effect.
number - Introduced in save version 1
A number that indicates which counter the save was exported from.
string - Default save
- Introduced in save version 1
The file name that is given to the save when exporting.
number - Default 2
- Introduced in save version 1
The time between on-screen counter updates in seconds. The minimum is 0.001
and the maximum is (2^31 - 1)/1000
.
number - Introduced in save version 1
The interval ID of the counter updater, or 0
if there is none. Has no effect when importing.
number - Introduced in save version 1
The save version, as shown in the table at the top of this page.
array - Introduced in save version 1
The data of the chart associated with this counter. If counter.settings.keepChartData
is false
, this data is discarded upon loading.
number - Introduced in save version 1
The numeric counter ID.
number - Introduced in save version 1
The amount that the counter gained by in the last update.
number or null - Introduced in save version 3
The API count from the last time the API was checked, or null
if API updates are disabled.
number - Introduced in save version 3
The Unix timestamp in milliseconds of when the counter was last updated.
number - Introduced in save version 3
Same as API update overestimation leeway (v7.0.3+)
object - Introduced in save version 1
The counter settings.
boolean - Default false
- Introduced in save version 1
Whether or not this counter is abbreviated and shows only three significant figures, as in the YouTube API after 2019.
number - Default 2
- Introduced in save version 1
The duration of the counter's animation. Minimum 0
. Set to 0
to disable the animation.
number - Default 0
- Introduced in save version 1
The animation setting: 0
is the default odometer animation, 1
is the YouTube Studio odometer animation, and 2
disables the odometer animation and makes the number count to the new value. In save versions 5+, 3
makes the odometer transition straight to the new value without going through the digits in between.
number - Default 4
- Introduced in save version 1
The amount the channel banner is blurred by in pixels.
file - Introduced in save version 1
Used temporarily when the banner image is added using "Choose File." This is converted to a data URI and stored in counter.settings.bannerURL
upon loading.
string - Introduced in save version 1
The URL of the banner image.
color - Default #000000
(black) - Introduced in save version 1
The background color.
color - Default #ff0000
(red) - Introduced in save version 1
The color of the line on the chart.
boolean - Default false
- Introduced in save version 7
Whether or not to show the "credits" (the text that says "lcedit.com") at the bottom right corner of the chart.
color - Default #bdbdbd
(a light gray) - Introduced in save version 7
Sets the color of the chart's grid, labels, and "credits" text.
number - Default 0
- Introduced in save version 1
The internal value of the counter. This is rounded (or abbreviated if abb
is true) when displayed.
color - Default #000000
(black) - Introduced in save version 1
The default color of the counter.
string - Introduced in save version 1
The custom distribution setting, where each line has the form of Min,Max,Weight
, where Min is the minimum gain, Max is the maximum gain, and Weight is the relative probability of choosing this category. For example: 123,456,1
and 69,420,2
on a new line will cause the counter to gain a random amount from 123 to 456 a third of the time, and a random amount from 69 to 420 two thirds of the time.
color - Default #000000
(black) - Introduced in save version 1
The color of the counter when it is counting down. Set to the same as counter.settings.counterColor
to effectively disable.
string - Default Arial, Helvetica, sans-serif
- Introduced in save version 4
The custom font for the counter.
number - Default 5
- Introduced in save version 4
The font setting: 0
= standard font, 1
= serif font, 2
= sans-serif font, 3
= monospace font, 4
= mathematical font as defined by your browser. 5
uses a custom font assuming it is installed on your system. 6
imports a font from Google Fonts.
number - Default 400
- Introduced in save version 4
The font weight. Note that not all font weights are supported on every font. 100
= thin, 200
= extra light, 300
= light, 400
= regular, 500
= medium, 600
= semi-bold, 700
= bold, 800
= extra bold, 900
= black
string - Introduced in save version 1
The footer text of the counter.
color - Default #000000
(black) - Introduced in save version 1
The color of the footer text.
number - Default 2
- Introduced in save version 1
The amount of time in seconds the counters gain per. Default 2
, which makes the gain rates in per default 2 second update interval. Set to 1
for gains in per second, 60
for gains in per minute, and 3600
for gains in per hour. Minimum 0.001
.
number - Default 0
- Introduced in save version 1
A number corresponding to the method that random numbers are chosen for updating the counter. 0
chooses a random value from minRate
to maxRate
for the gain uniformly. 1
chooses a value according to a normal (Gaussian) distribution with a mean of meanRate
and a standard deviation of stdevRate
. 2
chooses a value according to the custom distribution given in customRate
.
file - Introduced in save version 1
Used temporarily when the avatar image is added using "Choose File." This is converted to a data URI and stored in counter.settings.imageURL
upon loading.
string - Introduced in save version 1
The URL of the avatar image.
boolean - Default false
- Introduced in save version 1
Whether or not to keep the chart's data upon reloading.
boolean - Default false
- Introduced in save version 6
Only has an effect on Livecounts.net theme. If true, clicking the "Subscribe!" button adds 1 to the count.
number - Default 2^53 - 1
- Introduced in save version 1
The value at which the counter is capped at.
number - Default 450
- Introduced in save version 1
The maximum number of data points stored in the chart. Default 450
, which with the default 2 second update interval shows data for the past 15 minutes.
number - Default 0
- Introduced in save version 1
The maximum gain rate of the counter, used when counter.settings.gainType
is 0
(uniform distribution)
number - Default 0
- Introduced in save version 1
The mean gain rate of the counter, used when counter.settings.gainType
is 1
(normal distribution)
number - Default 0
- Introduced in save version 1
The minimum value the counter can display.
number - Default 0
- Introduced in save version 1
The minimum gain rate of the counter, used when counter.settings.gainType
is 0
(uniform distribution)
string - Default ,ddd
- Introduced in save version 5
The number format. ,ddd
results in a comma thousands separator, .ddd
results in a dot thousands separator, ddd
results in a space thousands separator, and d
results in no thousands separator.
boolean - Default false
- Introduced in save version 3
Whether or not to enable offline gains. Offline gains cause the counter to gain as if it were gaining during the entire time the counter was paused or not open, given that this amount of time is at least ten times the update interval.
boolean - Default false
- Introduced in save version 5
Whether or not to reverse the direction of the odometer animation
boolean - Default false
- Introduced in save version 1
Whether or not to show the banner
boolean - Default false
- Introduced in save version 1
Whether or not to show the chart (if there is one, then it will still be updating even when hidden)
boolean - Default false
- Introduced in save version 7
Whether or not to show the chart grid and labels
boolean - Default false
- Introduced in save version 1
Whether or not to show the footer text
boolean - Default true
- Introduced in save version 1
Whether or not to show the avatar
number - Default 0
- Introduced in save version 1
The standard deviation of the gain rate of the counter, used when counter.settings.gainType
is 1
(normal distribution). Minimum 0
.
string - Default User
- Introduced in save version 1
The title of the counter (usually the username)
color - Default #000000
(black) - Introduced in save version 1
The color of the counter title
color - Default #000000
(black) - Introduced in save version 1
The color of the counter when it is counting up. Set to the same as counterColor
to effectively disable.
number - Default 100
- Introduced in save version 1
The percent chance that the counter will update during each update interval. Can be used to "randomize" the update interval. If a counter is updated, its gains are scaled by 100 / probability in percent
to match the intended gain rates. Of course, the minimum value for this setting is 0
and the maximum 100
.
number - Default 2
- Introduced in save version 1
The time in seconds between counter updates. The minimum is 0.001
and the maximum is (2^31 - 1)/1000
Some counters have defaults different from the regular defaults.
JSON Key | Default Value |
---|---|
bannerURL |
https://lcedit.com/default_banner.png |
bgColor |
#222233 (a dark blue) |
chartCreditsEnabled |
true |
counterColor |
#ffffff (white) |
downColor |
#ffffff |
footer |
Subscribers |
footerColor |
#ffffff |
imageURL |
https://lcedit.com/default.png |
showBanner |
true |
showChart |
true |
showChartGrid |
true |
showFooter |
true |
titleColor |
#ffffff |
upColor |
#ffffff |
JSON Key | Default Value |
---|---|
bgColor |
#d0e4fe (a pale blue) |
imageURL |
https://lcedit.com/default.png |
lcNetSubButton |
true |