AutoPurge

Moved

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

5/5, 34 likes
  1. Is it possible to have it detect if a player have been in contact with the building? So if no player has made contact with the building after 3 days the whole base will be demolished?
     
  2. It checks if the user has logged in to the server not been in there base
     
  3. Did you even read my post? "Is it possible"
     
  4. I did and gave the right answer read it a few times
     
  5. No you didn't, you replied with what the plugin does, which I already know by reading the description. My post was asking IF IT WAS POSSIBLE to have the feature I mentioned added.
     
  6. If you wanted something added then you should of made that clear and not what you posted above. Something like Can I have this feature ********** added to the plugin
     
  7. I've added the plugin and it seems to work well with everything EXCEPT High External Stone Walls and High External Stone Gates.

    Does anyone know how to make it so those won't decay if the person that placed them logs on frequently?
     
  8. This is a truly fantastic plugin, but here's a quick question / request.

    Is there a chance Norn, that you could add it to register anyone within the clan? Is that doable? So if even one of their clan mates joins up, the timer gets reset? Thanks for your work on this!
     
  9. Everytime I try to run this it starts the purge and freezes the server for a while (as expected) and then RustDedicated.exe eventually crashes. Reckon this is due to the amount of people/entities? 480 sleepers, 226k entities.
    [DOUBLEPOST=1453235751][/DOUBLEPOST]It ran it and didn't crash straight away the third time I tried, but then when the server sprung back to life RustDedicated.exe died again. Is there any way to throttle it?

    https://i.gyazo.com/39cf736f5dcb98f02c61f46413bc6170.png
     
  10. grant group admin autopurge.run
    it says doesnt exist
     
  11. ^- Same here!
     
  12. Make sure plugin has been installed and config has been made
     
  13. v3x

    v3x

    Ran my first purge with default settings. Didn't end up so well. It messed with a lot of active buildings. Some were missing like half of their base. I've been running the two dependencies for about 5 days prior to installing this. I had to restore a backup, remove this plugin, and apologize to everyone... I'm not sure what happened.
     
  14. When I have seen this happen is when a clan is active but the actual player who built the base is inactive. Is that the case here? Also, did you make sure the main timer is correct in regards to seconds? 86400 seconds is one day.
     
  15. Code:
    [Oxide] 3:56 PM [Info] [AutoPurge] Executing purge from external command...
    [Oxide] 3:56 PM [Error] Failed to call hook 'ccmdRunPurge' on plugin 'AutoPurge v0.1.0' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 3:56 PM [Debug]   at Oxide.Plugins.AutoPurge.MainTimer () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.AutoPurge.ccmdRunPurge (.Arg arg) [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 (System.Reflection.MethodInfo 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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0
    [Oxide] 3:57 PM [Warning] CallHook 'OnTick' on plugin 'RustIO v2.8.0' took: 923ms
    Could u fix this error?

    Edit

    I did find out that I didnt install the Database plugin. I will post if its not working after this.
     
    Last edited by a moderator: Feb 3, 2016
  16. Does that plugin still works?
     
  17. Can we get a hook into Clans and Friends API? Would be nice if bases don't wipe when friends or clan members are still playing :)
     
  18. Jep, atleast the message of it does work.
     
  19. Please add clan & friend support. Otherwise, its useless on a high pop server. :-/
     
  20. ok I installed this mod and at first it brought rustdedicate.exe down to 1% and caused what seemed like a 1-2min lag spike
    what is that all about?

    to test my theory I changed the days from 2 to 5 days and did an oxide.reload and again the same behavior.

    Does this run right away or does it wait the 6 hours or 5 days for the first purge? if it ran right away 50% of my players bases would be gone as they are not online and I only loaded connectionDB about 1 day ago.