AutoPurge

Moved

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

5/5, 34 likes
  1. The cannot happen unless your delay is wrong configured = too short.
     
  2. @Fujikura Any chance of an additional timer for VIP group? At the moment its just exclude, would be good if we could have 3 hours for default group and 48 hours for VIP etc.
     
  3. killSleepers: true > kill also sleepers when player entities were purged
    =========================================================

    ... this is not working, it kills nobody after purge :)
     
  4. Hello

    what is the real timer for a function and is the plugin running after a restart? because we have an automatic restart once a day
     
  5. It runs on plugin load if you want it to. Realtimer does it at a specific time of the day. Better to just use an interval.
     
    Last edited by a moderator: Apr 16, 2018
  6. I have been looking for a plugin that will remove everything within a zone on the map at a given time interval or when a command is issued. This is the only plugin I have come across so far that removes stuff while the server is running without requiring reboot. Is there a way to configure it to just delete everything in a zone regardless of player activity or is that something that can be added?
     
  7. Doesnt interact with zonemanager
     
  8. autopurge.run does not remove anything and this is what I see in console:
    (14:13:28) | [AutoPurge] Included entity count on this run: 8860
    (14:13:28) | [AutoPurge] Nothing to remove... up to date.
    Only autopurge.remove <steamID> works, but it does not kill players even if I have set it to do so in the config file.
     
  9. I have two longtime players who are suddenly getting purged, permissions were granted a long time ago, and just today their bases disappeared. I looked it up in the logs, and both their names are listed as being purged. Nothing has changed in my server folder in forever, anyone else have this happen?
     
  10. So is this mod dead and useless? seeing some bad comments and this seems like it would be a good mod to have.
     
  11. Nope.
    ...random commnents, most times different "felt issues", are never a statement of quality..on any plugin thread.
     
  12. Ok so the faults posted stating it was removing players bases that are active is not a fault of the mod and everything is working as it stated in the overview?
     
  13. Works great. Earlier today:
    (10:15:56) | [AutoPurge] Included entity count on this run: 76451
    (10:15:57) | [AutoPurge] Removing: 2662 entities from: 51 inactive players
    (10:15:57) | [AutoPurge] Affected IDs: ....etc.
     
  14. Ok I'll speak to my co-owner and prob try it out.
     
  15. Would this matter much with a weekly wipe schedule?

    I mean ive really got fps issues but idk if this is gonna change anythin tbh, And i feel sad if i delete a player base when he didnt log in for the weekend or something :p
     
  16. IDK depends on how busy ur server is. If u got a lot of players joining making bases then not play much after, that base is wasted assets taking up server time. I plan to wipe BiWeekly so a mod like this would be handy to use.
     
  17. I installed this plugin and set my config to below. I reloaded the plugin and got output below. Does the purge on start feature not work if clan plugin is not installed?

    Code:
    {
      "Exclution": {
        "excludeGroupModerator": true,
        "excludeGroupOwner": true,
        "excludePermission": "autopurge.exclude"
      },
      "Generic": {
        "killSleepers": false,
        "logPurgeToFile": true,
        "purgeOnStart": true,
        "removeRecordAfterDays": 30,
        "removeRecordAfterPurge": true,
        "testMode": false,
        "useClansIO": true,
        "useFriendsApi": false
      },
      "Messaging": {
        "showMessages": true,
        "showMessagesAdminOnly": true
      },
      "RealTimer": {
        "enable RealTimer": false,
        "log to console": true,
        "RealTime": [
          "06:00",
          "18:00"
        ]
      },
      "Timing": {
        "inactiveAfter": 345600,
        "timerEnabled": false,
        "timerJob": 21600
      }
    }
    Code:
    [AutoPurge] Plugin 'Clans' not found - Clan support not active
    [AutoPurge] 'Clans' support not active - purge on start cancelled
     
  18. Set this then:
    Code:
    "useClansIO": false,
     
  19. Whoops I over looked that, thank you!
     
  20. 10:27:00) | Failed to call hook 'OnPlayerInit' on plugin 'AutoPurge v1.6.1' (NullReferenceException: Object reference not set to an instance of an object)

    at Oxide.Plugins.AutoPurge.UpdatePlayer (BasePlayer player) [0x0000f] in <4cb0144c665e47fb952ee678ce779a67>:0

    at Oxide.Plugins.AutoPurge.OnPlayerInit (BasePlayer player) [0x00000] in <4cb0144c665e47fb952ee678ce779a67>:0

    at Oxide.Plugins.AutoPurge.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x005b8] in <4cb0144c665e47fb952ee678ce779a67>:0

    at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <4de2a9f5b1eb4f0ea3c4c9778603446d>:0

    at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bfa4e457157d4e089ab91719c5b1288b>:0

    at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bfa4e457157d4e089ab91719c5b1288b>:0