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

SQLite rewrite #25

Open
bennasar99 opened this issue May 22, 2015 · 5 comments
Open

SQLite rewrite #25

bennasar99 opened this issue May 22, 2015 · 5 comments
Milestone

Comments

@bennasar99
Copy link
Contributor

Rewrite jails, homes and warps to use SQLite.
I don't know SQLite, so I won't do it soon, maybe some day if I learn.
Any volunteer?

@bennasar99 bennasar99 added this to the Release 1.0 milestone May 22, 2015
@mathiascode
Copy link
Member

Just curious, what exactly is the advantage of SQLite?

@bennasar99
Copy link
Contributor Author

Faster access to data.
Right now essentials is using ini files, which, specially in the case of jails, can be slow.

@NiLSPACE
Copy link
Member

How is the jail done then? Does it check the INI file when the player moves or when the player joins? If it checks it when the player moves, then I suggest creating a cPlayerState object just like WorldEdit. In there you can save if the player is in jail or not.

@bennasar99
Copy link
Contributor Author

I'm not quite sure, it's been a long time since I coded and tested it for the last time.
I will have a look.
Anyway, SQL would be better.

@NiLSPACE
Copy link
Member

Yes, SQL would be better, but it's still better to save if someone is jailed in memory.

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

3 participants