[INACTIVE][MISC] AutoClear 1.2 - Automatically clear item drops [1060]

Discussion in 'Inactive/Unsupported Plugins' started by DrAgonmoray, Jul 10, 2011.

  1. Offline

    DrAgonmoray

    AutoClear 1.2 - Automatically clears entities when they hit a limit!

    You might not know this, but entities in your game cause a lot of lag, especially in large numbers. AutoClear is meant to reduce the load on your server, and to make it look more tidy.

    Features:
    • Clears item drops when they reach a limit
    • Optionally clears arrows and vehicles
    • Can optionally display messages and give warnings.
    Configuration:
    Code:
    #The drop limit
    maxDrops: 500
    
    #How much time should we wait to clear the drops?
    warningTime: 30
    
    #The warning message to display
    warningMessage: '&cClearing all drops in 30 seconds!'
    
    #The message to display on clear completion.
    completeMessage: '&aDrop clearing complete! Cleared %amount% entities!'
    
    #Should we display messages?
    showMessages: true
    
    #Should we clear vehicles?
    clearVehicles: false
    
    #Should we clear arrows?
    clearArrows: true


    Download AutoClear 1.2

    Changelog:
    Version 1.0-1.2:

    • Changelog was lost.
     
  2. Offline

    chernobyl360

    shouldnt the build # be 953?
     
  3. Offline

    DrAgonmoray

    Oops, nice catch lol. Thanks
     
  4. Offline

    o0AzzA0o

    This works perfectly :) i would be shocked if this plugin doesnt become very popular it will now allow me to add another 10 slots to server :)

    Feature request for future: a message to indicate when world drops have been cleared.

    Thanks so much for making this plugin i was supprised that you made it so fast and so well

    I checked how this plugin affects performance with /debug clock on commandbook/worldedit and from 20-30% error on tick rate before this plugin it now stays on time :) since i dont have to check every 30 mins or so for how many drops there are.
    You have saved me alot of time.


    ps [FIX] ? i think it should be classed as such its great....
     
  5. Offline

    noahwhygodwhy

    wow, no messages from mods or admins, doing nice, and it works perfectly, and what o0AzzA0o said, the message saying when it's done would be nice, on my server there are so many items that it would lag it up to remove them, more than they cause, so it would be a time of lag, and the message would announce when it is done, that would be nice.
     
  6. Offline

    DrAgonmoray

    @o0AzzA0o @noahwhygodwhy

    Version 1.1

    • Added a completion message to the config
    • You'll need to manually update your configs (or delete them)
     
    noahwhygodwhy and o0AzzA0o like this.
  7. Offline

    jzsig

    awesome thanks
     
  8. Offline

    o0AzzA0o

    Thanks for the update :)
     
  9. Offline

    noahwhygodwhy

    YES! finally the thousands of hidden in block items that have accumulated over the months have cleared out! one, my computer isn't jammed, and two lag.equals"nope"
     
  10. Offline

    DrAgonmoray

    I'm glad you guys like it. :)
     
  11. Offline

    jzsig

    DrAgonmoray would it be possible to make it so admins can designate ceartian areas that wont clear or would that not be possible because of how it works?
     
  12. Offline

    spunkiie

    Can you add and option to FORCE clear by an admin, and also make the commands usable from console?

    Would be great :)

    BTW: Using this on my 400+ server... with 150 players your plugin works OK... above it the plugin doesn't work anymore (maybe due to low TPS, dunno).

    That's why I'm asking for the FORCE CLEAR option :)

    Thank you
     
  13. Offline

    vapid2323

    Spunkiie dude can you stop saying you have a 400+ server every post, we know you have a large server!

    Also to the plugin Dev your a god! I love this.
     
  14. Offline

    spunkiie

    @vapid2323
    stfu

    I'm telling the plugin developer. You probably can't even READ a single line of code, but, it's pretty interesting for a develeper have feedback of his plugin running on such high demand server.
     
  15. Offline

    vapid2323

  16. Offline

    Sneaky420

    Great looking plugin, just one suggestion, maybe a filter to allow it to clear everything besides crops?


    EDIT:
    Thought of another one... for just cause, but when the clear is finished, have it display how much it cleared, sure it would be close to the limit as it was triggered, but to see how much over it was.

    And i downloaded and put this on my server... it single handly fix a major lag issue that brought my hosted server to its knees, the instant that i loaded the server with this installed on default settings, 2 of my users stopped having "out of memory" disconnects.

    Awesome plugin for anyone on any size server!!!
     
  17. Offline

    o0AzzA0o

    he doesnt have 400+ server .... where is the playerlist? i have asked for it in pm all i see is like 400 npc that cant move @ spawn due to the crazy amounts of lag.

    produce a minestatus.net link or mcserverlist.net link

    i could up my server to 400 slots and have it lag to crap :)
     
    DrAgonmoray likes this.
  18. Offline

    embty

    Thank you so much great plugin installing it now :)
     
  19. Offline

    Black_Fox

    Hi, I would love to use your plugin (automatic cleanup is brilliant idea), but I don't want any messages being shown. Setting message contents to nothing still displays empty chat message and I obviously cannot comment the parameter out. Could you please add a toggle for this to configuration?
     
  20. Offline

    Sneaky420

    Just edit the config to send a empty space till the option is added
     
  21. Offline

    DrAgonmoray

    @Black_Fox
    I'll do that in the next update.
    @Sneaky
    I'll add other entities soon, as those can also cause lag.
    And I'll add some sort of thing to show how many it cleared.

    To everyone else:
    if you need to say something or ask me something, put "@DrAgonmoray" in your post, and it will alert me. Thanks!

    Version 1.2
    • Added %amount% variable for the completion messages
    • You can now enable or disable messages displaying
    • Now can clear vehicles and projectiles
    • Update your configs manually, or settings will go to default.
    Hooray for AutoClear 1.2! :D

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  22. Offline

    o0AzzA0o

    nice one :)
     
  23. Offline

    o0AzzA0o

    works fine with recomended build 1000 can we have tag update on post?
     
  24. Offline

    DrAgonmoray

    Thanks. Done. :D
     
    o0AzzA0o likes this.
  25. Offline

    kevinkrw

    Can you add a command to remove all the drops in an radius or in the whole world?
     
  26. Offline

    Sneaky420



    Please add this :)
     
  27. Offline

    Ryan Palkovic

    Thanks a bunch, this is an awesome idea! Can you add a direct link so us wget users can download more easily?
     
  28. Offline

    DrAgonmoray

    Wait, what? Is that not a direct link up thar?
     
  29. Offline

    Cyprias

  30. Offline

    DrAgonmoray

Share This Page