Rust:IO Friends List API

A simple API designed to interact with RustIOs friend list

Total Downloads: 3,849 - First Release: Apr 1, 2016 - Last Update: May 9, 2016

5/5, 6 likes
  1. Ah sorry, I had forgotten to add the extra info, so the default setting for this mod is that a player can only add or check against a online player, in the config there is a setting to allow them to add friends if you would like to allow this.
    It is disabled by default as Hi pop servers would have a hard time with partial names if all sleepers are included.
     
  2. Hello,
    You can add the command /friend list ?
    to see all the players who are friends please ?
    thank you :)
     
  3. Hi there, Due to the current limitations of RustIO hooks I can only do a check between two players, This would mean to obtain a "friends list" I would either have to run a check with every player stored on that server (possible but could cause a stutter on high pop servers with over 200 or ever 100 registered players on server). or worse I would have to do a comparison again every possible steamID number.
    You could request RustIO to make a hook that returns a actual list of friends on that server (could be fairly simple and there list would be more efficent that scanning active/sleeper players registered on a server) .

    If you really want me to impliment the first version (compare all active/sleepers to build a list) then I could do that, but that tool could cause extra work on servers. (especially with 250+ sleepers)
     
  4. Hi!
    You can add limitation on friends count?
    Ex. 3 friends MAX? Or it can be configured in RustIO?
    I can't find it...
    Thanks in advance!
     
  5. To my understanding there is no limitations.
    You will need to post that request on RustIOs page as this mod has no ability to monitor that without either creating its on friends list (Redundant) or scanning all players on that server (added work on server).
    If you cant get that type of feature a standalone mod could be added, But it would not be efficient and using there Site to add players would overcome that mod.

    Cheers.
     
  6. I understand!
    Thanks!
     
  7. Is there a way to share codelocks or cupboards with friends ?
     
  8. I could look into making that as a separate mod as this mod is only designed to allow you to control your friends list in game (plus admin tools).
    Let me know if you would like that.
     
  9. It would be just perfect if you can make a plugin where u can type in like /cupboard add NAME | /codelock add NAME to give this Person access to all your codelocks or cupboards!
     
  10. I will have a look into this, I am doing some rewriting of my other pluggings but will see what I can do :)
     
  11. This plugin stops work today..
     
  12. Have you updated to the most recent Oxide + RustIO.
    Have you confirmed through PlayRust.IO that your Servers RustIO is working.
    Have you tried backing up the mod and its data then reinstalling the last version.

    Please do these and provide feed back, Also when you reinstall the mod if there are any errors on it loading please include those in your reply.
    If you want me to help you further I require debug information.
    If the only info you can give me is Its not working since last update there could be to many reasons.
    Please know when reporting a bug there should be some standard processes you do before posting, some are mentioned above, But as I have already said try and gather as much info as possible especially error messages.
    I can not see anything thats changed in Rust:IO and Rust that would break this mod so Please any information you can provide would help
     
  13. Feature Request:
    A way for the admin to reset all RustIO friends, i.e clear them completely so no one is friended.. This might be useful after a wipe to 1) encourage people to branch out a bit and form new clan/groups and 2) to make sure people to pass over people with whom they forgot they'd made 'friends'.

    The idea for the request came when I was going to extend the R-Remover Tool to include RustIO friends so a few of the clans on my server could better coordinate base construction, but one guy realized an outside player had 'shared location' when he was first started on the server. At the time it didn't include R-Remover Tool rights. Of course the first thing he did was go and try and Remove the guys base. Got a wall down before I changed the R-Remove config back.
     
  14. I will look into what I can do, the function that I can add soon will only work before a wipe though as after a wipe the server nolonger stores all sleepers/players.
    In simple terms the mod would do a loop for all active/sleeper baseplayers and then get a list of all there friends and the remove all of them.
    That should work but after a wipe only people who have logged in since then will be on the list.

    Also that function will be something that is called by RCON so even if you cant log in to do it you will be able to do it via console before rebooting the server.
    I will see if I can add a auto wipe feature
     
  15. Is there a plug-in analogue with the team "/friend accept"?
     
  16. How do i wipe all friends on my server
     
  17. delete the ".db" in your "data/RustIO" folder when server is off, or while restart.
     
  18. [Error] Plugin filename is incorrect: rustiofriendlistapi.cs (should be RustIOFriendListAPI.cs)
     
  19. Then simply rename it back to like it was once you downloaded the file.
    Your error, which itself is not a plugin error, tells you already how it should be named ;)
     
  20. i try and nothing.