Hello, this is my first project that I upload and make available to you. This is a friends system that you can set up the way you want Of course, more updates will follow and I will keep you up to date with the latest ones. For the Spigot version I will make an extension like a GUI and a party system for BungeeCord
If you like this plugin and you'll support this, write down a comment
(DEUTSCH)
Hallo, dies ist mein erstes Projekt was ich hochlade und euch zur verfügung stelle. Das ist ein FreundeSystem was ihr so einstellen könnt wie ihr es wollt Es folgen natürlich weiter Updates und lasse euch auf den neusten, für die Spigot Version werde ich eine Erweiterung machen wie eine GUI und ein PartySystem für BungeeCord
Wenn du das Plugin magst und mich unterstützen möchtest, dann schreibe doch ein Kommentar
/msg [Name] [Message...] -> Send a friend a message
/r [Message...] -> Reply to an friend
Code (Text):
Config:
Command:
UsePermissions: false # TRUE OR FALSE
UsePermissionsForMaxFriends: false # TRUE OR FALSE
MaxFriends: 100 # IF THE "UsePermissionsForMaxFriends" = false, you can change the Max Friends Amount here
Permissions: cf.friends.use # THE PERMISSION TO USE THE /friends command
ClickableActions: true
Premium: ## HERE YOU CAN CHANGE THE MAXIMUM AMOUNT OF FRIENDS AND PERMISSIONS
Normal:
Amount: 20
VIP:
Permissions: cf.friends.premium
Amount: 50
TEAM:
Permissions: cf.friends.team
Amount: 100
Messages:
Main: ## HERE YOU CAN CHANGE THE PREFIX AND THE NO PERMISSIONS MESSAGE
Prefix: "&8[&5Friends&8]&7"
NoPerms: "%PREFIX% You don't have any permissions, to do that"
ClickableAction:
Accept_Button: "&a&lACCEPT"
Accept_Description: "&aAccept the request"
Middle_Placeholder: "&r &8| &r"
Deny_Button: "&c&lDENY"
Deny_Description: "&cDeny the request"
JoinAndQuit:
JoinMessage: "%PREFIX% Your friend &e%FRIEND_NAME% &7is now &aonline&7."
QuitMessage: "%PREFIX% Your friend &e%FRIEND_NAME% &7is now &coffline&7."
CurrentlyOnline:
NoOne: "%PREFIX% None of your friends are online"
One: "%PREFIX% There is currently a friend online"
More: "%PREFIX% There are currently &e%ONLINE_FRIENDS% &7friends online"
Command: ## HERE YOU CAN CHANGE THE FULL MESSAGES OF THE FRIENDS COMMAND
Add:
Added_Successfully:
Me: "%PREFIX% You sent %FRIEND_NAME% a friend request"
Friend: "%PREFIX% &e%NAME% &7sent you a &efriend request&7."
Already_Added: "%PREFIX% You already have the request pending"
Already_Friends: "%PREFIX% The player is already your friend"
Settings_Disabled: "%PREFIX% You cannot send a friend request to this player"
Accept:
Accepted_Successfully:
Me: "%PREFIX% &eYou &7and &e%FRIEND_NAME% &7are now friends."
Friend: "%PREFIX% &e%NAME% &7and &eYou &7are now friends."
No_Request: "%PREFIX% This player doesn't send you a request to be your friend"
Remove:
Remove_Successfully:
Me: "%PREFIX% &eYou &7and &e%FRIEND_NAME% &7are no longer friends"
Friend: "%PREFIX% &e%FRIEND_NAME% &7and &eYou &7are no longer friends"
Deny:
Deny_Successfully:
Me: "%PREFIX% You have denied the request from &e%FRIEND_NAME%&7."
Not_Requested: "%PREFIX% The player didn't send you a request"
Jump:
Jump_Successfully: "%PREFIX% You jumped to your friend &e%FRIEND_NAME%"
Already_Connected: "%PREFIX% You are already connected to the server"
Settings_Disabled: "%PREFIX% You cannot jump to your friend"
Friend_List:
First: "%PREFIX% &eFriendlist: &8(&7%MYFRIENDS%&8/&c%MAXFRIENDS%&8)"
Entry:
Online: "%PREFIX% &8>> &e%FRIEND_NAME% &8> &aOnline &8> &7on &e%SERVER%"
Offline: "%PREFIX% &8>> &c%FRIEND_NAME% &8> &7Last seen &c%LASTSEEN% &7ago"
Request_List:
First: "%PREFIX% &eRequests: &8(&e%REQUESTS%&8)"
Entry: "%PREFIX% &8-> &e%FRIEND_NAME%"
NoRequests: "%PREFIX% You don't have any requests."
Settings:
Help: "%PREFIX% Use &e/friend settings <onoffmessage (oofmessage), jump, request, privatemessage (pm), status>"
PrivateMessage:
Enabled: "%PREFIX% You have &ePrivate Messages &aenabled."
Disabled: "%PREFIX% You have &ePrivate Messages &cdisabled."
Jump:
Enabled: "%PREFIX% You have &eJump &aenabled."
Disabled: "%PREFIX% You have &eJump &cdisabled."
Request:
Enabled: "%PREFIX% You have &efriend requests &aenabled."
Disabled: "%PREFIX% You have &efriend requests &cdisabled."
Status:
Enabled: "%PREFIX% You have &eStatus &aenabled."
Disabled: "%PREFIX% You have &eStatus &cdisabled."
OnlineOfflineMessage:
Enabled: "%PREFIX% You have &eOnline &7and &cOffline &7Messages &aenabled."
Disabled: "%PREFIX% You have &eOnline &7and &cOffline &7Messages &cdisabled."
Other:
NoFriends: "%PREFIX% You don't have any friends"
NotFoundUnderCommand: "%PREFIX% Nothing found under the command, try &e/friends"
NotExists: "%PREFIX% The player has not played before"
InteractSelf: "%PREFIX% You can't interact with yourself"
Not_Friends: "%PREFIX% The player isn't your friend"
Not_Online: "%PREFIX% The player is not online."
Help:
Friends:
- "%PREFIX% &8"
- "%PREFIX% &e/friends add <Name> &8- &7Add a friend"
- "%PREFIX% &e/friends accept <Name> &8- &7Accept a friend request"
- "%PREFIX% &e/friends remove <Name> &8- &7Remove an existing friend"
- "%PREFIX% &e/friends deny <Name> &8- &7Deny a friend request"
- "%PREFIX% &e/friends jump <Name> &8- &7Jump to a friend"
- "%PREFIX% &e/friends list &8- &7Show your friendlist"
- "%PREFIX% &e/friends requests &8- &7Show your friend requests"
- "%PREFIX% &e/friends settings <Name> <On, Off> &8- &7En- or Disable Settings"
- "%PREFIX% &8"
PrivateMessage:
Usage: "%PREFIX% Use &e/msg <Friend> <Message...>"
Me: "&8[&eMSG&8] &eYou &8-> &e%FRIEND_NAME%&8: &7%MESSAGE%"
Friend: "&8[&eMSG&8] &e%NAME% &8-> &eYou&8: &7%MESSAGE%"
NotChattedWithFriend: "%PREFIX% You don't have chatted with a friend shortly"
Settings_Disabled: "%PREFIX% You can't send this player a private message"
Config:
Command:
UsePermissions: false # TRUE OR FALSE
UsePermissionsForMaxFriends: false # TRUE OR FALSE
MaxFriends: 100 # IF THE "UsePermissionsForMaxFriends" = false, you can change the Max Friends Amount here
Permissions: cf.friends.use # THE PERMISSION TO USE THE /friends command
ClickableActions: false
Premium: ## HERE YOU CAN CHANGE THE MAXIMUM AMOUNT OF FRIENDS AND PERMISSIONS
Normal:
Amount: 20
VIP:
Permissions: cf.friends.premium
Amount: 50
TEAM:
Permissions: cf.friends.team
Amount: 100
Messages:
Main: ## HERE YOU CAN CHANGE THE PREFIX AND THE NO PERMISSIONS MESSAGE
Prefix: "&8[&5Freunde&8]&7"
NoPerms: "%PREFIX% Du hast keine berechtigung, dies zu tun."
ClickableAction:
Accept_Button: "&a&lANNEHMEN"
Accept_Description: "&aNehme die Anfrage an"
Middle_Placeholder: "&r &8| &r"
Deny_Button: "&c&lABLEHNEN"
Deny_Description: "&cLehne die Anfrage ab"
JoinAndQuit:
JoinMessage: "%PREFIX% Dein Freund &e%FRIEND_NAME% &7ist nun &aonline&7."
QuitMessage: "%PREFIX% Dein Freund &e%FRIEND_NAME% &7ist nun &coffline&7."
CurrentlyOnline:
NoOne: "%PREFIX% Zurzeit ist keiner deiner Freunde online."
One: "%PREFIX% Zurzeit ist ein Freund von dir online."
More: "%PREFIX% Es sind zurzeit &e%ONLINE_FRIENDS% &7Freunde online."
Command: ## HERE YOU CAN CHANGE THE FULL MESSAGES OF THE FRIENDS COMMAND
Add:
Added_Successfully:
Me: "%PREFIX% Du hast &e%FRIEND_NAME% &7eine &eFreundschaftsanfrage &7gesendet."
Friend: "%PREFIX% &e%NAME% &7hat dir eine &eFreundschaftsanfrage &7gesendet."
Already_Added: "%PREFIX% Du hast dem Spieler bereits eine Anfrage gesendet."
Already_Friends: "%PREFIX% Der Spieler ist bereits dein Freund."
Settings_Disabled: "%PREFIX% Du kannst dem Spieler keine Anfrage schicken."
Accept:
Accepted_Successfully:
Me: "%PREFIX% &eDu &7und &e%FRIEND_NAME% &7sind nun Freunde."
Friend: "%PREFIX% &e%NAME% &7und &eDu &7sind nun Freunde."
No_Request: "%PREFIX% Der Spieler hat dir keine Anfrage gesendet."
Remove:
Remove_Successfully:
Me: "%PREFIX% &eDu &7und &e%FRIEND_NAME% &7seid nun keine Freunde mehr."
Friend: "%PREFIX% &e%FRIEND_NAME% &7und &eDu &7seid nun keine Freunde mehr."
Deny:
Deny_Successfully:
Me: "%PREFIX% Du hast die &eAnfrage &7von &e%FRIEND_NAME%&7 abgelehnt."
Not_Requested: "%PREFIX% Der Spieler hat dir keine Anfrage geschickt"
Jump:
Jump_Successfully: "%PREFIX% Du bist zu deinem Freund &e%FRIEND_NAME% &7gesprungen."
Already_Connected: "%PREFIX% Du bist bereits auf diesem Server."
Settings_Disabled: "%PREFIX% Du kannst zu deinem Freund nicht springen"
Friend_List:
First: "%PREFIX% &eFreundesliste: &8(&7%MYFRIENDS%&8/&c%MAXFRIENDS%&8)"
Entry:
Online: "%PREFIX% &8>> &e%FRIEND_NAME% &8> &aOnline &8> &7auf &e%SERVER%"
Offline: "%PREFIX% &8>> &c%FRIEND_NAME% &8> &7Zuletzt gesehen vor &c%LASTSEEN%"
Request_List:
First: "%PREFIX% &eAnfragen: &8(&e%REQUESTS%&8)"
Entry: "%PREFIX% &8-> &e%FRIEND_NAME%"
NoRequests: "%PREFIX% Du hast keine Anfragen."
Settings:
Help: "%PREFIX% Nutze: &e/friend settings <onoffmessage (oofmessage), jump, request, privatemessage (pm), status>"
PrivateMessage:
Enabled: "%PREFIX% Du hast &ePrivate Nachrichten &aaktiviert."
Disabled: "%PREFIX% Du hast &ePrivate Nachrichten &cdeaktiviert."
Jump:
Enabled: "%PREFIX% Du hast &eSpringen &aaktiviert."
Disabled: "%PREFIX% Du hast &eSpringen &cdeaktiviert."
Request:
Enabled: "%PREFIX% Du hast &eFreundschaftsanfragen &aaktiviert."
Disabled: "%PREFIX% Du hast &eFreundschaftsanfragen &cdeaktiviert."
Status:
Enabled: "%PREFIX% Du hast &eStatus &aaktiviert."
Disabled: "%PREFIX% Du hast &eStatus &cdeaktiviert."
OnlineOfflineMessage:
Enabled: "%PREFIX% Du hast &eOnline &7und &cOffline &7Nachrichten &aaktiviert."
Disabled: "%PREFIX% Du hast &eOnline &7und &cOffline &7Nachrichten &cdeaktiviert."
Other:
NoFriends: "%PREFIX% Du hast keine Freunde :("
NotFoundUnderCommand: "%PREFIX% Nichts gefunden unter dem Befehl, nutze &e/friends"
NotExists: "%PREFIX% Dieser Spieler hat zuvor noch nicht gespielt"
InteractSelf: "%PREFIX% Du kannst nicht mit dir selber interagieren"
Not_Friends: "%PREFIX% Der Spieler ist nicht dein Freund"
Not_Online: "%PREFIX% Der Spieler ist nicht online."
Help:
Friends:
- "%PREFIX% &8"
- "%PREFIX% &e/friends add <Name> &8- &7Füge ein Freund hinzu"
- "%PREFIX% &e/friends accept <Name> &8- &7Nehme eine Anfrage an"
- "%PREFIX% &e/friends remove <Name> &8- &7Entferne einen Freund"
- "%PREFIX% &e/friends deny <Name> &8- &7Lehne eine Anfrage ab"
- "%PREFIX% &e/friends jump <Name> &8- &7Springe zu einem Freund"
- "%PREFIX% &e/friends list &8- &7Zeige deine Freundesliste"
- "%PREFIX% &e/friends requests &8- &7Zeige deine Anfragenliste"
- "%PREFIX% &e/friends settings <Name> <On, Off> &8- &7De- oder Aktiviere Einstellungen"
- "%PREFIX% &8"
PrivateMessage:
Usage: "%PREFIX% Nutze: &e/msg <Freund> <Nachricht...>"
Me: "&8[&eMSG&8] &eDu &8-> &e%FRIEND_NAME%&8: &7%MESSAGE%"
Friend: "&8[&eMSG&8] &e%NAME% &8-> &eDu&8: &7%MESSAGE%"
NotChattedWithFriend: "%PREFIX% Du hast zuvor noch nicht mit einem Freund geschrieben"
Settings_Disabled: "%PREFIX% Du kannst diesem Spieler nicht schreiben."