FriendMe

Description
FriendMe allows you and your friends to have a friends list!
Red text means that it is a beta feature
Dependencies
You can have BarAPI not MessageBarAPI - that's an error
Releases
If there is an error generated, please write the complete error message in your comment.
Ideas
If you have any ideas for features for this plugin, don't hesitate to post them in the comments! I want this plugin to be tailored to the whims of the users, and that means you!
Source
Due to a long list of GitHub requests, here it is: LINK
To Do List
working out some buggy commandstoggling bukkit scoreboard functionalitytoggle-able PVP protection from friendsability to upload friendship data to a new version
Currently Working on
- BungeeCord support (via proxy query)
Installation
To install the plugin, just drop the .jar file in your /plugins directory and restart your server!
Commands
| /friend add <username> | send a player a friend request, if they are online | |
|---|---|---|
| /friend remove <username> | remove a player from your friends list | |
| /friend accept | accept a friend request | |
| /friend deny | deny a friend request | |
| /friend help | lists all FriendMe commands | |
| /friend list online | list all online friends | |
| /friend list offline | list all offline friends and when they were last online | |
| /friend load | load friends from friends.yml |
Permissions
| friendme.user | required for a player to use the plugin | |
|---|---|---|
| friendme.admin | required to allow a player to use /friend panel (for later) |
Sample Config.yml
#-------------------------# # Bungee Cord Instances # #-------------------------# bungee: false #-------------------------# # Plugin Metrics # #-------------------------# metrics: true #-----------------------------# # Attacking Friends # #-----------------------------# friendly-fire: false #---------------# # BarAPI # #---------------# bar: You have %on% friends online!
-
View User Profile
-
Send Message
Posted Apr 2, 2014Hello Dev, I'm getting this error when trying to add someone as a friend. Also any update on mysql or bungee support?
02.04 08:19:48 [Server] INFO ... 13 more 02.04 08:19:48 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [spigot.jar:git-Spigot-1365] 02.04 08:19:48 [Server] INFO at me.CopyableCougar4.main.FriendCommand.onCommand(FriendCommand.java:32) [?:?] 02.04 08:19:48 [Server] INFO at me.CopyableCougar4.main.Request.send(Request.java:12) [?:?] 02.04 08:19:48 [Server] INFO at me.CopyableCougar4.main.FriendMe.sendMessage(FriendMe.java:133) [?:?] 02.04 08:19:48 [Server] INFO Caused by: java.lang.NullPointerException 02.04 08:19:48 [Server] INFO at net.minecraft.server.v1_7_R2.ThreadServerApplication.run(SourceFile:618) [spigot.jar:git-Spigot-1365] 02.04 08:19:48 [Server] INFO at net.minecraft.server.v1_7_R2.MinecraftServer.run(MinecraftServer.java:472) [spigot.jar:git-Spigot-1365] 02.04 08:19:48 [Server] INFO at net.minecraft.server.v1_7_R2.MinecraftServer.u(MinecraftServer.java:566) [spigot.jar:git-Spigot-1365] 02.04 08:19:48 [Server] INFO at net.minecraft.server.v1_7_R2.DedicatedServer.v(DedicatedServer.java:273) [spigot.jar:git-Spigot-1365] 02.04 08:19:48 [Server] INFO at net.minecraft.server.v1_7_R2.MinecraftServer.v(MinecraftServer.java:703) [spigot.jar:git-Spigot-1365] 02.04 08:19:48 [Server] INFO at net.minecraft.server.v1_7_R2.ServerConnection.c(ServerConnection.java:77) [spigot.jar:git-Spigot-1365] 02.04 08:19:48 [Server] INFO at net.minecraft.server.v1_7_R2.NetworkManager.a(NetworkManager.java:148) [spigot.jar:git-Spigot-1365] 02.04 08:19:48 [Server] INFO at net.minecraft.server.v1_7_R2.PacketPlayInChat.handle(PacketPlayInChat.java:65) [spigot.jar:git-Spigot-1365] 02.04 08:19:48 [Server] INFO at net.minecraft.server.v1_7_R2.PacketPlayInChat.a(PacketPlayInChat.java:28) [spigot.jar:git-Spigot-1365] 02.04 08:19:48 [Server] INFO at net.minecraft.server.v1_7_R2.PlayerConnection.a(PlayerConnection.java:829) [spigot.jar:git-Spigot-1365] 02.04 08:19:48 [Server] INFO at net.minecraft.server.v1_7_R2.PlayerConnection.handleCommand(PlayerConnection.java:984) [spigot.jar:git-Spigot-1365] 02.04 08:19:48 [Server] INFO at org.bukkit.craftbukkit.v1_7_R2.CraftServer.dispatchCommand(CraftServer.java:719) [spigot.jar:git-Spigot-1365] 02.04 08:19:48 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:180) [spigot.jar:git-Spigot-1365] 02.04 08:19:48 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) [spigot.jar:git-Spigot-1365] 02.04 08:19:48 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'friend' in plugin FriendMe v3.2.2 02.04 08:19:48 [Server] INFO [08:19:48 ERROR]: null 02.04 08:19:41 [Server] INFO [08:19:41 WARN]: [WorldEdit] No compatible nms block class found. 02.04 08:19:40 [08:19:40 INFO]: SuperFlow ran command Message of the Day 02.04 08:19:40 [Connect] User [08:19:40 INFO]: SuperFlow, IP 192.99.21.120 02.04 08:19:40 [Server] INFO ... 15 more 02.04 08:19:40 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:292) [spigot.jar:git-Spigot-1365] 02.04 08:19:40 [Server] INFO at java.lang.reflect.Method.invoke(Method.java:606) [?:1.7.0_51] 02.04 08:19:40 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.7.0_51] 02.04 08:19:40 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [?:1.7.0_51] 02.04 08:19:40 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [?:1.7.0_51] 02.04 08:19:40 [Server] INFO at me.CopyableCougar4.main.FriendMeEvents.onJoin(FriendMeEvents.java:55) [?:?] 02.04 08:19:40 [Server] INFO Caused by: java.lang.NullPointerException 02.04 08:19:40 [Server] INFO at net.minecraft.server.v1_7_R2.ThreadServerApplication.run(SourceFile:618) [spigot.jar:git-Spigot-1365] 02.04 08:19:40 [Server] INFO at net.minecraft.server.v1_7_R2.MinecraftServer.run(MinecraftServer.java:472) [spigot.jar:git-Spigot-1365] 02.04 08:19:40 [Server] INFO at net.minecraft.server.v1_7_R2.MinecraftServer.u(MinecraftServer.java:566) [spigot.jar:git-Spigot-1365] 02.04 08:19:40 [Server] INFO at net.minecraft.server.v1_7_R2.DedicatedServer.v(DedicatedServer.java:273) [spigot.jar:git-Spigot-1365] 02.04 08:19:40 [Server] INFO at net.minecraft.server.v1_7_R2.MinecraftServer.v(MinecraftServer.java:703) [spigot.jar:git-Spigot-1365] 02.04 08:19:40 [Server] INFO at net.minecraft.server.v1_7_R2.ServerConnection.c(ServerConnection.java:77) [spigot.jar:git-Spigot-1365] 02.04 08:19:40 [Server] INFO at net.minecraft.server.v1_7_R2.NetworkManager.a(NetworkManager.java:151) [spigot.jar:git-Spigot-1365] 02.04 08:19:40 [Server] INFO at net.minecraft.server.v1_7_R2.LoginListener.a(LoginListener.java:42) [spigot.jar:git-Spigot-1365] 02.04 08:19:40 [Server] INFO at net.minecraft.server.v1_7_R2.LoginListener.c(LoginListener.java:87) [spigot.jar:git-Spigot-1365] 02.04 08:19:40 [Server] INFO at net.minecraft.server.v1_7_R2.PlayerList.a(PlayerList.java:135) [spigot.jar:git-Spigot-1365] 02.04 08:19:40 [Server] INFO at net.minecraft.server.v1_7_R2.PlayerList.c(PlayerList.java:249) [spigot.jar:git-Spigot-1365] 02.04 08:19:40 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot.jar:git-Spigot-1365] 02.04 08:19:40 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot.jar:git-Spigot-1365] 02.04 08:19:40 [Server] INFO at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30) [spigot.jar:git-Spigot-1365] 02.04 08:19:40 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [spigot.jar:git-Spigot-1365] 02.04 08:19:40 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:294) [spigot.jar:git-Spigot-1365] 02.04 08:19:40 [Server] INFO org.bukkit.event.EventException 02.04 08:19:40 [Server] INFO [08:19:40 ERROR]: Could not pass event PlayerJoinEvent to FriendMe v3.2.2
-
View User Profile
-
Send Message
Posted Mar 29, 2014@TheNicolasDuff I uploaded it to GitHub today :P
-
View User Profile
-
Send Message
Posted Mar 29, 2014@z65703071 That's because these commands aren't for console, however I do realize now that there IS a need for a way to tell the console user that that command is for players only. I will fix that in v3.2.2, which I will upload for approval today.
-
View User Profile
-
Send Message
Posted Mar 29, 2014This plugin wer not work in my server(Spigot).
[16:50:52 WARN]: Unexpected exception while parsing console command "friend" org.bukkit.command.CommandException: Unhandled exception executing command 'frie nd' in plugin FriendMe v3.2.1 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) [spi got.jar:git-Spigot-1314] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:19 9) [spigot.jar:git-Spigot-1314] at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchCommand(CraftServe r.java:547) [spigot.jar:git-Spigot-1314] at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchServerCommand(Craf tServer.java:534) [spigot.jar:git-Spigot-1314] at net.minecraft.server.v1_7_R1.DedicatedServer.aw(DedicatedServer.java: 309) [spigot.jar:git-Spigot-1314] at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:2 74) [spigot.jar:git-Spigot-1314] at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:5 60) [spigot.jar:git-Spigot-1314] at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java :467) [spigot.jar:git-Spigot-1314] at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:6 17) [spigot.jar:git-Spigot-1314] Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.v1_7_R1.command. ColouredConsoleSender cannot be cast to org.bukkit.entity.Player at me.CopyableCougar4.main.FriendCommand.onCommand(FriendCommand.java:23 ) [?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [spi got.jar:git-Spigot-1314] ... 8 more
-
View User Profile
-
Send Message
Posted Mar 28, 2014Please post on github
-
View User Profile
-
Send Message
Posted Mar 27, 2014@qwenjgfujn I will try in the future, but in my opinion the LilyPad API is a little bit less well-to-do than other ones, which makes it a little tricky.
-
View User Profile
-
Send Message
Posted Mar 27, 2014@RARgames I hope to have that feature in the near future :)
-
View User Profile
-
Send Message
Posted Mar 26, 2014How's your progress on BungeeCord?
-
View User Profile
-
Send Message
Posted Mar 25, 2014nice plugin, please add mysql support for storing friends list one friend list command showing all your friends and status online/offline
-
View User Profile
-
Send Message
Posted Mar 22, 2014Could you possibly at LilyPad support?
http://www.lilypadmc.org/
-
View User Profile
-
Send Message
Posted Mar 21, 2014Just Uploaded v3.2.1, fixing 2 errors (thanks to @Cra2ytig3r :))
-
View User Profile
-
Send Message
Posted Mar 8, 2014downloaded!
-
View User Profile
-
Send Message
Posted Mar 4, 2014nice plugin.
-
View User Profile
-
Send Message
Posted Mar 4, 2014@tryhardcoder I had a chat listener and for online players if they weren't friends with the sender, it removed them from the list of chat recipients :)
-
View User Profile
-
Send Message
Posted Mar 4, 2014I love this plugin :3 You can upload it to GitHub pelase? :3
-
View User Profile
-
Send Message
Posted Mar 4, 2014What exactly is the benefit for adding a friend?
-
View User Profile
-
Send Message
Posted Mar 4, 2014@CopyableCougar4
I wonder how did you make the chat channel for friend chat?
-
View User Profile
-
Send Message
Posted Mar 4, 2014Support with TabAPI So It shows your online friends :)
-
View User Profile
-
Send Message
Posted Mar 1, 2014@wazoomie I added toggleable friend chat (/friend chat), and there should be join notifications for friends, as of v3.1.2
-
View User Profile
-
Send Message
Posted Mar 1, 2014@CommodoreAlpha I'm adding a permission node in v3.2 for friend teleport (friendme.teleport) :)
Also, thanks for the thanks :) :P