SimpleFriends 1.4.3

Add friends - poke - join/leave notify - GUI - SQL support

  1. PauLeK
    Contributors:
    WisterDesigns
    Drawing (4).png

    v1.4.3:

    Donations are highly appreciated to keep this plugin alive and also have the most up to date features:
    [​IMG]

    SimpleFriends plugin provides you a few simple commands to manage your friends, add, remove, poke, be notified whenever someone leaves and joins the server. The messages are all configurable in the config file and you have the option to switch from YAML to MySQL usage. The SQL table is provided bellow:

    Please do let me know if you come across any bugs or any ideas that might be beneficial for the plugin. I will be updating this plugin on a weekly basis.



    Drawing (3).png

    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]

    FriendGUI:


    Drawing.png
    /friend list - displays a list of your friends
    /friend requests - view pending friend requests
    /friend add - send a friend request
    /friend remove - remove a friend from your list
    /friend block - (un)block a player to prevent requests
    /friend blocklist - view the blocked players list
    /friend accept - accept a friend request (You can also click on the chat to do so)
    /friend decline - decline a friend request (You can also click on the chat to do so)
    /friend pm - private message a friend
    /friend poke - poke a friend
    /friend tognotify - toggle join/leave/poke notify from other friends
    /friend togrequest - toggle friend requests (enable/disable)


    Drawing (2).png
    friend.* - all friend commands
    friend.list - displays a list of your friends
    friend.requests - view pending friend requests
    friend.add - send a friend request
    friend.remove - remove a friend from your list
    friend.block - (un)block a player to prevent requests
    friend.blocklist - view the blocked players list
    friend.accept - accept a friend request (You can also click on the chat to do so)
    friend.decline - decline a friend request (You can also click on the chat to do so)
    friend.pm - private message a friend
    friend.poke - poke a friend
    friend.tognotify - toggle join/leave/poke notify from other friends
    friend.togrequest - toggle friend requests (enable/disable)



    MySQL table for users wanting to use mysql:
    Code (MySQL):

    DROP TABLE IF EXISTS `friends`;
    CREATE TABLE `friends` (
      `ID` int(11) NOT NULL AUTO_INCREMENT,
      `UUID` text,
      `friends` longtext,
      `blocked` longtext,
      `notify` tinyint(4) DEFAULT '1',
      `requests` tinyint(4) DEFAULT '1',
      PRIMARY KEY (`ID`)
    ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
     
    Code (YAML):

    use-mysql
    : false

    db-host
    : 'localhost'
    db-user
    : 'root'
    db-pass
    : 'password'
    db-scheme
    : 'minecraft'

    # Commands #
    friend-list
    : 'List of friends'
    view-requests
    : 'View pending friend requests'
    add-friend
    : 'Send a friend request'
    remove-friend
    : 'Remove a friend'
    accept-request
    : 'Accept a friend request'
    deny-request
    : 'Deny a friend request'
    pm-friend
    : 'Message a friend'
    poke-friend
    : 'Poke a friend'
    toggle-notify
    : 'Toggle friend notifies'
    toggle-requests
    : 'Toggle friend requests'
    block-player
    : '(Un)block a player (blocks invite)'
    block-list
    : 'Displays your blocked players list'

    # %tag% shows the friend-tag #
    # %error% displays the error-tag #

    # This applies if you set false in 'use-friend-gui' #
    friends-per-page
    : 7

    online-text
    : '&6Online'
    offline-text
    : '&cOffline'
    go-back-text
    : 'Go Back'
    next-page
    : 'Next Page'
    previous-page
    : 'Previous Page'
    friend-options-text
    : 'Friend Options'
    next-page-item
    : 49
    previous-page-item
    : 49
    go-back-item
    : 368
    poke-item
    : 288

    use-friend-gui
    : true
    friend-gui-title
    : '&e&l(Page %page%/%maxpages%) Total: &c&l%total%'
    friend-gui-hover
    :
     - '%onlinestatus%'
      - '&l> Click for more options'

    # Help list #
    help-title
    : '&6|-------&7Friends Help (Page: %page%/%maxpages%) &6-------|'
    command-row
    : '&b%command% - &6%description%'

    # Friend list title #
    friend-list-title
    : '&6====== (Page: %page%/%maxpages%) Total friends: %total% ======'

    # PM format #
    pm-send
    : '&ePM to (&6%friend%&e): &b%message%'
    pm-get
    : '&ePM from (&6%friend%&e): &b%message%'

    usage-tag
    : '&7Usage:&r'
    error-tag
    : '&cError:&r'
    friend-tag
    : '&6[Friend]&r'
    no-spam
    : '&cYou are going to fast.'
    numbers-only
    : '%error% You can only use numbers.'
    no-player
    : '%error% %player% is not online.'
    no-permission
    : '%error% You have no permission to use that.'
    friend-join
    : '%tag% &7%friend%&e joined the server.'
    friend-quit
    : '%tag% &7%friend%&e left the server.'
    already-friends
    : '&eYou are already friends with &7%friend%&e.'
    not-friends
    : '&7%friend% &eis not your friend.'
    empty-friend-list
    : '&3You have no friends.'
    friend-removed
    : '&6&lSuccess! &r&eYou removed &7%friend%&e from your friends.'
    invite-sent
    : '&6&lSuccess! &r&6You sent a friend request to &7%friend%&e.'
    invite-get
    : '&7%friend%&6 wants to add you to their friend list.'
    accept-text
    : 'Accept'
    decline-text
    : 'Decline'
    accept-and-add-text
    : 'Accept & Add'
    remove-text
    : 'Remove'
    poke-text
    : 'Poke'
    block-text
    : '(Un)block'
    pending-requests
    : 'Pending friend requests:'
    blocked-players
    : 'Blocked players list:'
    already-invited
    : '%error% You have already invited %friend%.'
    self-invite
    : '%error% You cannot add yourself.'
    invite-no-requests
    : '&7%friend%&6 is not accepting any requests now.'
    attempt-poke-fail
    : '&7%friend%&6 has their notify status disabled.'
    no-invite
    : '%error% You have no requests from %friend%.'
    accept-invite
    : '&6Accepted the friend request from &7%friend%&6.'
    accept-invite-2
    : '&6They now have you in their friends list.'
    accept-invite-get
    : '&7%friend%&6 has accepted your request.'
    accept-invite-get-2
    : '&6You now have them in your friends list.'
    accept-invite-add
    : '&e&lYou have also added them to your friends list!'
    decline-invite
    : '&6Declined friend request from &7%friend%&6.'
    decline-invite-get
    : '&7%friend%&6 has declined your friend request.'
    no-friend-requests
    : '%error% You have no friend requests.'
    no-blocked-players
    : '%error% You have not blocked anyone.'
    poke-send
    : '&6You have poked &r&l%friend%&r&6.'
    poke-get
    : '&6You have been poked by &r&l%friend%&r&6.'
    notify-enable
    : '&e&lYou have enabled friend notify.'
    notify-disable
    : '&e&lYou have disabled friend notify.'
    invites-enable
    : '&e&lYou have enabled friend requests.'
    invites-disable
    : '&e&lYou have disabled friend requests.'
    block-add
    : '&6You have added &7%friend%&6 to your blocked list.'
    block-remove
    : '&6You have unblocked &7%friend%&6.'
    block-invite-get
    : "&7%friend%&6 is blocking your invites."
     

Recent Reviews

  1. jet315
    jet315
    2/5,
    Version: 1.4.3
    There is an issue with the permissions system. Some of the permissions dont work (for example my users cannot use /friend list with the friends.* permissions.

    There is also an issue with the permissions system if you have multiple groups of which users can be in a group that both has friends.* and does not have friends.*. In this situation the user cannot use the plugin (The plugin force negates the permission or something).

    Finally, updates are slow and its causing considerable lag on my server as you can see here:
    http://i.imgur.com/qQjtOMC.png
  2. mopmop
    mopmop
    5/5,
    Version: 1.3
    Good plugin and add extansion for GUIFriend spigot :) .
    1. PauLeK
      Author's Response
      As in view your friends in a GUI?
  3. ElSheriff
    ElSheriff
    5/5,
    Version: 1.3
    Impressive plugin, so simple and so beautiful!!!

    You could put the public Source Code on GitHub?

    I would like to adapt it to my server.

    I'm sorry for my English
    1. PauLeK
      Author's Response
      I will upload the source soon (next week)
  4. WisterDesigns
    WisterDesigns
    5/5,
    Version: 1.0
    Great plugin mate, Keep it up and make it perfect as all your plugins. Everyone has to try this perfect plugin, really Nice!
    1. PauLeK
      Author's Response
      Thank you.