Delete Server Files

Discussion in 'Plugin Requests' started by ADuckLover, Aug 9, 2023.

Thread Status:
Not open for further replies.
  1. Offline

    ADuckLover

    Hello, I was wondering if you could interact with the server files. What I particularly need is a plugin that every time a player joins the server, it deletes all the world files (world), (world_nether), (world_the_end)
     
  2. Offline

    timtower Administrator Administrator Moderator

    @ADuckLover That seems like a really bad idea as players can be in that world...
     
  3. Offline

    ADuckLover

    I've deleted the world files before and from my experience it only applies the changes on server reboot
     
  4. Offline

    timtower Administrator Administrator Moderator

    Because the world is still loaded in memery.
    Which will also cause the world to be saved when the server closes
     
  5. Offline

    ADuckLover

    does this mean it would work?
     
  6. Offline

    timtower Administrator Administrator Moderator

    Means it would not really work.
    What are you trying to achieve?
     
  7. Offline

    ADuckLover

    im trying to achieve the restart of a world so all of the data would be reset
     
  8. Offline

    timtower Administrator Administrator Moderator

    Delete the folder on server reboot?
     
Thread Status:
Not open for further replies.

Share This Page