Skip to content

Configuration

Every setting in SkinStudio.json: database, licence, Workshop addon, menu behaviour.

Everything is in one file: game/csgo/addons/counterstrikesharp/configs/plugins/SkinStudio/SkinStudio.json. The top level holds the skin engine's settings; the "Studio" block holds the menu's.

The settings you must fill in

SkinStudio.json
{
  "DatabaseHost": "your-mysql-host",
  "DatabasePort": 3306,
  "DatabaseUser": "your-user",
  "DatabasePassword": "your-password",
  "DatabaseName": "your-database",

  "Studio": {
    "LicenseKey": "KSL-ABCDE-FGHJK-MNPQR-STUVW",
    "LicenseServer": "https://studio.krispshot.in",
    "WorkshopAddonId": "<Workshop ID from your portal>"
  }
}

Leave the other lines as they are. If you're moving from WeaponPaints and leave the database fields empty, the plugin uses the login from configs/plugins/WeaponPaints/WeaponPaints.json.

Engine settings (top level)

SettingDefaultWhat it does
Database…MySQL login. The tables are created automatically.
CmdRefreshCooldownSeconds3How often a player may use !wp.
WebsiteYour loadout website, if you have one, shown to players in chat.
WebRefreshEnabledtruePick up changes made on your website. See Website sync.
WebRefreshIntervalSeconds4How often to look for website changes.
AdditionalTurn sections on or off (KnifeEnabled, GloveEnabled, AgentEnabled, MusicEnabled, PinsEnabled, PetsEnabled…), rename chat commands (CommandKnife…), and the VIP command list.

Menu settings ("Studio" block)

SettingDefaultWhat it does
LicenseKey""Your licence key.
LicenseServerhttps://studio.krispshot.inLeave as it is.
WorkshopAddonId""The menu addon players download.
ManageMultiAddonManagertrueTurns on MultiAddonManager's download cache and hides reconnect messages.
BrandName, BrandSubtitleKRISPSHOT, LOADOUTSThe name at the top left of the menu.
ChatPrefix[KRISPSHOT Loadouts]Prefix of every chat message.
OpenCommandsinv, inventory, loadout, studioExtra commands that open the menu. !skins and !ws always do.
Permission""Flag needed to open the menu at all. See Permissions.
SectionPermissionsall emptyA flag per section.
ApplyCooldownMs600Minimum time between two Apply clicks per player.
MaxPresets, MaxFavourites8, 75Per player.
NameTagMaxLength20
ChatTypingtrueWhile the on-screen keyboard is open, a chat line is used as the text.
OpenWithBuyKeyfalseOpen the menu with B. This replaces the buy menu, so only use it in modes without buying.
CloseOnDeathfalseClose the menu when the player dies.
PrecacheAgentstrueLoad agent models with the map so switching agent is instant. Applies from the next map.
RebuildPanelOnConnecttrueWorks around a CS2 bug that blanks menu text when someone joins.
DebugfalseLog every click.

After editing, restart the server or change the map.