Affinity system for PocketMine-MP servers
XzAffinity is a comprehensive relationship system for PocketMine-MP servers, inspired by Mobile Legends' affinity system. It allows players to form special relationships with each other, such as Lovers, Best Friends, Siblings, or Rivals. This plugin enhances player interaction and creates a more engaging social experience on your server.
Developed by IndraMC, XzAffinity features an intuitive UI system powered by FormAPI, making it easy for players to manage their relationships.
/affinity request or select send request from main menu/affinity or /affinity accept to open the requests menu/affinity list to view your current affinities/affinity delete <player> to remove an affinity/affinityadmin to open the admin menuManage Affinity Types to view, edit, or delete typesAdd New Affinity Type to create a new typeplugins folderplugin_data/XzAffinity/config.yml (optional)| Command | Description | Permission |
|---|---|---|
/affinity | Opens the main affinity menu | xzaffinity.command.use |
/affinity request | Opens the player selection menu to send a request | xzaffinity.command.use |
/affinity accept <player> | Accept an affinity request | xzaffinity.command.use |
/affinity decline <player> | Decline an affinity request | xzaffinity.command.use |
/affinity delete <player> | Delete an existing affinity | xzaffinity.command.use |
/affinity list | View your affinities and pending requests | xzaffinity.command.use |
/affinity types | View available affinity types and their limits | xzaffinity.command.use |
| Command | Description | Permission |
|---|---|---|
/affinityadmin | Opens the admin management menu | xzaffinity.command.admin |
| Permission | Description | Default |
|---|---|---|
| xzaffinity.command.use | Allows using all player commands | true |
| xzaffinity.command.admin | Allows using admin commands | op |
XzAffinity is highly configurable. You can customize all messages in the config.yml file, and you can customize affinity types and maximum limits in the settings.yml file.
# Affinity types and their maximum limits
affinity_types:
- "Lovers"
- "Best Friends"
- "Siblings"
- "Rivals"
max_affinities:
"Lovers": 1
"Best Friends": 3
"Siblings": 5
"Rivals": 3
# You can customize all messages in the messages section