randombyte-developer / lottery

A Sponge plugin
https://ore.spongepowered.org/RandomByte/Lottery
GNU General Public License v2.0
0 stars 1 forks source link

Excessive numbers #14

Open nzminecraftDOTcom opened 6 years ago

nzminecraftDOTcom commented 6 years ago

https://i.imgur.com/YQco2ds.png

That.. may need to change the output type so we just get a nice rounded number. I'd be happy with $329.40 :D

randombyte-developer commented 6 years ago

Uh wow. Thanks for reporting. Will fix that soon.

nzminecraftDOTcom commented 6 years ago

No problem. Is it also possible to have the lottery pot/tickets bought saved to a file, every time my server reboots it loses it all.

randombyte-developer commented 6 years ago

These should be saved to a config file. Isn't there like a section in the config which has a bunch of uuids of the players which bought tickets? Can you send me your config?

nzminecraftDOTcom commented 6 years ago

http://nzminecraft.com/download/Config/lottery.conf

Only has that file, no folders unless the name is different and i'm missing it.

randombyte-developer commented 6 years ago

Hm, the 'internal-data' node should contain all the bought tickets. I suspect that it doesn't save the config when someone buys a ticket. Please send the whold server log.

nzminecraftDOTcom commented 6 years ago

http://nzminecraft.com/download/Config/Server_log.log

Hopefully that contains enough information.

randombyte-developer commented 6 years ago

Partly covered by #15