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

[Feature]: Add Setting to Expire Locks after Owner is Offline for x Time #267

Open
TheDiscordian opened this issue Feb 15, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@TheDiscordian
Copy link
Contributor

Feature description

I think it'd be really helpful to have a feature where the locks expire after a configurable amount of time of the owner being offline.

I believe this could be checked when a player tries to access a locked box.

I think it'd be helpful for things like #133 where players just want access to items from players who quit.

@TheDiscordian TheDiscordian added the enhancement New feature or request label Feb 15, 2024
@TheDiscordian
Copy link
Contributor Author

Thoughts: I'm a bit new to Minecraft plugins, but if there's a way to hook into something like onLogout and onLogin to update something like lastSeen on a particular player, that'd be a good way to have a reliable variable tracking when an owner was last seen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants