ItemRaffle - Jackpot Style Item Raffling System 0.0.3

Chance Based Jackpot System

  1. HealPot
    Native Minecraft Version:
    1.16
    Tested Minecraft Versions:
    • 1.12
    • 1.13
    • 1.14
    • 1.15
    • 1.16
    Source Code:
    https://github.com/weihao/itemraffle
    Contributors:
    akadia.org
    Languages Supported:
    English, Chinese
    ItemRaffle
    Description
    • IR(ItemRaffle) is a chance-based jackpot system
    • Players can deposit to a pool for a chance to win a prize.
    • When the pool drawing timer is up, and let's say there are only two participating players: player Alice and player Bob.
      • Player Alice deposits $100 and player Bob deposits $100.
      • Total value of the jackpot is $200.
      • Player Alice has a winning chance of Player Alice deposit / total value = 100 / 200 = 50%.
      • Player Bob has a winning chance of Player Bob deposit / total value = 100 / 200 = 50%.
    Why ItemRaffle´╝č
    • Players can compete using economy
    • Players can win prizes using economy
    • Players can get rare and high value items
    • Self served way to keep server economy in balance
    • Reduce the inflation in the server economy
    Functionality
    • Menus
    • Commands and Permissions
    • Config files
    • Language files
    • Supports NBT
    • Offline player prize delivery
    • Auto draw prize
    • Auto select next prize
    • Unlimited deposit value
    Commands
    • /ir help
    • /ir menu
    • /ir box
    Permission
    • itemraffle.admin
    Demo
    [​IMG]
    [​IMG]
    Planned

    • Show prize item in chat by hover over
    • Show more info in past winners
    • Engraving the jackpot value to the prize item lore
    • Show player head in the deposits
    Links
    Resoluciones likes this.

Recent Updates

  1. BUGFIX
  2. UPDATE

Recent Reviews

  1. sadasdasda412332
    sadasdasda412332
    2/5,
    Version: 0.0.2
    [16:13:37] [Server thread/INFO]: [ItemRaffle] Enabling ItemRaffle v0.0.2
    [16:13:37] [Server thread/ERROR]: Could not call method 'public static org.bukkit.inventory.ItemStack org.bukkit.inventory.ItemStack.deserialize(java.util.Map)' of class org.bukkit.inventory.ItemStack for deserialization
    java.lang.IllegalArgumentException: Newer version! Server downgrades are not supported!
    at com.google.common.base.Preconditions.checkArgument(Preconditions.java:122) ~[spigot.jar:git-Spigot-cbd1a1b-009d8af]
    at org.bukkit.craftbukkit.v1_14_R1.util.CraftMagicNumbers.getMaterial(CraftMagicNumbers.java:159) ~[spigot.jar:git-Spigot-cbd1a1b-009d8af]
    at org.bukkit.inventory.ItemStack.deserialize(ItemStack.java:483) ~[spigot.jar:git-Spigot-cbd1a1b-009d8af]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_281]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_281]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_281]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_281]
    at org.bukkit.configuration.serialization.ConfigurationSerialization.deserializeViaMethod(ConfigurationSerialization.java:85) [spigot.jar:git-Spigot-cbd1a1b-009d8af]
    at org.bukkit.configuration.serialization.ConfigurationSerialization.deserialize(ConfigurationSerialization.java:127) [spigot.jar:git-Spigot-cbd1a1b-009d8af]
    at org.bukkit.configuration.serialization.ConfigurationSerialization.deserializeObject(ConfigurationSerialization.java:207) [spigot.jar:git-Spigot-cbd1a1b-009d8af]
    at org.bukkit.util.io.BukkitObjectInputStream.resolveObject(BukkitObjectInputStream.java:47) [spigot.jar:git-Spigot-cbd1a1b-009d8af]
    at java.io.ObjectInputStream.checkResolve(Unknown Source) [?:1.8.0_281]
    at java.io.ObjectInputStream.readObject0(Unknown Source) [?:1.8.0_281]
    at java.io.ObjectInputStream.readObject(Unknown Source) [?:1.8.0_281]
    at java.io.ObjectInputStream.readObject(Unknown Source) [?:1.8.0_281]
    at org.akadia.itemraffle.utils.SerializeUtil.itemStackArrayFromBase64(SerializeUtil.java:64) [itemraffle-0.0.2.jar:?]
    at org.akadia.itemraffle.configs.DepositoryConfiguration.<init>(DepositoryConfiguration.java:41) [itemraffle-0.0.2.jar:?]
    at org.akadia.itemraffle.ItemRaffleMain.onEnable(ItemRaffleMain.java:92) [itemraffle-0.0.2.jar:?]
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) [spigot.jar:git-Spigot-cbd1a1b-009d8af]
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:352) [spigot.jar:git-Spigot-cbd1a1b-009d8af]
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:417) [spigot.jar:git-Spigot-cbd1a1b-009d8af]
    at org.bukkit.craftbukkit.v1_14_R1.CraftServer.enablePlugin(CraftServer.java:461) [spigot.jar:git-Spigot-cbd1a1b-009d8af]
    at org.bukkit.craftbukkit.v1_14_R1.CraftServer.enablePlugins(CraftServer.java:375) [spigot.jar:git-Spigot-cbd1a1b-009d8af]
    at net.minecraft.server.v1_14_R1.MinecraftServer.a(MinecraftServer.java:449) [spigot.jar:git-Spigot-cbd1a1b-009d8af]
    at net.minecraft.server.v1_14_R1.DedicatedServer.init(DedicatedServer.java:266) [spigot.jar:git-Spigot-cbd1a1b-009d8af]
    at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:775) [spigot.jar:git-Spigot-cbd1a1b-009d8af]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_281]
    [16:13:37] [Server thread/ERROR]: Unable to decode class type.
    1. HealPot
      Author's Response
      Fixed, download the new version.
  2. Polaroli
    Polaroli
    5/5,
    Version: 0.0.1
    Awesome idea, it's easy to use, and a good idea , keep up the great work. Have a wonderful day.