Skip to content

v0.3.0 update - #55

Merged
Navio1430 merged 39 commits into
mainfrom
0.3.0
Sep 11, 2026
Merged

v0.3.0 update#55
Navio1430 merged 39 commits into
mainfrom
0.3.0

Conversation

@Navio1430

@Navio1430 Navio1430 commented Sep 10, 2026

Copy link
Copy Markdown
Owner

0.3.0

Changes

+ Update to Java 25
+ Update to Velocity 4.1.2

+ Added commands configuration: [name, aliases, enabled] per command

+ Mojang profile lookup now also caches non-premium (not found) usernames, so repeated login
  attempts against nicknames that have no Mojang account no longer hit the profile API every time
+ Only username resolution during login/register reads this not-found cache (avoids rate limits /
  latency on login spam and brute-force attempts)
+ Authoritative lookups (e.g. /premium, admin commands, username migration) keep using the live
  API and ignore the not-found cache, so they always reflect the current Mojang state
+ After successful login/register, the player is now sent directly to the initial
  server via VelocityServerConnectService instead of firing a faked PlayerChooseInitialServerEvent
+ Priority of PlayerChooseInitialServerEvent and ServerPreConnectEvent listeners set to always
  have the final say (MIN)
- No more fake PlayerChooseInitialServerEvent dispatch

Tradeoffs

  • A not-found cache entry is stored for the configured profileCacheTTL.
    If a player becomes premium (buys the game / renames to that nickname) within that window,
    username resolution may briefly still treat the name as non-premium until the cache expires.

Fixes

  • fix unexpectedErrorOccurred message: changed val to var (this was causing warning messages and no changes after /reload)
  • /changepassword now notifies premium accounts that they can't change their password
  • fix accountMigrationSuccess multification: not being sent to the player

Config

Messages config:

+ profileApiFailureKickMessage
+ accountNotNonPremiumError

General config:

+ commandsConfig

New contributors

Thanks!

  • WejsoneKK - implemented command aliases
  • ThomasWega - bug hunting

Navio1430 and others added 30 commits August 8, 2026 00:11
…vent; update priority of PlayerChooseInitialServerEvent and ServerPreConnectEvent to always have the final say
@Navio1430
Navio1430 merged commit 3a1aa36 into main Sep 11, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants