HomeJavaModsVelocityUtilsPlus
VelocityUtilsPlus
ModsJava

VelocityUtilsPlus

by link_1503 · on Modrinth

Utils that improve Velocity like load balancing, invites and improved perms. Including premium / priority balancing!

⬇ Download on Modrinth

A comprehensive Velocity proxy plugin that provides intelligent lobby balancing, premium player routing, database-backed player statistics, and advanced moderation features.

Java Version Velocity API

Features

Smart Lobby Management

Database Integration

Moderation Features

Player Statistics

Metrics and Monitoring

Requirements

Installation

  1. Download the latest VelocityUtilsPlus.jar from the Releases page
  2. Copy the JAR file to your Velocity plugins folder
  3. Start your Velocity server to generate the default configuration
  4. Stop the server and configure plugins/velocityutilsplus/config.toml
  5. If using database features, set up your database (see Database Setup section below)
  6. Restart your Velocity server

Configuration

The plugin will generate a config.toml file in plugins/velocityutilsplus/. Key configuration sections include:

Lobby Configuration

[lobbies]
# List your regular lobby servers (must match names in velocity.toml)
regular_lobbies = ["Lobby 1", "Lobby 2", "Lobby 3", "Lobby 4"]

# Premium player servers
premium_lobby = "Creator Lobby"
premium_challenge = "Creator Challenge"

Database Configuration

[database]
# Enable database integration
enabled = true
type = "mysql"  # or "mariadb"
address = "127.0.0.1:3306"
database = "vup"
username = "vup_user"
password = "your_secure_password"

# Connection pool settings
max_pool_size = 10
min_idle = 2
connection_timeout = 30000

[database.features]
playtime_tracking = true
statistics_tracking = true
friends_system = false  # Not yet implemented
database_bans = true

Permissions Configuration

[permissions]
# Define which permissions are required for each command
# Set to empty string "" to allow everyone to use the command
gban = "vup.admin"
gunban = "vup.admin"
banlist = "vup.moderator"
stats = ""  # Everyone can use /stats
stats_others = "vup.moderator"  # Permission to view other players' stats
leaderboard = ""  # Everyone can use /leaderboard
vup = "vup.admin"
lobby = ""  # Everyone can use /lobby
creator = "vup.premium"  # Premium players only
invite = ""  # Everyone can invite
accept = ""  # Everyone can accept invites

See config.toml.example for a complete configuration template.

Database Setup

If you want to use database features, you need to set up a MySQL or MariaDB database.

Step 1: Create Database and User

CREATE DATABASE vup CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
CREATE USER 'vup_user'@'localhost' IDENTIFIED BY 'your_secure_password';
GRANT ALL PRIVILEGES ON vup.* TO 'vup_user'@'localhost';
FLUSH PRIVILEGES;

Step 2: Configure Plugin

Update the database section in config.toml with your credentials. The plugin will automatically create all required tables on first startup when database is enabled.

Step 3: Optional Manual Schema Import

If you prefer to create the schema manually, you can import database-setup.sql.

For more details, see:

Commands

All commands are configurable with permissions in config.toml.

Navigation Commands

Command Aliases Description Default Permission
/lobby None Connect to a balanced lobby server None (everyone)
/creator None Connect to the creator/premium lobby vup.premium
/invite <player> None Invite a player to your current server None (everyone)
/accept None Accept a pending server invite None (everyone)

Moderation Commands

Command Description Default Permission Notes
/gban <player> <reason> Ban a player globally vup.admin Works offline if database bans enabled
/gunban <player> Unban a player globally vup.admin Works offline if database bans enabled
/banlist [page] View all active bans vup.moderator Paginated list

Statistics Commands

Command Aliases Description Default Permission Requires Database
/stats [player] None View playtime statistics None (everyone) Yes
/leaderboard [limit] /lb, /top View playtime leaderboard None (everyone) Yes

Admin Commands

Command Description Default Permission
/vup Plugin information and management vup.admin

Statistics Command Details

/stats [player]

/leaderboard [limit]

Permissions

The plugin uses a flexible permission system where all permissions can be customized in config.toml.

Default Permission Nodes

Navigation Permissions

Moderation Permissions

Statistics Permissions

Admin Permissions

Configuring Permissions

Edit the [permissions] section in config.toml to customize permission nodes:

[permissions]
gban = "myserver.admin.ban"      # Custom permission for /gban
stats = "myserver.stats.view"    # Require permission for /stats
lobby = ""                        # Empty string = no permission required

Using with LuckPerms

Example LuckPerms commands:

# Grant admin permissions
/lp group admin permission set vup.admin true

# Grant moderator permissions
/lp group moderator permission set vup.moderator true

# Grant premium player access
/lp user PlayerName permission set vup.premium true

# Allow all players to use stats
/lp group default permission set vup.stats true

For detailed permission setup with LuckPerms, see the permissions guide.

Common Issues

Database Connection Failures

Players Not Being Balanced

Commands Not Working

Statistics Not Tracking

For more detailed troubleshooting steps, see TROUBLESHOOTING.md.

Contributing

Contributions are welcome! To contribute to this project:

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/your-feature-name
  3. Make your changes and commit them: git commit -m 'Add some feature'
  4. Push to your branch: git push origin feature/your-feature-name
  5. Open a Pull Request

Please ensure your code follows the existing code style and includes appropriate documentation.

Support

If you encounter any issues or have questions:

When reporting issues, please include:

License

This project is licensed under the MIT License.

Credits

Changelog

Alpha-0.1 (Current Release)

Planned Features


Made with ❤️ for the Minecraft community

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more