🤑 Lottery 🤑


#41

Ive been running API5. Its worked alright.
./lottery info doesn't work, but other then that its good.


#42

On API 5.1 with version 1.1 when I buy a ticket the lottery draws after 5-10 seconds, I tried changing the duration but its still the same


#43

Does this only happen on api 5.1? And what duration value is in the config?


#44

P1D it was PT4H before


#45

Thanks for reporting, I'll investigate this!


#46

v1.2 released!

The changelog can be found on the downloads page.


@Gershon I can't reproduce the crash you posted here earlier and the drawInterval = P1D works correctly. Do you have any special setups?


#47

No, but i'll update to API 5 version and see if it still happens


#48

#49

Could you please try SpongeVanilla?


#50

Request: Have a way to mail all players who entered into the lottery who won. Not all people are on when the winner is drawn, and wonder who had won. Also, lets the player the won know he won.
Have like a configured message.

Also, on my version, /lottery info doesn't work.
Error in console:

I'm on:

Thanks!


#51

I'll think about how to implement your request in a good way.
Thanks, I'll fix the crash.


#52

I sadly can't reproduce the crash. @Gershon seemed to report the same error: https://forums.spongepowered.org/t/money-mouth-lottery-money-mouth/13318/36?u=randombyte.
Could you please send the full server log(startup fresh server with this plugin and economy plugin, execute lottery info).


#53

spongeforge-1.10.2-2123-5.1.0-BETA-1898
All commands seem to be not working now


#54

It might be an issue with @Flibio 's economy lite.


#55

Try using totaleconomy
no issues here


#56

I've fixed the issue in the EconomyLite v2.5.1, I apologize for creating this issue with the Lottery plugin.


#57


This error prints in chat when we use /lottery info


#58

It possible to add the function to run a command upon a successful win?

And to be able to have multiple stored lotteries that can be initiated with their own command?
As an eg /lottery run lottery1, /lottery run lottery2


#59

I don't see the need for more than one lottery. Could you elaborate?

I'll see if MultiScripts is cool when it is released or create an own little plugin to execute commands when events like the lottery draw happen.


#60

More to merge with the conjunction of having commands ran.

A food lottery, equipment lottery, blah blah blah.
Or having a pool where a prize is drawn from - weighted config options or such.

Just a few thoughts to open up the plugin and have it be more variable for people ^_^