iLottery
iLottery - A Bukkit plugin that adds lotteries to your server
Please use Lottery+ instead!
Please use Lottery+ instead!
Please use Lottery+ instead!
Latest version: 1.7.1
Bukkit version: 1.0.1-R1
Minecraft version: 1.0.1
- Features:
- supports Vault 1.2.3 or later
- config.yml allows owners to set custom values to the lotteries, the time of the drawings, allow permissions, and to allow a limit to the amount of tickets the players buy(NOTE: lottery values will not be set they have been drawn)
- broadcasts a reminder message to enter the lotteries
- an optional permissions reward
- Commands:
- Player Commands:
- /lottery - get list of player commands
- /lottery buy <day/week/month> <x number of tickets> - buy tickets for a lottery
- /lottery list - get list of lotteries
- /lottery list <day/week/month> - get list of participating players
- Console Commands:
- /lottery - get list of console commands
- /lottery list - get list of lotteries
- /lottery reload - reloads config
- /lottery reset - resets lotteries to config values and rewards players back with the tickets they bought
- /lottery history - list past lottery winners
- /lottery draw <day/week/month> - force draw a lottery
- /lottery buy <username> <day/week/month> <x tickets> - enter a player into a lottery
- /lottery list <day/week/month> - get list of participating players
- Player Commands:
- Permissions:
- lottery.* - enable all lottery permissions
- lottery.list - ability to list the lotteries
- lottery.buy - ability to enter the lottery
- Bugs:
- there have been no reported bugs so far
- there have been no reported bugs so far
- Future:
- Have any suggestions? please do not hesitate to share them in the comments below.
Feeling generous? Please donate
- Have any suggestions? please do not hesitate to share them in the comments below.
why dont you do lottery signs because being with server sings all the time its only a suggestion.
Suggestion:
@Zombiemold
had the same problem, i deleted my files and let it download them again :D
works for me
Constantly getting the message whenever anyone tries to buy a ticket.
"[iLottery] - Too many players are in this lottery!"
Even with a large limit on draws, and with no one entered in the lottery. Bukkit R3, iLottery1.7.1.
how about to use a sign to buy the tikets ?
so u can make a lottery office,
and its then command free for user to buy :D you can make a sign for day week and month.
EDIT: and a config file for the messeges when u have buyt a tikket becuz i use u have an other currentie, i use bottle-caps no dollar ;)
would it be possible to allow for a lottery that everyone is automatically entered in? this would be nice for new players who don't know much about things like this.
PS: (sorry if my pic goes crazy when you look at it, it is an animated one from SC2)
@Gaurav1234
iLottery supports Vault(http://dev.bukkit.org/server-mods/vault/), so you will have to if your economy plugin is supported. Anyways, what do you mean by "Resources"?
does this plugin support Essentials Economy? also, please be honest, about how much more server recources would this use?
@Mansonjr
unfortunately i do not know what to do except to tell you to double check that vault supports the version of BOSEconomy you are using
I have a problem...
Im Using vault to link BOSEconomy.
When players buy ticket (its says is correct) but no money is payed.
When i do Draw lottery, if anyone win, money of the rewards is payed...
In conclusion... no money are taken from players...
any solution?¿
Maybe I'm picky, but normally... Wouldn't you put the newest version at the top for readability?
good news everybody! update 1.7 should be up soon!
@ninjerch I had same problem. Go update your Vault
Hi, first of all, great plugin, is it just me, or am i missing how to do it. I want to see who has brought tickets to certain lotteries, so that i can check. Like a command /lottery list players to list all of the players participating in the current lottery. Then i know how many people are playing. I would also like a way of limiting the minimum number of players required. So that at least two players have to play the lottery. This stops one player entering the daily lottery for a garenteed win of their initial outlay and the server included pot.
Thanks anway for a great plugin that is still very useful without these features!
Hi.
When i try to execute any command affiliated with lottery, i get this error:
11:19:19 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'lott ery' in plugin iLottery v1.6 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:16 5) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:3 78) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler. java:757) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:722)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715) at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33) at net.minecraft.server.NetworkManager.b(NetworkManager.java:226) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93) at net.minecraft.server.NetworkListenThread.a(SourceFile:108) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425) at net.minecraft.server.ThreadServerApplication.run(SourceFile:457) Caused by: java.lang.NoClassDefFoundError: com/iCo6/system/Holdings at net.lottery.src.ILotteryPlugin.addPlayer(ILotteryPlugin.java:396) at net.lottery.src.ILotteryPlugin.handlePlayerCommand(ILotteryPlugin.jav a:716) at net.lottery.src.ILotteryPlugin.onCommand(ILotteryPlugin.java:483) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) ... 12 more Caused by: java.lang.ClassNotFoundException: com.iCo6.system.Holdings at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader. java:36) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader. java:24) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 16 more
PLEASE HELP
Cool. Thanks.
@jan9f
not yet but i will be working on it.
Worked.. Feel like a noob right now, but thanks. I'll let you know whether or not the Permission setting worked. I'll be having a few users test it soon. Also is there a way to set an expiry date?
@jan9f
try updating vault
09:26 PM [SEVERE] Exception in thread "AWT-EventQueue-0" 09:26 PM [SEVERE] org.bukkit.command.CommandException: Unhandled exception executing command 'lottery' in plugin iLottery v1.6.1 09:26 PM [SEVERE] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42) 09:26 PM [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:165) 09:26 PM [SEVERE] at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:378) 09:26 PM [SEVERE] at me.escapeNT.pail.GUIComponents.ServerConsolePanel$ConsoleCommandListener.actionPerformed(ServerConsolePanel.java:69) 09:26 PM [SEVERE] at javax.swing.JTextField.fireActionPerformed(Unknown Source) 09:26 PM [SEVERE] at javax.swing.JTextField.postActionEvent(Unknown Source) 09:26 PM [SEVERE] at javax.swing.JTextField$NotifyAction.actionPerformed(Unknown Source) 09:26 PM [SEVERE] at javax.swing.SwingUtilities.notifyAction(Unknown Source) 09:26 PM [SEVERE] at javax.swing.JComponent.processKeyBinding(Unknown Source) 09:26 PM [SEVERE] at javax.swing.JComponent.processKeyBindings(Unknown Source) 09:26 PM [SEVERE] at javax.swing.JComponent.processKeyEvent(Unknown Source) 09:26 PM [SEVERE] at java.awt.Component.processEvent(Unknown Source) 09:26 PM [SEVERE] at java.awt.Container.processEvent(Unknown Source) 09:26 PM [SEVERE] at java.awt.Component.dispatchEventImpl(Unknown Source) 09:26 PM [SEVERE] at java.awt.Container.dispatchEventImpl(Unknown Source) 09:26 PM [SEVERE] at java.awt.Component.dispatchEvent(Unknown Source) 09:26 PM [SEVERE] at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source) 09:26 PM [SEVERE] at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source) 09:26 PM [SEVERE] at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source) 09:26 PM [SEVERE] at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source) 09:26 PM [SEVERE] at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source) 09:26 PM [SEVERE] at java.awt.Component.dispatchEventImpl(Unknown Source) 09:26 PM [SEVERE] at java.awt.Container.dispatchEventImpl(Unknown Source) 09:26 PM [SEVERE] at java.awt.Window.dispatchEventImpl(Unknown Source) 09:26 PM [SEVERE] at java.awt.Component.dispatchEvent(Unknown Source) 09:26 PM [SEVERE] at java.awt.EventQueue.dispatchEventImpl(Unknown Source) 09:26 PM [SEVERE] at java.awt.EventQueue.access$000(Unknown Source) 09:26 PM [SEVERE] at java.awt.EventQueue$1.run(Unknown Source) 09:26 PM [SEVERE] at java.security.AccessController.doPrivileged(Native Method) 09:26 PM [SEVERE] at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source) 09:26 PM [SEVERE] at java.awt.EventQueue$2.run(Unknown Source) 09:26 PM [SEVERE] at java.security.AccessController.doPrivileged(Native Method) 09:26 PM [SEVERE] at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source) 09:26 PM [SEVERE] at java.awt.EventQueue.dispatchEvent(Unknown Source) 09:26 PM [SEVERE] at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) 09:26 PM [SEVERE] at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) 09:26 PM [SEVERE] at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) 09:26 PM [SEVERE] at java.awt.EventDispatchThread.pumpEvents(Unknown Source) 09:26 PM [SEVERE] at java.awt.EventDispatchThread.run(Unknown Source) 09:26 PM [SEVERE] Caused by: java.lang.NoSuchMethodError: net.milkbowl.vault.economy.Economy.hasAccount(Ljava/lang/String;)Z 09:26 PM [SEVERE] at net.lottery.src.ILotteryPlugin.addPlayer(ILotteryPlugin.java:503) 09:26 PM [SEVERE] at net.lottery.src.ILotteryPlugin.handleConsoleCommand(ILotteryPlugin.java:703) 09:26 PM [SEVERE] at net.lottery.src.ILotteryPlugin.onCommand(ILotteryPlugin.java:558) 09:26 PM [SEVERE] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) 09:26 PM [SEVERE] ... 42 more
That help? Btw sorry its really long, idk how to make spoiler :l