Back to mods
VS Screen Alerts project artwork

Vintage Story Mod DB · Vintage Story mod

VS Screen Alerts

VS Screen Alerts A small universal Vintage Story code mod that lets admins send arbitrary text to player's screens, with full control over position, color and font. Commands (server) • /screenmsg <seconds> <text...> [style flags] &mdash; show to all online

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which VS Screen Alerts release matches 1.21.2-rc.3?

Updated today
Best match for your filters 1.0.2
Game version 1.21.0, 1.21.1-rc.1, 1.21.1-rc.2
Loader Built-in Vintage Story mod system

VS Screen Alerts 1.0.2 targets 1.21.0, 1.21.1-rc.1, 1.21.1-rc.2. It must be installed on the client. Installation on the dedicated server is optional. No extra mods listed for this file.

Where it goes

Is VS Screen Alerts required on the client, server, or both?

It must be installed on the client. Installation on the dedicated server is optional.

Client Required
Dedicated server Optional
Loader for this release Built-in Vintage Story mod system
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This release supports both sides, but the source does not require it on the server.

What else does VS Screen Alerts 1.0.2 need?

1.0.2 on 1.21.2-rc.3. Every mod below is checked against that same setup.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add VS Screen Alerts without breaking your instance.

Built for VS Screen Alerts 1.0.2 on 1.21.2-rc.3. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.0.2. It targets 1.21.0, 1.21.1-rc.1, 1.21.1-rc.2; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    It must be installed on the client. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.0.2. It opens that exact file at the source.

About this project

What does VS Screen Alerts add?

VS Screen Alerts

A small universal Vintage Story code mod that lets admins send arbitrary text to player's screens, with full control over position, color and font.

Commands (server)

  • /screenmsg <seconds> <text...> [style flags] — show to all online players
  • /screenmsgp <playername> <seconds> <text...> [style flags] — show to one player
  • /screenmsgclear — clear for all
  • /screenmsgclearp <playername> — clear for one
Use `\n` for new lines in `<text...>`.

Per-message style flags

Both /screenmsg and /screenmsgp accept optional flags that override the config style for that single message. Flags may appear anywhere among the text words.

  • --font / -f <name> — font family (e.g. Verdana); availability depends on client system fonts
  • --size / -s <n> — font size (6–200)
  • --color / -c <spec> — r,g,b, r,g,b,a, #rrggbb or #rrggbbaa (RGB 0–255, alpha 0–1)
  • --align / -a <Area> — on-screen anchor: CenterMiddle, CenterTop, LeftTop, RightBottom, …
  • --offset / -o <x,y> — pixel offset from the anchor

Examples:

/screenmsg 10 Restart soon! --color 255,80,80 --align CenterTop
/screenmsgp Alice 8 Welcome! --font Verdana --color #00ff00
/screenmsg 7 Boss spawned! --font Lora --size 40 --offset 0,120

Config

The mod auto-creates a config file on both server and client:

VintagestoryData/ModConfig/vsscreenalerts.json

Default format:

[
  {
    "priority": "server",
    "fontSize": 36,
    "fontName": "",
    "textAlignment": "CenterMiddle",
    "textOffset": [0, -90],
    "textColorRGBA": [255, 255, 255, 1]
  }
]
  • priority"server" (default) use the style received from the server; "client" ignore the server style and use the local config
  • fontSize — font size
  • fontName — font family; empty = the game's default font
  • textAlignmentEnumDialogArea name (anchor point on screen)
  • textOffset[x, y] pixel offset from the anchor
  • textColorRGBA[r, g, b, a]; RGB accepts 0–255 or 0–1, alpha 0–1

The server sends its config style to clients inside every notification packet. Per-message flags only affect the server-side style that is sent.

Contribute

You can access & contribute source code by links on the top of this page. Thank you for choosing and supporting my modification!

Project description from Vintage Story Mod DB.

Pick your setup

VS Screen Alerts releases for each Vintage Story version.

Choose the version and loader you play, then open the matching release.

20 available setups

Showing the newest 12 of 20 game versions. Older files are in the list below.

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

VS Screen Alerts versions and loaders

1 of 4 releases match
Clear filters

Looking for an older file? The official Vintage Story Mod DB project page is in Resources.