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!
Feel free to post any ideas for features to this plugin and I will see what I can add!
@snipershotmaster (Sorry for the late reply)
https://github.com/CopyableCougar4/Friend-Me
source code?
@madtomic What's not working?
I still can't get this plugin to work. sigh...
Bukkit API ?
it would be a good idea to have in the friend list a GUI with the friend head, well the normal head but with the friends, and you can see if he is online, and start a private chat with him, :3
@mcly No flat file support at the moment, sorry! I will try to get a flatfile version out, but I think FriendMe v3.2 has flatfile support.
CopyableCougar4
Is there flat file support for this? I encounter this problem: http://pastebin.com/GPSLn17a
I guess in this case, no news is good news :) However, I have a few questions:
Any general feedback would be nice :)
Thanks, CopyableCougar4
I have added the version with sending requests across servers.
This next version has new configuration lines. A fresh config should look like this:
Update: wait for v3.4.1 to come through! v3.4 is unfinished
The last two sections are important and must not be ignored! This version is untested and possibly doesn't work. Please post any issues!
Hope everyone enjoys the update! CopyableCougar4
BungeeCord Support can't come fast enough :)
@Mcraftpete I will try to add a server to server transmitter. So far, I have a database table that is created and will be updated for all players if the log on or off of a server with this plugin.
My next task is to create a connection between the servers. I will look at alternatives, but I may just open a networking socket between servers and send requests along this channel.
CopyableCougar4
Hi, I was going to add this but have been holding back for bungee support , I was tempted to add it with a shared sql so that players can start adding friends etc , but then u can only add when on same server etc so gets confusing for players , so I chose to hold back. Do you therefore know when the bungee version will release ?
When will bungee support be in this plugin ?
@JustinLuu There should be a line in the config for that :) I think it's:
However, it would be helpful to edit this command line or per player. I will add that to my expanding to do list :)
@Dupstal
Hi. This is caused when the UUID can't be retrieved for a minecraft player. I will add a catch for this on Friday, when I can use my computer with the source.
Same problem, here is the stacktrace:
[17:36:30 ERROR]: null org.bukkit.command.CommandException: Unhandled exception executing command 'frie nd' in plugin FriendMe v3.3.4 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) [cra ftbukkit.jar:git-Bukkit-1.7.2-R0.3-66-g43d8943-b3078jnks] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:18 0) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-66-g43d8943-b3078jnks] at org.bukkit.craftbukkit.v1_7_R3.CraftServer.dispatchCommand(CraftServe r.java:703) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-66-g43d8943-b3078jnks] at net.minecraft.server.v1_7_R3.PlayerConnection.handleCommand(PlayerCon nection.java:955) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-66-g43d8943-b3078jnks] at net.minecraft.server.v1_7_R3.PlayerConnection.a(PlayerConnection.java :817) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-66-g43d8943-b3078jnks] at net.minecraft.server.v1_7_R3.PacketPlayInChat.a(PacketPlayInChat.java :28) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-66-g43d8943-b3078jnks] at net.minecraft.server.v1_7_R3.PacketPlayInChat.handle(PacketPlayInChat .java:47) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-66-g43d8943-b3078jnks] at net.minecraft.server.v1_7_R3.NetworkManager.a(NetworkManager.java:157 ) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-66-g43d8943-b3078jnks] at net.minecraft.server.v1_7_R3.ServerConnection.c(SourceFile:134) [craf tbukkit.jar:git-Bukkit-1.7.2-R0.3-66-g43d8943-b3078jnks] at net.minecraft.server.v1_7_R3.MinecraftServer.v(MinecraftServer.java:6 67) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-66-g43d8943-b3078jnks] at net.minecraft.server.v1_7_R3.DedicatedServer.v(DedicatedServer.java:2 60) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-66-g43d8943-b3078jnks] at net.minecraft.server.v1_7_R3.MinecraftServer.u(MinecraftServer.java:5 58) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-66-g43d8943-b3078jnks] at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java :469) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-66-g43d8943-b3078jnks] at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:6 28) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-66-g43d8943-b3078jnks] Caused by: java.lang.IllegalArgumentException: Invalid UUID string: at java.util.UUID.fromString(Unknown Source) [?:1.7.0_67] at me.CopyableCougar4.main.MineUUID.getUUID(MineUUID.java:23) [?:?] at me.CopyableCougar4.main.FriendCommand.onCommand(FriendCommand.java:31 ) [?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [cra ftbukkit.jar:git-Bukkit-1.7.2-R0.3-66-g43d8943-b3078jnks] ... 13 more
I looked at the source code but I can't find the wrong line :( I know that it is in the 31st line of the FriendCommand.java but I don't know that could be the problem.
(I am using CB1.7.9)
Please fix it :(
Hide all players except friends? Would be nice to have that!
@angrybirds085 Unless you can post the error log from the console, I can't really help you :(
[rant] That's my only qualm with Bukkit, is that ingame it doesn't say what the error is. Granted, I can see why that is, I just wish it would say the exception type and line that throws it. [/rant]