Friends
Friends
Version 1.3
Created for build 1.2.5-R1.0
Description
Friends is a plugin that allows players to send and accept "friend" requests. Once two players are "friends", they cannot harm each other or each other's tamed animals. It can be used as an alternative to team based plugins, or in addition to them.
Players can unfriend each other. Once this happens, there is a configurable cooldown (defaults to 15 seconds) where the players still won't be able to harm each other.
Commands
/friend
Usage /friend <Player>
Description Send a friend request to a player, or accept a friend request from that player
/unfriend
Usage /unfriend <Player>
Description Remove your friend status with that player, or cancel you friend request to that player.
/friends
Usage /friends [Player]
Description Get a list of your own friends, and sent requests, or a list of friends and sent requests for the specified player.
Permission Requires permission "friends.seeothersfriends" to see other's friends.
Configuration
The plugin creates a file called friends.config on first run, this allows the messages sent to players to be configured or localised.
The UnfriendCooldown configuration is the time (in seconds) after unfriending that players will not be able to fight.
Version History
1.3 - Made it case-insensitive, fixed a bug when you attempted to friend a non-existent player.
1.2 - Made tamed animals stop trying to fight if they attack a friend.
1.1 - First public release.
@ThisUsernameIsMine
You can just /tp %player...What if people have more than one friend duh
Cool plugin.
Can you add an option so that players can only befriend with each other if they are near (within 5 blocks radius) each other?
Could you please add an optional/configurable command / permission node so that friends can directly teleport to each other?
Cool plugin! :)
@noahdutch
Thanks, but what do you mean by a bar?
Edit: Oh, just re-read it. It's a nice idea, but server sided plugins can't put up things on people's screens. (At least not without client sided mods)
I really like your plugin! It is really neat, gonna test it out on my server when it releases :)
Maybe you could try adding a bar that would show you your friends, offline and online? Minecraft could steal it from you :P
@MERCHANToDEATH
Yep, it is case insensitive in 1.3.
I had a problem, but it seems that it's just that the name is caps sensitive.Can this be changed?