Skip to content

btnrv/swiftlys2-skills

v0.1.0GPL-3.0-only

Skills for building SwiftlyS2 plugins for Counter-Strike 2.

sws2-text-styling

Style and localize SwiftlyS2 player-facing text, including chat messages and prefixes with bracket color tokens such as [green], the actual CS2 chat palette, translations in resources/translations/*.jsonc with Core.Translation and Core.Localizer, CenterHTML markup, fonts and sizes, and escaping player-controlled text. Use whenever a plugin sends chat, center, alert or HTML messages, adds a prefix, colors or formats text, supports multiple languages, or when the user mentions SendChat, SendCenterHTML, translations or chat colors.

Read SKILL.md at the source

Pinned to revision b8ce269292be, so it is the text this page describes rather than whatever the author pushed since.

Files

Every link opens the file at its source, pinned to the revision this page describes.