▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/Servarium
Servarium

Servarium

Adds a customisable server list to Minecraft and enables you to configure every aspect of your servers.

Оцените первым
1.6K
19

Servarium

Adds a customisable server list to Minecraft and enables you to configure every aspect of your servers.

!Cover image

Features

  • Configurable name, motd and player count with colour and formatting support (Markdown & QuickText)
  • Custom server icon
  • Modifiable ping icon and player count
  • Custom text alignment and spacing options
  • In-game config editor
  • Using vanilla server motd, ping and/or player count instead of a forced one available as an option
  • Templated player count to enable formats such as "15 of 100" using actual player count data

Note: Unchecked features are not yet available but are planned for a later release.

Requirements

Servarium is a client-side mod and requires the following dependencies:

Placeholder API is bundled directly into the mod and does not need to be installed separately.


Configuration Structure

The configuration file is written in YAML and is located at config/servarium/config.yml in your Minecraft directory. It has two top-level sections:

KeyTypeDefaultDescription
settingsSettingssee belowGeneral mod settings.
serverslist of Server entries[]The servers shown in the custom server list.

Note: Some values are listed in the configuration but are not yet implemented. They are marked with "⚠️ Not yet implemented." below and should not be used for now.

Example

!Example server

---
settings:
  list_header: "Servarium"
  button_label: "Servarium"
  button_placement: NEXT_TO_MULTIPLAYER

servers:
  - name: "Minecraft Server"
    address: "play.example.com"
    icon:
      type: DEFAULT
    motd: |-
      Example MOTD
      for the example server
    player_count:
      type: FORCED
      value: "12/100"
    ping_icon: LEVEL_5
    text_alignment: CENTER
    text_spacing: BALANCED

All options are optional. Any option you leave out falls back to its default value.


Settings

General options that control how the mod appears in the main menu.

KeyTypeDefaultDescription
list_headerstring"Servarium"The text displayed at the top of the server list.
button_labelstring"Servarium"The text displayed on the button that opens the server list.
button_placementenumNEXT_TO_MULTIPLAYERWhere the button is placed on the title screen.

button_placement

ValueBehavior
NEXT_TO_MULTIPLAYERAdds the button next to the Multiplayer button. (default)
REPLACE_MULTIPLAYERReplaces the Multiplayer button with the Servarium button.
NEXT_TO_REALMSAdds the button next to the Realms button.
REPLACE_REALMSReplaces the Realms button with the Servarium button.

Server entries

Each item in the servers list describes one server.

KeyTypeDefaultDescription
namestring"Minecraft Server"The name displayed for the server.
addressstring""The address of the server (for example play.example.com or play.example.com:25566).
iconIconsee belowThe icon shown for the server. See icon.
motdstring""The message of the day, up to 2 lines. See motd.
player_countPlayer countsee belowControls how the player count is displayed.
ping_iconenumLEVEL_5Controls the connection/ping icon.
text_alignmentenumLEFTAlignment of the server text.
text_spacingenumVANILLALine spacing of the server text.

Icon

An object controlling how the server icon is rendered:

KeyTypeDefaultDescription
typeenumDEFAULTThe icon source type.
valuestringomittedThe file name, atlas and sprite, username, or base64 string.
type
ValueBehaviorvalue
NONEDraws no icon in the GUI.Ignored
DEFAULTDisplays the default server icon. (default)Ignored
FILELoads an image from the icons/ directory.Required
ATLASRenders a texture from a game atlas.Required
PLAYERShows a player's face from their skin.Required
BASE64Renders a Base64-encoded image.Required
Using a file

Place the file in config/servarium/icons/:

config/servarium/
├── config.yml
└── icons/
    └── my_server.png

Set value to the file's name:

icon:
  type: FILE
  value: "my_server.png"

Subfolders and other paths are not supported. The file must be placed directly in the icons folder.

Using an atlas texture

Specify the atlas and the sprite from it, separated by a space:

icon: 
  type: ATLAS
  value: "blocks block/bedrock"

Here blocks is the atlas and block/bedrock is the sprite from that atlas.

Using a player's face
icon: 
  type: PLAYER
  value: "TMShader"
Using base64
icon:
  type: BASE64
  value: "iVBORw0KGgoAAAANSUhEUg..."
Using the default image or hiding the icon
icon:
  type: DEFAULT
icon:
  type: NONE
Image size

A 64x64 image is recommended. Images of any other size are resized automatically.

motd

