Lottery+

Main pic

https://dl.dropbox.com/u/72208820/LotteryPlus/main-pic.png

Description

What is Lottery+? Lottery+ is a simple and powerful lottery plugin that makes lotteries easy to make and fun to play! Why should you choose my plugin verses others? Other plugins tend to limit you on options and your lotteries, whereas mine posses limitless options! For instance these lotteries can have extensive options such as Towny support, Item economies, Item rewards, ect... To get started, follow my step-by-step tutorial. Hope you enjoy it!

Supports

Features

  • Supports item rewards
  • Supports Java 1.6
  • If allowed via the config, LotteryPlus will check for updates from time to time
  • Features a file called 'lang.properties' allowing you edit the various messages in LotteryPlus
  • Allows users to buy tickets via command or though a sign
  • Allows admins to reward players with lottery tickets
  • Saves lotteries and loads them on startup
  • Auto-announcer to remind people about your lotteries
  • Allows players to claim rewards when offline during drawing
  • Logs winners


    Faq
    Issues
    Videos
    Source
    Metrics
    Donate
    Tutorial
    Commands
    Permissions
    Gui Tutorial
    Configuration

Metrics

LotteryPlus sends statistics about the server to the http://mcstats.org/. This can be disabled by setting "opt-out" to true in '/plugins/PluginMetrics/config.yml'.

Troubleshooting

Before reporting an error, please consider doing a complete reinstallation. If you have done this, please consider writing a ticket. Be sure to add your config.yml and lotteries.yml when writing your ticket (using pastebin is fine as well). Remember, the more bugs I squash, the better the plugin becomes!

To do list

  • Implement command rewards
  • Maybe a system that updates the 'lang.properties'?
  • Some more types of rewards?
  • Have any feature requests? Please don't hesitate to share your ideas!


You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of xMachoMancha xMachoMancha Apr 02, 2014 at 01:38 UTC - 0 likes

    @randude14

    Please help me determine the problem while trying to load an existing lottery in this wonderful plugin. Here is my error code: http://pastebin.com/UVay37p3

  • Avatar of Mattrock607 Mattrock607 Mar 31, 2014 at 19:42 UTC - 0 likes

    The ticket limit system doesn't really deal with the issue at hand with lotteries being balanced. As it stands, someone is guaranteed to win a lottery, so long as enough tickets have been sold. In other words, if the ticket limit is set to 2, and 2 people enter, one of them will definitely win, depending on how many tickets they bought.

    A far better system, in my opinion anyway, would mimic a real-world lottery more realistically. The lottery should include a "ghost buyer" setting, where the plugin automatically buys a random number of tickets (configurable) before a lottery draws. This would simulate the chance of not winning the lottery; some lotteries would simply draw and lose for everyone.

    Think of it like this: You have 2 players, who each buy 5 tickets. They each have a 50% chance of winning, right? But the plugin's "ghost buyer" feature would look at the 10 tickets sold, and generate a random number of tickets it buys ranging from 1 to 20 tickets (this number would fluctuate depending on the total tickets sold). Let's say the "ghost buyer" randomly buys 5 tickets. Suddenly, the two players entered into the lotto each have a 33% chance of winning, but there's a 33% chance neither of them could win.

    I think this is a pretty simple solution to the issue of creating a chance of risk. I figured I would suggest it here, since I can't use the suggestion forum for some reason.

    Waywardcraft

  • Avatar of Luzitano Luzitano Mar 31, 2014 at 18:12 UTC - 0 likes

    One more error: When a player try to claim a Dimond Lottery

    [20:09:24 WARN]: java.lang.NullPointerException [20:09:24 WARN]: at com.randude14.lotteryplus.lottery.reward.PotReward.rewardPlayer(PotReward.java:24) [20:09:24 WARN]: at com.randude14.lotteryplus.lottery.Lottery.handleRewards(Lottery.java:866) [20:09:24 WARN]: at com.randude14.lotteryplus.ClaimManager.rewardClaims(ClaimManager.java:64) [20:09:24 WARN]: at com.randude14.lotteryplus.command.ClaimCommand.execute(ClaimCommand.java:20) [20:09:24 WARN]: at com.randude14.lotteryplus.command.CommandManager.onCommand(CommandManager.java:55) [20:09:24 WARN]: at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [20:09:24 WARN]: at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:175) [20:09:24 WARN]: at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchCommand(CraftServer.java:683) [20:09:24 WARN]: at net.minecraft.server.v1_7_R1.PlayerConnection.handleCommand(PlayerConnection.java:952) [20:09:24 WARN]: at net.minecraft.server.v1_7_R1.PlayerConnection.a(PlayerConnection.java:814) [20:09:24 WARN]: at net.minecraft.server.v1_7_R1.PacketPlayInChat.a(PacketPlayInChat.java:28) [20:09:24 WARN]: at net.minecraft.server.v1_7_R1.PacketPlayInChat.handle(PacketPlayInChat.java:47) [20:09:24 WARN]: at net.minecraft.server.v1_7_R1.NetworkManager.a(NetworkManager.java:146) [20:09:24 WARN]: at net.minecraft.server.v1_7_R1.ServerConnection.c(SourceFile:134) [20:09:24 WARN]: at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:655) [20:09:24 WARN]: at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:250) [20:09:24 WARN]: at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:545) [20:09:24 WARN]: at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:457) [20:09:24 WARN]: at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617)

  • Avatar of Luzitano Luzitano Mar 29, 2014 at 08:46 UTC - 0 likes

    Hello m8 . Im Server Owner and atm im OP - i use the comand: [09:44:10 INFO]: PTsandro issued server command: /lottery create Fortuna and i get the ingame chat: [LotteryPlus] - You do not have access to this command.

    hum??

  • Avatar of Battlelore22 Battlelore22 Mar 23, 2014 at 17:25 UTC - 1 like

    Your permissons for the reload commands and create commands dont work.

    Last edited Mar 23, 2014 by Battlelore22
  • Avatar of simplimazing simplimazing Mar 17, 2014 at 23:11 UTC - 0 likes

    whenever i try to create a sign, it tells me that the lottery doesn't exist

  • Avatar of NotchOfMinecraft NotchOfMinecraft Mar 16, 2014 at 15:56 UTC - 0 likes

    i run a network and im tryina make my server big points bases so i need it to be able to payout enjin points anyway u can add that ? like a custom run comman on the winning lotto

  • Avatar of boidyluke boidyluke Mar 13, 2014 at 19:28 UTC - 0 likes

    same here have same permission but not got access even in console?

    astracraft

    Join us now on our new dedicated server at www.AstraCraft.com or login straight away using play.astracraft.com

  • Avatar of henryvoll henryvoll Mar 09, 2014 at 12:14 UTC - 0 likes

    Same problem as several others. I cannot create a lottery ingame, even as OP/Admin with all permissions.

    It does work fine through console, but that is impractical for other admins.

    Maybe there is a separate permission for "create" that is not listed? I have lottery.* set for my admins, but still nogo.

  • Avatar of Randude14 Randude14 Mar 06, 2014 at 08:20 UTC - 0 likes

    @boidyluke: Go

    I don't see why it shouldn't give you permissions. Try using the console for now.

    Author of the powerful lottery plugin Lottery+!

    https://dl.dropbox.com/u/72208820/LotteryPlus/lottery%2B.jpg

Facts

Date created
Feb 02, 2012
Categories
Last update
Feb 10, 2014
Development stage
Release
License
GNU General Public License version 3 (GPLv3)
Curse link
Lottery+
Downloads
33,763
Recent files

Authors

Relationships

Optional dependency
Towny Advanced
Vault
Votifier