Global_Boosts.json - Unariginal/MoreSparkles GitHub Wiki

Global_Boosts.json

Stores the server's active and queued global boosts, so they survive restarts. Located at config/MoreSparkles/global_boosts.json.

Caution

This file is written by the mod. You normally don't need to edit it: use /sparkles boost start, /sparkles boost stop and /sparkles clear-queue <type> global instead. If you do edit it, stop the server first, because the mod overwrites it whenever global boosts change and on shutdown.

Note

New in 1.3.0. Global boosts used to be stored in Config.json as active_global_boost and queued_global_boosts. Those aren't carried over.

The file doesn't exist until the first global boost is started.

Example

A 2x Shiny global boost that's running, a paused 1.5x Experience global boost, and a 3x Shiny global boost waiting in the queue:

{
  "active_boosts": {
    "SHINY": {
      "boost_type": "shiny",
      "multiplier": 2.0,
      "boost_start_time": "2026-09-30T18:00:14.502917",
      "boost_expiration_time": "2026-09-30T19:00:14.502917",
      "boost_pause_time": null
    },
    "EXPERIENCE": {
      "boost_type": "experience",
      "multiplier": 1.5,
      "boost_start_time": "2026-09-30T17:30:14.502917",
      "boost_expiration_time": "2026-09-30T18:30:14.502917",
      "boost_pause_time": "2026-09-30T18:10:14.502917"
    }
  },
  "queued_boosts": {
    "SHINY": [
      {
        "boost_type": "shiny",
        "multiplier": 3.0,
        "boost_start_time": "2026-09-30T18:05:14.502917",
        "boost_expiration_time": "2026-09-30T18:35:14.502917",
        "boost_pause_time": null
      }
    ]
  }
}

Top Level

Field Type Description
active_boosts object A map of boost type → the active global boost of that type.
queued_boosts object A map of boost type → list of queued global boosts of that type, in the order they'll start.

Boost Fields

The same fields are used by Player_Data.json.

Field Type Description
boost_type string The boost type.
multiplier number The boost's multiplier.
boost_start_time string When the boost started, in the server's local time.
boost_expiration_time string When the boost ends, in the server's local time.
boost_pause_time string or null When the boost was paused, or null if it's running. See How-It-Works.

The boost's duration is the time between boost_start_time and boost_expiration_time. When a paused boost resumes, both times are pushed forward by however long it was paused.

For queued boosts, only the duration matters: the start and expiration times are reset when the boost starts.

Note

If this file can't be read, MoreSparkles renames it to global_boosts.json.broken so you can look at it, and starts with no global boosts.

See Also

⚠️ **GitHub.com Fallback** ⚠️