jcdesimp / Landlord

Bukkit land claiming plugin.
MIT License
11 stars 21 forks source link

Lost protections after renaming world. #44

Closed fredrik-j-lindberg closed 1 year ago

fredrik-j-lindberg commented 8 years ago

Hello!

I have changed the name of our world containing the landlord protections, which obviously makes the plugin think that there are no protections in that world anymore since they are stored by world name.

I was wondering if there is a way to change the world name of the protections, and if not, if you could add that? One solution would be to add MySQL support for the protections, as it is very easy to change properties such as world names within MySQL. Another solution would be to add a "/landlord changeworldname "- command.

Hopefully I won't have to reset all my protections, that will make my players somewhat upset xD

Either way, thanks for updating!

Battelman2 commented 8 years ago

Looking into it. Is it something you need ASAP? Otherwise I cannot guarantee this will be taken care of immediately.

fredrik-j-lindberg commented 8 years ago

Yeah, I'd say I need it ASAP. We'll introduce the changes soon after next weekend (9/5).

If it isn't done by then we'll just have to either remove Landlord until it is fixed, or remove all protections and start over.

If you don't have time for it, I understand. But it would really be awesome if you could do it ^.^

Battelman2 commented 8 years ago

I'll see what I can do.

Battelman2 commented 8 years ago

I am writing a separate script to handle this type of migration, which should be ready within a week. A more permanent solution is also in the pipeline.

fredrik-j-lindberg commented 8 years ago

Thank you! :)

Battelman2 commented 8 years ago

@Neylion the timeframe was greatly delayed, but has not been abandoned. I suspect you may have given up on waiting, reasonably speaking, but this enhancement will be added nonetheless in the near future. My apologies for the inconvenience.