5 Second Item Despawn Time

Discussion in 'Archived: Plugin Requests' started by CosmicRainHD, Dec 15, 2012.

  1. Offline

    CosmicRainHD

    Is there a plugin in which makes items despawn in 5 seconds?
    I have a pvp server and people like to lag the server by place trowing lots of items to the ground, and i want those items to despawn in 5 seconds.
    Usually Items despawn in 5 minutes i want it shortened to 5 seconds
    Please Help :)
    thank You
     
  2. Offline

    TheFluffey

    Usually, entities don't cause a major amount of lag/memory usage at all. Probably around 100mb of usage on average and not a ton of CPU usage. If you do need a solution, I suggest AutoCleaner Continued.
     
  3. Just some imput for you, have it despawn in 1-2 minutes. Not 5 seconds. Say I kill a person with a bow and I have to go grab the stuff it will be gone.... Just saying.
     
  4. Offline

    TheFluffey

    I also agree with this, despawning entities after 5 seconds was originally what I did. Players got pissed when their items disappeared :)
     
  5. Believable.
     
  6. Offline

    CosmicRainHD

    thank you :)

    wait so auto cleaner in the config.yml u can change the time of item despawn or do i need to type down some code

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

    Rprrr

    If that plugin does not work, I can create a very lightweight plugin for you that does this.
    Anyway, I think it works. :p
     
  8. Offline

    CosmicRainHD

    really you think you could do that for me? :D cause i have no clue how to code...
     
  9. Offline

    Rprrr

    CosmicRainHD
    Alright.
    https://www.dropbox.com/s/dzeshcsrz0ac5b4/Quick.jar

    Very simple plugin. ThereĀ“s only one thing in the configuration file:
    Code:
    time: 5
    If it would be like that, items would dissapear after 5 seconds. If you put it to 10, items would dissapear after 10 seconds. It should be at least 1 and at most 299 (because items already disappear automatically at 300 seconds).

    If you have any questions or further requests, ask me.

    Have fun.
     

Share This Page