-
Notifications
You must be signed in to change notification settings - Fork 8
Friend
This module was created for an easy way for players to play with friends, without requiring /find and /join permissions. Instead, they can be limited to only finding and joining their friends.
friend is the base command that gets registered, it is associated with the permission nodes gssentials.friend and has 1 alias, f.
/friend or /friend list will output a list of your current friends, as well as your outgoing and incoming friend requests. If a friend is online, you can click their name to join their server. Incoming friend requests can be clicked to accept.
/friend add [name] sends a friend request to that player, who must be online. If you have an incoming friend request, that command can be used to accept it.
/friend remove [name] can be used to remove a friend or a friend request.
When you first install BungeeEssentials the command will be enabled, though if you wish you can disable it by removing friend from the enable section of the config file.
| Key | Default |
|---|---|
friend.header |
&2Current Friends: |
friend.body |
- {{ NAME }} ({{ SERVER }}) |
friend.new |
&aYou are now friends with {{ NAME }}! |
friend.old |
&aYou are already friends with {{ NAME }}! |
friend.remove |
&cYou are no longer friends with {{ NAME }}. |
friend.removeerror |
&cYou can't remove a friend you don't have! |
friend.oldrequests.header |
&2Outgoing Friend Requests: |
friend.oldrequests.body |
- {{ NAME }} |
friend.oldrequests.new |
&a{{ NAME }} has received your friend request. |
friend.oldrequests.old |
&cYou already requested to be friends with {{ NAME }}. Please wait for a response! |
friend.oldrequests.remove |
&cThe friend request to {{ NAME }} was cancelled. |
friend.inrequests.header |
&2Incoming Friend Requests: |
friend.inrequests.body |
- {{ NAME }}{{ BREAK }} &a[Y]{{ HOVER: Click to accept the request! }}{{ CLICK: /friend add {{ NAME }} }}{{ BREAK }} {{ BREAK }}&c[N]{{ HOVER: Click to deny the request. }}{{ CLICK: /friend remove {{ NAME }} }} |
friend.inrequests.new |
&a{{ NAME }} would like to be your friend! Click one:{{ BREAK }}\n&a[Yes!]{{ HOVER: Click to accept the request! }}{{ CLICK: /friend add {{ NAME }} }}{{ BREAK }} {{ BREAK }}&c[No]{{ HOVER: Click to deny the request. }}{{ CLICK: /friend remove {{ NAME }} }} |
friend.inrequests.remove |
&cThe friend request from {{ NAME }} was cancelled. |
When adjusting the message format you may include any global variables as well as those listed below.
| Variable | Replacement |
|---|---|
{{ SERVER }} |
The name of the ServerInfo the friend is on |
{{ NAME }} |
The name of the friend |
Project initially created by csh, maintained by PantherMan594! Visit plugin page