Mineaurion / AurionVoteListener

GNU General Public License v3.0
2 stars 6 forks source link

A spam due to offline rewards #42

Open runescapejon opened 4 years ago

runescapejon commented 4 years ago

Hello, i am currently on version

https://gyazo.com/3334956e03d1b5fac99901a440e2dd4f This is what happen for offline rewards is it possible to prevent this offline reward spam just by changing the amount number example

<player> voted 10 times while they were offline and received rewards!

Yann151924 commented 4 years ago

I found the problem (quick reminder for me https://github.com/Mineaurion/AurionVoteListener/blob/master/sponge/src/main/java/com/mineaurion/aurionvotelistener/sponge/EventManager.java#L53), normally i show only what you put in last line of your message.

You can disable this message for now if you want, just put it to false : https://github.com/Mineaurion/AurionVoteListener/blob/master/sponge/src/main/resources/assets/aurionvotelistener/config.conf#L76