The message of the day can have a maximum of 2 lines. To configure both lines, write the text as a multi-line string using YAML's literal block style (|):

motd: |
  First line
  Second line

For a single line, a regular string is enough:

motd: "Welcome!"

Player count

An object with two properties:

KeyTypeDefaultDescription
typeenumFORCEDHow the player count is determined.
valuestring""The text used by the FORCED type.
type
ValueBehaviorvalue
NONEHides the player count.Ignored
FORCEDAlways displays the text in value exactly as written. (default)Required
VANILLA⚠️ Not yet implemented.Ignored
TEMPLATED⚠️ Not yet implemented.Required
Examples
# Hide the player count
player_count:
  type: NONE
# Always show a fixed text
player_count:
  type: FORCED
  value: "12/100"

ping_icon

Controls the icon shown on the right side of the server entry.

ValueBehavior
NONENo ping icon is shown.
VANILLA⚠️ Not yet implemented.
LEVEL_1Always shows the ping level 1 icon
LEVEL_2Always shows the ping level 2 icon
LEVEL_3Always shows the ping level 3 icon
LEVEL_4Always shows the ping level 4 icon
LEVEL_5Always shows the ping level 5 icon (default)
UNREACHABLEAlways shows the "unreachable" icon

text_alignment

ValueBehavior
LEFTAligns the motd and server name to the left. (default)
CENTERCenters the motd and server name.

text_spacing

Controls the vertical spacing between the server name and the MOTD lines. In vanilla, the gap between the server name and the first line of the MOTD is larger than the gap between the two MOTD lines. All other options apply equal spacing across all three lines.

ValueBehavior
VANILLAUses the vanilla spacing. (default)
RELAXEDSlightly larger spacing than BALANCED.
BALANCEDEqual spacing between all lines, closest to vanilla.
COMPACTTighter spacing.
TIGHTThe tightest spacing available.
Positioning the server name

When text_spacing is not VANILLA, the server text can be thought of as having three lines: name is line 1, and motd provides lines 2 and 3.

This lets you place the server name on line 2 (the first line of the motd), which centers it vertically. To do this, set name to an empty string and write the actual name as the first line of the motd:

servers:
  - name: ""
    motd: "My Server"
    text_spacing: BALANCED

Text Formatting & Placeholders

Servarium parses text using Placeholder API's built-in QuickText and Markdown formatters. Formatting tags and styles can be used in:

  • settings.list_header
  • settings.button_label
  • servers[].name
  • servers[].motd
  • servers[].player_count.value (when type is FORCED or TEMPLATED)

For the full list of tags, colours, gradients, and syntax rules, see the QuickText Documentation.


Quick reference

KeyAllowed valuesDefault
settings.list_headerAny string"Servarium"
settings.button_labelAny string"Servarium"
settings.button_placementNEXT_TO_MULTIPLAYER, REPLACE_MULTIPLAYER, NEXT_TO_REALMS, REPLACE_REALMSNEXT_TO_MULTIPLAYER
servers[].nameAny string"Minecraft Server"
servers[].addressAny string""
servers[].icon.typeNONE, DEFAULT, FILE, ATLAS, PLAYER, BASE64DEFAULT
servers[].icon.valueFile name, atlas and sprite, username, or base64 stringomitted
servers[].motdAny string, up to 2 lines""
servers[].player_count.typeNONE, FORCED (VANILLA and TEMPLATED are not yet implemented)FORCED
servers[].player_count.valueAny string (required only for FORCED and TEMPLATED)""
servers[].ping_iconNONE, LEVEL_1, LEVEL_2, LEVEL_3, LEVEL_4, LEVEL_5, UNREACHABLE (VANILLA is not yet implemented)LEVEL_5
servers[].text_alignmentLEFT, CENTERLEFT
servers[].text_spacingVANILLA, RELAXED, BALANCED, COMPACT, TIGHTVANILLA
Партнёрский материал

Как поиграть с друзьями с модом Servarium?

Мод Servarium куда интереснее в компании: поднимите сервер Майнкрафт с уже установленным модом, позовите друзей и играйте по своим правилам. Хостинг Майнкрафт для мода Servarium будет готов за пару минут - BungeeHost сделает всё за вас.

Часто задаваемые вопросы

Совместимость

Minecraft: Java Edition

26.3.x1.19.x1.17.x1.16.x

Платформы

Поддерживаемые окружения

Клиент

Ссылки


Создатели

Детали

Лицензия:
Опубликован:5 лет назад
Обновлён:1 неделю назад
Главная