-
Notifications
You must be signed in to change notification settings - Fork 12
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
Seen Command, Timestamp and Balance integrity #5
Comments
Looking at the /bal code we need to make it update the timestamp if there is already a balance too |
added a seen command as listed in issue #5, still need to update current user timestamp
Have a working seen command now, just need to add in some quick code so that the timestamp updates on execution of any other command. Is there any obvious way to catch a quit event too? That would be the better place to catch a timestamp. |
I've standardized the Seen update in 15cc91a It does not check the balance though. |
hmm well the idea is to keep the database size small, any player not using the economy isnt in the database, to avoid revolving door noobs who join for 5 seconds and never return getting a balance, although from a practical sense catching the quit event for a timestamp is intiutve to what people expect a seen command to do :/ |
Perhaps adding FirstSeen or DateJoined, so we know how long they have been active for. |
sort of like an account opened date ? |
Added seen date to accounts command. pretty much everything we can do here is done i think |
along with uid and balance, a timestamp should also be recorded in the balance file.
this timestamp is also used to prevent players with 0 balance accidentally being given another "default balance" if we have not allowed for this already when adding new players to the balance file (actually the way file works now this shouldn't happen now anyway)this time stamp should be added/updated every time someone uses an economy command - although it could also be updated on QUIT too - it should only update if they already HAVE a bank balance so as to not conflict with our database minimization strategy.
A seen command that displays this timestamp would also be useful.
The text was updated successfully, but these errors were encountered: