Skip to content

Features

Network, playtime and profiles

Server switching through the proxy, network status placeholders, player profiles, preferences and playtime tracking in sofyCore.

Switching servers

sofyCore sends players to another server with the proxy's plugin messaging channel (Connect). Nothing is installed on the proxy:

  • BungeeCord / Waterfall: works as is.
  • Velocity: works while velocity.toml has bungee-plugin-message-channel = true (the default).

The proxy may know a server by a different name than server.id; each server asks the proxy once and publishes the answer in Redis. It is used by /follow, the staff list and the server manager.

Network status

Every 10 seconds each server publishes a small status in Redis: visible players (vanished staff excluded), slots, version, TPS (on Paper), start time and proxy name. Placeholders such as %sofycore_online_network% and %sofycore_servers_online% read the last snapshot from memory.

Profiles and preferences

Each player has a profile identified by the UUID that the server provides. sofyCore does not query Mojang and never merges users by name: premium and offline UUIDs are different profiles. The profile stores the last known name, first and last join, last server, preferences (announcements, boss bar, private messages, mention sound, local rank display), ignored players and the selected tag.

Playtime

Playtime is measured with a monotonic clock per connection and saved every playtime.checkpoint-seconds (300 by default) from an asynchronous timer, never per tick. Saves are idempotent, so a repeated or late save never counts time twice. A crash loses at most the last checkpoint interval.

CommandPermission
/playtime (/pt)sofycore.playtime (default true)
/playtime <player>sofycore.playtime.others (default op)

Placeholders: %sofycore_playtime% (for example 2d 3h 0m 5s), %sofycore_playtime_seconds% and %sofycore_playtime_hours%.