Skip to content

Configuration

shmitzas edited this page Nov 10, 2026 · 1 revision

Configuration

Created on first start in addons/swiftlys2/configs/plugins/VIPCore/:

File Holds
config.jsonc The settings on this page
vip_groups.jsonc The VIP groups and the features each grants — VIP Groups

Modules with settings of their own keep them in their own folder — see Modules.

  • Changes apply on save. Restart needed for DatabaseConnection and ServerId.
  • A key missing from the file is added back, with its default, at the next start.

Default file

{
  "vip": {
    "DatabaseConnection": "default",
    "TimeMode": 0,
    "VipLogging": true,
    "ServerId": null,
    "ShareServerId": false,
    "FreezeMenu": false,
    "FreezeAdminMenu": false
  }
}

vip

Setting Default Description
DatabaseConnection "default" Connection name from SwiftlyS2's configs/database.jsonc. An unknown name uses SwiftlyS2's default connection. Restart to apply
TimeMode 0 Unit of grant times in the add commands and VIP_GoldMember: 0 seconds, 1 minutes, 2 hours, 3 days. Any other value counts seconds
VipLogging true Extra console logging
ServerId null This server's ID in vip_servers. null = the one it registered with. Restart to apply — Database
ShareServerId false Local grants from every server apply here too — Database
FreezeMenu false Freeze players while the VIP menu, Perks or Customize is open
FreezeAdminMenu false Freeze admins while VIP users or Grant VIP is open

With TimeMode 0, !vip_adduser 76561198000000000 VIP 30 gives 30 seconds. Set it to 3 to count days.

Clone this wiki locally