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?
AutoPurge
Moved
Total Downloads: 5,818 - First Release: Dec 27, 2015 - Last Update: Sep 18, 2017
- 5/5, 34 likes
-
-
-
-
-
-
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? -
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! -
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 -
grant group admin autopurge.run
it says doesnt exist -
^- Same here!
-
-
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.
-
-
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
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 -
Does that plugin still works?
-
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
-
-
Please add clan & friend support. Otherwise, its useless on a high pop server. :-/
-
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.