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

Playtime Rewards #3

Open
MRMDevStudios opened this issue Jan 15, 2025 · 4 comments
Open

Playtime Rewards #3

MRMDevStudios opened this issue Jan 15, 2025 · 4 comments

Comments

@MRMDevStudios
Copy link

please add the possibility of adding rewards to a user based on playtime. It can be something simple like doing a command etc, how this plugin does it :https://modrinth.com/plugin/playtime-velocity. Only downside there is their is no playtime add command. This would allow me to support a dual playtime & purchased ranks system on our servers. :)

Best Regards,
-MRM

@itsTyrion
Copy link
Owner

Hey, that idea sounds good - however, I'm currently out for 11-13h a day, so I don't know when I can bring up the time or energy for it. I can look into it when/if I do, PRs are very welcome ofc.

@itsTyrion
Copy link
Owner

itsTyrion commented Jan 29, 2025

BungeeOnlineTime-8.6.0-dev.jar.zip

hey, could you try this? I don't really have the time to test it.
It migrates/updates the config automatically
edit: file updated (typo in code)

@MRMDevStudios
Copy link
Author

Before i do test, im gonna forward you the issue from the other plugin, and wanna ask if this is the same case here, does it check if previous requirement is met and gives reward or does it give reward exactly when the time is met = GRX005/Velocity-PlayTime#15

@itsTyrion
Copy link
Owner

It only checks for matching play time, but rewards are specified in minutes and the check is done in a minutely task that takes the stored + current (since this login) play time. Should be fine?

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

2 participants