Sprache

Velocity Friends

Velocity Friends

Modrinth

This is a friends system for Velocity proxy servers that allows players to manage friendships, send messages, and interact across multiple servers.

506 Downloads 4 Follower aktualisiert 2d ago
neueste v1.4.1 Modrinth
Velocity 1.17 – 26.2 Social

This is a friends system for Velocity proxy servers that allows players to manage friendships, send messages, and interact across multiple servers.

What's New in Version 1.4.1:

  • Personal server switch notification toggle - Players can now enable/disable server switch notifications individually
  • Server alias system - Replace technical server names with custom display names in the config
  • Admin message spy feature - Monitor private messages with permission-protected /friend watch <player> command
  • Enhanced MySQL support - Full support for special characters in database passwords (" \ # ; : / ? & | $)
  • Hex color support in all messages - Use <#RRGGBB> (MiniMessage style) or &#RRGGBB (BungeeCord style) anywhere in config.yml
  • MySQL auto-reconnect - Plugin automatically reconnects to the database if it goes offline and comes back (30-second cooldown between attempts, no data loss)
  • Fixed stale MySQL connections - Added HikariCP keepalive, max lifetime, and connection validation to prevent silent failures after the database is idle
  • Fixed activity status (Active/AFK/DND) not being saved to MySQL - Was previously only stored in memory and reset on every restart
  • Server join action configurable: direct connection or custom command
  • Fixed config migration for new settings in server_aliases from existing configs

Commands:

  • /friend add <player> - Send a friend request
  • /friend accept <player> - Accept a friend request (works with offline players)
  • /friend deny <player> - Deny a friend request
  • /friend remove <player> - Remove a friend
  • /friend list - View all friends with online status and server location (click to join!)
  • /friend requests - Show pending friend requests
  • /friend msg <player> <message> - Send a private message
  • /friend reply <message> - Reply to the last message
  • /friend broadcast <message> - Message all online friends
  • /friend status [active|afk|dnd] - Set your activity status
  • /friend settings - Open the interactive settings menu
  • /friend version - Check plugin version and updates
  • /friend reload - Reload configuration (admin only)

Permissions:

  • friends.use - Basic permission to use the friends system
  • friends.reload - Permission to reload the plugin configuration

Settings Menu:
Players can customize their experience with toggleable options:

  • Friend Requests - Enable/disable receiving friend requests
  • Notifications - Toggle friend online/offline notifications
  • Messages - Enable/disable friend messages
  • Status Message - Set a custom status visible to friends

Plugin Messaging API:
The plugin provides a complete API for Spigot/Paper servers to interact with the friends system:

Available Requests:

  • GET_FRIENDS - Retrieve all friends with names and online status
  • GET_ONLINE_FRIENDS - Get only online friends
  • GET_SETTINGS - Fetch a player's settings and status message
  • UPDATE_SETTING - Change player settings from backend servers
  • GET_PENDING_REQUESTS - List all pending friend requests
  • ARE_FRIENDS - Check if two players are friends

Automatic Events:

  • FRIEND_ONLINE - Triggered when a friend comes online
  • FRIEND_OFFLINE - Triggered when a friend goes offline
  • FRIEND_SERVER_SWITCH - Notified when a friend switches servers (NEW in 1.2.0)
  • FRIEND_REQUEST - Sent when receiving a new friend request
  • SETTING_CHANGED - Notified when settings are updated

Storage Options:
Choose between JSON files or MySQL database:

JSON Mode (Default):

  • Simple file-based storage
  • No external dependencies
  • Perfect for smaller networks

MySQL Mode:

  • Scalable database storage
  • HikariCP connection pooling
  • Ideal for larger networks
  • Tables: friendships, pending_requests, player_settings, player_names

Features:

  • Cross-server friend system for Velocity networks
  • Live version checker - Stay updated with automatic version notifications
  • Activity status system - Active, AFK, and DND modes with visual indicators
  • Server display - See which server each friend is on
  • Click-to-join - Instantly join your friends by clicking their server
  • Offline support - Accept friend requests from offline players
  • Server switch tracking with clickable notifications
  • Private messaging between friends
  • Broadcast messages to all online friends
  • Customizable settings per player
  • Offline player name display
  • Console logging for moderation
  • MySQL support with connection pooling
  • JSON fallback for simplicity
  • Plugin Messaging API for custom integrations
  • Automatic username caching
  • Interactive settings menu
  • Configurable notifications (join/leave/server switch)
  • Flexible message customization with auto-disable for empty entries

PlaceholderAPI Support (New!):

Use the included companion plugin to display friend data in scoreboards, holograms, chat, and more:

Available Placeholders:

  • %friends_online% # Number of online friends
  • %friends_total% # Total number of friends
  • %friends_offline% # Number of offline friends
  • %friends_online_list% # Comma-separated online friends
  • %friends_online_servers% # Unique servers count

To find the companion plugin for Spigot/Paper servers, simply click on a version of the plugin (click on ‘Version’ and then, for example, ‘1.4.1-SNAPSHOT-3’), and under ‘Files’ you’ll find both the plugin and the companion plugin available for download.

Supported Velocity Version:
Velocity 3.3.0 and higher (Java 17+)

Important when setting up:

  1. Choose your storage type in config.yml (json or mysql)
  2. If using MySQL, configure database credentials
  3. Restart the proxy server
  4. Optionally integrate with Spigot/Paper plugins using the Plugin Messaging API

Just send me a message on Discord if you have any questions, suggestions, or requests for new plugins.

Versionen

Release
1.4.1
velocity · 1.17, 1.17.1, 1.18 · 2d ago
**What's New in Version 1.4.1:** - Personal server switch notification toggle - Players can now enable/disable server switch notifications individually -…
9
Beta
1.4.1-SNAPSHOT-4
velocity · 1.17, 1.17.1, 1.18 · 3d ago
**What's New in Version 1.4.1:** - Server join action configurable: direct connection or custom command - Fixed config migration for new settings in…
4
Beta
1.4.1-SNAPSHOT-3
velocity · 1.17, 1.17.1, 1.18 · 15d ago
- Hex color support in all messages - Use `<#RRGGBB>` (MiniMessage style) or `&#RRGGBB` (BungeeCord style) anywhere in `config.yml` - MySQL auto-reconnect -…
36
Beta
1.4.1-SNAPSHOT-2
velocity · 1.17, 1.17.1, 1.18 · 3mo ago
**What's New:** - NEW Plugin Message Channel type, activity_status and server_switch_enabled in…
77
Beta
1.4.1-SNAPSHOT-1
velocity · 1.17, 1.17.1, 1.18 · 4mo ago
**What's New in Version 1.4.1:** - Personal server switch notification toggle - Players can now enable/disable server switch notifications individually -…
39
Release
1.4.0
velocity · 1.17, 1.17.1, 1.18 · 5mo ago
**What's New in Version 1.4.0:** **Version & Status System:** - Built-in version checker with live update notifications and download links - Activity status…
137
Beta
1.4.0-Release-Candidate-1
velocity · 1.17, 1.17.1, 1.18 · 5mo ago
- New config option: `disable_empty_messages` (default: true) – If enabled, any message left empty in the config will automatically disable that message…
12
Beta
1.4.0-SNAPSHOT-Rev-4
velocity · 1.17, 1.17.1, 1.18 · 5mo ago
- New config option: `show_settings_usage` (default: true) – allows server owners to hide or show the settings usage message in the settings menu - bug fixes…
13
Beta
1.4.0-SNAPSHOT-Rev-3
velocity · 1.17, 1.17.1, 1.18 · 5mo ago
- Built-in version & compatibility checker: Use /friend version to see if you are running the latest stable, beta, or dev build. The plugin fetches live update…
11
Beta
1.4.0-SNAPSHOT
velocity · 1.17, 1.17.1, 1.18 · 6mo ago
**What's New in Version 1.4.0 Rev-2:** - all other 1.4.0-Rev-1 changes - Offline friend request acceptance: You can now accept friend requests from offline…
10
Beta
1.4.0-SNAPSHOT
velocity · 1.17, 1.17.1, 1.18 · 6mo ago
**What's New in Version 1.4.0 Rev-1:** - Activity status system: Players can set their status to Active, AFK, or Do Not Disturb (DND) via /friend status.…
11
Release
1.3.4
velocity · 1.17, 1.17.1, 1.18 · 6mo ago
**What's New in Version 1.3.4:** - Broadcast sent message can now be enabled/disabled via config (`broadcast_sent_enabled`) - All user-facing messages,…
30

Kommentare 0

Noch keine Kommentare. Sei der Erste, der seine Meinung teilt.