Filled Jackpot Plugin

Discussion in 'Plugin Requests' started by bingoberraz, Jul 7, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    bingoberraz

    Ofc, no problem. Take your time. But I hope the /jackpot cancel will work aswell, please :D
    http://gyazo.com/997ed209637346448d4d12dc4613ed8f


    EDIT (minor bug) : The actual winnings you get from winning this round is $380 but /jackpot info shows that you win $400 because thats how much I deposited. This is not very hard to fix I hope? It is because I use %5 tax. http://gyazo.com/726f9ab648ed865f7c32c5600902969e

    Just one thing.. Is it really random? I've won 30* times in a row with %50 when my friend also had %50. How is this possible? :eek: We tried with other values and they seem to add up... But not this :eek:

    When three have the same chance to win, I always win. When they have the same chance to win, one of them always win over the other one.
     
    Last edited: Jul 24, 2015
  2. Offline

    bazsi700

    Okey done. You can download it here. Let's hope not buggy now. Please delete the plugin's folder, or at least the config.yml inside, so it can regenerate. Fixed the chance bug, I was so idiot when made it. If you wouldnt deposit same, so for example 51$ and 49$ it would work well, but when same amount then it bugs. NVM, fixed the bugs.
     
  3. Offline

    bingoberraz

    Works like a charm. Thanks! Seems like everything is fixed.

    I found out one permission atleast, so I guess they're "jackpot.deposit, jackpot.reload, jackpot.cancel"?

    Thank you very much for this plugin.
     
  4. Offline

    bazsi700

    Yes, you found out the permissions :D And you're welcome.
     
  5. Offline

    bingoberraz

    I don't think the color codes are compatible with 1.8, and the server crashed. :eek: But I will upgrade to 1.8.7 today.
     
  6. Offline

    timtower Administrator Administrator Moderator

    Color codes always work.
     
  7. Offline

    bazsi700

    I don't really know the differences between versions. I'm not sure at all how could I fix it, and I use 1.7.2, so couldn't really test it aswell, but if you want I can give it a try.
     
  8. Offline

    bingoberraz

    All I know is that.. There was no color on
    I will test it on my 1.8.7 server today, but another feature if you have time? "/jackpot deposit all" This would go ALL IN, it deposits all your money. If there is like 5 sek left on the round and you don't have time to use /bal, /money or there is too many numbers in the balance (won't probably happen but, its a nice thing tho).

    http://gyazo.com/3aaca05655ca4a84f370ff4390ab78d8
    http://gyazo.com/4a6b9d8a22aec310859660be97874a8d

    This is how it looks. What is the issue here?

    EDIT by Timtower: merged posts
     
    Last edited by a moderator: Jul 27, 2015
  9. Offline

    bingoberraz

    Last edited: Jul 28, 2015
Thread Status:
Not open for further replies.

Share This Page