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 sakura_blades sakura_blades Aug 25, 2014 at 21:26 UTC - 0 likes

    Reload, and Create work just fine on my server. I however don't have to use permissions to get it to work, OP is doing just fine using them. No errors, or odd messages. I am however running CraftBukkit not Spigot, despite being a much later build than this plugin was written for.. It is still functioning. And you also seem to forget that this was infact written for an earlier version. A much earlier version at that. You should've known you were taking a risk on an "outdated" plugin when you installed a mismatched version. And just because it hasn't updated, doesn't mean the developer has given up on it. Since it is working fine for me, I see no real need for it to update yet. (Welcome to Bukkit Dev, not Spigot Dev. That is also something you take chances on. Not every single plugin works 100% on Spigot)

    Keep in mind that there are differences between Bukkit's and Spigots code, that can make plugins behave differently between the two.

    This plugin is working fine on my server, even for a 1.7.10. So just because this Plugin isn't working on your server's setup, doesn't mean it's broken. (Gotta love it when someone assumes that because it's not working for him, it's broken.)

    @bgsteiner: Go

    Are you also running a Spigot server?

    Last edited Aug 25, 2014 by sakura_blades
  • Avatar of klaasvakie klaasvakie Aug 03, 2014 at 12:34 UTC - 0 likes

    Gotta love it when some one creates a broken mod, works on it for a week and then just says "screw it" and leave.

  • Avatar of bgsteiner bgsteiner May 17, 2014 at 23:28 UTC - 0 likes

    @klaasvakie: Go

    We have the same issue on my server as well and i have even tried adding the specific command perm lottery.admin.create that is specified in the plugin and it still fails. we have to do everything through the console

  • Avatar of klaasvakie klaasvakie Apr 20, 2014 at 14:20 UTC - 0 likes

    @randude14

    It seems that for some reasons a lot of commands such as the create, gui and reload command keep returning a false value for permissions and doesn't matter how you set them or what rank you are.

    We are using Spigot and Groupmanager.

  • 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

    http://files.enjin.com/296803/Photos/Signature.png

  • 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

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
36,042
Recent files

Authors

Relationships

Optional dependency
Towny Advanced
Vault
Votifier