[offline players / player_backend]

Post Reply
User avatar
bosapara
Member
Posts: 614
Joined: Fri Apr 07, 2017 08:49

[offline players / player_backend]

by bosapara » Post

To open offline player's data before (player_backend = files), you had to open his file: /worlds/gameworld/players/playerfile (gif below)

Sometimes it need to restore an account, check cheater and etc.

Is it possible to open offline player data with "player_backend = sqlite3"?

Image

User avatar
sirrobzeroone
Member
Posts: 191
Joined: Mon Jul 16, 2018 07:56

Re: [offline players / player_backend]

by sirrobzeroone » Post

sqlitedb browser might be what your after.

https://github.com/sqlitebrowser/sqlitebrowser/

edit: website https://sqlitebrowser.org/

User avatar
bosapara
Member
Posts: 614
Joined: Fri Apr 07, 2017 08:49

Re: [offline players / player_backend]

by bosapara » Post

sirrobzeroone:

Maybe I explained it inaccurately. Can admins / moderators open offline player data inside of online server just with command? (player_backend = sqlite3)

With "player_backend = files" definitely was possible.

Editing an sqlite3 base with editor is a few different thing.

User avatar
Krock
Developer
Posts: 4555
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker
Location: Switzerland
Contact:

Re: [offline players / player_backend]

by Krock » Post

https://github.com/minetest/minetest/issues/6193

Write a mod that requires lua-sqlite3 and use that to read out the database. Though parallel writes must not be done -> open as read only and keep database access as short as possible.
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

User avatar
bosapara
Member
Posts: 614
Joined: Fri Apr 07, 2017 08:49

Re: [offline players / player_backend]

by bosapara » Post

As i understood correctly, "core.get_player_or_load" will work only with last new Minetest versions.
Krock wrote:
Sat Aug 01, 2020 13:10
Write a mod that requires lua-sqlite3 and use that to read out the database. Though parallel writes must not be done -> open as read only and keep database access as short as possible.
Do similar mods exist which using lua-sqlite? Asked because Google is silent about how to use such a huge data files.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests