FriendsAPI

Moved

Total Downloads: 24,015 - First Release: Oct 26, 2014 - Last Update: Nov 10, 2017

5/5, 39 likes
  1. Wulf

    Wulf Community Admin

    This is FriendsAPI, not Finder. ;)

    What name did you use?
     
  2. opps, sorry, i tired.
    This error i don`t know where from.
    [DOUBLEPOST=1438900474][/DOUBLEPOST]Maybe NickName contain some chars, i don`t know
     
  3. Does this work with playrust.io friendly fire?
     
  4. Wulf

    Wulf Community Admin

    No, Rust:IO is for use with that.
     
  5. I can't get this to work as far as allowing ONLY added friends to /sethome where allowed. Can anyone provide some help on this? I have tp, friendsapi, and building owners all installed in an effort to resolve this and I'm getting nowhere. I'm either allowed to /sethome anywhere I want OR if I enable the ["CheckFoundationForOwner": true,] feature, it tells me "You need to be in your own or in a friend's house to set your home!" and I'm not even able to /sethome at my own location. I'm not sure which plugin the issue is revolving around or if I'm just an idiot with the settings, but I'm stuck.

    Help is appreciated!
     
  6. Is this even working anymore? I had it working a few weeks ago on previous updates but now it seems anyone can set homes anywhere again.
     
  7. Wulf

    Wulf Community Admin

    This plugin is pretty basic, so I highly doubt it broke. It doesn't depend of much of Rust at all, just the basics that haven't changed.
     
  8. when I restart my server plugin works fine but a few hours later when I try to add someone to my friends I get this error.

    Can someone Help me about that?
     

    Attached Files:

  9. Wulf

    Wulf Community Admin

    Try the below attachment.
     

    Attached Files:

  10. Here is the new error :S why so many errors happens Should I restart my server ?
     

    Attached Files:

  11. Wulf

    Wulf Community Admin

    Oops, let's give it another try. :p
     

    Attached Files:

  12. Code:
    [Oxide] 7:06 AM [Error] Failed to load plugin 0friendsAPI (IOException: Sharing violation on path D:\rust\server\main\oxide\plugins\0friendsAPI.lua)
    [Oxide] 7:06 AM [Debug]   at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
      at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
      at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
      at System.IO.File.OpenRead (System.String path) [0x00000] in <filename unknown>:0
      at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize) [0x00000] in <filename unknown>:0
      at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding) [0x00000] in <filename unknown>:0
      at (wrapper remoting-invoke-with-check) System.IO.StreamReader:.ctor (string,System.Text.Encoding)
      at System.IO.File.ReadAllText (System.String path, System.Text.Encoding encoding) [0x00000] in <filename unknown>:0
      at System.IO.File.ReadAllText (System.String path) [0x00000] in <filename unknown>:0
      at Oxide.Ext.Lua.Plugins.LuaPlugin.Load () [0x00000] in <filename unknown>:0
      at Oxide.Ext.Lua.Plugins.LuaPluginLoader.Load (System.String directory, System.String name) [0x00000] in <filename unknown>:0
      at Oxide.Core.OxideMod.LoadPlugin (System.String name) [0x00000] in <filename unknown>:0
    [Oxide] 7:06 AM [Info] Loaded plugin FriendsAPI v1.2.4 by #Domestos
    [Oxide] 7:07 AM [Info] Unloaded plugin FriendsAPI v1.2.4 by #Domestos
    any ideas?
     
  13. Wulf

    Wulf Community Admin

    Simply reload the plugin using the reload console command.
     
  14. Code:
    [Oxide] 1:45 PM [Error] Failed to call hook 'cmdFriend' on plugin '0friendsAPI v
    1.2.5'
    File: 0friendsAPI.lua Line: 171 attempt to compare number with nil:
      at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unkn
    own>:0
      at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System
    .Type[] returnTypes) [0x00000] in <filename unknown>:0
      at NLua.Lua.CallFunction (System.Object function, System.Object[] args) [0x000
    00] in <filename unknown>:0
      at NLua.LuaFunction.Call (System.Object[] args) [0x00000] in <filename unknown
    >:0
      at Oxide.Ext.Lua.Plugins.LuaPlugin.OnCallHook (System.String hookname, System.
    Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[]
     
  15. Wulf

    Wulf Community Admin

    Using this one? Friends API | Page 6 | Oxide
     
  16. This working for anyone else right now?
     
  17. Wulf

    Wulf Community Admin

  18. Yes. I cleared out the previous friend data to see if it would fix. No go.

    /friend renders a syntax command but adding a friend doesn't show a result. I'm not picking up any specific errors since it's loading through oxide just working.
    [DOUBLEPOST=1443747172][/DOUBLEPOST]Nevermind, it's working on one server, but not the other, must require a restart I guess.
     
  19. We use this plugin but its allow "/sethome" not my friend house.