Download Styled Sidebars — Minecraft Mods — MetaMods
Styled Sidebars

Styled Sidebars

Active

Downloads

0

Last update

1 month ago

Versions

1.19.3 — 1.21.9
Server
Fabric
Quilt
Control
Utils

Styled Sidebars

Logo

Styled Sidebars mod provides powerful tools for creating dynamic server-side information panels using the scoreboard system. You get complete control over information display to players with support for various operation modes.

Example

Main Features

Three types of sidebars are supported:

  • Static - information remains unchanged
  • Scrolling - text smoothly moves with looping capability
  • Paged - information is divided into multiple pages with automatic switching

All formats are fully compatible with Text Placeholder API and supporting mods.

Management Commands

  • /styledsidebars - main command (available by default)
  • /styledsidebars reload - reload configuration and styles
  • /styledsidebars switch <style> or /sidebar <style> - change active style
  • /styledsidebars switchothers <players> <style> - change style for other players

Configuration Setup

Main configuration file is located in ./config/styled-sidebars/ folder:

{
  // Configuration version - do not modify!
  "config_version_dont_modify": 1,
  // Default style (determined by style filename)
  "default_style": "default",
  "messages": {
    // Message on successful style change
    "changed": "Your sidebar has been changed to: <gold>${style}</gold>",
    // Message when trying to select non-existent style
    "unknown": "<red>This sidebar doesn't exist!</red>"
  }
}

Creating Styles

You can create unlimited number of styles by placing them in ./config/styled-sidebars/styles/ folder. Use reload command to apply changes.

Example style structure:

{
  // Access conditions for the style
  "require": {/ ... /},
  // Display name in commands
  "config_name": "...",
  // Update interval in ticks (1/20 of second)
  "update_tick_time": 20,
  // Page and title change settings
  "page_change": 5,
  "title_change": 10,
  // Scroll speed
  "scroll_speed": 1,
  // Scroll looping
  "scroll_loop": true,
  // Panel title (supports formatting)
  "title": ["...", "...2"],
  // Lines for single-page panels
  "lines": [
    "...",
    {
      "value": ["..."],
      "require": {/ ... /}
    }
  ],
  // Pages for multi-page panels
  "pages": [
    ["...", {/ ... /}],
    ["..."]
  ]
}

Supported Placeholders

The mod uses standard placeholder system compatible with Placeholder API. For complete list of available placeholders, refer to Placeholder API documentation.

Project members
Patbox

Patbox

Developer

Created: 28 Jan 2023

ID: 5845