WorldGuard

WorldGuard

8M Downloads

Deleted/removed worlds remain present in WorldGuard directory

Closed this issue · 1 comments

commented

WorldEdit Version

7.3.12-SNAPSHOT

WorldGuard Version

7.0.14-SNAPSHOT

Platform Version

Paper

Confirmations

  • I am using the most recent Minecraft release.
  • I am using a version of WorldEdit compatible with my Minecraft version.
  • I am using a version of WorldGuard compatible with my Minecraft version.
  • I am using the latest or recommended version of my platform software.
  • I am NOT using a hybrid server, e.g. a server that combines Bukkit and Forge. Examples include Arclight, Mohist, and Cardboard.
  • I am NOT using a fork of WorldEdit, such as FastAsyncWorldEdit (FAWE) or AsyncWorldEdit (AWE)

Bug Description

MythicDungeons worlds (instance creation engine of pre-built templates for multiple instances of the same dungeons) remain present in WorldGuard directory. Worlds removed via world handling plugin remain present as well.

Expected Behavior

Upon deletion or no further recognition of a world's existence, it is removed from WorldGuard's directory.

Reproduction Steps

  1. Create a world
  2. Delete a world
  3. Check WorldGuard directory

Optional WorldGuard-Report

No response

Anything Else?

No response

commented

WorldGuard is never made aware of what worlds are removed / should be deleted, it’s just not a thing that conceptually exists in Bukkit. Even then deleting data is a bad idea anyway.

If WG just deleted the files of any world not present, all your regions would disappear if your world plugin didn’t load for whatever reason.

If that plugin wants to create temporary worlds, it should handle file cleanup itself