Flibio / PayDay

A simple Sponge plugin that pays players at specified intervals.
1 stars 1 forks source link

Login pay glitch. #5

Closed Wissi closed 7 years ago

Wissi commented 7 years ago

hey Flibio, thanx for the work. Awesome simple mod, we love it. Recently there is and issue that whenever a player logs in they get automatically paid. If they logout and immediately login, they get paid again. So players can login/logout/login as many times as they want and are getting paid every time they login (which defeats the timer restriction).

Using latest PayDay-1.0.0.jar on SpongeForge spongeforge-1.10.2-2281-5.2.0-BETA-2424.jar

Flibio commented 7 years ago

If you would like, you can disable paying on join by setting the payonjoin option in the configuration file to false.

Wissi commented 7 years ago

Do I add that entire line to the Config? There is currently NO payonjoin option in the config.
Example current config:

timeamount="15"
timeunit=Minutes
payamounts={
    "Guest"= {
        "permission"= "payday.guest",
        "amount"= 10.0
    }
}

Do we add the line like this:

timeamount="15"
timeunit=Minutes

payonjoin=false

payamounts={
    "Guest"= {
        "permission"= "payday.guest",
        "amount"= 10.0
    }
}
Flibio commented 7 years ago

What version of PayDay are you running? The option should have been generated.

Wissi commented 7 years ago

Using latest PayDay-1.0.0.jar on SpongeForge spongeforge-1.10.2-2281-5.2.0-BETA-2424.jar And nope, no option generated.

Wissi commented 7 years ago

I see that ver. 1.1.0 has that update. going to update to disable payonjoin.
Thanks.

Wissi commented 7 years ago

BTW.. thank you so much for all your quick responses always. I forgot to lookup the update you had already and next ver. 1.1.0 has that specific change.

Thank you so much.