
๐ Advanced Authentication System for Velocity Proxy Servers
Advanced Authentication System for Velocity Proxy Servers ๐

Secure your Velocity network with advanced authentication, Discord integration, and premium account support

Seamless Discord verification with interactive buttons

Powerful admin tools accessible through Discord slash commands

Real-time security notifications keep your account safe

plugins/ folderplugins/relishauth/config.yml to configure your authentication methodconfig.yml# Choose your authentication method
authentication:
method: "password" # Options: password, discord
premium-auto-login: true
allow-bedrock-players: true
# Session management
session:
duration: "5m" # Options: 0, 1m, 5m, 15m, 30m, 1h
allow-different-locations: true
# Database setup
database:
type: "sqlite" # Options: sqlite, mysql, mariadb
sqlite:
path: "data.db"
Perfect for traditional servers wanting secure password-based auth:
authentication:
method: "password"
password:
min-length: 6
max-length: 32
hashing: "argon2" # Secure password hashing
How it works:

Ideal for Discord-centric communities:
authentication:
method: "discord"
discord:
bot-token: "YOUR_BOT_TOKEN"
server-id: "YOUR_DISCORD_SERVER_ID"
How it works:


Streamlined experience for premium players:
authentication:
premium-auto-login: true
allow-premium-offline: false # Security: prevent impersonation
How it works:

security:
authentication-timeout: 300 # 5 minutes to authenticate
password-attempts:
max-attempts: 3
lock-duration: 15 # Minutes
premium:
verification-timeout: 5
api-url: "https://api.mojang.com/users/profiles/minecraft/"
customization:
limbo:
dimension: "THE_END" # OVERWORLD, NETHER, THE_END
gamemode: "SPECTATOR"
spawn:
x: 0
y: 64
z: 0
block-movement: true
| Command | Description | Usage |
|---|---|---|
/ra password <pass> <confirm> |
Set/change password | /ra password mypass123 mypass123 |
/ra discord <username> |
Link Discord account | /ra discord john_doe |
/ra logout |
Clear all sessions | /ra logout |
/ra session [duration] |
Set session duration | /ra session 30m |
/ra notify <on/off> |
Toggle join notifications | /ra notify on |
/ra unlink |
Unlink Discord account | /ra unlink |
/ra info |
View account information | /ra info |
| Command | Description | Usage |
|---|---|---|
/ra reload |
Reload configuration | /ra reload |
/ra info <player> |
View player information | /ra info PlayerName |
/ra unlink <player> |
Unlink player's Discord | /ra unlink PlayerName |
/ra block <username> <ip> |
Block username from IP | /ra block Griefer 192.168.1.1 |
/ra unblock <identifier> |
Unblock username/IP | /ra unblock Griefer |
Create Discord Application
Configure Bot Permissions
Required permissions:
Invite Bot to Server
https://discord.com/api/oauth2/authorize?client_id=YOUR_BOT_ID&permissions=268435456&scope=bot%20applications.commands
Configure in RelishAuth
discord:
bot-token: "YOUR_BOT_TOKEN"
server-id: "YOUR_DISCORD_SERVER_ID"
linked-role-id: "ROLE_ID_FOR_LINKED_USERS"
| Command | Description | Permission |
|---|---|---|
/link |
Instructions for linking account | Everyone |
/session [duration] |
Set session duration | Linked users |
/notifications [toggle] |
Toggle join notifications | Linked users |
/info [player] |
View account information | Admin |
/kick <player> |
Kick player from server | Admin |
/unlink <player> |
Unlink player's account | Admin |
/block <username> <ip> |
Block username from IP | Admin |
/unblock <identifier> |
Unblock username/IP | Admin |
/reload |
Reload plugin configuration | Admin |
Made with โค๏ธ by M5LB