HomeJavaModsVelocityPacker
VelocityPacker
ModsJava

VelocityPacker

by TheLion102009 · on Modrinth

A easy plugin to send onetime a resourcepack over a proxy for velocity. Free Minecraft Java mod for 1.20, 1.20.1, 1.20.2.

⬇ Download on Modrinth

Velocitypacker

Kotlin Velocity SQLite

A Velocity plugin that automatically sends resource packs to players and stores their acceptance status in a SQLite database.

✨ Features

🚀 Installation

1. Download Plugin

# Clone repository
git clone https://github.com/TheLion102009/Velocitypacker.git
cd Velocitypacker

# Build plugin
./gradlew clean shadowJar

2. Install JAR

You can find the compiled JAR in build/libs/Velocitypacker-0.1.jar.

Copy this file to the plugins/ folder of your Velocity server.

3. Start Server

Restart your Velocity server. The configuration file will be created automatically.

⚙️ Configuration

The config.yml is automatically created in the plugins/velocitypacker/ folder:

# Resource pack URL (REQUIRED)
# Must be a direct download URL to a .zip file
resourcePackUrl: https://example.com/resourcepack.zip

# SHA-1 hash of the resource pack (OPTIONAL)
# Format: 40 hexadecimal characters (e.g. a1b2c3d4e5f6...)
# Leave empty if you don't want to use a hash
resourcePackSha1: ""

# Message shown to the player
# Supports Minecraft color codes with §
resourcePackPrompt: "§aPlease accept the resource pack to play!"

# Kick player if the resource pack is declined
kickOnDecline: true

# Kick player if the download fails
kickOnFailedDownload: true

# Kick message (supports color codes with §)
kickMessage: "§cYou must accept the resource pack to play!"

Generate SHA-1 Hash

Windows:

certutil -hashfile resourcepack.zip SHA1

Linux/Mac:

sha1sum resourcepack.zip

🔧 How It Works

Player Join Process:

  1. Player connects to proxy → Resource pack is sent immediately
  2. Server connection blocked → Player stays in resource pack screen
  3. Pack accepted → Automatic connection to first available server
  4. Pack declined → Player is kicked (if configured)

Server Switch Process:

Database:

📋 Logs

The plugin provides detailed logs:

[INFO] Initializing Velocitypacker...
[INFO] Configuration loaded
[INFO] Database initialized
[INFO] Event listener registered
[INFO] Sent resource pack to player Spieler123
[INFO] Player Spieler123 successfully downloaded the resource pack
[INFO] Connecting Spieler123 to lobby

🛠️ Technical Details

🏗️ Build

# Full build with all dependencies
./gradlew clean shadowJar

# Compile only (without Shadow)
./gradlew build

The final JAR is approximately 16 MB in size and contains all necessary dependencies.

📝 Important Notes

🐛 Troubleshooting

Plugin doesn't load

Resource pack is not sent

Players are not forwarded

📜 License

Created by thelion

🤝 Support

For questions or problems:


Good luck with your Velocitypacker plugin! 🎮

Verified by MCModsHub

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

Explore more