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

LastServerAndLobby

Velocity plugin that adds /lobby and /last commands with configurable aliases, persistent storage, and movement logging (file/console).

9
0

🧭 LastServer & Lobby

Velocity Java License Downloads

The essential navigation utility for Velocity networks.
Seamlessly manage player movement between Backend servers, Lobbies, and their last known position.


📑 Table of Contents


✨ Features

FeatureDescription
🏰 Lobby CommandInstantly send players to your main Hub/Lobby with configurable aliases (e.g., /hub, /spawn).
🔙 Last ServerAllow players to return to their previous backend server with /last. Perfect for Auth lobbies.
💾 PersistenceRemembers player positions even after proxy restarts via data.yml.
📝 Smart LoggingTracks player movement (Switch/Join/Quit) in organized log files per session.
LightweightOptimized for Velocity 3.x. Zero lag, instant execution.

🚀 Installation

  1. Download: Get the latest .jar file.
  2. Upload: Place it into your proxy's plugins folder: Velocity/plugins/.
  3. Restart: Reboot your Velocity proxy.
  4. Enjoy: The config files will generate automatically.

📜 Commands & Permissions

Manage who can use the navigation features.

CommandAliases (Configurable)PermissionDescription
/lobby/hub, /exit, /leavelastserverandlobby.lobbyConnect to the configured Lobby server.
/last/return, /backlastserverandlobby.lastConnect to the last server visited.
/lastserver reload-lastserverandlobby.adminReloads config.yml.
/lastserver dump-lastserverandlobby.adminPrints memory stats (Debug).

💡 Tip: You can define multiple aliases for commands in the config.yml to fit your server's language.


💾 Storage & Persistence

The plugin intelligently saves where players have been. You can configure when to save data to disk to balance performance and safety.

Save Modes:

  • TIME: Saves data every X seconds.
  • MOVES: Saves data after X server switches.
  • BOTH: Uses both criteria (recommended for busy servers).

Data is stored in: plugins/lastserverandlobby/data.yml


📝 Movement Logging

Keep track of your players' journey through your network. The plugin creates a new log file every time the proxy starts.

Location: plugins/lastserverandlobby/logs/

Example Output:

[2026-01-15 23:15:05] JOIN   | name=Steve | uuid=...
[2026-01-15 23:15:06] SWITCH | name=Steve | from=JOIN | to=auth
[2026-01-15 23:15:11] SWITCH | name=Steve | from=auth | to=lobby
[2026-01-15 23:16:53] QUIT   | name=Steve | from=lobby | to=DISCONNECT

Configurable: You can toggle logging to Disk (file) and Console independently.

⚙️ Configuration

📄 Click to view config.yml structure
# LastServerAndLobby Configuration

# Target server for /lobby command
lobby-server: "lobby"

# Command Aliases
commands:
lobby-aliases:
- "hub"
- "spawn"
last-aliases:
- "back"
- "return"

# Persistence Settings
storage:
save-mode: "BOTH" # TIME, MOVES, or BOTH
save-interval: 300 # Seconds
moves-interval: 10 # Server switches

# Logging Settings
logging:
log-to-file: true
log-to-console: false

✅ Compatibility

  • Velocity: 3.x (Tested on 3.4.0+ snapshots).
  • Permissions: Fully compatible with LuckPerms Velocity.

⚖️ License

This project is licensed under the MIT License.

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

Minecraft: Java Edition

1.21.x1.20.x1.19.x1.18.x1.17.x1.16.x1.15.x1.14.x1.13.x

Платформы

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

Сервер

Детали

Лицензия:MIT
Опубликован:2 месяца назад
Обновлён:2 месяца назад
Главная