Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chest migration FlatFile to MySQL #8

Closed
MithrandirCraft opened this issue Feb 17, 2015 · 3 comments
Closed

Chest migration FlatFile to MySQL #8

MithrandirCraft opened this issue Feb 17, 2015 · 3 comments

Comments

@MithrandirCraft
Copy link

I followed your instructions as to how to move the data Flat Files to MySQL db, but it isn't transfering anything.

Imports:
default: betterenderchest-flatfilenbt

I can assure 100% my database is set up correctly, and is in full connection to Better Ender Chest.

But allthough the import is set just how the guide says, the files do not transfer to SQL. New files simple are created onto SQL for new players, and the old Flat Files are being used as well.

I need to convert the flat files into SQL database files, and then remove the Flat Files from my hard disk (in order to reduce space).

@MithrandirCraft
Copy link
Author

Oh, I see when players use their enderchest (all their contents are correctly in it), and after a server restart, they start to get files on SQL (everything still ok whith their enderchest)...

Is this how it's suposed to work? The files are only transfered to SQL if players use their Ender?

@rutgerkok
Copy link
Owner

Yeah, there is currently no batch converting. Only when a player uses their chest it is saved to MySQL. I hope to do a rewrite of the save system in the future, this would allow things like batch processing.

@MithrandirCraft
Copy link
Author

No problem, this is actually usefull for purging unused enderchests. I can just delete the flat files in the future and release some memory space.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants