NathanCollaert / RewardsLite

A lightweight, advanced and very customizable plugin that gives rewards to players at specific playtimes.
MIT License
15 stars 12 forks source link

[Request] Auto-redeem rewards when a player receives one / on the RewardCheck time #3

Closed I-Knight-I closed 4 years ago

I-Knight-I commented 4 years ago

It's a little tedious having to constantly do /redeemrewards. It'd be useful if player's would simply just receive their reward - if they are eligible - every time the RewardCheck time is met.

E.g

RewardCheck: 60 AutoRedeem: True

if (player.eligible() == true){ player.redeem() }

NathanCollaert commented 4 years ago

As of right now, players do actually redeem it automatically after every check. Although the players will have to wait for the check timer to actually hit 0, which I didn't like as well but had no other option due to my implementation at that time. I've been working on a new custom playtime system that will allow me to get rid of the whole rewardCheck setting and give players their reward on the exact time it was achieved.

I-Knight-I commented 4 years ago

Yeah I actually noticed a few hours after opening this that it was automatic, apologies.

I saw you begun editing the system too. I downloaded the source and wondered what the heck was happening when everything was commented out lol. I look forward to the rewritten version.

NathanCollaert commented 4 years ago

I should probably start working with branches ya haha