A Velocity fork for the Storia server family, with 50 built-in placeholders for the MOTD, tab list and messages, and a placeholder API for plugins.
- Everything Velocity does (all Velocity plugins work).
- 50 placeholders (
{online},{player_ping},{status_lobby}, ...) usable anywhere Storia Proxy shows text, with MiniMessage formatting. - Server list MOTD, tab list header/footer (refreshed every second) and join / leave / server switch
messages, all configured in
storia-proxy.toml. - Backend servers are pinged in the background, so
{status_<server>},{motd_<server>}and friends never slow anything down. /storiaproxy placeholderslists every placeholder with its current value,/storiaproxy parse <text>previews a line,/storiaproxy reloadreloads the config (permissionstoriaproxy.admin).
Created on first start:
[motd]
enabled = true
lines = [
"<gradient:#bdbdbd:#ffffff><bold>{proxy_name}</bold></gradient> <dark_gray>|</dark_gray> <gray>{servers_online}/{server_count} servers up",
"<gray>{online} players online <dark_gray>·</dark_gray> {time}"
]
max-players = -1
[tablist]
enabled = true
interval-ms = 1000
header = ["", "<white><bold>{proxy_name}</bold>", "<gray>{online}/{max} online <dark_gray>·</dark_gray> {time}", ""]
footer = ["", "<gray>{player_server} · ping <{player_ping_color}>{player_ping}ms</{player_ping_color}>", "<dark_gray>uptime {uptime}", ""]
[messages]
join = "<dark_gray>[<green>+</green>]</dark_gray> <gray>{player}"
leave = "<dark_gray>[<red>-</red>]</dark_gray> <gray>{player}"
switch = "<dark_gray>[<aqua>»</aqua>]</dark_gray> <gray>{player}: {previous_server} → {player_server}"
[server-status]
refresh-seconds = 10| Placeholder | Value |
|---|---|
{proxy_name} |
Proxy name |
{proxy_version} |
Proxy version |
{online} |
Players on the proxy |
{max} |
Max players (show-max-players) |
{server_count} |
Registered backend servers |
{servers_online} |
Backend servers answering pings |
{servers} |
Backend server names |
{most_popular_server} |
Backend with the most players |
{time} |
HH:mm |
{time_seconds} |
HH:mm:ss |
{date} |
yyyy-MM-dd |
{datetime} |
yyyy-MM-dd HH:mm |
{day_of_week} |
Day of the week (viewer's language) |
{uptime} |
Proxy uptime, e.g. 2d 3h 4m |
{uptime_seconds} |
Proxy uptime in seconds |
{memory_used} |
Heap used (MB) |
{memory_max} |
Max heap (MB) |
{memory_free} |
Free heap (MB) |
{memory_percent} |
Heap used (%) |
{cpu_cores} |
CPU cores |
{cpu_load} |
Proxy process CPU (%) |
{java_version} |
Java version |
{os} |
Operating system |
{plugin_count} |
Loaded plugins |
| Placeholder | Value |
|---|---|
{online_<server>} |
Players on the server (via this proxy) |
{players_<server>} |
Names of players on the server |
{status_<server>} |
online / offline |
{status_color_<server>} |
green / red, for <{status_color_lobby}> |
{max_<server>} |
Max players it reports |
{motd_<server>} |
Its MOTD as plain text |
{version_<server>} |
Its version name |
{latency_<server>} |
Ping from the proxy (ms) |
{address_<server>} |
host:port |
| Placeholder | Value |
|---|---|
{player} |
Name |
{player_uuid} |
UUID |
{player_ping} |
Ping (ms) |
{player_ping_color} |
green / yellow / red by ping |
{player_server} |
Current server |
{player_server_online} |
Players on that server |
{player_server_max} |
Max players of that server |
{player_server_motd} |
MOTD of that server |
{player_locale} |
Locale, e.g. ja_jp |
{player_language} |
Language name |
{player_client_brand} |
vanilla, fabric, ... |
{player_protocol} |
Protocol number |
{player_version} |
Client Minecraft version |
{player_virtual_host} |
Host name used to connect |
{player_online_mode} |
true if the account is verified |
{player_session} |
Time since joining |
{player_session_minutes} |
Minutes since joining |
Messages also have {previous_server} for server switches. Unknown placeholders are left as they are.
Depend on the Storia Proxy API (the Velocity API plus dev.storia.proxy.api):
StoriaPlaceholders placeholders = StoriaPlaceholders.get();
placeholders.register("coins", player -> player == null ? "0" : String.valueOf(coins(player)));
placeholders.registerPrefix("team_", (player, team) -> String.valueOf(teamSize(team))); // {team_red}
Component line = placeholders.render("<gold>{coins} coins</gold> on {player_server}", player);Registered placeholders work in storia-proxy.toml too.
./gradlew :velocity-proxy:shadowJar
# -> proxy/build/libs/storia-proxy-<version>.jarStoria Proxy is a fork of Velocity and keeps its licenses: the proxy is
GPLv3 and the API is MIT (see LICENSE and api/LICENSE). The original README is in
VELOCITY_README.md.