Configuration
Admins, prefix, toggle key, and the GlobalConfig DataStore.
AGMS reads configuration from two places:
Shared/Config.luaships the defaults.- GlobalConfig DataStore stores overrides edited at runtime by the experience owner. Both are merged on boot and replicated to clients.
Admins
Config.Admins = {
[game.CreatorId] = 6,
-- [1234567890] = 4, -- Head Admin
}
game.CreatorId always has Owner rank when set. In group games CreatorId is
0; populate Config.Admins manually instead.
Prefix and toggle key
Config.Prefix = ";"
Config.ToggleKey = "N" -- KeyCode name as a string
Both are editable from the in-game Config page and persist via DataStore.
Discord webhooks
Add a StringValue named AGMS_DiscordWebhookUrl to ServerStorage.
Leave it empty to disable webhooks. The URL never leaves the server.
ServerStorage
└── AGMS_DiscordWebhookUrl (StringValue)
Enable individual log types from the Config page (Moderation).
Personal preferences
Each player saves their own theme, UI scale, animation speed, reduced motion, and sound IDs. Default theme is Noir. The owner does not control these.