1. Welcome to LilyPad. Download the project, explore the forums, and create your own LilyPad network.


    If you use the software and enjoy it or have a question, or would like to contribute to the future of the software directly or through resources, please sign up and join our little community.

Cross Server Friend Plugin

Discussion in 'Requests' started by erisawesome, Aug 17, 2013.

  1. erisawesome

    erisawesome New Member

    I need a plugin that allows players to add/remove friends to a list. The player would be able to add/remove friends on different server running LilyPad, as well as see what server they are on. Also show your friends in tab list, if they are on or not, what server they are on, and time since they were online.

    Plugin Name: Friends

    Commands Needed:
    <Required Variable> | [Optional Variable]

    - /friend add <player> - Send A Friend Request To Another Player
    - /friend remove <player> - Remove A Player From Your Friends List
    - /friend accept [player] - Accept A friend Request (If No Player Is specified then pick most recent friend request)
    - /friend list [player] - List your friends
    - /friend help - List Friends Commands

    Permissions:

    - friends.help
    - friends.add
    - friends.remove
    - friends.accept
    - friends.list
    - friends.list.others

    Tab List Example:
    ___________ ___________ ___________
    | []======= | Server Name | =======[] |
    ___________ ___________ ___________
    | []======= | ========= | =======[] |
    ___________ ___________ ___________
    | Friends: | Server: | Last Online: |
    ___________ ___________ ___________
    | FakePlayer .:!| Creative | Online Now! |
    ___________ ___________ ___________
    |FakePlayer2 .x!| --- | 9-17-13 14:24 |
    |__________ |__________ |___________|


    Config Example: (Sorry if my YAML is incorrect)

    Code (text):
    ################################
    #          Friends             #
    ################################

    tabconfig:
      - '1'
        - '&c[]============'
        - '&6Server Name'
        - '&c============[]'
      - '2'
        - '&c[]============'
        - '&c=============='
        - '&c============[]'
      - '3'
        - '&6&lFriends:'
        - '&6&lServer:'
        - '&6&lLast Online:'
      - '4'
        - '{friend1}'
        - '{friend1server}'
        - '{friend1online}'
      - '5'
        - '{friend1}'
        - '{friend1server}'
        - '{friend1online}'
      - '6'
        - '{friend1}'
        - '{friend1server}'
        - '{friend1online}'
      - '7'
        - '{friend1}'
        - '{friend1server}'
        - '{friend1online}'
      - '8'
        - '{friend1}'
        - '{friend1server}'
        - '{friend1online}'
      - '9'
        - '{friend1}'
        - '{friend1server}'
        - '{friend1online}'
      - '10'
        - '{friend1}'
        - '{friend1server}'
        - '{friend1online}'
      - '11'
        - '{friend1}'
        - '{friend1server}'
        - '{friend1online}'
      - '12'
        - '{friend1}'
        - '{friend1server}'
        - '{friend1online}'
      - '13'
        - '{friend1}'
        - '{friend1server}'
        - '{friend1online}
     
    Plugin Dependencies:

    LilyPad (of course)
    TabAPI
    ProtocolLib

    Chat Responses (To Commands Being Run):

    On /friend:

    Do /friend help to list all Friends commands.

    On /friend help:

    <Required Variable> | [Optional Variable]
    --------------------------------------------------------------------------------
    /friend add <player> Send A Friend Request To A Player.
    /friend remove <player> Remove A Player From Your Friends List.
    /friend list List your friends.
    /friend help List Friends Commands.

    On /friend add <player>:

    Friend Request sent to <player>.

    Message sent to <player>:

    <player> sent you a Friend Request!
    On /friend remove <player>:
    <player> was removed to your friend list.


    On /friend list:

    Friends: | Server: | Last Online:
    --------------------------------------------------------------------------------
    <player> | <server> | XX-XX-XX XX:XX
    <player> | <server> | XX-XX-XX XX:XX
    <player> | <server> | XX-XX-XX XX:XX
    <player> | <server> | XX-XX-XX XX:XX
    <player> | <server> | XX-XX-XX XX:XX
    <player> | <server> | XX-XX-XX XX:XX
    <player> | <server> | XX-XX-XX XX:XX
    (continues til end of list)

    On /friend accept:

    <player> has been added to your Friends List!

    Message sent to <player>:

    <player> has been added to your Friends List!

    Thanks for your time and I hope this plugin could be made in the new future!

    - erisawesome
    Last edited: Aug 18, 2013
  2. boboman13

    boboman13 Member Contributor

    This would be quite a challenging plugin - sorry I can't do it - but I would recommend using MySQL instead of YAML configs for the data collection/storage, as a database could be carried along multiple servers more easily.
  3. Coelho

    Coelho Software Engineer Staff Member Administrator Maintainer

    Sounds cool. I'd like to see somebody do this.
  4. erisawesome

    erisawesome New Member

    Thanks Coelho! It really means a lot to see that people like this!
  5. erisawesome

    erisawesome New Member

    Ill probably post a request on bukkit to see if anyone there would like to take it upon themselves to make this plugin.

Share This Page