AutoPurge

Moved

Total Downloads: 5,818 - First Release: Dec 27, 2015 - Last Update: Sep 18, 2017

5/5, 34 likes
  1. Typo. I meant 6 hours
     
  2. so is this correct removes inactive players and builds at 6 days but checks for player every 6 hours


    "Timing": {
    "inactiveAfter": 518400,
    "timerEnabled": true,
    "timerJob": 21600
    }
    }
     
  3. correct
     
  4. Code:
    05:02 [Error] Failed to run a 21600.00 timer in 'AutoPurge v1.5.4' (DirectoryNotFoundException: Could not find a part of the path "C:\Users\Administrator\Desktop\Server\rustds\server\my_server\oxide\logs\AutoPurgeLog.txt".)
    05:02 [Stacktrace]   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.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) [0x00000] in <filename unknown>:0
      at System.IO.StreamWriter..ctor (System.String path, Boolean append) [0x00000] in <filename unknown>:0
      at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string,bool)
      at System.IO.File.AppendAllText (System.String path, System.String contents) [0x00000] in <filename unknown>:0
      at ConVar.Server.Log (System.String strFilename, System.String strMessage) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.AutoPurge.MainTimer (Boolean freshStart) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.AutoPurge.<OnServerInitialized>m__4 () [0x00000] in <filename unknown>:0
      at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00000] in <filename unknown>:0 
    guessing because of new file location
     
  5. Fujikura updated Auto Purge with a new update entry:

    1.5.5

     
  6. dose this purge stuff like high externals that gets placed without tc range?
     
  7. AutoPurge removes ALL entities created by inactive players after a given timelimit being offline.
     
  8. Hi everyone could someone please tell what is happening? Its still spamming in mi console thanks
    | Failed to call hook 'OnPlayerDisconnected' on plugin 'AutoPurge v1.5.5' (NullReferenceException: Object reference not set to an instance of an object)
    | at Oxide.Plugins.AutoPurge.UpdatePlayer (.BasePlayer player) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.AutoPurge.OnPlayerDisconnected (.BasePlayer player) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.AutoPurge.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
     
  9. Does it happen on every player disconnect and also on yours? Can you reproduce it byself with your account?
     
  10. Quick question, how do I stop the purge from deleting my town buildings? I have a shop/market area and gets deleted from this plugin how do I avoid
     
  11. Exclude the player who built the town, by one of the 3 available Exclusion methods described already in the plugin description and also in the FAQ.
     
  12. Hey can we get support for rust io friends as alternative to friends API please? When i install friends API it interferes with friendly fire and many rust io features when i have both friends plugins installed

    Rust:IO Friends List API for Rust | Oxide
     
  13. When i got the muse and time in the future, for sure :p
     
  14. today i have lot of errors :|
    Code:
    (12:58:36) | Failed to call hook 'OnServerInitialized' on plugin 'AutoPurge v1.5.5' (NullReferenceException: Object reference not set to an instance of an object)
    (12:58:36) | at Oxide.Plugins.AutoPurge.UpdatePlayer (.BasePlayer player) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.AutoPurge.OnServerInitialized () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.AutoPurge.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
     
  15. still have problems on one server ;/ (other are ok)

    problem is like above, last version (AutoPurge v1.5.5), plugin make NULL file in data/AutoPurge.json , i have try to make file with data from other server but plugin after reload makes NULL in this file and then is error. How can i check why it's broken ?

    Thanks
     
  16. Try that:
    • unload the plugin
    • delete the data-file
    • reload the plugin
    • the data-file should be new generated
     
  17. i made this, still that same :) it was first i have made
     
  18. Maybe your servers playerlist is anyhow broken or has an invalid baseplayer object included.
    Could be caused by any custom NPC plugins, or maybe also a bot from the hosting company which was added to the playerslist, missing some needed data.
     
  19. we have no npc plugins, servers is dedicated, everything is ours :) i have think to that maybe it is a strange player name in playerlist, is it possible to add to plugin something to read strange chars in player name ? or some debuging to see what is the problem ?
    thank you for help

    i think i found a name in oxide.users.data (and i think that in this day that this user showed the problem starts)
    Code:
    7656119807764xxxxx
    default.➖ ➖ Artwork Maker ⭐
    how can i remove this from this file, or maybe can you add some code to filter strange names ? :)
    thanks
     
    Last edited by a moderator: Jul 13, 2017
  20. Fujikura updated Auto Purge with a new update entry:

    1.6.0


    [DOUBLEPOST=1499940646][/DOUBLEPOST]
    AutoPurge does only work with data from "activePlayerList" and "sleepingPlayerList". It does not care or use about data from "oxide.users.data"