HomeJavaModsWeFriends
WeFriends
ModsJava

WeFriends

by WeThink25 · on Modrinth

A comprehensive friend and party management system for Minecraft servers with cross-server support, built for Paper/Spigot and Folia.

⬇ Download on Modrinth
WeFriends — screenshot 1WeFriends — screenshot 2

We-Friends

License: MIT Java Paper Folia

A comprehensive friend and party management system for Minecraft servers with cross-server support, built for Paper/Spigot and Folia.

✨ Features

🤝 Friend System

🎉 Party System

🌐 Cross-Server Support

🔧 Advanced Features

📋 Requirements

🚀 Installation

  1. Download the latest release from Releases
  2. Place the JAR file in your server's plugins folder
  3. Start your server to generate the configuration files
  4. Configure the plugin (see Configuration section)
  5. Restart your server

⚙️ Configuration

Basic Setup (Single Server)

# config.yml
database:
  type: sqlite # Use SQLite for single server

server:
  name: lobby # Your server name

cross-server:
  enabled: false # Disable for single server

redis:
  enabled: false # Not needed for single server

Multi-Server Setup

# config.yml
database:
  type: mysql # Required for multi-server
  mysql:
    host: localhost
    port: 3306
    database: wefriends
    username: root
    password: "your_password"

server:
  name: lobby # Unique name for each server

cross-server:
  enabled: true # Enable cross-server features
  sync-interval: 30
  notification-timeout: 5

redis:
  enabled: true # Required for cross-server
  host: localhost
  port: 6379
  password: ""
  channel: wefriends:events

limits:
  max-friends: 200
  max-party-size: 8

Database Setup (MySQL)

CREATE DATABASE wefriends;
CREATE USER 'wefriends'@'%' IDENTIFIED BY 'your_password';
GRANT ALL PRIVILEGES ON wefriends.* TO 'wefriends'@'%';
FLUSH PRIVILEGES;

🎮 Commands

Friend Commands

Party Commands

Chat Mode Commands

Admin Commands

🔑 Permissions

Player Permissions

Admin Permissions

📊 PlaceholderAPI

The plugin provides placeholders for use with PlaceholderAPI:

🔧 API Usage

Maven Dependency

<dependency>
    <groupId>me.wethink</groupId>
    <artifactId>wefriends</artifactId>
    <version>1.0.0</version>
    <scope>provided</scope>
</dependency>

Basic API Examples

// Get the plugin instance
WeFriends plugin = WeFriends.getInstance();

// Check if two players are friends
boolean areFriends = plugin.getFriendManager().areFriends(player1UUID, player2UUID);

// Get a player's friends
Set<UUID> friends = plugin.getFriendManager().getFriendUuidsPublic(playerUUID);

// Get party information
String partyId = plugin.getPartyManager().getPartyIdPublic(playerUUID);
List<UUID> partyMembers = plugin.getPartyManager().getPartyMembers(partyId);

🌐 Cross-Server Setup Guide

Step 1: Database Configuration

Set up a shared MySQL database accessible by all servers:

database:
  type: mysql
  mysql:
    host: your-database-host
    port: 3306
    database: wefriends_network
    username: wefriends_user
    password: secure_password

Step 2: Redis Configuration

Configure Redis for real-time communication:

redis:
  enabled: true
  host: your-redis-host
  port: 6379
  password: redis_password
  channel: wefriends:network

Step 3: Server Identification

Give each server a unique name:

server:
  name: lobby    # For lobby server
  name: survival # For survival server
  name: creative # For creative server

Step 4: Enable Cross-Server Features

cross-server:
  enabled: true
  sync-interval: 30
  notification-timeout: 5

🐛 Troubleshooting

Common Issues

Database Connection Failed

Redis Connection Failed

Cross-Server Not Working

Plugin Not Loading

🤝 Contributing

We welcome contributions! Please follow these steps:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Development Setup

  1. Clone the repository
  2. Import into your IDE (IntelliJ IDEA recommended)
  3. Run mvn clean install to build
  4. Test on a Paper 1.21.1+ server

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.

🙏 Acknowledgments

📞 Support


Made with ❤️ by WeThink

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