Purge Old Player

Discussion in 'Spigot Plugin Help' started by JavyMC, Feb 11, 2020.

  1. Is there a plugin that execute a specific command when a player dont join the network/server in X time?
    I need to execute a few purge commands for players that dont join my network in 3 months. Anyone can help me, find something? Sorry for my english...
     
  2. That a pretty complicated thing to check for as it would be a always-running task. Also, it depends on what plugin you use to register your last seen date.
     
  3. I wrote a standalone Java program which goes through the player data files and produces a CSV list which I can sort as necessary.

    When I get 600 to 800 players who haven't been on in 18+ months, I create an FTP script to go in and delete their data files. They need to be deleted from at least 5 directories. Also, this has to be coordinated with any GriefPrevention claims or PlotSquared plots they have.

    Short answer: You'll have to develop a system that works for you.
     
    • Agree Agree x 2
    • Winner Winner x 1