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!
FriendMe v3.3.3 for CB 1.7.9-R0.2 - running the latest version and using MAPI and BarAPI and still not able to get it working. I get errors with mysql? the config file is still being wipe on restart. all the mysql info is wiped.
10:56:54 PM [22:56:54 WARN]: at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 10:56:54 PM [22:56:54 WARN]: at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) 10:56:54 PM [22:56:54 WARN]: at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) 10:56:54 PM [22:56:54 WARN]: at java.lang.reflect.Constructor.newInstance(Unknown Source) 10:56:54 PM [22:56:54 WARN]: at com.mysql.jdbc.Util.handleNewInstance(Util.java:407) 10:56:54 PM [22:56:54 WARN]: at com.mysql.jdbc.Util.getInstance(Util.java:382) 10:56:54 PM [22:56:54 WARN]: at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1013) 10:56:54 PM [22:56:54 WARN]: at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:987) 10:56:54 PM [22:56:54 WARN]: at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:982) 10:56:54 PM [22:56:54 WARN]: at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:927) 10:56:54 PM [22:56:54 WARN]: at com.mysql.jdbc.ConnectionImpl.throwConnectionClosedException(ConnectionImpl.java:1213) 10:56:54 PM [22:56:54 WARN]: at com.mysql.jdbc.ConnectionImpl.checkClosed(ConnectionImpl.java:1200) 10:56:54 PM [22:56:54 WARN]: at com.mysql.jdbc.ConnectionImpl.createStatement(ConnectionImpl.java:2485) 10:56:54 PM [22:56:54 WARN]: at com.mysql.jdbc.ConnectionImpl.createStatement(ConnectionImpl.java:2467) 10:56:54 PM [22:56:54 WARN]: at me.CopyableCougar4.main.MySQL_Loader.load(MySQL_Loader.java:72) 10:56:54 PM [22:56:54 WARN]: at me.CopyableCougar4.main.MySQL_Loader$1.run(MySQL_Loader.java:57) 10:56:54 PM [22:56:54 WARN]: at org.bukkit.craftbukkit.v1_7_R3.scheduler.CraftTask.run(CraftTask.java:53) 10:56:54 PM [22:56:54 WARN]: at org.bukkit.craftbukkit.v1_7_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) 10:56:54 PM [22:56:54 WARN]: at net.minecraft.server.v1_7_R3.MinecraftServer.v(MinecraftServer.java:600) 10:56:54 PM [22:56:54 WARN]: at net.minecraft.server.v1_7_R3.DedicatedServer.v(DedicatedServer.java:260) 10:56:54 PM [22:56:54 WARN]: at net.minecraft.server.v1_7_R3.MinecraftServer.u(MinecraftServer.java:558) 10:56:54 PM [22:56:54 WARN]: at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:469) 10:56:54 PM [22:56:54 WARN]: at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) 10:56:55 PM [22:56:55 WARN]: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after connection closed.
@xDizasterCYx Hi
This error has something to do with MySQL connections and the config.yml. Frankly, I am currently stumped in my search for an all-inclusive solution to this issue.
Also i am getting this error with the MySQL
http://pastebin.com/vraRrfSw
Could you help me please?
@CopyableCougar4
can you add multiworld support for this feature? because i want to use it in my hub but not in my other worlds. :)
The new version will not work on 1.7.2 server anymore?
I just uploaded v3.3.3. There is now a configuration option (hide-non-friends) that when toggled hides all the people on the server that aren't your friends.
CopyableCougar4
Please Read
Hi
Sorry for no replies, I was away from my computer for the last two weeks.
Some plans/ideas:
Bungee is a distant hope, as that plugin would have to run on the bungee instance which will take a bit of work.
In case anybody is wondering, the database is atm mandatory. I wish it wasn't, but I need it to get a player from their UUID, as Mojang only allows Player -> UUID not UUID -> Player
@DoctorCooper You need MAPI for this plugin to work. http://dev.bukkit.org/bukkit-plugins/mapi
Hoped that helped some of you :)
CopyableCougar4
Hello, You have a date for the Bungee Version ?
I am getting this error with 1.7.9 and v3.3.2 patch http://pastebin.com/Vk71DivE
Could you please include, that you can join the server on which your friend is?
Not up to date for CB-1.7.9-R0.1+ getting a up to date error
The UUID error persists...
12:07:48 p. m. CONSOLE: ERROR]: null 12:07:48 p. m. CONSOLE: exception executing command 'friend' in plugin FriendMe v3.3.2 12:07:48 p. m. CONSOLE: java.lang.IllegalArgumentException: Invalid UUID string:
is obligatory msql database? if so I see no sense ...
Can you please update it for cb1.7.2-r0.3 I still have no luck getting this to work on any version of CB.
I have this error http://pastebin.com/2jRjK46c V3.3.2 patch
The SQL Tabels he created.
Does it have a gui or is it just written in chat?
This plugin is not working for my server, I am using 1.7.9 R2 with ur version 3.3.2 and it gives me "An internal error has occured"
Could you add feature or support about Hide Player? I mean just show your friend and hide other player in game. Also, Could you add a feature about private message? It just allow you send the message only to your friends.
If you have time. please update for cb1.7.2-r0.3 with the latest codes. I am still having player not found error. i have barapi and mapi along with the latest build with 1.7.2-r0.3 and still giving me errors. i think mainly the database unloading error?
@ramisotti You need the plugin MAPI for the database to work. http://dev.bukkit.org/bukkit-plugins/mapi. If the config is still clearing then post another comment :)