IntellectualSites / PlotSquared

PlotSquared - Reinventing the plotworld
GNU General Public License v3.0
546 stars 748 forks source link

Trying to convert from PlotMe #581

Closed plourenco closed 8 years ago

plourenco commented 9 years ago

Hello,

I tried PlotSquared for the first time and wanted to convert a database from PlotMe. When I start here's what happens:

[18:29:52 INFO]: PlotMe->PlotSquared: PlotMe conversion has started. To disable this, please set 'plotme-convert.enabled' in the 'settings.yml' [18:29:52 INFO]: PlotMe->PlotSquared: Connecting to PlotMe DB [18:29:52 INFO]: PlotMe->PlotSquared: Collecting plot data [18:29:52 INFO]: PlotMe->PlotSquared: - plotmePlots [18:29:52 INFO]: PlotMe->PlotSquared: Updating bukkit.yml [18:29:52 INFO]: PlotMe->PlotSquared: Copying config for: mundoplot [18:29:52 INFO]: [P2] - plotmecore_denied [18:29:52 INFO]: [P2] - plotmecore_allowed [18:29:52 INFO]: PlotMe->PlotSquared: - plotmeAllowed [18:29:52 INFO]: PlotMe->PlotSquared: Collected 0 plots from PlotMe [18:29:52 INFO]: PlotMe->PlotSquared: Creating plot DB [18:29:53 INFO]: PlotMe->PlotSquared: Saving configuration...

It converts 0 plots from PlotMe. PlotMe is using SQLite and version 0.13f (Config of PlotSquared is the same as default)

Also, I use the mixed mode UUID's which means online players have real uuids (exceptions) and offline players just have the cracked ones. Using bukkit get uuid methods will not cause any problems. However, everything is saved in PlotMe, if it's converted using uuid's there saved, it's fine.

Regards

plourenco commented 9 years ago

UPDATE:

Tried everything:

Neither of the above works. Database is still empty according to PlotSquared...

boy0001 commented 9 years ago

Are you able to send me your PlotMe database?

plourenco commented 9 years ago

Sure.

I uploaded the plots.db here: http://www.filedropper.com/plots

boy0001 commented 9 years ago

Hmm, I can't replicate the issue, but here's your converted database: https://www.dropbox.com/s/l4bebwelhwv3f3w/storage.db?dl=0

plourenco commented 9 years ago

Looks fine, but when I replace my db for that one. Every plot appears as: Owner: Unknown

boy0001 commented 9 years ago

If the player comes online, is their plot still unknown?

plourenco commented 9 years ago

Tried in my case, I used to have a plot over plotme database and I can't go to my home. It's like my plot was there, but misconverted, without a owner.

Maescool commented 9 years ago

If you enable the next thing in the settings: uuid: use_sqluuidhandler: true this has fixed the "unknown" problems for me

MattBDev commented 8 years ago

Possibly fixed.

plourenco commented 8 years ago

I can confirm this problem is now solved. When players join, they get the plot.

Thanks for the excelent work!