AutoPurge

Moved

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

5/5, 34 likes
  1. Sometimes its a little buggy imo, some bases are removed good and some are half destroyed. The plugin runs itself every 6 hours to check en purge the items. You will get a message in the chat if you dont change the message option.
    So far I did a test you must edit the "wipeownersautomatic" off in Entity plugin since the owner = N/A are not removed.
    You can run the plugin from the console with 'autopurge.run' then you see if it is working.

    Sorry for the bad english.
     
  2. so I need to set "AutomaticWipeOwners": to TRUE or to False and reload both mods or just the Entity mod?
     
  3. I have set it to FALSE. So it dont remove the owner information.
    Then reload Entite mod first then you can do it for the other also.

    For my it is working, but it is still buggy imo.
     
  4. I would like to see a exclude option, so that buildings from admins are not removed.
     
  5. is it possible to disable the timer?
    i would want to run the purge not by a * seconds timer (6 hours is default).
    As rust crashes and whatever other things that can change WHEN the server is started.
    So i would prefer to run autopurge.run with my own scripting (meaning i would set it to go of at certain TIMES of the day like 04:00 for example.)

    i dont need autopurge to do this, i got a execution control for this purpose for many other commands and plugin controls and all
    i would do would be to set autopurge.run at my own times.

    I hope you manage to keep this plugin up2date, its a awesome thing for high entity high popularity servers.
    There will always be people that change server constantly.
    Especially since many computers cant handle rust on high entity servers ;).
     
  6. Is there a way that another developer can improve auto purge? If theres a RustIO: Clans Support, that would help much ppl to use it on their server, including me.
     
  7. I am thinking about adding this plugin to my server but I have a few questions first. I wasn't sure what the answer was.
    1) If 5 people make the base will the base disappear if one player logs off for a week?
    2) does the plugin lag the server ?
     
  8. 1) Yes, there is no friend/clan support yet.. still asked, but it seems that nobody is interested to implement that, which makes it useless..
    2) I dont know, but I think it will lag if bigger bases will be removed by the plugin.
     
  9. Depens on how much buildings you have that needed to remove and on the server specs. But it can be lagging when the server will clean everything.

    I use it on a modded buildserver.
     
    Last edited by a moderator: Feb 28, 2016
  10. The lag is just once every 6 hours for a second or a few seconds.
    And that is just if there is a big database to check and big bases to remove. its not going to be massive.
    on a 60+ player server with 150-200k enitys its less "laggy" then a regular server save ;).

    If one player in a clan goes offline for 5 dayes i would suggest clans to contact admin and give ownership of the base to a active member.
    [DOUBLEPOST=1456762910,1456683462][/DOUBLEPOST]any way to delete specific players entitys?
    For example if someone is permabanned, they wont be needing them entitys.

    Or another plugin that handles it?
     
  11. That would be a fantastic plugin idea. A potential extension of this one I hope! Right now I use the "finder" plugin, and go level the banned player's base myself. This may work for you as well.
     
  12. Totally agree!
     
  13. yes would like either clan/friend support and a white list for admin /other players I have people build arenas and sometimes other things to make server active well if that person doesn't come on while this plugin is being ran it will be gone.
     
  14. this plugin would be perfect with all those features, hopefully someone updates it soon :)
     
  15. is this plugin working at all?
     
  16. This plugin works like a charm - doing exactly what it says it does... It just doesn't care about your clans or whatnot. If one clan mate builds the whole base, and they go on a vacation - even though the rest of the players will still be playing.
     
  17. any reason i am getting this then?

    [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
     
  18. anyone know how to manually run this?
     
  19. autopurge.run in console
     
  20. i am getting the same error now after a reboot.