Brianetta / StickyLocks

New locking plugin for Bukkit. Database/UUID/tool/command driven (default tool is a stick).
GNU General Public License v3.0
4 stars 3 forks source link

All UUIDs are recorded in stickylocks.db but majority of usernames are "null" #14

Open doomnote opened 5 years ago

doomnote commented 5 years ago

For some reason only about 6 of 22 players have both their UUID and username recorded in the .db file. Everyone else is "null" so they can't be added as users to other people's locked blocks. I opened the .db file and added in the missing usernames but now it's saying:

03.12 18:47:19 [Server] INFO [StickyLocks] org.sqlite.SQLiteException: [SQLITE_READONLY_DBMOVED] The database file has been moved since it was opened (attempt to write a readonly database)

Brianetta commented 5 years ago

Writing to the database file while the server is running can lock the file for exclusive write access. If quitting the sqlite client doesn't allow the server to write to the database, the server will need to be restarted.

The problem that caused the usernames to be blank was itself solved in 7b748b47d298419d2e73307dc5c8d9e320459281, which is in version 1.0.

Brianetta commented 5 years ago

e74131bedd93883bef20499e04837e0fa5cfbcd3 should update all stored names from NULL as players join the server.