Skip to content

Optimize

Remote configs

Change gameplay values from shipLua, for everyone or for a segment, without publishing a new place version.

Server Script
local multiplier = ShipLua:GetConfig(player, "CoinMultiplier", 1)
local eventOn = ShipLua:GetConfig(player, "HalloweenEvent", false)
  • A config has a key, a type (true/false, number, text or JSON), a default and optional limits such as a minimum and maximum.
  • Rules target a segment, a share of players or a time window. The first matching rule wins, in the order you set.
  • Servers check for changes about once a minute. The default you pass in code is used until shipLua answers.
  • Every publish is a new version you can roll back to, and every change is recorded with who made it.