-
Notifications
You must be signed in to change notification settings - Fork 352
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
Refactor AFK function + Support for Logged out + Fix Locale message #333
Conversation
- Reinstates locale message as it was missing - Includes AFK for logged out users (ie. qb-multicharacter) - Adds config option for enable/disable Co-authored-by: Charlie <[email protected]> Co-authored-by: Duo <[email protected]>
Hello. I went ahead and tested this to make sure it behaved how I intended. It seems to be good to me. I still like the idea of adding a different configurable afk timer for the time before the player logs in. I just think that it should be shorter than a player who is logged in. Would be open to discussing this more and hearing your thoughts! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I feel this pr does enough right now and is still an improvement on what we have currently. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree just run this on a clean install and works great
if checkUser then | ||
function getTimeUnit(time) | ||
return time >= 60 and 'minutes' or 'seconds' | ||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs a linebreak here below end
Fixes:
#281
Duplicates:
#331